Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | split DEBUG_VALUE printing stuff out to its own method. | Chris Lattner | 2010-04-04 | 2 | -58/+63 | |
| | | | | llvm-svn: 100315 | |||||
* | mc'ize elf stub printing, convert cygwin stuff to EmitRawText, | Chris Lattner | 2010-04-04 | 1 | -12/+15 | |
| | | | | | | which will abort in .o file writing mode. llvm-svn: 100314 | |||||
* | fix PrintAsmOperand and PrintAsmMemoryOperand to pass down | Chris Lattner | 2010-04-04 | 2 | -4/+7 | |
| | | | | | | raw_ostream to print to. llvm-svn: 100313 | |||||
* | use predicates in DBG_VALUE printing code to simplify it. | Chris Lattner | 2010-04-04 | 1 | -10/+9 | |
| | | | | llvm-svn: 100312 | |||||
* | remove more implicit uses of "O". | Chris Lattner | 2010-04-04 | 3 | -88/+54 | |
| | | | | llvm-svn: 100311 | |||||
* | fix an ugly wart in the MCInstPrinter api where the | Chris Lattner | 2010-04-04 | 5 | -14/+12 | |
| | | | | | | | | raw_ostream to print an instruction to had to be specified at MCInstPrinter construction time instead of being able to pick at each call to printInstruction. llvm-svn: 100307 | |||||
* | change a ton of code to not implicitly use the "O" raw_ostream | Chris Lattner | 2010-04-04 | 4 | -90/+99 | |
| | | | | | | member of AsmPrinter. Instead, pass it in explicitly. llvm-svn: 100306 | |||||
* | asmstreamerize the .size directive for function bodies, force clients | Chris Lattner | 2010-04-03 | 1 | -2/+2 | |
| | | | | | | of printOffset to pass in a stream to print to. llvm-svn: 100296 | |||||
* | Comment the changes for r98218 and friends inside the source code. | Bill Wendling | 2010-03-31 | 1 | -0/+5 | |
| | | | | llvm-svn: 100033 | |||||
* | Replace V_SET0 with variants for each SSE execution domain. | Jakob Stoklund Olesen | 2010-03-31 | 1 | -1/+3 | |
| | | | | llvm-svn: 99975 | |||||
* | Rip out the 'is temporary' nonsense from the MCContext interface to | Chris Lattner | 2010-03-30 | 1 | -4/+4 | |
| | | | | | | | | | create symbols. It is extremely error prone and a source of a lot of the remaining integrated assembler bugs on x86-64. This fixes rdar://7807601. llvm-svn: 99902 | |||||
* | fix GetOrCreateTemporarySymbol to require a name, clients | Chris Lattner | 2010-03-17 | 1 | -1/+1 | |
| | | | | | | | should use CreateTempSymbol() if they don't care about the name. llvm-svn: 98712 | |||||
* | MC: Allow modifiers in MCSymbolRefExpr, and eliminate X86MCTargetExpr. | Daniel Dunbar | 2010-03-15 | 1 | -17/+12 | |
| | | | | | | | - Although it would be nice to allow this decoupling, the assembler needs to be able to reason about MCSymbolRefExprs in too many places to make this viable. We can use a target specific encoding of the variant if this becomes an issue. - This patch also extends llvm-mc to support parsing of the modifiers, as opposed to lumping them in with the symbol. llvm-svn: 98592 | |||||
* | comment fix. | Chris Lattner | 2010-03-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 98494 | |||||
* | shrink 4-byte branches to 1-byte branches when lowering from | Chris Lattner | 2010-03-14 | 1 | -0/+23 | |
| | | | | | | | MachineInstr -> MCInst. This is what the assembler backend wants, it relaxes from smaller to larger things. This fixes rdar://7750815 llvm-svn: 98493 | |||||
* | eliminate the now-unneeded context argument of MBB::getSymbol() | Chris Lattner | 2010-03-13 | 2 | -2/+2 | |
| | | | | llvm-svn: 98451 | |||||
* | rearrange MCContext ownership. Before LLVMTargetMachine created it | Chris Lattner | 2010-03-13 | 1 | -3/+2 | |
| | | | | | | | | | | | and passing off ownership to AsmPrinter. Now MachineModuleInfo creates it and owns it by value. This allows us to use MCSymbols more consistently throughout the rest of the code generator, and simplifies a bit of code. This also allows MachineFunction to keep an MCContext reference handy, and cleans up the TargetRegistry interfaces for AsmPrinters. llvm-svn: 98450 | |||||
* | switch to the text section at the start of the .s file for darwin/x86 | Chris Lattner | 2010-03-13 | 2 | -1/+7 | |
| | | | | | | | targets. This is a temporary hack for the .o file writer that Daniel wants :) llvm-svn: 98413 | |||||
* | Fix LLVM build when the user specifies CPPFLAGS on the make command line. | Jeffrey Yasskin | 2010-03-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 98394 | |||||
* | remove special case code that isn't needed anymore. | Chris Lattner | 2010-03-12 | 1 | -5/+0 | |
| | | | | llvm-svn: 98391 | |||||
* | inline GetGlobalValueSymbol into the rest its callers and | Chris Lattner | 2010-03-12 | 1 | -3/+3 | |
| | | | | | | remove it. llvm-svn: 98390 | |||||
* | inline the now-trivial implementation of GetGlobalValueSymbol into | Chris Lattner | 2010-03-12 | 1 | -9/+7 | |
| | | | | | | some of its callers. llvm-svn: 98388 | |||||
* | eliminate the X86 version of GetGlobalValueSymbol, allowing | Chris Lattner | 2010-03-12 | 2 | -5/+0 | |
| | | | | | | it to be non-virtual and soon disappear. llvm-svn: 98387 | |||||
* | move fastcall/stdcall mangling up into Mangler. | Chris Lattner | 2010-03-12 | 2 | -11/+1 | |
| | | | | llvm-svn: 98384 | |||||
* | make DecorateCygMingName a static method. | Chris Lattner | 2010-03-12 | 2 | -8/+6 | |
| | | | | llvm-svn: 98377 | |||||
* | minor tidying, only do work if a function is | Chris Lattner | 2010-03-12 | 2 | -6/+4 | |
| | | | | | | actually X86_StdCall or X86_FastCall. llvm-svn: 98374 | |||||
* | eliminate the string form of DecorateCygMingName | Chris Lattner | 2010-03-12 | 2 | -13/+18 | |
| | | | | llvm-svn: 98373 | |||||
* | Add a beta-test for placing the LSDA into the TEXT section on X86. | Bill Wendling | 2010-03-12 | 1 | -2/+10 | |
| | | | | llvm-svn: 98370 | |||||
* | Fix llc crash on invalid input. | Devang Patel | 2010-03-12 | 1 | -0/+7 | |
| | | | | llvm-svn: 98369 | |||||
* | Remove some dead code. This method only gets called on | Chris Lattner | 2010-03-12 | 1 | -5/+0 | |
| | | | | | | definitions. llvm-svn: 98368 | |||||
* | use Mang->getSymbol instead of duplicating the logic, reduce indentation. | Chris Lattner | 2010-03-12 | 1 | -19/+13 | |
| | | | | llvm-svn: 98367 | |||||
* | simplify code to use OutContext.GetOrCreateTemporarySymbol with | Chris Lattner | 2010-03-12 | 1 | -5/+2 | |
| | | | | | | | no arguments instead of having to come up with a unique name. This also makes the code less fragile. llvm-svn: 98364 | |||||
* | Add a bit along with the MCSymbols stored in the MachineModuleInfo maps that | Bill Wendling | 2010-03-10 | 2 | -30/+50 | |
| | | | | | | | | indicates that an MCSymbol is external or not. (It's true if it's external.) This will be used to specify the correct information to add to non-lazy pointers. That will be explained further when this bit is used. llvm-svn: 98199 | |||||
* | set the temporary bit on MCSymbols correctly. | Chris Lattner | 2010-03-10 | 2 | -6/+11 | |
| | | | | llvm-svn: 98124 | |||||
* | MC-ize the stub printing in ARM. | Bill Wendling | 2010-03-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 98018 | |||||
* | Make the operand and format specifier match, and print all | Dan Gohman | 2010-02-17 | 1 | -1/+1 | |
| | | | | | | 64 bits, fixing a variety of problems. llvm-svn: 96421 | |||||
* | Move TLOF implementations to libCodegen to resolve layering violation. | Anton Korobeynikov | 2010-02-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 96288 | |||||
* | Preliminary patch to improve dwarf EH generation - Hooks to return ↵ | Anton Korobeynikov | 2010-02-15 | 1 | -0/+22 | |
| | | | | | | Personality / FDE / LSDA / TType encoding depending on target / options (e.g. code model / relocation model) - MCIzation of Dwarf EH printer to use encoding information - Stub generation for ELF target (needed for indirect references) - Some other small changes here and there llvm-svn: 96285 | |||||
* | Cleanup stdcall / fastcall name mangling. | Anton Korobeynikov | 2010-02-12 | 2 | -31/+26 | |
| | | | | | | This should fix alot of problems we saw so far, e.g. PRs 5851 & 2936 llvm-svn: 95980 | |||||
* | enhance llvm-mc -show-inst to print the enum of an instruction, like so: | Chris Lattner | 2010-02-11 | 4 | -2/+14 | |
| | | | | | | | | | | testb %al, %al ## <MCInst #2412 TEST8rr ## <MCOperand Reg:2> ## <MCOperand Reg:2>> jne LBB1_7 ## <MCInst #938 JNE_1 ## <MCOperand Expr:(LBB1_7)>> llvm-svn: 95935 | |||||
* | print all the newlines at the end of instructions with | Chris Lattner | 2010-02-10 | 1 | -3/+3 | |
| | | | | | | OutStreamer.AddBlankLine instead of textually. llvm-svn: 95734 | |||||
* | Add ability for MCInstPrinters to add comments for instructions. | Chris Lattner | 2010-02-10 | 1 | -0/+5 | |
| | | | | | | | | | Enhance the x86 backend to show the hex values of immediates in comments when they are large. For example: movl $1072693248, 4(%esp) ## imm = 0x3FF00000 llvm-svn: 95728 | |||||
* | move target-independent opcodes out of TargetInstrInfo | Chris Lattner | 2010-02-09 | 1 | -1/+1 | |
| | | | | | | | | | into TargetOpcodes.h. #include the new TargetOpcodes.h into MachineInstr. Add new inline accessors (like isPHI()) to MachineInstr, and start using them throughout the codebase. llvm-svn: 95687 | |||||
* | unify the paths for external symbols and global variables: | Chris Lattner | 2010-02-08 | 2 | -83/+48 | |
| | | | | | | 2 files changed, 48 insertions(+), 83 deletions(-) llvm-svn: 95599 | |||||
* | switch the rest of the "@ concatentation" logic in the X86 | Chris Lattner | 2010-02-08 | 2 | -120/+46 | |
| | | | | | | backend to use X86MCTargetExpr, simplifying a bunch of code. llvm-svn: 95595 | |||||
* | switch ELF @GOTOFF references to use X86MCTargetExpr. | Chris Lattner | 2010-02-08 | 1 | -2/+5 | |
| | | | | llvm-svn: 95593 | |||||
* | really kill off the last MRMInitReg inst, remove logic from encoder. | Chris Lattner | 2010-02-05 | 1 | -0/+1 | |
| | | | | llvm-svn: 95437 | |||||
* | lower the last of the MRMInitReg instructions in MCInstLower. | Chris Lattner | 2010-02-05 | 1 | -0/+7 | |
| | | | | llvm-svn: 95435 | |||||
* | teach X86MCInstLower to lower the MOV32r0 and MOV8r0 | Chris Lattner | 2010-02-05 | 1 | -2/+10 | |
| | | | | | | pseudo instructions. llvm-svn: 95433 | |||||
* | genericize helpers, use them for MOV16r0/MOV64r0 | Chris Lattner | 2010-02-05 | 1 | -27/+21 | |
| | | | | llvm-svn: 95432 |