| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add newline at end of file to remove gcc warning. | Nick Lewycky | 2009-08-01 | 1 | -1/+1 |
| | | | | | llvm-svn: 77791 | ||||
| * | All MCSections are now required to have a SectionKind. | Chris Lattner | 2009-08-01 | 2 | -9/+6 |
| | | | | | llvm-svn: 77787 | ||||
| * | Workaround a couple of Darwin assembler bugs. | Evan Cheng | 2009-08-01 | 3 | -31/+71 |
| | | | | | llvm-svn: 77781 | ||||
| * | Give MachineFunctionAnalysis a destructor so it can verify that | Dan Gohman | 2009-08-01 | 1 | -0/+4 |
| | | | | | | | that it released its allocated memory. llvm-svn: 77775 | ||||
| * | Delete a redundant variable. | Dan Gohman | 2009-08-01 | 1 | -1/+0 |
| | | | | | llvm-svn: 77774 | ||||
| * | Minor code simplifications. | Dan Gohman | 2009-08-01 | 1 | -8/+8 |
| | | | | | llvm-svn: 77769 | ||||
| * | Minor code simplifications. | Dan Gohman | 2009-08-01 | 2 | -8/+1 |
| | | | | | llvm-svn: 77768 | ||||
| * | Split t2MOVCCs since some assemblers do not recognize mov shifted register ↵ | Evan Cheng | 2009-08-01 | 2 | -8/+29 |
| | | | | | | | alias with predicate. llvm-svn: 77764 | ||||
| * | SelectionDAGISel no longer needs to check hasAvailableExternallyLinkage, | Dan Gohman | 2009-08-01 | 1 | -5/+0 |
| | | | | | | | | as it is now a MachineFunctionPass, and MachineFunctionPass now handles this. llvm-svn: 77760 | ||||
| * | Make UnreachableMachineBlockElim preserve MachineDominatorTree and | Dan Gohman | 2009-08-01 | 1 | -0/+15 |
| | | | | | | | | | | MachineLoopInfo. llc now runs MachineLoopInfo and MachineDominatorTree only twice, instead of three times. llvm-svn: 77759 | ||||
| * | The X86 maximal stack alignment calculator preserves the CFG. Also, | Dan Gohman | 2009-08-01 | 1 | -2/+9 |
| | | | | | | | be more careful about the return value of runOnMachineFunction. llvm-svn: 77758 | ||||
| * | X86 floating-point passes don't modify the CFG. | Dan Gohman | 2009-08-01 | 2 | -0/+2 |
| | | | | | llvm-svn: 77757 | ||||
| * | Fix Thumb2 function call isel. Thumb1 and Thumb2 should share the same | Evan Cheng | 2009-08-01 | 5 | -72/+40 |
| | | | | | | | | | | instructions for calls since BL and BLX are always 32-bit long and BX is always 16-bit long. Also, we should be using BLX to call external function stubs. llvm-svn: 77756 | ||||
| * | Use setPreservesAll in X86CodeEmitter. | Dan Gohman | 2009-07-31 | 1 | -0/+1 |
| | | | | | llvm-svn: 77755 | ||||
| * | Use setPreservesAll and setPreservesCFG in CodeGen passes. | Dan Gohman | 2009-07-31 | 17 | -14/+31 |
| | | | | | llvm-svn: 77754 | ||||
| * | SelectionDAGISel does not "preserve all", since it makes lots of changes | Dan Gohman | 2009-07-31 | 1 | -1/+3 |
| | | | | | | | to the MachineFunction. llvm-svn: 77753 | ||||
| * | Use a range insert instead of an explicit loop. | Dan Gohman | 2009-07-31 | 1 | -2/+1 |
| | | | | | llvm-svn: 77752 | ||||
| * | llvm-mc: Fix .s output to quote section & symbol names when necessary. | Daniel Dunbar | 2009-07-31 | 1 | -12/+51 |
| | | | | | llvm-svn: 77749 | ||||
| * | Privatize all but one of the remaining constant tables. | Owen Anderson | 2009-07-31 | 2 | -62/+55 |
| | | | | | llvm-svn: 77748 | ||||
| * | Allow target intrinsics that return multiple values, i.e., struct types, | Bob Wilson | 2009-07-31 | 1 | -15/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | in SelectionDAGLowering::visitTargetIntrinsic. This removes a bit of special-case code for vector types. After staring at it for a while, I managed to convince myself that it is not necessary. The only case where TLI.getValueType() differs from MVT::getMVT is for iPTR, so this code could potentially make a difference for a vector of pointers. But, it looks like that is not supported. Calling TLI.getValueType() on a vector of pointers leads to the following sequence of calls: TargetLowering::getValueType MVT::getMVT MVT::getVectorVT(iPTR, num elements) MVT::getExtendedVectorVT MVT::getTypeForMVT for iPTR assertion fails "Type is not extended!" So, unless I'm really missing something, this bit of code is irrelevant to the current version of LLVM, which is consistent with the fact that I don't see this code in other similar places. llvm-svn: 77747 | ||||
| * | llvm-mc: A few more parsing / match tweaks. | Daniel Dunbar | 2009-07-31 | 1 | -11/+42 |
| | | | | | | | | | | | | | | | - Operands which are just a label should be parsed as immediates, not memory operands (from the assembler perspective). - Match a few more flavors of immediates. - Distinguish match functions for memory operands which don't take a segment register. - We match the .s for "hello world" now! llvm-svn: 77745 | ||||
| * | t2BR_JT is mov pc, it's 2 byte long, not 4. | Evan Cheng | 2009-07-31 | 1 | -9/+9 |
| | | | | | llvm-svn: 77744 | ||||
| * | Thumb2 movcc need .w suffix. | Evan Cheng | 2009-07-31 | 1 | -3/+3 |
| | | | | | llvm-svn: 77743 | ||||
| * | add some comments on how this is *supposed* to work. We don't | Chris Lattner | 2009-07-31 | 1 | -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 would | Chris Lattner | 2009-07-31 | 1 | -4/+5 |
| | | | | | | | have no functionality change. llvm-svn: 77741 | ||||
| * | Simplify operand padding by keying off tabs in the asm stream. If | David Greene | 2009-07-31 | 1 | -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 whole | Chris Lattner | 2009-07-31 | 4 | -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 Anderson | 2009-07-31 | 6 | -80/+52 |
| | | | | | llvm-svn: 77733 | ||||
| * | LibCallAliasAnalysis doesn't use TargetData. | Dan Gohman | 2009-07-31 | 1 | -2/+0 |
| | | | | | llvm-svn: 77729 | ||||
| * | llvm-mc/X86: Sketch match functions for immediates and memory operands. | Daniel Dunbar | 2009-07-31 | 1 | -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 Gohman | 2009-07-31 | 1 | -10/+7 |
| | | | | | llvm-svn: 77727 | ||||
| * | move emitUsedDirectiveFor to TargetLoweringObjectFile and rename it to | Chris Lattner | 2009-07-31 | 3 | -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 Gohman | 2009-07-31 | 1 | -1/+0 |
| | | | | | llvm-svn: 77725 | ||||
| * | remove the PPCLinuxTargetAsmInfo implementation of PreferredEHDataFormat, | Chris Lattner | 2009-07-31 | 2 | -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 Lattner | 2009-07-31 | 2 | -12/+0 |
| | | | | | llvm-svn: 77723 | ||||
| * | Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵ | Owen Anderson | 2009-07-31 | 43 | -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 print | Dan Gohman | 2009-07-31 | 1 | -11/+12 |
| | | | | | | | a trailing newline. llvm-svn: 77719 | ||||
| * | Whitespace and 80-col cleanup. | Eric Christopher | 2009-07-31 | 1 | -153/+167 |
| | | | | | llvm-svn: 77718 | ||||
| * | - Convert the rest of the DOUTs to DEBUG+errs(). | Bill Wendling | 2009-07-31 | 1 | -14/+13 |
| | | | | | | | | | - One formatting change. No intended functionality change. llvm-svn: 77717 | ||||
| * | PR4662: Fix a crash introduced by the recent LLVMContext changes. | Eli Friedman | 2009-07-31 | 1 | -1/+2 |
| | | | | | llvm-svn: 77716 | ||||
| * | Update CMake files. | Ted Kremenek | 2009-07-31 | 2 | -1/+2 |
| | | | | | llvm-svn: 77709 | ||||
| * | switch off of 'Section' onto MCSection. We're not properly using | Chris Lattner | 2009-07-31 | 16 | -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 Gohman | 2009-07-31 | 1 | -130/+0 |
| | | | | | llvm-svn: 77706 | ||||
| * | Until we have a "ALIGN" pseudo instruction, have asm printer emitted a .align | Evan Cheng | 2009-07-31 | 1 | -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 Gohman | 2009-07-31 | 1 | -2/+1 |
| | | | | | llvm-svn: 77704 | ||||
| * | - Teach TBB / TBH offset limits are 510 and 131070 respectively since the offset | Evan Cheng | 2009-07-31 | 2 | -9/+14 |
| | | | | | | | | is scaled by two. - Teach GetInstSizeInBytes about TBB and TBH. llvm-svn: 77701 | ||||
| * | Fix printing of Alloca instructions with null operands. | Dan Gohman | 2009-07-31 | 1 | -1/+1 |
| | | | | | llvm-svn: 77697 | ||||
| * | Fix some problems with ASTCallbackVH in its use as a DenseMap key. | Dan Gohman | 2009-07-31 | 1 | -4/+6 |
| | | | | | llvm-svn: 77696 | ||||
| * | Process DbgDeclareInst. | Devang Patel | 2009-07-31 | 1 | -0/+15 |
| | | | | | llvm-svn: 77694 | ||||
| * | Normalize target registration code. | Daniel Dunbar | 2009-07-31 | 1 | -1/+1 |
| | | | | | llvm-svn: 77692 | ||||

