- Feb 26, 2015
-
-
Reid Kleckner authored
Currently -fms-extensions controls this behavior, which doesn't make much sense. It means we can't identify what is and isn't a system header when compiling our own preprocessed output, because #line doesn't represent this information. If someone is feeding Clang's preprocessed output to another compiler, they can use this flag. Fixes PR20553. Reviewers: rsmith Differential Revision: http://reviews.llvm.org/D5217 llvm-svn: 230587
-
Richard Smith authored
shouldn't depend on LLVM IR. llvm-svn: 230586
-
Eric Christopher authored
Explanation: This function is in TargetLowering because it uses RegClassForVT which would need to be moved to TargetRegisterInfo and would necessitate moving isTypeLegal over as well - a massive change that would just require TargetLowering having a TargetRegisterInfo class member that it would use. llvm-svn: 230585
-
Eric Christopher authored
llvm-svn: 230584
-
Eric Christopher authored
This required plumbing a TargetRegisterInfo through computeRegisterProperties and into findRepresentativeClass which uses it for register class iteration. This required passing a subtarget into a few target specific initializations of TargetLowering. llvm-svn: 230583
-
Ramkumar Ramachandra authored
Differential Revision: http://reviews.llvm.org/D7644 llvm-svn: 230582
-
Philip Reames authored
llvm-svn: 230581
-
Larisse Voufo authored
Do not declare sized deallocation functions dependently on whether it is found in global scope. Instead, enforce the branching in emitted code by (1) declaring the functions extern_weak and (2) emitting sized delete expressions as a branching between both forms delete. llvm-svn: 230580
-
Larisse Voufo authored
llvm-svn: 230579
-
Michael J. Spencer authored
llvm-svn: 230578
-
Larisse Voufo authored
llvm-svn: 230577
-
Philip Reames authored
Add a brief section linking to the experimental statepoint intrinsics analogous to the one we have linking to patchpoint. While I'm here, cleanup some wording about what the gc "name" attribute actually means. It's not the name of a *collector* it's the name of the *strategy* which may be compatible with multiple collectors. llvm-svn: 230576
-
Michael J. Spencer authored
llvm-svn: 230574
-
Kostya Serebryany authored
llvm-svn: 230573
-
Philip Reames authored
llvm-svn: 230572
-
Peter Collingbourne authored
llvm-svn: 230571
-
Philip Reames authored
llvm-svn: 230570
-
Alexey Samsonov authored
llvm-svn: 230569
-
David Majnemer authored
This lets us compile programs which make use of exceptional constructs statically without executing any of them dynamically. llvm-svn: 230568
-
Justin Bogner authored
This particular subtype of Mach-O was missing. Add it. llvm-svn: 230567
-
Justin Bogner authored
This symbol exists only to pull in the required pieces of the runtime, so nothing ever needs to refer to it. Making it hidden avoids the potential for issues with duplicate symbols when linking profiled libraries together. llvm-svn: 230566
-
Duncan P. N. Exon Smith authored
Remove a newline from `AssemblyWriter::printMDNodeBody()`, and add one to `AssemblyWriter::writeMDNode()`. NFCI for assembly output. However, this drops an inconsistent newline from `Metadata::print()` when `this` is an `MDNode`. Now the newline added by `Metadata::dump()` won't look so verbose. llvm-svn: 230565
-
Sanjay Patel authored
This is a follow-on to r227491 which tightens the check for propagating FP values. If a non-constant value happens to be a zero, we would hit the same bug as before. Bug noted and patch suggested by Eli Friedman. llvm-svn: 230564
-
Justin Bogner authored
Remove a default argument that's never passed and a constructor that's never called. llvm-svn: 230563
-
Greg Clayton authored
Optimize finding the Complete Definition of an ObjC class for debug with .o files with lots of .o files. When we have a debug map we have an executable with a bunch of STAB symbols and each source file has a N_SO symbol which scopes a bunch of symbols inside of it. We can use this to our advantage here when looking for the complete definition of an objective C class by looking for a symbol whose name matches the class name and whose type is eSymbolTypeObjCClass. If we find one, that symbol will be contained within a N_SO symbol. This symbol gets turned into a symbol whose type is eSymbolTypeSourceFile and that symbol will contain the eSymbolTypeObjCClass which helps us to locate the correct .o file and allows us to only look in that file. To further accelerate things, if we are looking for the implementation, we can avoid looking at all .o files if we don't find a matching symbol because we have a debug map, which means the objective C symbol for the class can't have been stripped, so we can safely not search all remaining .o files. This will save us lots of time when trying to look for "NSObject" and any other AppKit and Foundation classes that we never have implementation definitions for. <rdar://problem/19234225> llvm-svn: 230562
-
Eric Christopher authored
the .h file. It's used in only one place (other than recursively) and there's no need to include it everywhere. Saves almost 900k from total llvm object file size. llvm-svn: 230561
-
JF Bastien authored
Summary: SROA generates code that isn't quite as easy to optimize and contains unusual-sized shuffles, but that code is generally correct. As discussed in D7487 the right place to clean things up is InstCombine, which will pick up the type-punning pattern and transform it into a more obvious bitcast+extractelement, while leaving the other patterns SROA encounters as-is. Test Plan: make check Reviewers: jvoung, chandlerc Subscribers: llvm-commits llvm-svn: 230560
-
Frederic Riss authored
llvm-svn: 230559
-
Richard Smith authored
one can give us more lookup results (due to implicit special members). Be sure to complete the redecl chain for every kind of DeclContext before performing a lookup into it, rather than only doing so for NamespaceDecls. llvm-svn: 230558
-
JF Bastien authored
Summary: Newlib supports ctype differently from other platforms, this patch teaches libc++ about yet another platform that does ctype differently. Reviewers: jroelofs Subscribers: cfe-commits, danalbert, EricWF, jvoung, jfb, mclow.lists Differential Revision: http://reviews.llvm.org/D7888 llvm-svn: 230557
-
Oleksiy Vyalov authored
Add qModuleInfo request in order to get module information (uuid, triple,..) by module path from remote platform. http://reviews.llvm.org/D7709 llvm-svn: 230556
-
Duncan P. N. Exon Smith authored
It turns out we have a macro to ensure that debuggers can access `dump()` methods. Use it. Hopefully this will prevent me (and others) from committing crimes like in r223802 (search for /10000/, or just see the fix in r224407). llvm-svn: 230555
-
Frederic Riss authored
It seems ArrayRefs to multi-dimensional arrays confuse some compilers. llvm-svn: 230554
-
Hal Finkel authored
LDtocL, and other loads that roughly correspond to the TOC_ENTRY SDAG node, represent loads from the TOC, which is invariant. As a result, these loads can be hoisted out of loops, etc. In order to do this, we need to generate GOT-style MMOs for TOC_ENTRY, which requires treating it as a legitimate memory intrinsic node type. Once this is done, the MMO transfer is automatically handled for TableGen-driven instruction selection, and for nodes generated directly in PPCISelDAGToDAG, we need to transfer the MMOs manually. Also, we were not transferring MMOs associated with pre-increment loads, so do that too. Lastly, this fixes an exposed bug where R30 was not added as a defined operand of UpdateGBR. This problem was highlighted by an example (used to generate the test case) posted to llvmdev by Francois Pichet. llvm-svn: 230553
-
Johannes Doerfert authored
It is important we add more publications with/about Polly so people can see that work and research is actually ongoing. llvm-svn: 230552
-
Frederic Riss authored
This adds support for pretty-printing instruction operands. The new output looks like: 00000000 00000010 ffffffff CIE Version: 1 Augmentation: Code alignment factor: 1 Data alignment factor: -4 Return address column: 8 DW_CFA_def_cfa: reg4 +4 DW_CFA_offset: reg8 -4 DW_CFA_nop: DW_CFA_nop: 00000014 00000010 00000000 FDE cie=00000000 pc=00000000...00000022 DW_CFA_advance_loc: 3 DW_CFA_def_cfa_offset: +12 DW_CFA_nop: llvm-svn: 230551
-
Frederic Riss authored
CIE pointers were never filled in before, and printing the pointer is totally pointless anyway. llvm-svn: 230550
-
Frederic Riss authored
Move the FrameEntry::dumpInstructions down in the file at some place where it can see the declarations of FDE and CIE. llvm-svn: 230549
-
Frederic Riss authored
To be used for dumping. llvm-svn: 230548
-
Frederic Riss authored
This is the first commit in a small series aiming at making debug_frame dump more useful (right now it prints a list of opeartions without their operands). llvm-svn: 230547
-