summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update prototype.Daniel Dunbar2009-09-111-3/+3
| | | | llvm-svn: 81510
* printInstruction() no longer prints a \n after itself, do itChris Lattner2009-09-111-0/+1
| | | | | | for the two instruction MOVPC32r sequence. llvm-svn: 81509
* reimplement X86ATTAsmPrinter::GetGlobalAddressSymbol in terms ofChris Lattner2009-09-111-15/+21
| | | | | | | | Mangler::getNameWithPrefix. In addition to avoiding some over quoting, this also is more efficient because it uses smallvector instead of std::string thrashing. llvm-svn: 81508
* Fix PR4878 for real.Anders Carlsson2009-09-112-1/+23
| | | | llvm-svn: 81507
* fix prefix ordering, it's L_foo not _LfooChris Lattner2009-09-111-2/+1
| | | | llvm-svn: 81506
* add a new Mangler::getNameWithPrefix API which returns theChris Lattner2009-09-112-2/+55
| | | | | | | | (uniqued if unnamed) global variable name with the prefix that it is supposed to get. It doesn't do "mangling" in the sense of adding quotes and hacking on bad characters. llvm-svn: 81505
* Support elaborated dependent types and diagnose tag mismatches.John McCall2009-09-119-30/+196
| | | | llvm-svn: 81504
* convert X86ATTAsmPrinter::GetExternalSymbolSymbol to use SmallStringChris Lattner2009-09-111-7/+11
| | | | | | instead of std::string and Mangler. llvm-svn: 81503
* rearrange some code, export a SmallString version of DecorateCygMingName.Chris Lattner2009-09-113-52/+53
| | | | llvm-svn: 81502
* Start to add a new transfer function that inlines callee. To be continued.Zhongxing Xu2009-09-114-0/+69
| | | | llvm-svn: 81501
* Test commitSam Weinig2009-09-111-1/+1
| | | | llvm-svn: 81500
* more typosChris Lattner2009-09-111-5/+6
| | | | llvm-svn: 81499
* Instantiate PredefinedExprs correctly. Patch by Sam Weinig!Anders Carlsson2009-09-113-6/+36
| | | | llvm-svn: 81498
* Swizzle the target triple based on -mthumb, and update clang-cc to recognizeDaniel Dunbar2009-09-114-3/+16
| | | | | | thumb-foo-bar as an ARM target. llvm-svn: 81497
* Follow up to 81494. When the folded reload is narrowed to a 32-bit load then ↵Evan Cheng2009-09-112-1/+17
| | | | | | change the destination register to a 32-bit one or add a sub-register index. llvm-svn: 81496
* PHI nodes can never reach the asmprinter, assert and die instead of printingChris Lattner2009-09-111-1/+2
| | | | | | out an illegal "PHINODE" instruction. llvm-svn: 81495
* It's not legal to fold a load from a narrower stack slot into a wider ↵Evan Cheng2009-09-113-10/+79
| | | | | | | | | | | | instruction. If done, the instruction does a 64-bit load and that's not safe. This can happen we a subreg_to_reg 0 has been coalesced. One exception is when the instruction that folds the load is a move, then we can simply turn it into a 32-bit load from the stack slot. rdar://7170444 llvm-svn: 81494
* Make fast-isel try ISD::FNEG before resorting to bitcasts and xors.Dan Gohman2009-09-111-1/+9
| | | | llvm-svn: 81493
* Reapply r81171 with a fix: don't try to use i64 when itDan Gohman2009-09-112-7/+23
| | | | | | isn't legal. llvm-svn: 81492
* Update this test to expect the "inbounds" keyword, which LLVM's constantDan Gohman2009-09-111-1/+1
| | | | | | folder is now automatically adding. llvm-svn: 81491
* Diagnose VLAs as an error in C++.Douglas Gregor2009-09-115-16/+41
| | | | | | | Also, treat the GNU __null as an integral constant expression to match GCC's behavior. llvm-svn: 81490
* Make sure ObjCInterfaceDecl's that are forward declared always contain a ↵Steve Naroff2009-09-112-6/+10
| | | | | | valid location. llvm-svn: 81487
* Pass the GlobalDecl to getMangledName, fixes PR4890.Anders Carlsson2009-09-112-2/+8
| | | | llvm-svn: 81486
* Pass GlobalDecls to GenerateCode and StartFunction.Anders Carlsson2009-09-114-35/+45
| | | | llvm-svn: 81485
* Fix indentation.Dan Gohman2009-09-111-1/+1
| | | | llvm-svn: 81484
* Teach lib/VMCore/ConstantFold.cpp how to set the inbounds keyword andDan Gohman2009-09-117-19/+125
| | | | | | | | | | | | | how to fold notionally-out-of-bounds array getelementptr indices instead of just doing these in lib/Analysis/ConstantFolding.cpp, because it can be done in a fairly general way without TargetData, and because not all constants are visited by lib/Analysis/ConstantFolding.cpp. This enables more constant folding. Also, set the "inbounds" flag when the getelementptr indices are one-past-the-end. llvm-svn: 81483
* Stub out structure for building armv{6,7} libs.Daniel Dunbar2009-09-103-2/+24
| | | | llvm-svn: 81482
* GlobalDecl doesn't have an explicit constructor anymore.Anders Carlsson2009-09-105-19/+18
| | | | llvm-svn: 81481
* Add stricter GlobalDecl constructors.Anders Carlsson2009-09-102-12/+20
| | | | llvm-svn: 81480
* Fix a regression where write-barrier was not being generated Fariborz Jahanian2009-09-102-2/+13
| | | | | | for block pointer. llvm-svn: 81479
* Factor out the code for checking that all indices in a getelementptr areDan Gohman2009-09-105-15/+54
| | | | | | | | | within the notional bounds of the static type of the getelementptr (which is not the same as "inbounds") from GlobalOpt into a utility routine, and use it in ConstantFold.cpp to check whether there are any mis-behaved indices. llvm-svn: 81478
* Eliminate some "default"s in CheckICE.Douglas Gregor2009-09-102-3/+88
| | | | llvm-svn: 81477
* Unbreak building of assembly files (broken by my .s -> .S rename).Daniel Dunbar2009-09-104-6/+11
| | | | | | | | | - Noticed & patched by Nick Kledzik. - This may expose portability issues in the .S files, if so we should either disable them on non-Darwin, or even better make them portable. llvm-svn: 81476
* Look for overloaded arrow operators in base classes.Anders Carlsson2009-09-102-5/+29
| | | | llvm-svn: 81475
* Include universal build step in 'make {Debug,Release,Profile}' targets.Daniel Dunbar2009-09-101-0/+3
| | | | llvm-svn: 81474
* Give these files top-level comments that describe the current code.Dan Gohman2009-09-102-6/+14
| | | | llvm-svn: 81473
* Teach LIT2 how to run Clang tests in the objdir for srcdir != objdir builds.Daniel Dunbar2009-09-102-2/+71
| | | | llvm-svn: 81472
* Initial handling of -m{soft-float,hard-float,float-abi=} for ARM.Daniel Dunbar2009-09-103-3/+67
| | | | llvm-svn: 81471
* Move X86 handling of -m[no-]soft-float and -m[no-]red-zone into ↵Daniel Dunbar2009-09-101-10/+16
| | | | | | AddX86TargetArgs. llvm-svn: 81470
* Change getLLVMArchNameForARM to just get the suffix.Daniel Dunbar2009-09-101-11/+13
| | | | llvm-svn: 81469
* Fix whitespaces.Devang Patel2009-09-101-4/+4
| | | | llvm-svn: 81468
* Patch to collect conversion methods in base(s) and derivedFariborz Jahanian2009-09-102-25/+52
| | | | | | class into a candidate set. llvm-svn: 81467
* Fix validation errors.Bill Wendling2009-09-101-3/+3
| | | | llvm-svn: 81466
* Fix validation errors.Bill Wendling2009-09-101-9/+11
| | | | llvm-svn: 81465
* Don't swap the operands of a subtraction when trying to create aBob Wilson2009-09-102-1/+12
| | | | | | post-decrement load/store. llvm-svn: 81464
* Fix uppercaseo.Dale Johannesen2009-09-101-1/+1
| | | | llvm-svn: 81463
* Non fragile ABI for GNU runtime. Patch bu David Chisnall.Fariborz Jahanian2009-09-105-88/+360
| | | | llvm-svn: 81462
* Added the ParseInstruction() hook for target specific assembler directives soKevin Enderby2009-09-104-3/+58
| | | | | | | | that things like .word can be parsed as target specific. Moved parsing .word out of AsmParser.cpp into X86AsmParser.cpp as it is 2 bytes on X86 and 4 bytes for other targets that support the .word directive. llvm-svn: 81461
* Don't check use of a member function declaration used if the member function ↵Anders Carlsson2009-09-102-1/+26
| | | | | | is virtual and the member reference expression doesn't explicitly qualify it. Fixes PR4878. llvm-svn: 81460
* Fit code within 80 columnsVictor Hernandez2009-09-101-2/+4
| | | | llvm-svn: 81459
OpenPOWER on IntegriCloud