summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* 80 column and trailing whitespace cleanupJim Grosbach2010-05-141-24/+25
| | | | llvm-svn: 103806
* add cmd line option to leave dbgvalues in during post-RA sceduling. UsefulJim Grosbach2010-05-141-5/+14
| | | | | | while debugging what's mishandled about them in the post-RA pass. llvm-svn: 103805
* Fix comment.Bill Wendling2010-05-141-1/+1
| | | | llvm-svn: 103804
* Rename "HasCalls" in MachineFrameInfo to "AdjustsStack" to better describe whatBill Wendling2010-05-1417-59/+83
| | | | | | | | | the variable actually tracks. N.B., several back-ends are using "HasCalls" as being synonymous for something that adjusts the stack. This isn't 100% correct and should be looked into. llvm-svn: 103802
* Test case for r103800.Devang Patel2010-05-141-0/+23
| | | | llvm-svn: 103801
* Lowering of atomic instructions can result in operands beingDan Gohman2010-05-141-1/+7
| | | | | | | used more than once. If ISel had put a kill flag on one of them, it's not valid to transfer the kill flag to each new instance. llvm-svn: 103799
* Add support to preserve type info for the variables that are removed by the ↵Devang Patel2010-05-144-17/+43
| | | | | | optimizer. llvm-svn: 103798
* When verifying two-address instructions, check the following:Jakob Stoklund Olesen2010-05-142-12/+21
| | | | | | | | | - Kill is implicit when use and def registers are identical. - Only virtual registers can differ. Add a -verify-fast-regalloc to run the verifier before the fast allocator. llvm-svn: 103797
* Fix so "int3" is correctly accepted, added "into" and fixed "int" with anKevin Enderby2010-05-142-2/+17
| | | | | | argument, like "int $4", to not get an Assertion error. llvm-svn: 103791
* Model VLD*_UPD and VLD*odd_UPD pair with REG_SEQUENCE.Evan Cheng2010-05-142-26/+88
| | | | llvm-svn: 103790
* MC/Mach-O/x86_64: Darwin's special "signed_N" relocation types should only beDaniel Dunbar2010-05-142-69/+75
| | | | | | used to replace a normal relocation, not a reference to a GOT entry. llvm-svn: 103789
* Simplify the handling of physreg defs and uses in RegAllocFast.Jakob Stoklund Olesen2010-05-142-110/+73
| | | | | | | This adds extra security against using clobbered physregs, and it adds kill markers to physreg uses. llvm-svn: 103784
* Set isTerminator on TRAP instructions.Dan Gohman2010-05-142-2/+2
| | | | llvm-svn: 103778
* Don't use isBarrier for the PowerPC sync instruction. isBarrier is forDan Gohman2010-05-141-1/+0
| | | | | | control barriers, not memory ordering barriers. llvm-svn: 103777
* Add mayLoad and mayStore flags to instructions which missed them.Dan Gohman2010-05-142-2/+15
| | | | llvm-svn: 103776
* Use regular PassManager instead of FunctionPassManager in opt, since itDan Gohman2010-05-141-12/+8
| | | | | | isn't doing lazy streaming. This also fixes a missing doFinalization call. llvm-svn: 103774
* Use PassManagerBase, to give clients the option of using eitherDan Gohman2010-05-141-7/+7
| | | | | | FunctionPassManager or regular PassManager. llvm-svn: 103773
* Add an isNodeHidden to the graph traits, to support definition ofDan Gohman2010-05-142-3/+24
| | | | | | subgraph views. llvm-svn: 103772
* XFAIL the test I added with vg_leak, apparently it is the first and only llcDaniel Dunbar2010-05-142-0/+3
| | | | | | | -filetype=obj test, and -filetype=obj leaks a few objects. Added a FIXME, we need to sort out the ownership model for the various MC objects. llvm-svn: 103769
* Get rid of the bit twiddling to read / set OpActions and ValueTypeActions. ↵Evan Cheng2010-05-141-26/+10
| | | | | | The small saving in memory isn't worth the increase in runtime and code complexity in my opinion. llvm-svn: 103768
* Inline Asm: Ensure buffer is newline terminated to match how the text is ↵Daniel Dunbar2010-05-142-0/+20
| | | | | | | | printed. - This is a hack, but I can't decide the best place to handle this. Chris? llvm-svn: 103765
* Enable opportunistic coalescingJakob Stoklund Olesen2010-05-141-7/+18
| | | | llvm-svn: 103764
* Added a QQQQ register file to model 4-consecutive Q registers.Evan Cheng2010-05-147-52/+190
| | | | llvm-svn: 103760
* Add AsmParser support for darwin tbss directive.Eric Christopher2010-05-147-1/+100
| | | | | | Nothing uses this yet. llvm-svn: 103757
* Fix a couple of typos.Eric Christopher2010-05-141-2/+2
| | | | llvm-svn: 103756
* Fix typo.Nick Lewycky2010-05-141-1/+1
| | | | llvm-svn: 103755
* MC: Switch to completely lazy layout.Daniel Dunbar2010-05-142-19/+39
| | | | | | - The eliminates the last major algorithmic problem with MC. llvm-svn: 103754
* MC: Extend MCAsmLayout to explicitly track which fragments have been layed ↵Daniel Dunbar2010-05-142-10/+52
| | | | | | out, and enforce several invariants to LayoutFragment to ensure we only do layout in a sensible order. llvm-svn: 103753
* MC: Implicitly assign section addresses when the previous fragment is layed out.Daniel Dunbar2010-05-141-1/+11
| | | | llvm-svn: 103752
* MC: Switch MCFragment to storing the layout order index, not its index in ↵Daniel Dunbar2010-05-142-18/+19
| | | | | | the file. llvm-svn: 103751
* MC: Change LayoutSection() to only do the section initializiation.Daniel Dunbar2010-05-142-36/+16
| | | | | | Also, elimminate MCAsmLayout::set*, which are no longer needed. llvm-svn: 103750
* Fix comments.Evan Cheng2010-05-141-2/+2
| | | | llvm-svn: 103749
* Trust kill flags from isel and later passes.Jakob Stoklund Olesen2010-05-141-4/+0
| | | | llvm-svn: 103748
* Fix an embarrassing runtime regression for RegAllocFast.Jakob Stoklund Olesen2010-05-141-9/+31
| | | | | | | | | | | | This loop is quadratic in the capacity for a DenseMap: while(!map.empty()) map.erase(map.begin()); Instead we now do a normal begin() - end() iteration followed by map.clear(). That also has the nice sideeffect of shrinking the map capacity on demand. llvm-svn: 103747
* Adding a v8i64 512-bit vector type. This will be used to model ARM NEON ↵Evan Cheng2010-05-134-20/+39
| | | | | | intrinsics which translate into a pair of vld / vst instructions that can load / store 8 consecutive 64-bit (D) registers. llvm-svn: 103746
* Implement a correct ui64->f32 conversion. The oldDale Johannesen2010-05-131-0/+36
| | | | | | one was subject to double rounding in extreme cases. llvm-svn: 103744
* Eliminate use of magic numbers to access OpActions. It also has the effect ↵Evan Cheng2010-05-131-5/+7
| | | | | | of allowing more than 31 scalar value types. MAX_ALLOWED_VALUETYPE had already been updated to 64 a while back. llvm-svn: 103743
* Fix up LoadExtActions, TruncStoreActions, and IndexedModeActions ↵Evan Cheng2010-05-131-47/+47
| | | | | | representation and setter and getter's so they will continue to work if the number of scalar ValueType's exceeds 31. llvm-svn: 103742
* Clean up RegAllocFast debug outputJakob Stoklund Olesen2010-05-131-15/+14
| | | | llvm-svn: 103739
* MC: Move Layout{Fragment,Section} into MCAsmLayout, and add LayoutFile().Daniel Dunbar2010-05-133-36/+39
| | | | llvm-svn: 103738
* Teach MachineLICM and MachineSink how to clear kill flags conservativelyDan Gohman2010-05-134-1/+31
| | | | | | when they move instructions. llvm-svn: 103737
* 80 col violation.Evan Cheng2010-05-131-1/+2
| | | | llvm-svn: 103733
* Add comment about the pseudo registers QQ, each of which is a pair of Q ↵Evan Cheng2010-05-131-0/+5
| | | | | | registers. llvm-svn: 103731
* Fix pr7110: For non-Darwin targets UnspilledCS1GPRs may include high registers.Bob Wilson2010-05-131-1/+3
| | | | | | Do not use those for Thumb1 functions. llvm-svn: 103730
* CMake: fixes 64 bit Visual Studio IDE build. Fixes bug 4936.Oscar Fuentes2010-05-131-1/+6
| | | | | | Patch by Dimitry Andric! llvm-svn: 103727
* Add a utility function for conservatively clearing kill flags, and makeDan Gohman2010-05-133-1/+19
| | | | | | use of it in MachineCSE. llvm-svn: 103726
* An Instruction has a trivial kill only if its use is in the sameDan Gohman2010-05-131-2/+5
| | | | | | basic block. llvm-svn: 103725
* MC: Factor out MCAssembler::ComputeFragmentSize.Daniel Dunbar2010-05-132-36/+50
| | | | llvm-svn: 103724
* Fix const ilist_node::get{Prev,Next}Node() to actually compile. Picky, picky.Daniel Dunbar2010-05-132-2/+7
| | | | llvm-svn: 103723
* Fix complete badness in bugpoint's IsARMArchitecture() function.Jakob Stoklund Olesen2010-05-131-3/+2
| | | | | | | | | | The revision history for this function is interesting, with multiple layers of wrongness being introduced one at a time. This fixes a weird issue where bugpoint -run-llc would suddenly exit 13 half way through isolating a miscompilation. llvm-svn: 103721
OpenPOWER on IntegriCloud