summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Formatting.Eric Christopher2010-10-151-4/+4
| | | | llvm-svn: 116635
* lto: Respect LLVM_VERSION_INFO make variable, since setting CC arguments withDaniel Dunbar2010-10-151-0/+4
| | | | | | spaces gives tests fits and shell escaping is an art best left to jabberwockies. llvm-svn: 116632
* Fix else if -> if in store machinery.Eric Christopher2010-10-151-1/+1
| | | | llvm-svn: 116628
* Reformatting. No functionalogicality changes.Bill Wendling2010-10-151-19/+15
| | | | llvm-svn: 116625
* Refactor ARM fast-isel reg + offset to be a base + offset.Eric Christopher2010-10-151-40/+45
| | | | llvm-svn: 116622
* Encoding information for the various ARM saturating add/sub instructions.Jim Grosbach2010-10-151-46/+53
| | | | llvm-svn: 116612
* llvmc: Add a test for the -c flag.Mikhail Glushenkov2010-10-151-0/+10
| | | | llvm-svn: 116611
* ARM binary encoding information for RSB and RSC instructions.Jim Grosbach2010-10-151-44/+104
| | | | llvm-svn: 116604
* Don't mark argument value stores as immutable, as otherwise the post-RAJim Grosbach2010-10-151-1/+1
| | | | | | | scheduler may reorder loads from them before the stores and other such badness. PR8347. Patch by David Meyer llvm-svn: 116602
* Use simple RegState::Define flag instead of getDefRegState(true).Bob Wilson2010-10-151-5/+5
| | | | llvm-svn: 116601
* Refactor alias handling to AliasedSymbol.Rafael Espindola2010-10-151-13/+15
| | | | llvm-svn: 116600
* KillTheDoctor: Fix 2008 build. I'm actually surprised 2010 defines all of ↵Michael J. Spencer2010-10-151-0/+236
| | | | | | these, many are non-standard posix/unix extensions. llvm-svn: 116597
* Expand GEP handling for constant offsets.Eric Christopher2010-10-151-23/+44
| | | | llvm-svn: 116594
* Teach FileCheck to handle trailing CHECK-NOT patterns.Jakob Stoklund Olesen2010-10-152-10/+23
| | | | | | | | | | A CHECK-NOT pattern without a following CHECK pattern simply checks that the pattern doesn't match before the end of the input file. You can even have only CHECK-NOT patterns to check that strings appear nowhere in the input file. llvm-svn: 116592
* When expanding the MOVsr[la]_flag pseudos, the CPSR implicit def becomesJim Grosbach2010-10-151-2/+1
| | | | | | an explicit def. Make sure to capture that properly. rdar://8556556 llvm-svn: 116591
* ARM mode encoding information for UBFX and SBFX instructions.Jim Grosbach2010-10-155-6/+51
| | | | llvm-svn: 116588
* FileCheckizeJakob Stoklund Olesen2010-10-151-2/+16
| | | | llvm-svn: 116581
* Remove unused accessor.Jakob Stoklund Olesen2010-10-151-2/+0
| | | | llvm-svn: 116580
* Refactor code a bit and avoid creating unnecessary entries in the stringRafael Espindola2010-10-152-24/+24
| | | | | | map. llvm-svn: 116579
* Remove unused ARMISD::AND selection DAG node.Bob Wilson2010-10-154-13/+0
| | | | llvm-svn: 116566
* ARM instructions that are both predicated and set the condition codesBob Wilson2010-10-153-4/+51
| | | | | | | | | | have been printed with the "S" modifier after the predicate. With ARM's unified syntax, they are supposed to go in the other order. We fixed this for Thumb when we switched to unified syntax but missed changing it for ARM. Apparently we don't generate these instructions often because no one noticed until now. Thanks to Bill Wendling for the testcase! llvm-svn: 116563
* Encoding info for extension instructions.Jim Grosbach2010-10-151-0/+8
| | | | llvm-svn: 116560
* Grammar.Jim Grosbach2010-10-151-3/+3
| | | | llvm-svn: 116557
* Don't pass --export-dynamic if TOOL_NO_EXPORTS is set.Rafael Espindola2010-10-151-2/+8
| | | | llvm-svn: 116550
* Eliminate curli from SplitEditor. Use the LiveRangeEdit reference instead.Jakob Stoklund Olesen2010-10-152-18/+13
| | | | llvm-svn: 116547
* Move stack slot assignments into LiveRangeEdit.Jakob Stoklund Olesen2010-10-154-10/+16
| | | | | | | | | | All registers created during splitting or spilling are assigned to the same stack slot as the parent register. When splitting or rematting, we may not spill at all. In that case the stack slot is still assigned, but it will be dead. llvm-svn: 116546
* Create a new LiveRangeEdit class to keep track of the new registers created whenJakob Stoklund Olesen2010-10-146-125/+206
| | | | | | | | | splitting or spillling, and to help with rematerialization. Use LiveRangeEdit in InlineSpiller and SplitKit. This will eventually make it possible to share remat code between InlineSpiller and SplitKit. llvm-svn: 116543
* Simplify test file a bit.Jim Grosbach2010-10-141-10/+10
| | | | llvm-svn: 116540
* Add testcase for RRX and ASRS (which effectively tests MOVs, since thoseJim Grosbach2010-10-141-0/+8
| | | | | | are just forms of that instruction). llvm-svn: 116538
* Add missing Rd encoding for MOVs instruction.Jim Grosbach2010-10-141-0/+2
| | | | llvm-svn: 116537
* Refactor the MOVsr[al]_flag and RRX pseudo-instructions to really be pseudosJim Grosbach2010-10-143-10/+39
| | | | | | | and let the ARMExpandPseudoInsts pass fix them up into the real (MOVs) instruction form. llvm-svn: 116534
* Tolerate a null parent pointer.Dan Gohman2010-10-141-1/+1
| | | | llvm-svn: 116533
* Added basic support for CPack.Oscar Fuentes2010-10-141-0/+6
| | | | llvm-svn: 116516
* Tweak the ARM backend to use the RRX mnemonic instead of the 'mov a, b, rrx'Jim Grosbach2010-10-144-7/+7
| | | | | | pseudonym. llvm-svn: 116512
* Always use binary mode for output stream. This is important to prevent ↵Francois Pichet2010-10-142-4/+14
| | | | | | unwanted end of line conversion on Windows. Should not affect Unix where O_BINARY is not defined. This fix /clang/test/lexer/preamble.c XFAIL on WIN32. llvm-svn: 116509
* MOVi16 and MOVT ARM mode encodings.Jim Grosbach2010-10-142-7/+36
| | | | llvm-svn: 116498
* Only split around a loop if the live range has uses outside the loop periphery.Jakob Stoklund Olesen2010-10-141-14/+13
| | | | | | | | | | Before we would also split around a loop if any peripheral block had multiple uses. This could cause repeated splitting when splitting a different live range would insert uses into the periphery. Now -spiller=inline passes the nightly test suite again. llvm-svn: 116494
* Try again at implementing thread-safe lazy pass initialization, without ↵Owen Anderson2010-10-141-10/+72
| | | | | | | | depending on static local initialization being threadsafe AND ensuring that initialization is complete by the time the initializeFooPass method returns. llvm-svn: 116492
* Revert r116489. It included some changes I didn't intend to commit, and ↵Owen Anderson2010-10-141-23/+23
| | | | | | broke the buildbots. llvm-svn: 116491
* Apparently MSVC doesn't support thread-safe static local initialization. ↵Owen Anderson2010-10-141-23/+23
| | | | | | Roll our own solution instead. llvm-svn: 116489
* Simplify encoding information and add 'dst' operand info for TAILJMP.Jim Grosbach2010-10-141-8/+6
| | | | llvm-svn: 116488
* Remove some code duplication.Rafael Espindola2010-10-143-57/+26
| | | | llvm-svn: 116484
* Remove explicit dependency of LLVMARMCodeGen on LLVMARMAsmPrinter. ItOscar Fuentes2010-10-141-5/+0
| | | | | | | creates a cyclic dependency that breaks the build when BUILD_SHARED_LIBS=ON llvm-svn: 116480
* When building shared libraries, link to required system libraries.Oscar Fuentes2010-10-142-4/+6
| | | | | | PR 8375 llvm-svn: 116479
* Comments.Mikhail Glushenkov2010-10-142-0/+4
| | | | llvm-svn: 116476
* Forward -march correctly.Mikhail Glushenkov2010-10-141-5/+6
| | | | | | Also includes some cosmetic changes. llvm-svn: 116475
* Handle more complex GEP based loads and add a few TODOs to deal withEric Christopher2010-10-141-10/+50
| | | | | | GEP + alloca. llvm-svn: 116474
* Add support for vmov.f64/.f32 encoding. There's a bit of a hack going onBill Wendling2010-10-143-14/+56
| | | | | | | | | here. The f32 in FCONSTS is handled as a double instead of a float in the code. So the encoding of the immediate into the instruction isn't exactly in line with the documentation in that regard. But given that we know it's handled as a double, it doesn't cause any harm. llvm-svn: 116471
* Add encoding for 'fmstat'.Bill Wendling2010-10-143-4/+4
| | | | llvm-svn: 116466
* Register pressure and instruction latency aware machine LICM. Work in progress.Evan Cheng2010-10-141-26/+242
| | | | llvm-svn: 116465
OpenPOWER on IntegriCloud