Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Expose Tokens to target specific assembly parsers. | Daniel Dunbar | 2009-07-28 | 4 | -83/+101 | |
| | | | | llvm-svn: 77337 | |||||
* | Fix PR4639, a ELF-TLS regression from some of my refactoring. | Chris Lattner | 2009-07-28 | 2 | -1/+15 | |
| | | | | llvm-svn: 77336 | |||||
* | More CGRecordLayoutBuilder cleanup. | Anders Carlsson | 2009-07-28 | 2 | -33/+12 | |
| | | | | llvm-svn: 77335 | |||||
* | the apple "ld_classic" linker doesn't support .literal16 in 32-bit | Chris Lattner | 2009-07-28 | 5 | -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 Jahanian | 2009-07-28 | 4 | -0/+57 | |
| | | | | llvm-svn: 77332 | |||||
* | Tweak LLVM emacs style to make default namespace indentation closer to style | Daniel Dunbar | 2009-07-28 | 1 | -2/+5 | |
| | | | | | | guide. llvm-svn: 77331 | |||||
* | Add two more tests. | Anders Carlsson | 2009-07-28 | 1 | -0/+13 | |
| | | | | llvm-svn: 77330 | |||||
* | Add Thumb-2 patterns for ARMsrl_flag and ARMsra_flag. | David Goodwin | 2009-07-28 | 2 | -1/+29 | |
| | | | | llvm-svn: 77329 | |||||
* | Switch AsmLexer::Lex to returning a reference to the current token. | Daniel Dunbar | 2009-07-28 | 3 | -9/+6 | |
| | | | | llvm-svn: 77328 | |||||
* | Add reload and remat backscheduling. This is disabled by default. Use | David Greene | 2009-07-28 | 1 | -26/+150 | |
| | | | | | | -schedule-spills=true to enable. llvm-svn: 77327 | |||||
* | fix unused variable warning | Chris Lattner | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77326 | |||||
* | Add a template test that requires canonical expression comparison | Douglas Gregor | 2009-07-28 | 1 | -0/+17 | |
| | | | | llvm-svn: 77325 | |||||
* | Fix a typo in a comment | Douglas Gregor | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77324 | |||||
* | Drop some AsmLexer methods in favor of their AsmToken equivalents. | Daniel Dunbar | 2009-07-28 | 4 | -37/+34 | |
| | | | | llvm-svn: 77323 | |||||
* | llvm-mc: Sink token enum into AsmToken. | Daniel Dunbar | 2009-07-28 | 5 | -210/+213 | |
| | | | | llvm-svn: 77322 | |||||
* | Profiling the pointer of a canonical type is sufficient to uniquely identify ↵ | Douglas Gregor | 2009-07-28 | 1 | -20/+13 | |
| | | | | | | the type llvm-svn: 77321 | |||||
* | Finish profile support for statements. | Douglas Gregor | 2009-07-28 | 1 | -3/+128 | |
| | | | | llvm-svn: 77320 | |||||
* | Complete profile support for C++ and Objective-C expressions | Douglas Gregor | 2009-07-28 | 1 | -62/+78 | |
| | | | | llvm-svn: 77318 | |||||
* | Include cmath/math.h in DataTypes.h regardless of whether MSVC is being used. | Stefanus Du Toit | 2009-07-28 | 2 | -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 Cheng | 2009-07-28 | 2 | -0/+31 | |
| | | | | llvm-svn: 77305 | |||||
* | Remove memory corruption bug. string.c_str() was returning a temporary that was | Nick Lewycky | 2009-07-28 | 1 | -2/+2 | |
| | | | | | | dead before we used it. llvm-svn: 77304 | |||||
* | Bounds checking for address spaces. | John McCall | 2009-07-28 | 4 | -1/+35 | |
| | | | | llvm-svn: 77303 | |||||
* | CallExpr's SubExprs sometimes were allocated in the wrong place. | Daniel Dunbar | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77302 | |||||
* | Code clean up. No functionality changes. | Evan Cheng | 2009-07-28 | 1 | -21/+32 | |
| | | | | llvm-svn: 77301 | |||||
* | - More refactoring. This gets rid of all of the getOpcode calls. | Evan Cheng | 2009-07-28 | 17 | -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 McCall | 2009-07-28 | 2 | -21/+53 | |
| | | | | llvm-svn: 77299 | |||||
* | Implement ObjCMethodDecl::getCanonicalDecl(). | Argyrios Kyrtzidis | 2009-07-28 | 2 | -1/+23 | |
| | | | | llvm-svn: 77298 | |||||
* | -Add ObjCCategoryImplDecl::getCategoryClass() which returns the category ↵ | Argyrios Kyrtzidis | 2009-07-28 | 2 | -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 Kyrtzidis | 2009-07-28 | 1 | -5/+3 | |
| | | | | llvm-svn: 77296 | |||||
* | fix a casting problem on the llvm-x86_64-linux tester | Chris Lattner | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77295 | |||||
* | Rip all of the global variable lowering logic out of TargetAsmInfo. Since | Chris Lattner | 2009-07-28 | 64 | -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 Lattner | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77293 | |||||
* | llvm-mc: Factor AsmToken class out of AsmLexer. | Daniel Dunbar | 2009-07-28 | 2 | -83/+108 | |
| | | | | llvm-svn: 77292 | |||||
* | Make longjmp a real builtin. | Mike Stump | 2009-07-28 | 8 | -14/+116 | |
| | | | | llvm-svn: 77291 | |||||
* | Teach instcombine to respect and preserve inbounds. Add inbounds | Dan Gohman | 2009-07-28 | 5 | -32/+66 | |
| | | | | | | to a few tests where it is required for the expected transformation. llvm-svn: 77290 | |||||
* | Fix a small little typo. | Mike Stump | 2009-07-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 77289 | |||||
* | Allow functions to be marked "implicit return zero" and so mark main(). | John McCall | 2009-07-28 | 3 | -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 Dunbar | 2009-07-28 | 2 | -20/+4 | |
| | | | | llvm-svn: 77287 | |||||
* | Replace dyn_castGetElementPtr with dyn_cast<GEPOperator>. | Dan Gohman | 2009-07-28 | 1 | -15/+5 | |
| | | | | llvm-svn: 77286 | |||||
* | Grab the LLVMContext and parent Module of SI ahead of the | Dan Gohman | 2009-07-28 | 1 | -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) determine | Douglas Gregor | 2009-07-28 | 4 | -1/+559 | |
| | | | | | | when statements and expressions are equivalent. llvm-svn: 77284 | |||||
* | Only generate preprocessed files during crashes using Clang, not GCC. | Ted Kremenek | 2009-07-28 | 1 | -8/+2 | |
| | | | | llvm-svn: 77281 | |||||
* | Fix helper function GetNextStmt() to look for the first statement that has a | Ted Kremenek | 2009-07-28 | 1 | -0/+5 | |
| | | | | | | valid SourceLocation. llvm-svn: 77280 | |||||
* | Make sure to move the comment with the code. | Mike Stump | 2009-07-28 | 2 | -3/+3 | |
| | | | | llvm-svn: 77279 | |||||
* | ORN does not require (and can not have) the ".w" suffix. "Orthogonality" is ↵ | David Goodwin | 2009-07-27 | 2 | -12/+18 | |
| | | | | | | a dirty word at ARM. llvm-svn: 77275 | |||||
* | Fix a release-asserts warning. Debug functions should be marked used, | Mike Stump | 2009-07-27 | 1 | -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 Gohman | 2009-07-27 | 1 | -1/+1 | |
| | | | | | | to match llvm-ld's default behavior. llvm-svn: 77273 | |||||
* | llvm-mc: Implement .abort fully in the front end | Daniel Dunbar | 2009-07-27 | 6 | -28/+18 | |
| | | | | llvm-svn: 77272 | |||||
* | Avoid build warnings. | Mike Stump | 2009-07-27 | 3 | -0/+3 | |
| | | | | llvm-svn: 77271 | |||||
* | Patch for objc's zero-const exception to not assume | Fariborz Jahanian | 2009-07-27 | 1 | -11/+10 | |
| | | | | | | | that @catch(...) cathces all exceptions (c++ objects are not cought by that). llvm-svn: 77270 |