summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* move handling of asm-verbose out of AsmPrinter.cpp into ↵Chris Lattner2010-02-022-17/+16
| | | | | | LLVMTargetMachine.cpp with the rest of the command line options. llvm-svn: 95152
* remove dead #include, stupid symlinks.Chris Lattner2010-02-021-1/+0
| | | | llvm-svn: 95150
* Remove a bunch of stuff around the edges of the ELF writer.Chris Lattner2010-02-022-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 Christopher2010-02-021-4/+4
| | | | llvm-svn: 95147
* tidy some targets.Chris Lattner2010-02-023-6/+0
| | | | llvm-svn: 95146
* Re-add strcmp and known size object size checking optimization.Eric Christopher2010-02-022-12/+41
| | | | | | Passed bootstrap and nightly test run here. llvm-svn: 95145
* remove dead code.Chris Lattner2010-02-024-43/+0
| | | | llvm-svn: 95144
* detemplatize the ppc code emitter.Chris Lattner2010-02-021-37/+21
| | | | llvm-svn: 95142
* remove dead code.Chris Lattner2010-02-024-73/+0
| | | | llvm-svn: 95141
* add a definition for ID.Chris Lattner2010-02-021-0/+3
| | | | llvm-svn: 95140
* detemplatize ARM code emitter.Chris Lattner2010-02-021-111/+57
| | | | llvm-svn: 95138
* MCAsmParser/X86: Represent absolute memory operands as CodeGen does, with scaleDaniel Dunbar2010-02-021-2/+2
| | | | | | == 1. llvm-svn: 95137
* MCCodeEmitter/X86: Handle tied registers better when converting MCInst ->Daniel Dunbar2010-02-021-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 Dunbar2010-02-022-4/+9
| | | | llvm-svn: 95135
* remove dead code.Chris Lattner2010-02-024-43/+2
| | | | llvm-svn: 95134
* detemplatize alpha code emission, it is now JIT specific.Chris Lattner2010-02-021-32/+13
| | | | llvm-svn: 95133
* eliminate all the dead addSimpleCodeEmitter implementations.Chris Lattner2010-02-0210-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 Cheng2010-02-0225-34/+30
| | | | | | sibcall eligibility. llvm-svn: 95130
* eliminate FileModel::Model, just use CodeGenFileType. The clientChris Lattner2010-02-024-13/+10
| | | | | | | of the code generator shouldn't care what object format a target uses. llvm-svn: 95124
* remove the remnants of TargetMachOWriterInfo.Chris Lattner2010-02-022-26/+0
| | | | llvm-svn: 95114
* Add a new top-level MachO.h file for manifest constants, fixing Chris Lattner2010-02-021-3/+3
| | | | | | a layering violation from MC -> Target. llvm-svn: 95113
* Added t2BFI (Bitfield Insert) entry for disassembler, with blank pattern field.Johnny Chen2010-02-021-1/+10
| | | | llvm-svn: 95112
* remove PPCMachOWriterInfo.Chris Lattner2010-02-025-214/+1
| | | | llvm-svn: 95111
* eliminate all forms of addPassesToEmitMachineCode exceptChris Lattner2010-02-021-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 causingDale Johannesen2010-02-021-14/+0
| | | | | | buildbot failure. llvm-svn: 95103
* Inline addAssemblyEmitter into its one real caller and deleteChris Lattner2010-02-021-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 Sands2010-02-022-2/+30
| | | | llvm-svn: 95086
* Apparently gdb is not amused by empty lines in pubtypes section.Devang Patel2010-02-021-2/+4
| | | | llvm-svn: 95064
* NULL terminate name in pubtypes sections.Devang Patel2010-02-021-1/+1
| | | | llvm-svn: 95062
* don't turn (A & (C0?-1:0)) | (B & ~(C0?-1:0)) -> C0 ? A : BChris Lattner2010-02-021-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 Lattner2010-02-021-1/+5
| | | | llvm-svn: 95055
* Perform sibcall in some cases when arguments are passes memory. Look for casesEvan Cheng2010-02-021-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 copyDale Johannesen2010-02-021-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-extensionDan Gohman2010-02-021-21/+32
| | | | | | when the cast is extending. llvm-svn: 95046
* Factor out alignof expression folding into a separate function andDan Gohman2010-02-021-26/+69
| | | | | | generalize it to handle more cases. llvm-svn: 95045
* Various code simplifications.Dan Gohman2010-02-021-31/+28
| | | | llvm-svn: 95044
* Update CMake.Daniel Dunbar2010-02-021-1/+0
| | | | llvm-svn: 95041
* Don't need to check the last argument since it'll always be bool. We alsoEric Christopher2010-02-021-5/+1
| | | | | | don't use TargetData here. llvm-svn: 95040
* More indentation/tabification fixes.Eric Christopher2010-02-021-13/+13
| | | | llvm-svn: 95036
* Untabify previous commit.Eric Christopher2010-02-021-3/+3
| | | | llvm-svn: 95035
* Kill the Mach-O writer, and temporarily make filetype=obj an error.Nate Begeman2010-02-013-230/+1
| | | | | | The MCStreamer based assemblers will take over for this functionality. llvm-svn: 95033
* Formatting.Eric Christopher2010-02-011-3/+3
| | | | llvm-svn: 95027
* MOVi16 should also be marked as a UnaryDP instruction, i.e., it doesn't have aJohnny Chen2010-02-011-1/+1
| | | | | | Rn operand. llvm-svn: 95025
* Add "dump" method to IVUsersOneStride.Bill Wendling2010-02-011-0/+23
| | | | llvm-svn: 95022
* Fix PR6196. GV callee may not be a function.Evan Cheng2010-02-011-3/+5
| | | | llvm-svn: 95017
* Improve EXTRACT_VECTOR_ELT patch based on comments from DuncanMon P Wang2010-02-012-10/+10
| | | | llvm-svn: 95012
* Add an option to GVN to remove all partially redundant loads. This is currentlyBob Wilson2010-02-011-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 Lattner2010-02-014-204/+149
| | | | llvm-svn: 95001
* Fix typo "of" -> "or" and change the way a line was formatted to fitDuncan Sands2010-02-011-2/+2
| | | | | | into 80 columns to match my artistic preferences. llvm-svn: 95000
* fix PR6195, a bug constant folding scalar -> vector compares.Chris Lattner2010-02-011-3/+5
| | | | llvm-svn: 94997
OpenPOWER on IntegriCloud