Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Adding missing methods for creating Add, Mul, Neg and Sub with NUW. | Duncan Sands | 2010-02-02 | 2 | -2/+30 |
| | | | | llvm-svn: 95086 | ||||
* | Apparently gdb is not amused by empty lines in pubtypes section. | Devang Patel | 2010-02-02 | 1 | -2/+4 |
| | | | | llvm-svn: 95064 | ||||
* | NULL terminate name in pubtypes sections. | Devang Patel | 2010-02-02 | 1 | -1/+1 |
| | | | | llvm-svn: 95062 | ||||
* | don't turn (A & (C0?-1:0)) | (B & ~(C0?-1:0)) -> C0 ? A : B | Chris Lattner | 2010-02-02 | 1 | -9/+13 |
| | | | | | | | for vectors. Codegen is generating awful code or segfaulting in various cases (e.g. PR6204). llvm-svn: 95058 | ||||
* | fix a crash in loop unswitch on a loop invariant vector condition. | Chris Lattner | 2010-02-02 | 1 | -1/+5 |
| | | | | llvm-svn: 95055 | ||||
* | Perform sibcall in some cases when arguments are passes memory. Look for cases | Evan Cheng | 2010-02-02 | 1 | -6/+49 |
| | | | | | | | | | | | | | where callee's arguments are already in the caller's own caller's stack and they line up perfectly. e.g. extern int foo(int a, int b, int c); int bar(int a, int b, int c) { return foo(a, b, c); } llvm-svn: 95053 | ||||
* | Make local RA smarter about reusing input register of a copy | Dale Johannesen | 2010-02-02 | 1 | -0/+14 |
| | | | | | | | as output. Needed for (functional) correctness in inline asm, and should be generally beneficial. 7361612. llvm-svn: 95050 | ||||
* | LangRef.html says that inttoptr and ptrtoint always use zero-extension | Dan Gohman | 2010-02-02 | 1 | -21/+32 |
| | | | | | | when the cast is extending. llvm-svn: 95046 | ||||
* | Factor out alignof expression folding into a separate function and | Dan Gohman | 2010-02-02 | 1 | -26/+69 |
| | | | | | | generalize it to handle more cases. llvm-svn: 95045 | ||||
* | Various code simplifications. | Dan Gohman | 2010-02-02 | 1 | -31/+28 |
| | | | | llvm-svn: 95044 | ||||
* | Update CMake. | Daniel Dunbar | 2010-02-02 | 1 | -1/+0 |
| | | | | llvm-svn: 95041 | ||||
* | Don't need to check the last argument since it'll always be bool. We also | Eric Christopher | 2010-02-02 | 1 | -5/+1 |
| | | | | | | don't use TargetData here. llvm-svn: 95040 | ||||
* | More indentation/tabification fixes. | Eric Christopher | 2010-02-02 | 1 | -13/+13 |
| | | | | llvm-svn: 95036 | ||||
* | Untabify previous commit. | Eric Christopher | 2010-02-02 | 1 | -3/+3 |
| | | | | llvm-svn: 95035 | ||||
* | Kill the Mach-O writer, and temporarily make filetype=obj an error. | Nate Begeman | 2010-02-01 | 3 | -230/+1 |
| | | | | | | The MCStreamer based assemblers will take over for this functionality. llvm-svn: 95033 | ||||
* | Formatting. | Eric Christopher | 2010-02-01 | 1 | -3/+3 |
| | | | | llvm-svn: 95027 | ||||
* | MOVi16 should also be marked as a UnaryDP instruction, i.e., it doesn't have a | Johnny Chen | 2010-02-01 | 1 | -1/+1 |
| | | | | | | Rn operand. llvm-svn: 95025 | ||||
* | Add "dump" method to IVUsersOneStride. | Bill Wendling | 2010-02-01 | 1 | -0/+23 |
| | | | | llvm-svn: 95022 | ||||
* | Fix PR6196. GV callee may not be a function. | Evan Cheng | 2010-02-01 | 1 | -3/+5 |
| | | | | llvm-svn: 95017 | ||||
* | Improve EXTRACT_VECTOR_ELT patch based on comments from Duncan | Mon P Wang | 2010-02-01 | 2 | -10/+10 |
| | | | | llvm-svn: 95012 | ||||
* | Add an option to GVN to remove all partially redundant loads. This is currently | Bob Wilson | 2010-02-01 | 1 | -80/+107 |
| | | | | | | | | | disabled by default. This divides the existing load PRE code into 2 phases: first it checks that it is safe to move the load to each of the predecessors where it is unavailable, and then if it is safe, the code is changed to move the load. Radar 7571861. llvm-svn: 95007 | ||||
* | eliminate a bunch of pointless LLVMContext arguments. | Chris Lattner | 2010-02-01 | 4 | -204/+149 |
| | | | | llvm-svn: 95001 | ||||
* | Fix typo "of" -> "or" and change the way a line was formatted to fit | Duncan Sands | 2010-02-01 | 1 | -2/+2 |
| | | | | | | into 80 columns to match my artistic preferences. llvm-svn: 95000 | ||||
* | fix PR6195, a bug constant folding scalar -> vector compares. | Chris Lattner | 2010-02-01 | 1 | -3/+5 |
| | | | | llvm-svn: 94997 |