summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Fixes bug 8297: i386 cmpxchg8b, missing MachineMemOperandAndrew Trick2010-10-112-1/+31
| | | | llvm-svn: 116214
* More binary encoding stuff, taking advantage of the new "by name" operandJim Grosbach2010-10-112-25/+24
| | | | | | matching in tblgen to do the predicate operand. llvm-svn: 116213
* Turn on arm fast isel by default.Eric Christopher2010-10-111-1/+1
| | | | llvm-svn: 116212
* When figuring out which operands match which encoding fields in an instruction,Jim Grosbach2010-10-113-9/+38
| | | | | | | try to match them by name first. If there is no by-name match, fall back to assuming they are in order (this was the previous behavior). llvm-svn: 116211
* Properly handle reloading and spilling around partial redefines inJakob Stoklund Olesen2010-10-111-0/+14
| | | | | | | | | | | | LocalRewriter. This is a bit of a hack that adds an implicit use operand to model the read-modify-write nature of a partial redef. Uses and defs are rewritten in separate passes, and a single operand would never be processed twice. <rdar://problem/8518892> llvm-svn: 116210
* remove dead prototype, PR8351Chris Lattner2010-10-111-3/+0
| | | | llvm-svn: 116209
* MSVC hangs on compilation of ARMDisassembler.cpp. PR6866 applied to ARM target.Francois Pichet2010-10-111-1/+7
| | | | llvm-svn: 116201
* Copy and pasteo.Eric Christopher2010-10-111-1/+1
| | | | llvm-svn: 116198
* Whitespace cleanup in ARM fast isel.Eric Christopher2010-10-111-80/+80
| | | | llvm-svn: 116197
* Add srem libcall support to ARM fast isel.Eric Christopher2010-10-111-0/+25
| | | | llvm-svn: 116196
* Add i8 sdiv support for ARM fast isel.Eric Christopher2010-10-111-1/+3
| | | | llvm-svn: 116195
* Implement select handling for ARM fast-isel.Eric Christopher2010-10-111-0/+31
| | | | llvm-svn: 116194
* tweak comment.Chris Lattner2010-10-111-2/+2
| | | | llvm-svn: 116192
* Per discussion with Sanjiv, remove the PIC16 target from mainline. When/ifChris Lattner2010-10-1171-8250/+6
| | | | | | | it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. llvm-svn: 116190
* X86: Call ulldiv and ftol2 on Windows instead of their libgcc eqivilents.Michael J. Spencer2010-10-111-0/+4
| | | | llvm-svn: 116188
* X86: MinGW should always use libgcc on Windows.Michael J. Spencer2010-10-102-4/+5
| | | | llvm-svn: 116177
* X86: Call _alldiv instead of __divdi3 on Windows (excluding cygwin).Michael J. Spencer2010-10-103-3/+27
| | | | llvm-svn: 116174
* Fix Whitespace.Michael J. Spencer2010-10-102-90/+90
| | | | llvm-svn: 116173
* force a triple, varargs isn't supported with the SVR4 ABI the buildbot tells me.Chris Lattner2010-10-101-2/+2
| | | | llvm-svn: 116170
* fix the default va_arg expansion (in the realignment case) to not implicitlyChris Lattner2010-10-101-1/+1
| | | | | | truncate the stack pointer to 32-bits on a 64-bit machine. llvm-svn: 116169
* fix the expansion of va_arg instruction on PPC to know the arg Chris Lattner2010-10-102-0/+26
| | | | | | | | | alignment for PPC32/64, avoiding some masking operations. llvm-gcc expands vaarg inline instead of using the instruction so it has never hit this. llvm-svn: 116168
* clarify that zero sized vectors are illegal, PR8340Chris Lattner2010-10-101-2/+3
| | | | llvm-svn: 116167
* Now using a variant of the existing inlining heuristics to decide whether to ↵Kenneth Uildriks2010-10-094-40/+181
| | | | | | create a given specialization of a function in PartialSpecialization. If the total performance bonus across all callsites passing the same constant exceeds the specialization cost, we create the specialization. llvm-svn: 116158
* Fix dead link.Nick Lewycky2010-10-091-3/+3
| | | | llvm-svn: 116157
* Silence compiler warning.Benjamin Kramer2010-10-091-1/+1
| | | | llvm-svn: 116156
* MC-COFF: Fix .bss section size. Fixes PR8335. Patch by NAKAMUTA Takumi!Michael J. Spencer2010-10-092-1/+16
| | | | llvm-svn: 116155
* Don't test a removed function.Benjamin Kramer2010-10-091-2/+1
| | | | llvm-svn: 116154
* syntax-highlighting: Fix module asm keyword.Michael J. Spencer2010-10-091-1/+1
| | | | llvm-svn: 116152
* MC-COFF: Implement InitSections. Fixes PR8335.Michael J. Spencer2010-10-093-3/+68
| | | | llvm-svn: 116151
* MC-COFF: Add COFFAsmParser. Completes PR8343.Michael J. Spencer2010-10-0913-375/+593
| | | | llvm-svn: 116150
* Fix Whitespace.Michael J. Spencer2010-10-092-104/+104
| | | | llvm-svn: 116149
* MC-COFF: Assert on non-coff sections.Michael J. Spencer2010-10-092-0/+18
| | | | llvm-svn: 116148
* Add Kate syntax highlighting files.Michael J. Spencer2010-10-092-0/+267
| | | | llvm-svn: 116146
* Add VLD4 scheduling itineraries.Evan Cheng2010-10-094-20/+64
| | | | llvm-svn: 116143
* MC: Move ParseDirectiveELFType into ELFAsmParser. COFF uses .type for ↵Michael J. Spencer2010-10-092-49/+49
| | | | | | something else. llvm-svn: 116142
* Finish vld3 and vld4.Evan Cheng2010-10-094-34/+78
| | | | llvm-svn: 116140
* Complete vld2 instruction itineries.Evan Cheng2010-10-091-3/+34
| | | | llvm-svn: 116136
* Multiply instructions are issued on pipeline 0. They do not need to reserve ↵Evan Cheng2010-10-091-10/+5
| | | | | | pipeline 1. llvm-svn: 116135
* Correct some load / store instruction itinerary mistakes:Evan Cheng2010-10-095-307/+404
| | | | | | | | 1. Cortex-A8 load / store multiplies can only issue on ALU0. 2. Eliminate A8_Issue, A8_LSPipe will correctly limit the load / store issues. 3. Correctly model all vld1 and vld2 variants. llvm-svn: 116134
* Simplify test and move into a generic "crash" ll file.Bill Wendling2010-10-092-118/+29
| | | | llvm-svn: 116130
* Check to make sure that the iterator isn't at the beginning of the basic blockBill Wendling2010-10-092-0/+122
| | | | | | before decrementing. <rdar://problem/8529919> llvm-svn: 116126
* add jit support for the new psuedo instructions I added forChris Lattner2010-10-081-0/+14
| | | | | | | | | the add/or xform. The JIT isn't mcized yet, boo. This fixes Olden/voronoi, bh and a ton of other stuff that uses the jit. llvm-svn: 116125
* machine a mutable machineinstr down into emitInstruction.Chris Lattner2010-10-081-4/+3
| | | | llvm-svn: 116124
* Fix the store part of this as well. Fixes smg2000.Eric Christopher2010-10-081-9/+4
| | | | llvm-svn: 116123
* Rename SplitEditor::rewrite to finish() and break it out into a couple of newJakob Stoklund Olesen2010-10-082-40/+56
| | | | | | | | | functions: computeRemainder and rewrite. When the remainder breaks up into multiple components, remember to rewrite those uses as well. llvm-svn: 116121
* Avoid compiler warning: comparison between signed and unsigned integer.Evan Cheng2010-10-081-1/+1
| | | | llvm-svn: 116119
* Extract method ProcessUses from LocalRewriter::RewriteMBB. Both parent and childJakob Stoklund Olesen2010-10-081-320/+336
| | | | | | | | are still way too long, but it's a start. No functional change intended. llvm-svn: 116116
* Do not check that the bodies of two defs of same linkonce global are the same.Anton Korobeynikov2010-10-081-1/+1
| | | | | | | Such a check does not make any sense in presense of inlining and other compiler-dependent stuff. This should fix bunch of warnings on mingw32. llvm-svn: 116113
* Implement a few more binary encoding bits. Still very early stage proof-of-Jim Grosbach2010-10-083-1/+58
| | | | | | | | | | concept level stuff at this point, but it is generally working for those instructions that know how to map the operands. This patch fills in the register operands for add/sub/or/etc instructions and adds the conditional execution predicate encoding. llvm-svn: 116112
* Allow << streaming of MCOperand.Jim Grosbach2010-10-081-0/+5
| | | | llvm-svn: 116107
OpenPOWER on IntegriCloud