summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* t2BR_JT is mov pc, it's 2 byte long, not 4.Evan Cheng2009-07-311-9/+9
| | | | llvm-svn: 77744
* Thumb2 movcc need .w suffix.Evan Cheng2009-07-311-3/+3
| | | | llvm-svn: 77743
* add some comments on how this is *supposed* to work. We don'tChris Lattner2009-07-311-0/+27
| | | | | | | need the PreferredEHDataFormat hook, but I have yet-more refactoring to do before I can zap it. llvm-svn: 77742
* rearrange a conditional. Even if this weren't #if 0'd out, this wouldChris Lattner2009-07-311-4/+5
| | | | | | have no functionality change. llvm-svn: 77741
* Simplify operand padding by keying off tabs in the asm stream. IfDavid Greene2009-07-311-1/+21
| | | | | | | | | | | | padding is disabled, tabs get replaced by spaces except in the case of the first operand, where the tab is output to line up the operands after the mnemonics. Add some better comments and eliminate redundant code. Fix some testcases to not assume tabs. llvm-svn: 77740
* PreferredEHDataFormat is always call with data and global, but this wholeChris Lattner2009-07-314-47/+19
| | | | | | | thing is #if0'd out anyway. Just simplify the code by reducing the interface. Not deleting this is essential for Bill's continuing happiness. llvm-svn: 77736
* Move the metadata constructors back to 2.5 syntax.Owen Anderson2009-07-316-80/+52
| | | | llvm-svn: 77733
* LibCallAliasAnalysis doesn't use TargetData.Dan Gohman2009-07-311-2/+0
| | | | llvm-svn: 77729
* llvm-mc/X86: Sketch match functions for immediates and memory operands.Daniel Dunbar2009-07-311-37/+112
| | | | | | | Also, change scale value to always be 1 when unspecified to machine MachineInst encoding. llvm-svn: 77728
* Make TargetData optional in MemoryDependenceAnalysis.Dan Gohman2009-07-311-10/+7
| | | | llvm-svn: 77727
* move emitUsedDirectiveFor to TargetLoweringObjectFile and rename it toChris Lattner2009-07-313-21/+24
| | | | | | | indicate that it is a predicate, not an emitter. This eliminates TAI dependencies on Mangler and GlobalValue. llvm-svn: 77726
* Remove an unnecessary header.Dan Gohman2009-07-311-1/+0
| | | | llvm-svn: 77725
* remove the PPCLinuxTargetAsmInfo implementation of PreferredEHDataFormat,Chris Lattner2009-07-312-35/+0
| | | | | | | | | | because it just calls the default impl. Remove the PPCDarwinTargetAsmInfo version of PreferredEHDataFormat because it just returns DW_EH_PE_absptr unless on 10.6. However, 10.6 doesn't support PPC, so the default impl is just fine. llvm-svn: 77724
* remove a pointless override.Chris Lattner2009-07-312-12/+0
| | | | llvm-svn: 77723
* Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵Owen Anderson2009-07-3143-376/+331
| | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721
* Fix GVN's debug output, now that operator<< on Value* doesn't printDan Gohman2009-07-311-11/+12
| | | | | | a trailing newline. llvm-svn: 77719
* Whitespace and 80-col cleanup.Eric Christopher2009-07-311-153/+167
| | | | llvm-svn: 77718
* - Convert the rest of the DOUTs to DEBUG+errs().Bill Wendling2009-07-311-14/+13
| | | | | | | | - One formatting change. No intended functionality change. llvm-svn: 77717
* PR4662: Fix a crash introduced by the recent LLVMContext changes.Eli Friedman2009-07-311-1/+2
| | | | llvm-svn: 77716
* Update CMake files.Ted Kremenek2009-07-312-1/+2
| | | | llvm-svn: 77709
* switch off of 'Section' onto MCSection. We're not properly usingChris Lattner2009-07-3116-117/+128
| | | | | | MCSection subclasses yet, but this is a step in the right direction. llvm-svn: 77708
* Remove Annotation.h, which is no longer used in the LLVM tree.Dan Gohman2009-07-311-130/+0
| | | | llvm-svn: 77706
* Until we have a "ALIGN" pseudo instruction, have asm printer emitted a .alignEvan Cheng2009-07-311-0/+7
| | | | | | | | to ensure the instruction that follows a TBB (when the number of table entries is odd) is 2-byte aligned. Patch by Sandeep Patel. llvm-svn: 77705
* MachineFunction no longer needs Annotation.Dan Gohman2009-07-311-2/+1
| | | | llvm-svn: 77704
* - Teach TBB / TBH offset limits are 510 and 131070 respectively since the offsetEvan Cheng2009-07-312-9/+14
| | | | | | | is scaled by two. - Teach GetInstSizeInBytes about TBB and TBH. llvm-svn: 77701
* Fix printing of Alloca instructions with null operands.Dan Gohman2009-07-311-1/+1
| | | | llvm-svn: 77697
* Fix some problems with ASTCallbackVH in its use as a DenseMap key.Dan Gohman2009-07-311-4/+6
| | | | llvm-svn: 77696
* Process DbgDeclareInst.Devang Patel2009-07-311-0/+15
| | | | llvm-svn: 77694
* Normalize target registration code.Daniel Dunbar2009-07-311-1/+1
| | | | llvm-svn: 77692
* Reapply r77654 with a fix: MachineFunctionPass's getAnalysisUsageDan Gohman2009-07-3111-104/+121
| | | | | | | | shouldn't do AU.setPreservesCFG(), because even though CodeGen passes don't modify the LLVM IR CFG, they may modify the MachineFunction CFG, and passes like MachineLoop are registered with isCFGOnly set to true. llvm-svn: 77691
* refactor section construction in TLOF to be through an explicitChris Lattner2009-07-317-10/+24
| | | | | | initialize method, which can be called when an MCContext is available. llvm-svn: 77687
* Move getTrue() and getFalse() to 2.5-like APIs.Owen Anderson2009-07-3114-160/+154
| | | | llvm-svn: 77685
* split MCSection stuff out to its own .cpp file, add a newChris Lattner2009-07-313-12/+32
| | | | | | MCSectionWithKind subclass of MCSection. llvm-svn: 77684
* create sections with MCSection::Create instead of Context->getOrCreateSection.Chris Lattner2009-07-311-8/+15
| | | | | | This is needed to allow polymorphic sections. llvm-svn: 77680
* fix PR4650: we only track sizes for certain objects, so only put somethingChris Lattner2009-07-311-1/+4
| | | | | | | | into the mergable section if it is one of our special cases. This could obviously be improved, but this is the minimal fix and restores us to the previous behavior. llvm-svn: 77679
* Work around a dangling pointer dereference when enumerating NamedMDNodes.Benjamin Kramer2009-07-311-0/+3
| | | | llvm-svn: 77675
* Fix a struct/class mismatch, to silence a MSVC warning.Benjamin Kramer2009-07-311-1/+1
| | | | llvm-svn: 77673
* define target names for std libcalls.Sanjiv Gupta2009-07-312-12/+34
| | | | llvm-svn: 77667
* Revert r77654, it appears to be causing llvm-gcc bootstrap failures, and manyDaniel Dunbar2009-07-3111-119/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | failures when building assorted projects with clang. --- Reverse-merging r77654 into '.': U include/llvm/CodeGen/Passes.h U include/llvm/CodeGen/MachineFunctionPass.h U include/llvm/CodeGen/MachineFunction.h U include/llvm/CodeGen/LazyLiveness.h U include/llvm/CodeGen/SelectionDAGISel.h D include/llvm/CodeGen/MachineFunctionAnalysis.h U include/llvm/Function.h U lib/Target/CellSPU/SPUISelDAGToDAG.cpp U lib/Target/PowerPC/PPCISelDAGToDAG.cpp U lib/CodeGen/LLVMTargetMachine.cpp U lib/CodeGen/MachineVerifier.cpp U lib/CodeGen/MachineFunction.cpp U lib/CodeGen/PrologEpilogInserter.cpp U lib/CodeGen/MachineLoopInfo.cpp U lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp D lib/CodeGen/MachineFunctionAnalysis.cpp D lib/CodeGen/MachineFunctionPass.cpp U lib/CodeGen/LiveVariables.cpp llvm-svn: 77661
* llvm-mc: Match a few X86 instructions.Daniel Dunbar2009-07-311-8/+71
| | | | | | | | | | | - This is "experimental" code, I am feeling my way around and working out the best way to do things (and learning tblgen in the process). Comments welcome, but keep in mind this stuff will change radically. - This is enough to match "subb" and friends, but not much else. The next step is to automatically generate the matchers for individual operands. llvm-svn: 77657
* Manage MachineFunctions with an analysis Pass instead of the AnnotableDan Gohman2009-07-3111-104/+119
| | | | | | | mechanism. To support this, make MachineFunctionPass a little more complete. llvm-svn: 77654
* Fix cmake build.Benjamin Kramer2009-07-311-1/+0
| | | | llvm-svn: 77649
* Add getOrInsertNamedMetadata().Devang Patel2009-07-301-3/+14
| | | | llvm-svn: 77646
* When fp is not eliminated, instructions with T2_i12 modes will be changed to ↵Evan Cheng2009-07-302-3/+10
| | | | | | T2_i8 ones. Take that into consideration when determining stack size limit for reserving register scavenging slot. llvm-svn: 77642
* Removed the BigBlock register allocator.Lang Hames2009-07-301-892/+0
| | | | llvm-svn: 77640
* Do not use abbrev while writing NamedMDNode name.Devang Patel2009-07-301-9/+4
| | | | llvm-svn: 77637
* Enumerate NamedMDNode elements first.Devang Patel2009-07-301-4/+0
| | | | llvm-svn: 77636
* Move more code back to 2.5 APIs.Owen Anderson2009-07-3041-221/+180
| | | | llvm-svn: 77635
* Remove redundant match for frame index from imm8 addrmode, it is handled by ↵David Goodwin2009-07-301-24/+14
| | | | | | the imm12 addrmode. llvm-svn: 77632
* Darwin assembler now recognizes "orn", so remove workaround.David Goodwin2009-07-301-5/+3
| | | | llvm-svn: 77627
OpenPOWER on IntegriCloud