summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* I meant to disable this test, not XFAIL itAndrew Trick2012-03-211-2/+2
| | | | llvm-svn: 153165
* Fixed the ability to load a module from a path by using just a UUID. AfterGreg Clayton2012-03-212-26/+30
| | | | | | | | | the migration to ModuleSpec objects this broke and is now fixed. Also fixed a case in the darwin kernel dynamic loader where we just need to trust the load address of the kernel if we can't read it from memory. llvm-svn: 153164
* misched: beginning to add unit testsAndrew Trick2012-03-211-0/+20
| | | | llvm-svn: 153163
* misched: fix LiveInterval update for bottom-up schedulingAndrew Trick2012-03-211-3/+13
| | | | llvm-svn: 153162
* misched: trace LiveIntervals after scheduling.Andrew Trick2012-03-211-0/+1
| | | | llvm-svn: 153161
* misched: obvious iterator update fixes for bottom-up.Andrew Trick2012-03-211-0/+6
| | | | llvm-svn: 153160
* misched: cleanup main loopAndrew Trick2012-03-211-10/+14
| | | | llvm-svn: 153159
* misched: fix LI update for bottom-up.Andrew Trick2012-03-211-1/+7
| | | | llvm-svn: 153158
* Organize LLVM C API docs into doxygen modules; add docsGregory Szorc2012-03-2116-109/+1622
| | | | | | | | | | | | | | | | This gives a lot of love to the docs for the C API. Like Clang's documentation, the C API is now organized into a Doxygen "module" (LLVMC). Each C header file is a child of the main module. Some modules (like Core) have a hierarchy of there own. The produced documentation is thus better organized (before everything was in one monolithic list). This patch also includes a lot of new documentation for APIs in Core.h. It doesn't document them all, but is better than none. Function docs are missing @param and @return annotation, but the documentation body now commonly provides help details (like the expected llvm::Value sub-type to expect). llvm-svn: 153157
* RewriteModernObjC.cpp: Don't expose temporary std::string with StringRef. ↵NAKAMURA Takumi2012-03-211-1/+1
| | | | | | (StringRef)getName() can be used here. llvm-svn: 153156
* Add typecast to silence -Wswitch warning introduced by r153153.Craig Topper2012-03-211-1/+1
| | | | llvm-svn: 153155
* Spacing fixes and using 'unsigned' instead of 'int' to index to select ↵Craig Topper2012-03-211-28/+29
| | | | | | shuffle elements for consistency with other shuffle code in X86 backend. llvm-svn: 153154
* Incremental big endian patch by Jack Carter.Akira Hatanaka2012-03-213-13/+75
| | | | | | | | These changes allow us to compile big endian from the command line for 32 bit Mips targets. This patch will result in code and data actually being produced in the correct endianess. llvm-svn: 153153
* Test case for rdar://problem/11055105, a bug with the instantiationJohn McCall2012-03-211-1/+14
| | | | | | | | of references to function template parameters in noexcept clauses when the instantiation is forced from a point during parsing when a block is in scope. llvm-svn: 153152
* Close the paren.Fariborz Jahanian2012-03-211-2/+2
| | | | | | // rdar://11076938 llvm-svn: 153151
* Zap some dead code pointed out by Chandler.Eric Christopher2012-03-201-4/+0
| | | | llvm-svn: 153150
* Update comment.Eric Christopher2012-03-201-2/+1
| | | | llvm-svn: 153149
* Make sure ImmutableSet never inserts Tombstone/Entry into DenseMap.Anna Zaks2012-03-201-2/+7
| | | | | | | | | | | | ImmutAVLTree uses random unsigned values as keys into a DenseMap, which could possibly happen to be the same value as the Tombstone or Entry keys in the DenseMap. Test case is hard to come up with. We randomly get failures on the internal static analyzer bot, which most likely hits this issue (hard to be 100% sure without the full stack). llvm-svn: 153148
* RuntimeDyldMachO has the ability to keep track ofSean Callanan2012-03-202-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | relocations (i.e., pieces of data whose addresses are referred to elsewhere in the binary image) and update the references when the section containing the relocations moves. The way this works is that there is a map from section IDs to lists of relocations. Because the relocations are associated with the section containing the data being referred to, they are updated only when the target moves. However, many data references are relative and also depend on the location of the referrer. To solve this problem, I introduced a new data structure, Referrer, which simply contains the section being referred to and the index of the relocation in that section. These referrers are associated with the source containing the reference that needs to be updated, so now regardless of which end of the relocation moves, the relocation will now be updated correctly. llvm-svn: 153147
* numberWithFloat -> numberWithDouble.Patrick Beard2012-03-201-2/+2
| | | | llvm-svn: 153146
* modern objective-c translator: insert couple of pragmas for optimization.Fariborz Jahanian2012-03-201-0/+4
| | | | | | // rdar://11079898 llvm-svn: 153145
* Fixed typo.Patrick Beard2012-03-201-1/+1
| | | | llvm-svn: 153142
* Added summary section for Object Literals and Subscripting, which contains ↵Patrick Beard2012-03-201-1/+7
| | | | | | the external link. llvm-svn: 153141
* Fix test case from r153135.Chad Rosier2012-03-201-1/+1
| | | | llvm-svn: 153140
* [avx] Add patterns for combining vextractf128 + vmovaps/vmovups/vmobdqu toChad Rosier2012-03-202-0/+106
| | | | | | | | | | | | | | | | | vextractf128 with 128-bit mem dest. Combines vextractf128 $0, %ymm0, %xmm0 vmovaps %xmm0, (%rdi) to vextractf128 $0, %ymm0, (%rdi) rdar://11082570 llvm-svn: 153139
* modern objective-c translator: add static function to initialize Fariborz Jahanian2012-03-202-3/+36
| | | | | | | the class pointer in the category structure. // rdar://11076938 llvm-svn: 153138
* Assembler should accept redefinitions of unused variable symbols.Jim Grosbach2012-03-203-2/+3
| | | | | | rdar://11027851 llvm-svn: 153137
* Tidy up.Jim Grosbach2012-03-201-3/+2
| | | | llvm-svn: 153136
* Change conditional instructions definitions, e.g. ANDCC, ARMPseudoExpand and ↵Evan Cheng2012-03-202-96/+56
| | | | | | t2PseudoExpand. llvm-svn: 153135
* LoopSimplify bug fix. Handle indirect loop back edges.Andrew Trick2012-03-202-5/+49
| | | | | | | | Do not call SplitBlockPredecessors on a loop preheader when one of the predecessors is an indirectbr. Otherwise, you will hit this assert: !isa<IndirectBrInst>(Preds[i]->getTerminator()) && "Cannot split an edge from an IndirectBrInst" llvm-svn: 153134
* whitespaceAndrew Trick2012-03-201-2/+2
| | | | llvm-svn: 153133
* LSR: teach isSimplifiedLoopNest to handle PHI IVUsers.Andrew Trick2012-03-202-1/+40
| | | | llvm-svn: 153132
* LSR: fix IVUsers isSimplifiedLoopNest to perform a full domtree walkAndrew Trick2012-03-202-19/+96
| | | | | | | | | instead of skipping the current loop. My prior fix was incomplete because of an overzealous compile-time optimization: Better fix for: <rdar://problem/11049788> Segmentation fault: 11 in LoopStrengthReduce llvm-svn: 153131
* More careful consideration of C++11 13.3.3.1p4. Fixes PR12257.Sebastian Redl2012-03-202-7/+47
| | | | llvm-svn: 153130
* Fix the other place where C++98 work for initializer lists was necessary.Sebastian Redl2012-03-202-2/+7
| | | | llvm-svn: 153129
* Fixed some potential null-pointer bugs in theSean Callanan2012-03-201-1/+7
| | | | | | expression parser code. llvm-svn: 153128
* more modern objective-c meta-data stuff.Fariborz Jahanian2012-03-201-3/+17
| | | | llvm-svn: 153127
* Fixed typos.Patrick Beard2012-03-201-2/+2
| | | | llvm-svn: 153126
* Reserve number of MI operands to accom,odate complex patterns.Evan Cheng2012-03-201-1/+4
| | | | llvm-svn: 153125
* Link to Objective-C literals documentation.Patrick Beard2012-03-201-0/+1
| | | | llvm-svn: 153124
* Objective-C literals documentation.Patrick Beard2012-03-201-0/+314
| | | | llvm-svn: 153123
* Don't include FixIts with a null replacement range. Fixes ↵Ted Kremenek2012-03-204-5/+24
| | | | | | <rdar://problem/11040133>. llvm-svn: 153122
* Fix a use-after-free in thunk emission. EmitThunk may call RAUW on Init, ↵Benjamin Kramer2012-03-202-1/+43
| | | | | | | | invalidating the pointer. Fixes PR12284. The test case only triggered under asan/valgrind, but it's better than nothing. llvm-svn: 153120
* modern objective-c translator: provide meta-data initializationFariborz Jahanian2012-03-202-17/+86
| | | | | | | via functions for certain pointer initialization fields. // rdar://11076938 llvm-svn: 153117
* remove unused variableMatt Beaumont-Gay2012-03-201-1/+0
| | | | llvm-svn: 153116
* Debug info: Tighten up uses of plain MDNode pointers which don't survive ↵Benjamin Kramer2012-03-202-15/+325
| | | | | | | | replaceOperandWith. TrackingVH notices when it gets RAUW'd. Fixes PR12305 and PR12315. llvm-svn: 153115
* [avx] Add the AddedComplexity to the VINSERTI128 avx2 patterns to giveChad Rosier2012-03-201-1/+1
| | | | | | precedence over the VINSERTF128 avx1 patterns. llvm-svn: 153114
* Headers cleanupEnrico Granata2012-03-202-12/+0
| | | | llvm-svn: 153113
* Require a base pointer for stack realignment when SP may vary dynamically.Bob Wilson2012-03-201-2/+3
| | | | | | | | | | | | | ARMBaseRegisterInfo::canRealignStack was checking for variable-sized objects but not for stack adjustments around calls. Use hasReservedCallFrame() to check for both. The hasBasePointer function was already correctly checking both conditions, so the effect of this was that a base pointer would be used without checking whether the base pointer register could be reserved. I don't have a small testcase for this. <rdar://problem/11075906> llvm-svn: 153110
* Remove some redundant checks.Bob Wilson2012-03-202-3/+2
| | | | | | | ARMFrameLowering::hasReservedCallFrame is already checking for variable sized objects, so there's no point in checking it twice. llvm-svn: 153109
OpenPOWER on IntegriCloud