summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Expose Tokens to target specific assembly parsers.Daniel Dunbar2009-07-284-83/+101
| | | | llvm-svn: 77337
* Fix PR4639, a ELF-TLS regression from some of my refactoring.Chris Lattner2009-07-282-1/+15
| | | | llvm-svn: 77336
* More CGRecordLayoutBuilder cleanup.Anders Carlsson2009-07-282-33/+12
| | | | llvm-svn: 77335
* the apple "ld_classic" linker doesn't support .literal16 in 32-bitChris Lattner2009-07-285-9/+16
| | | | | | | mode, and "ld64" (the default linker) falls back to it in -static mode. llvm-svn: 77334
* More work toward data member access ir-gen.Fariborz Jahanian2009-07-284-0/+57
| | | | llvm-svn: 77332
* Tweak LLVM emacs style to make default namespace indentation closer to styleDaniel Dunbar2009-07-281-2/+5
| | | | | | guide. llvm-svn: 77331
* Add two more tests.Anders Carlsson2009-07-281-0/+13
| | | | llvm-svn: 77330
* Add Thumb-2 patterns for ARMsrl_flag and ARMsra_flag.David Goodwin2009-07-282-1/+29
| | | | llvm-svn: 77329
* Switch AsmLexer::Lex to returning a reference to the current token.Daniel Dunbar2009-07-283-9/+6
| | | | llvm-svn: 77328
* Add reload and remat backscheduling. This is disabled by default. UseDavid Greene2009-07-281-26/+150
| | | | | | -schedule-spills=true to enable. llvm-svn: 77327
* fix unused variable warningChris Lattner2009-07-281-1/+1
| | | | llvm-svn: 77326
* Add a template test that requires canonical expression comparisonDouglas Gregor2009-07-281-0/+17
| | | | llvm-svn: 77325
* Fix a typo in a commentDouglas Gregor2009-07-281-1/+1
| | | | llvm-svn: 77324
* Drop some AsmLexer methods in favor of their AsmToken equivalents.Daniel Dunbar2009-07-284-37/+34
| | | | llvm-svn: 77323
* llvm-mc: Sink token enum into AsmToken.Daniel Dunbar2009-07-285-210/+213
| | | | llvm-svn: 77322
* Profiling the pointer of a canonical type is sufficient to uniquely identify ↵Douglas Gregor2009-07-281-20/+13
| | | | | | the type llvm-svn: 77321
* Finish profile support for statements.Douglas Gregor2009-07-281-3/+128
| | | | llvm-svn: 77320
* Complete profile support for C++ and Objective-C expressionsDouglas Gregor2009-07-281-62/+78
| | | | llvm-svn: 77318
* Include cmath/math.h in DataTypes.h regardless of whether MSVC is being used.Stefanus Du Toit2009-07-282-12/+12
| | | | | | | | Fixes MSVC build of LiveInterval.cpp. Patch by Nicolas Capens. llvm-svn: 77317
* tADDrSPI doesn't have a predicate operand, but tADDhirr and tADDi3 have.Evan Cheng2009-07-282-0/+31
| | | | llvm-svn: 77305
* Remove memory corruption bug. string.c_str() was returning a temporary that wasNick Lewycky2009-07-281-2/+2
| | | | | | dead before we used it. llvm-svn: 77304
* Bounds checking for address spaces.John McCall2009-07-284-1/+35
| | | | llvm-svn: 77303
* CallExpr's SubExprs sometimes were allocated in the wrong place.Daniel Dunbar2009-07-281-1/+1
| | | | llvm-svn: 77302
* Code clean up. No functionality changes.Evan Cheng2009-07-281-21/+32
| | | | llvm-svn: 77301
* - More refactoring. This gets rid of all of the getOpcode calls.Evan Cheng2009-07-2817-566/+635
| | | | | | | | | | | - This change also makes it possible to switch between ARM / Thumb on a per-function basis. - Fixed thumb2 routine which expand reg + arbitrary immediate. It was using using ARM so_imm logic. - Use movw and movt to do reg + imm when profitable. - Other code clean ups and minor optimizations. llvm-svn: 77300
* Reimplement QualifierSet using a single word, as requested by dgregor.John McCall2009-07-282-21/+53
| | | | llvm-svn: 77299
* Implement ObjCMethodDecl::getCanonicalDecl().Argyrios Kyrtzidis2009-07-282-1/+23
| | | | llvm-svn: 77298
* -Add ObjCCategoryImplDecl::getCategoryClass() which returns the category ↵Argyrios Kyrtzidis2009-07-282-1/+13
| | | | | | | | | interface decl. -Correct ObjCMethodDecl::getNextRedeclaration(); A method in a ObjCCategoryImplDecl should point to a method in the associated ObjCCategoryDecl, not the ObjCInterfaceDecl. llvm-svn: 77297
* Use ObjCImplDecl in place of ObjCCategoryImplDecl/ObjCImplementationDecl.Argyrios Kyrtzidis2009-07-281-5/+3
| | | | llvm-svn: 77296
* fix a casting problem on the llvm-x86_64-linux testerChris Lattner2009-07-281-1/+1
| | | | llvm-svn: 77295
* Rip all of the global variable lowering logic out of TargetAsmInfo. SinceChris Lattner2009-07-2864-1402/+1655
| | | | | | | | | | | | | | | | | | | | it is highly specific to the object file that will be generated in the end, this introduces a new TargetLoweringObjectFile interface that is implemented for each of ELF/MachO/COFF/Alpha/PIC16 and XCore. Though still is still a brutal and ugly refactoring, this is a major step towards goodness. This patch also: 1. fixes a bunch of dangling pointer problems in the PIC16 backend. 2. disables the TargetLowering copy ctor which PIC16 was accidentally using. 3. gets us closer to xcore having its own crazy target section flags and pic16 not having to shadow sections with its own objects. 4. fixes wierdness where ELF targets would set CStringSection but not CStringSection_. Factor the code better. 5. fixes some bugs in string lowering on ELF targets. llvm-svn: 77294
* don't copy TargetLowering.Chris Lattner2009-07-281-1/+1
| | | | llvm-svn: 77293
* llvm-mc: Factor AsmToken class out of AsmLexer.Daniel Dunbar2009-07-282-83/+108
| | | | llvm-svn: 77292
* Make longjmp a real builtin.Mike Stump2009-07-288-14/+116
| | | | llvm-svn: 77291
* Teach instcombine to respect and preserve inbounds. Add inboundsDan Gohman2009-07-285-32/+66
| | | | | | to a few tests where it is required for the expected transformation. llvm-svn: 77290
* Fix a small little typo.Mike Stump2009-07-281-1/+1
| | | | llvm-svn: 77289
* Allow functions to be marked "implicit return zero" and so mark main().John McCall2009-07-283-1/+25
| | | | | | Codegen by initializing the return value with its LLVM type's null value. llvm-svn: 77288
* llvm-mc: Stop uniqueing string tokens, nothing actually uses this.Daniel Dunbar2009-07-282-20/+4
| | | | llvm-svn: 77287
* Replace dyn_castGetElementPtr with dyn_cast<GEPOperator>.Dan Gohman2009-07-281-15/+5
| | | | llvm-svn: 77286
* Grab the LLVMContext and parent Module of SI ahead of theDan Gohman2009-07-281-3/+4
| | | | | | | point where SI can get deleted. This fixes a use of free'd memory. This fixes Externals/Povray. llvm-svn: 77285
* Add a Profile function for statements so that we can (eventually) determineDouglas Gregor2009-07-284-1/+559
| | | | | | when statements and expressions are equivalent. llvm-svn: 77284
* Only generate preprocessed files during crashes using Clang, not GCC.Ted Kremenek2009-07-281-8/+2
| | | | llvm-svn: 77281
* Fix helper function GetNextStmt() to look for the first statement that has aTed Kremenek2009-07-281-0/+5
| | | | | | valid SourceLocation. llvm-svn: 77280
* Make sure to move the comment with the code.Mike Stump2009-07-282-3/+3
| | | | llvm-svn: 77279
* ORN does not require (and can not have) the ".w" suffix. "Orthogonality" is ↵David Goodwin2009-07-272-12/+18
| | | | | | a dirty word at ARM. llvm-svn: 77275
* Fix a release-asserts warning. Debug functions should be marked used,Mike Stump2009-07-271-0/+2
| | | | | | | if there are no other uses. If people don't need this routine anymore, if should be deleted. llvm-svn: 77274
* Pass true to the Internalize parameter of createStandardLTOPasses,Dan Gohman2009-07-271-1/+1
| | | | | | to match llvm-ld's default behavior. llvm-svn: 77273
* llvm-mc: Implement .abort fully in the front endDaniel Dunbar2009-07-276-28/+18
| | | | llvm-svn: 77272
* Avoid build warnings.Mike Stump2009-07-273-0/+3
| | | | llvm-svn: 77271
* Patch for objc's zero-const exception to not assumeFariborz Jahanian2009-07-271-11/+10
| | | | | | | that @catch(...) cathces all exceptions (c++ objects are not cought by that). llvm-svn: 77270
OpenPOWER on IntegriCloud