| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | don't emit \n's at the start of X86AsmPrinter::runOnMachineFunction, | Chris Lattner | 2010-02-03 | 2 | -1/+2 |
| | | | | | | | .o files don't like that. llvm-svn: 95187 | ||||
| * | privatize a bunch of methods and move \n printing into them. | Chris Lattner | 2010-02-03 | 1 | -8/+6 |
| | | | | | llvm-svn: 95186 | ||||
| * | rename printMachineInstruction -> EmitInstruction | Chris Lattner | 2010-02-03 | 2 | -8/+3 |
| | | | | | llvm-svn: 95184 | ||||
| * | Reapply 95050 with a tweak to check the register class. | Dale Johannesen | 2010-02-03 | 1 | -0/+16 |
| | | | | | llvm-svn: 95183 | ||||
| * | print instructions through the mcstreamer. | Chris Lattner | 2010-02-03 | 1 | -13/+6 |
| | | | | | llvm-svn: 95181 | ||||
| * | emit instructions through the streamer. | Chris Lattner | 2010-02-03 | 1 | -2/+1 |
| | | | | | llvm-svn: 95180 | ||||
| * | Finally eliminate printMCInst and send instructions through | Chris Lattner | 2010-02-03 | 3 | -17/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | the streamer. Demo: $ cat t.ll define i32 @test() nounwind { ret i32 42 } $ llc t.ll -o - ... _test: movl $42, %eax ret $ llc t.ll -o t.o -filetype=obj $ otool -tv t.o t.o: (__TEXT,__text) section _test: 00000000 movl $0x0000002a,%eax 00000005 ret llvm-svn: 95179 | ||||
| * | rejigger the world so that EmitInstruction prints the \n at | Chris Lattner | 2010-02-03 | 12 | -22/+37 |
| | | | | | | | | | the end of the instruction instead of expecting the caller to do it. This currently causes the asm-verbose instruction comments to be on the next line. llvm-svn: 95178 | ||||
| * | sink handling of target-independent machine instrs (other | Chris Lattner | 2010-02-03 | 8 | -53/+19 |
| | | | | | | | | | than DEBUG_VALUE :( ) into the target indep AsmPrinter.cpp file. This allows elimination of the NO_ASM_WRITER_BOILERPLATE hack among other things. llvm-svn: 95177 | ||||
| * | Print FPImm a less kludgy way; APFloat.toString seems | Dale Johannesen | 2010-02-03 | 1 | -6/+3 |
| | | | | | | | to have some problems anyway. llvm-svn: 95171 | ||||
| * | Fix some comment typos. | Bob Wilson | 2010-02-03 | 1 | -3/+3 |
| | | | | | llvm-svn: 95170 | ||||
| * | pass an instprinter into the AsmPrinter if it is available. | Chris Lattner | 2010-02-03 | 1 | -3/+7 |
| | | | | | llvm-svn: 95168 | ||||
| * | make any use of the "O" stream in asmprinter print to | Chris Lattner | 2010-02-03 | 1 | -1/+10 |
| | | | | | | | | | | stderr if in filetype=obj mode. This is a hack, and will live until dwarf emission and other random stuff that is not yet going through MCStreamer is upgraded. It only impacts filetype=obj mode. llvm-svn: 95166 | ||||
| * | Recommit this, looks like it wasn't the cause. | Eric Christopher | 2010-02-03 | 2 | -70/+100 |
| | | | | | llvm-svn: 95165 | ||||
| * | ByVal frame object size should be that of the byval argument, not the size ↵ | Evan Cheng | 2010-02-02 | 1 | -7/+11 |
| | | | | | | | of the type which is just a pointer. This is not known to break stuff but is wrong nevertheless. llvm-svn: 95163 | ||||
| * | Hook up -filetype=obj through the MachO streamer. Here's a demo: | Chris Lattner | 2010-02-02 | 1 | -6/+13 |
| | | | | | | | | | | | | | | $ cat t.ll @g = global i32 42 $ llc t.ll -o t.o -filetype=obj $ nm t.o 00000000 D _g There is still a ton of work left. Instructions are not being encoded yet apparently. llvm-svn: 95162 | ||||
| * | As of r79039, we still try to eliminate the frame pointer on leaf functions, | Jim Grosbach | 2010-02-02 | 1 | -1/+1 |
| | | | | | | | even when -disable-fp-elim is specified. llvm-svn: 95161 | ||||
| * | Revert 95130. | Evan Cheng | 2010-02-02 | 25 | -30/+34 |
| | | | | | llvm-svn: 95160 | ||||
| * | Accept floating point immediates in DEBUG_VALUE. | Dale Johannesen | 2010-02-02 | 1 | -1/+11 |
| | | | | | llvm-svn: 95159 | ||||
| * | AsmParser/X86: Add temporary hack to allow parsing "sal". Eventually we need | Daniel Dunbar | 2010-02-02 | 1 | -2/+8 |
| | | | | | | | | some mechanism for specifying alternative syntaxes, but I'm not sure what form that should take yet. llvm-svn: 95158 | ||||
| * | use OwningPtr and factor code better. | Chris Lattner | 2010-02-02 | 1 | -19/+21 |
| | | | | | llvm-svn: 95156 | ||||
| * | refactor code so that LLVMTargetMachine creates the asmstreamer and | Chris Lattner | 2010-02-02 | 16 | -46/+76 |
| | | | | | | | | mccontext instead of having AsmPrinter do it. This allows other types of MCStreamer's to be passed in. llvm-svn: 95155 | ||||
| * | Hopefully temporarily revert this. | Eric Christopher | 2010-02-02 | 2 | -100/+70 |
| | | | | | llvm-svn: 95154 | ||||
| * | simplify getVerboseAsm | Chris Lattner | 2010-02-02 | 1 | -6/+6 |
| | | | | | llvm-svn: 95153 | ||||
| * | move handling of asm-verbose out of AsmPrinter.cpp into ↵ | Chris Lattner | 2010-02-02 | 2 | -17/+16 |
| | | | | | | | LLVMTargetMachine.cpp with the rest of the command line options. llvm-svn: 95152 | ||||
| * | remove dead #include, stupid symlinks. | Chris Lattner | 2010-02-02 | 1 | -1/+0 |
| | | | | | llvm-svn: 95150 | ||||
| * | Remove a bunch of stuff around the edges of the ELF writer. | Chris Lattner | 2010-02-02 | 2 | -11/+1 |
| | | | | | | | | Now the only use of the ELF writer is the JIT, which won't be easy to fix in the short term. :( :( llvm-svn: 95148 | ||||
| * | Reformat my last patch slightly. | Eric Christopher | 2010-02-02 | 1 | -4/+4 |
| | | | | | llvm-svn: 95147 | ||||
| * | tidy some targets. | Chris Lattner | 2010-02-02 | 3 | -6/+0 |
| | | | | | llvm-svn: 95146 | ||||
| * | Re-add strcmp and known size object size checking optimization. | Eric Christopher | 2010-02-02 | 2 | -12/+41 |
| | | | | | | | Passed bootstrap and nightly test run here. llvm-svn: 95145 | ||||
| * | remove dead code. | Chris Lattner | 2010-02-02 | 4 | -43/+0 |
| | | | | | llvm-svn: 95144 | ||||
| * | detemplatize the ppc code emitter. | Chris Lattner | 2010-02-02 | 1 | -37/+21 |
| | | | | | llvm-svn: 95142 | ||||
| * | remove dead code. | Chris Lattner | 2010-02-02 | 4 | -73/+0 |
| | | | | | llvm-svn: 95141 | ||||
| * | add a definition for ID. | Chris Lattner | 2010-02-02 | 1 | -0/+3 |
| | | | | | llvm-svn: 95140 | ||||
| * | detemplatize ARM code emitter. | Chris Lattner | 2010-02-02 | 1 | -111/+57 |
| | | | | | llvm-svn: 95138 | ||||
| * | MCAsmParser/X86: Represent absolute memory operands as CodeGen does, with scale | Daniel Dunbar | 2010-02-02 | 1 | -2/+2 |
| | | | | | | | == 1. llvm-svn: 95137 | ||||
| * | MCCodeEmitter/X86: Handle tied registers better when converting MCInst -> | Daniel Dunbar | 2010-02-02 | 1 | -6/+18 |
| | | | | | | | | MCMachineInstr. This also fixes handling of tied registers for MRMSrcMem instructions. llvm-svn: 95136 | ||||
| * | MC/Mach-O: Set SOME_INSTRUCTIONS bit for sections. | Daniel Dunbar | 2010-02-02 | 2 | -4/+9 |
| | | | | | llvm-svn: 95135 | ||||
| * | remove dead code. | Chris Lattner | 2010-02-02 | 4 | -43/+2 |
| | | | | | llvm-svn: 95134 | ||||
| * | detemplatize alpha code emission, it is now JIT specific. | Chris Lattner | 2010-02-02 | 1 | -32/+13 |
| | | | | | llvm-svn: 95133 | ||||
| * | eliminate all the dead addSimpleCodeEmitter implementations. | Chris Lattner | 2010-02-02 | 10 | -155/+0 |
| | | | | | | | | eliminate random "code emitter" stuff in Alpha, except for the JIT path. Next up, remove the template cruft. llvm-svn: 95131 | ||||
| * | Pass callsite return type to TargetLowering::LowerCall and use that to check ↵ | Evan Cheng | 2010-02-02 | 25 | -34/+30 |
| | | | | | | | sibcall eligibility. llvm-svn: 95130 | ||||
| * | eliminate FileModel::Model, just use CodeGenFileType. The client | Chris Lattner | 2010-02-02 | 4 | -13/+10 |
| | | | | | | | | of the code generator shouldn't care what object format a target uses. llvm-svn: 95124 | ||||
| * | remove the remnants of TargetMachOWriterInfo. | Chris Lattner | 2010-02-02 | 2 | -26/+0 |
| | | | | | llvm-svn: 95114 | ||||
| * | Add a new top-level MachO.h file for manifest constants, fixing | Chris Lattner | 2010-02-02 | 1 | -3/+3 |
| | | | | | | | a layering violation from MC -> Target. llvm-svn: 95113 | ||||
| * | Added t2BFI (Bitfield Insert) entry for disassembler, with blank pattern field. | Johnny Chen | 2010-02-02 | 1 | -1/+10 |
| | | | | | llvm-svn: 95112 | ||||
| * | remove PPCMachOWriterInfo. | Chris Lattner | 2010-02-02 | 5 | -214/+1 |
| | | | | | llvm-svn: 95111 | ||||
| * | eliminate all forms of addPassesToEmitMachineCode except | Chris Lattner | 2010-02-02 | 1 | -72/+8 |
| | | | | | | | | | | the one used by the JIT. Remove all forms of addPassesToEmitFileFinish except the one used by the static code generator. Inline the remaining version of addPassesToEmitFileFinish into its only caller. llvm-svn: 95109 | ||||
| * | Test revert 95050; there's a good chance it's causing | Dale Johannesen | 2010-02-02 | 1 | -14/+0 |
| | | | | | | | buildbot failure. llvm-svn: 95103 | ||||
| * | Inline addAssemblyEmitter into its one real caller and delete | Chris Lattner | 2010-02-02 | 1 | -31/+7 |
| | | | | | | | | the -print-emitted-asm option. The JIT shouldn't have to pull in the asmprinter. llvm-svn: 95100 | ||||

