summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* reduce indentation by using an early exit.Chris Lattner2009-07-211-73/+68
| | | | llvm-svn: 76596
* Update CMake files.Ted Kremenek2009-07-213-5/+7
| | | | llvm-svn: 76595
* Use string comparison instead of numeric comparison when comparing digests.Ted Kremenek2009-07-211-1/+1
| | | | llvm-svn: 76594
* whitespace cleanups, make the MipsAsmPrinter::doInitializationChris Lattner2009-07-211-14/+8
| | | | | | | | chain to the super class instead of initializing mangler directly. This gives it .file and module level inline asm support among other things. llvm-svn: 76593
* fix Sparc, SystemZ, and MSP430 to not override AsmPrinter::doInitialization.Chris Lattner2009-07-213-22/+0
| | | | | | | This eliminates redundancy setting up the mangler and adds support to them for module-level inline asm and a .file directive. llvm-svn: 76592
* convert this test to filecheck format, which is faster and avoids false ↵Chris Lattner2009-07-211-4/+16
| | | | | | matches of "st" -> "stdin" llvm-svn: 76591
* Rename LessPrivateGlobalPrefix -> LinkerPrivateGlobalPrefix to match theChris Lattner2009-07-219-15/+17
| | | | | | LLVM IR concept. llvm-svn: 76590
* Move StringRef comparison operators out of class.Daniel Dunbar2009-07-211-16/+38
| | | | | | Also, tweak the return type of size(). llvm-svn: 76588
* fix indentationChris Lattner2009-07-211-16/+16
| | | | llvm-svn: 76587
* remove an unneeded override.Chris Lattner2009-07-211-5/+0
| | | | llvm-svn: 76586
* more random whitespace cleanup, eliminate #define, avoid copyingChris Lattner2009-07-213-67/+59
| | | | | | vectors needlessly, doxygenify comments, improve constness, etc. llvm-svn: 76585
* add a testcase for the pic16 section handling stuff.Chris Lattner2009-07-211-0/+15
| | | | llvm-svn: 76579
* some simple whitespace cleanup, avoid copying vectors for no reasonChris Lattner2009-07-211-31/+24
| | | | | | as much, etc. llvm-svn: 76578
* Add StringRef::{substr, startswith}.Daniel Dunbar2009-07-212-1/+39
| | | | llvm-svn: 76559
* Another rewriter bug exposed by recent coalescer changes. ↵Evan Cheng2009-07-212-23/+5411
| | | | | | ReuseInfo::GetRegForReload() should make sure the "switched" register is in the desired register class. I'm surprised this hasn't caused more failures in the past. llvm-svn: 76558
* Add missing include.Daniel Dunbar2009-07-211-0/+1
| | | | llvm-svn: 76555
* Switch this API to StringRef.Daniel Dunbar2009-07-212-5/+6
| | | | llvm-svn: 76554
* Simplify / normalize some uses of Value::getName.Daniel Dunbar2009-07-215-7/+7
| | | | llvm-svn: 76553
* Add StringRef class, with fixes.Daniel Dunbar2009-07-212-0/+186
| | | | llvm-svn: 76543
* unbreak unit-tests on gcc-4.4.Torok Edwin2009-07-211-0/+1
| | | | llvm-svn: 76542
* Remove some unused code.Daniel Dunbar2009-07-211-3/+0
| | | | llvm-svn: 76541
* Support adding relocations for data sections, handling the cases whereBruno Cardoso Lopes2009-07-214-25/+60
| | | | | | | global declared symbols are initialized with references from other global symbols. llvm-svn: 76540
* remove a very large testcase for now.Chris Lattner2009-07-211-2891/+0
| | | | llvm-svn: 76537
* Add jumps with 8-bit relocation for assembler / disassembler. Patch by Sean ↵Evan Cheng2009-07-211-0/+24
| | | | | | Callanan. llvm-svn: 76536
* Fix a dagga combiner bug: avoid creating illegal constant.Evan Cheng2009-07-212-9/+41
| | | | | | | | Is this really a winning transformation? fold (shl (srl x, c1), c2) -> (shl (and x, (shl -1, c1)), (sub c2, c1)) or (srl (and x, (shl -1, c1)), (sub c1, c2)) llvm-svn: 76535
* Move a bit more state over to the LLVMContext.Owen Anderson2009-07-216-56/+49
| | | | llvm-svn: 76533
* Add the following functions:Bill Wendling2009-07-211-0/+12
| | | | | | | | | | | | - SYSCALL (normal fast system call instruction) [0f 05] - SYSENTER (system call entry instruction) [0f 34] - SYSEXIT (system call exit instruction) [0f 35] - SYSEXIT64 (system call exit instruction to 64-bit user code) [REX.W 0f 35] - SYSRET (system call return instruction) [0f 07] Patch by Sean Callanan. llvm-svn: 76528
* Add a testcase for PR2831.Dan Gohman2009-07-211-0/+35
| | | | llvm-svn: 76527
* Add a testcase for PR4569, which is now fixed.Dan Gohman2009-07-211-0/+24
| | | | llvm-svn: 76526
* Make the range calculations for addrecs to be more conservative,Dan Gohman2009-07-211-3/+9
| | | | | | | as they aren't currently prepared to handle complicated overflow cases. llvm-svn: 76524
* Whitespace cleanups.Dan Gohman2009-07-211-3/+3
| | | | llvm-svn: 76523
* Minor code simplification.Dan Gohman2009-07-211-1/+1
| | | | llvm-svn: 76521
* Fix ARM isle code that optimize multiply by constants which are power-of-2 ↵Evan Cheng2009-07-213-16/+61
| | | | | | +/- 1. llvm-svn: 76520
* Cross RC coalescing is now on by default.Evan Cheng2009-07-212-5/+5
| | | | llvm-svn: 76519
* revert 76503 while I figure out what's going onDale Johannesen2009-07-211-2/+5
| | | | llvm-svn: 76517
* Add a comment to clarify why there isn't any code in this spot.Dan Gohman2009-07-201-0/+2
| | | | llvm-svn: 76505
* Remove the code that tried to evaluate whether (A pred B) is knownDan Gohman2009-07-201-42/+0
| | | | | | | by determining if (B pred (B-A)) is known, as it doesn't handle overflow correctly. llvm-svn: 76504
* Make sure a global matching asm 'i' constraint gets itsDale Johannesen2009-07-201-5/+2
| | | | | | | | | | flags set properly. (hasMemory is clearly irrelevant when matching 'i', I don't understand what this was supposed to be doing.) gcc.apple/asm-block-25.c (test passed before by accident, but generated code was wrong) llvm-svn: 76503
* Move stripping of bitcasts in inline asm argumentsDale Johannesen2009-07-202-12/+7
| | | | | | | to a place where it affects everything. Occurs only on calls AFAIK. llvm-svn: 76502
* Minor code simplification.Dan Gohman2009-07-201-1/+1
| | | | llvm-svn: 76496
* Documentation for the new non-overflow and exact keywords.Dan Gohman2009-07-201-11/+26
| | | | llvm-svn: 76495
* The upper argument of ConstantRange is exclusive, not inclusive.Dan Gohman2009-07-202-1/+30
| | | | llvm-svn: 76492
* clean up some formatting, indent by 2 instead of 4.Chris Lattner2009-07-201-19/+9
| | | | llvm-svn: 76490
* CMP and TST define CPSR, not use it.David Goodwin2009-07-201-1/+1
| | | | llvm-svn: 76489
* Re-apply 75490, 75806 and 76177 with fixes and tests. Efficiency comesDavid Greene2009-07-207-17/+3078
| | | | | | next. llvm-svn: 76486
* Forgot this test earlier.Evan Cheng2009-07-201-0/+1323
| | | | llvm-svn: 76485
* Simplify the code in DarwinTargetAsmInfo::emitUsedDirectiveFor so that ↵Bill Wendling2009-07-202-17/+16
| | | | | | humans can understand it. llvm-svn: 76480
* Pass in the unfortunately named "LessPrivatePrefix" for theBill Wendling2009-07-205-5/+10
| | | | | | | | "LinkerPrivatePrefix". It seems to have been used in only one place before I started this "linker_private" business. I'm thinking that a rename is in order... llvm-svn: 76479
* Assembly and Bitcode support for unsigned/signed overflow flags andDan Gohman2009-07-2012-4/+387
| | | | | | exact sdiv flags. llvm-svn: 76475
* Use TII->findCommutedOpIndices to find the commute operands (rather than ↵Evan Cheng2009-07-202-4/+19
| | | | | | guessing). llvm-svn: 76472
OpenPOWER on IntegriCloud