summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
...
* finish eliminating uses of O.Chris Lattner2010-04-041-17/+34
| | | | llvm-svn: 100321
* mcize more of ppc stub printing.Chris Lattner2010-04-041-15/+16
| | | | llvm-svn: 100320
* mcize a bunch more stuff, using EmitRawText for things weChris Lattner2010-04-047-157/+151
| | | | | | don't have mcstreamer support for yet. llvm-svn: 100319
* convert the non-MCInstPrinter'ized EmitInstruction Chris Lattner2010-04-0410-37/+60
| | | | | | | implementations to use EmitRawText instead of writing directly to "O". llvm-svn: 100318
* streamerize the rest of PIC16 asm printer.Chris Lattner2010-04-041-41/+63
| | | | llvm-svn: 100317
* streamerize printing of dbg_value, the x86 backend is now fullyChris Lattner2010-04-041-3/+6
| | | | | | streamerized for everything. llvm-svn: 100316
* split DEBUG_VALUE printing stuff out to its own method.Chris Lattner2010-04-042-58/+63
| | | | llvm-svn: 100315
* mc'ize elf stub printing, convert cygwin stuff to EmitRawText,Chris Lattner2010-04-041-12/+15
| | | | | | which will abort in .o file writing mode. llvm-svn: 100314
* fix PrintAsmOperand and PrintAsmMemoryOperand to pass down Chris Lattner2010-04-0412-50/+72
| | | | | | raw_ostream to print to. llvm-svn: 100313
* use predicates in DBG_VALUE printing code to simplify it.Chris Lattner2010-04-041-10/+9
| | | | llvm-svn: 100312
* remove more implicit uses of "O".Chris Lattner2010-04-043-88/+54
| | | | llvm-svn: 100311
* fix an ugly wart in the MCInstPrinter api where theChris Lattner2010-04-0411-32/+25
| | | | | | | | 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_ostreamChris Lattner2010-04-0421-595/+761
| | | | | | member of AsmPrinter. Instead, pass it in explicitly. llvm-svn: 100306
* Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang2010-04-046-15/+19
| | | | | | | Added support for address spaces and added a isVolatile field to memcpy, memmove, and memset, e.g., llvm.memcpy.i32(i8*, i8*, i32, i32) -> llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) llvm-svn: 100304
* asmstreamerize the .size directive for function bodies, force clientsChris Lattner2010-04-035-8/+8
| | | | | | of printOffset to pass in a stream to print to. llvm-svn: 100296
* Get rid of the middleman (ARMAlgorithm), which causes more trouble than theJohnny Chen2010-04-032-86/+29
| | | | | | | abstraction it brings. And also get rid of the atexit() handler, it does not belong in the lib directory. :-) llvm-svn: 100265
* Fix comment.Johnny Chen2010-04-031-2/+2
| | | | llvm-svn: 100259
* Register ARMAlgorithm::DoCleanup() to be called on exit to free the memoryJohnny Chen2010-04-032-1/+13
| | | | | | occuplied by the cached ARMAlgorithm objects. llvm-svn: 100258
* Rewrite aesimc handling. It only takes a single input and has a singleEric Christopher2010-04-021-6/+14
| | | | | | dest. llvm-svn: 100252
* Fix another build warning.Johnny Chen2010-04-021-0/+2
| | | | llvm-svn: 100251
* Second try of initial ARM/Thumb disassembler check-in. It consists of a tablgenJohnny Chen2010-04-027-2/+6372
| | | | | | | | | | backend (ARMDecoderEmitter) which emits the decoder functions for ARM and Thumb, and the disassembler core which invokes the decoder function and builds up the MCInst based on the decoded Opcode. Reviewed by Chris Latter and Bob Wilson. llvm-svn: 100233
* Added support for reporting operand token rangesSean Callanan2010-04-021-71/+151
| | | | | | to the ARM AsmParser. llvm-svn: 100232
* Separate out the AES-NI instructions from the SSE4.2 instructions. AddEric Christopher2010-04-026-48/+101
| | | | | | | | | a new subtarget option for AES and check for the support. Add "westmere" line of processors and add AES-NI support to the core i7. Add a couple of TODOs for information I couldn't verify. llvm-svn: 100231
* Fixes to the X86 disassembler. The disassembler will nowSean Callanan2010-04-023-136/+203
| | | | | | | return an error status in all failure cases, printing messages to debugs() only when debugging is enabled. llvm-svn: 100229
* rename NewDebugLoc -> DebugLoc, prune #includes in DebugLoc.h.Chris Lattner2010-04-021-1/+1
| | | | | | | This keeps around temporary typedef for clang/llvm-gcc so the build won't break when I commit this :) llvm-svn: 100218
* use DebugLoc default ctor instead of DebugLoc::getUnknownLoc()Chris Lattner2010-04-0236-159/+133
| | | | llvm-svn: 100214
* Switch the code generator (except the JIT) onto the new DebugLocChris Lattner2010-04-022-9/+5
| | | | | | | | | | | | | | | representation. This eliminates the 'DILocation' MDNodes for file/line/col tuples from -O0 -g codegen. This remove the old DebugLoc class, making it a typedef for DebugLoc, I'll rename NewDebugLoc next. I didn't update the JIT to use the new apis, so it will continue to work, but be as slow as before. Someone should eventually do this or, better yet, rip out the JIT debug info stuff and build the JIT on top of MC. llvm-svn: 100209
* Correctly lower memset / memcpy of undef. It should be a nop. PR6767.Evan Cheng2010-04-024-32/+45
| | | | llvm-svn: 100208
* Revert r100191 since it breaks objc in clang Mon P Wang2010-04-026-19/+15
| | | | llvm-svn: 100199
* Reapply address space patch after fixing an issue in MemCopyOptimizer.Mon P Wang2010-04-026-15/+19
| | | | | | | Added support for address spaces and added a isVolatile field to memcpy, memmove, and memset, e.g., llvm.memcpy.i32(i8*, i8*, i32, i32) -> llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) llvm-svn: 100191
* Remove FIXME - if there's a better way to do this it isn't here.Eric Christopher2010-04-021-3/+0
| | | | llvm-svn: 100176
* Revert the recent alignment changes. They're broken for -Os because,Dan Gohman2010-04-021-1/+1
| | | | | | | in particular, they end up aligning strings at 16-byte boundaries, and there's no way for GlobalOpt to check OptForSize. llvm-svn: 100172
* Teach AnalyzeBranch, RemoveBranch and the branchDale Johannesen2010-04-0210-6/+102
| | | | | | | folder to be tolerant of debug info following the branch(es) at the end of a block. llvm-svn: 100168
* Disambiguate conditional expression for newer GCCs.Chandler Carruth2010-04-021-2/+2
| | | | llvm-svn: 100167
* Change variables which are exactly 16 bytes to be 16-byte-aligned too.Dan Gohman2010-04-021-1/+1
| | | | | | This fixes test/Transforms/GlobalOpt/gv-align.ll. llvm-svn: 100161
* Revert r100143.Eric Christopher2010-04-011-3/+0
| | | | llvm-svn: 100146
* In 64-bit mode, use i64 to lower memcpy / memset instead of f64.Evan Cheng2010-04-011-0/+1
| | | | llvm-svn: 100137
* Add comments about DstAlign and SrcAlign.Evan Cheng2010-04-014-6/+26
| | | | llvm-svn: 100132
* - Avoid using floating point stores to implement memset unless the value is ↵Evan Cheng2010-04-014-4/+7
| | | | | | | | zero. - Do not try to infer GV alignment unless its type is sized. It's not possible to infer alignment if it has opaque type. llvm-svn: 100118
* Fix sdisel memcpy, memset, memmove lowering:Evan Cheng2010-04-014-15/+23
| | | | | | | | | | | | | 1. Makes it possible to lower with floating point loads and stores. 2. Avoid unaligned loads / stores unless it's fast. 3. Fix some memcpy lowering logic bug related to when to optimize a load from constant string into a constant. 4. Adjust x86 memcpy lowering threshold to make it more sane. 5. Fix x86 target hook so it uses vector and floating point memory ops more effectively. rdar://7774704 llvm-svn: 100090
* Nehalem unaligned memory access is fast.Evan Cheng2010-04-013-2/+15
| | | | llvm-svn: 100089
* Add aeskeygenassist intrinsic and rename all of the aes intrinsics toEric Christopher2010-04-011-21/+29
| | | | | | | aes instead of sse4.2. Add a brief todo for a subtarget flag and rework the aeskeygenassist instruction to more closely match the docs. llvm-svn: 100078
* vml[as] are slow on 1136jf-s also.Jim Grosbach2010-04-011-1/+2
| | | | llvm-svn: 100066
* reduce indentation, minor cleanups.Chris Lattner2010-03-311-38/+42
| | | | llvm-svn: 100042
* Use spaces, not tabsJakob Stoklund Olesen2010-03-311-1/+1
| | | | llvm-svn: 100037
* Comment the changes for r98218 and friends inside the source code.Bill Wendling2010-03-311-0/+5
| | | | llvm-svn: 100033
* Comment the changes for r98218 and friends inside the source code.Bill Wendling2010-03-312-0/+10
| | | | llvm-svn: 100031
* Fix PR6750. Don't try to merge a DomainValue with itself.Jakob Stoklund Olesen2010-03-311-0/+2
| | | | llvm-svn: 100016
* Replace V_SET0 with variants for each SSE execution domain.Jakob Stoklund Olesen2010-03-313-15/+26
| | | | llvm-svn: 99975
* Fix typo. Thank you, valgrind.Jakob Stoklund Olesen2010-03-311-1/+1
| | | | llvm-svn: 99974
OpenPOWER on IntegriCloud