summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* One baby step towards i386 ELF, from Roman Divacky.Benjamin Kramer2010-08-171-2/+3
| | | | llvm-svn: 111247
* fix emacs language spec's, patch by Edmund Grimley-Evans!Chris Lattner2010-08-1721-21/+21
| | | | llvm-svn: 111241
* When creating a JIT, try to load the program so that we can resolve symbolsNick Lewycky2010-08-171-0/+3
| | | | | | against it. This affects Windows. llvm-svn: 111240
* Revert r111230, we have to find a better place for the host-specific code.Benjamin Kramer2010-08-171-29/+24
| | | | llvm-svn: 111232
* Fix failure of unittests/ExecutionEngine/JIT/MultiJITTest.cpp onChris Lattner2010-08-171-0/+6
| | | | | | cygwin when built with ENABLE_SHARED=1. Patch by NAKAMURA Takumi! llvm-svn: 111231
* Micro-optimize MCObjectWriter to do a byteswap if necessary and then write theBenjamin Kramer2010-08-171-24/+29
| | | | | | whole integer to the stream instead of doing byte-sized writes. llvm-svn: 111230
* There is this new "LLVM" compiler that supports __builtin_bswap but thinks ↵Benjamin Kramer2010-08-171-2/+4
| | | | | | it's gcc 4.2. llvm-svn: 111228
* Allow more cases of undef shuffle indices and add tests for them.Bob Wilson2010-08-176-12/+141
| | | | llvm-svn: 111226
* Add an option to disable codegen prepare critical edge splitting. In theory, ↵Evan Cheng2010-08-171-6/+14
| | | | | | PHI elimination is already doing all (most?) of the splitting needed. But machine-licm and machine-sink seem to miss some important optimizations when splitting is disabled. llvm-svn: 111224
* Fix typo.Eric Christopher2010-08-171-1/+1
| | | | llvm-svn: 111223
* Copy over some overridden MI wrappers for ARM fast-isel. This is whereEric Christopher2010-08-171-1/+192
| | | | | | we're adding predicates and optional defs to the MachineInstrs. llvm-svn: 111222
* PHI elimination should not break back edge. It can cause some significant ↵Evan Cheng2010-08-174-7/+45
| | | | | | | | | | | | | | | | | | | | | code placement issues. rdar://8263994 good: LBB0_2: mov r2, r0 . . . mov r1, r2 bne LBB0_2 bad: LBB0_2: mov r2, r0 . . . @ BB#3: mov r1, r2 b LBB0_2 llvm-svn: 111221
* Remove predicate workaround, we're going to require that predicateEric Christopher2010-08-171-9/+0
| | | | | | and optional def operands are handled in the backend support. llvm-svn: 111220
* Make arm fast-isel possible to enable via command line.Eric Christopher2010-08-171-1/+7
| | | | llvm-svn: 111219
* Try to silence a overeager GCC warning.Benjamin Kramer2010-08-171-0/+2
| | | | llvm-svn: 111214
* A round of minor cleanups for ELFObjectWriter.Benjamin Kramer2010-08-171-29/+12
| | | | llvm-svn: 111213
* Add a testcase for svn 111208.Bob Wilson2010-08-161-0/+14
| | | | llvm-svn: 111212
* Fix another iterator invalidation that caused a *really* nasty ↵Owen Anderson2010-08-161-6/+7
| | | | | | miscompilation in 403.gcc. llvm-svn: 111210
* Ignore undef shuffle indices when checking for a VTRN shuffle. Radar 8290937.Bob Wilson2010-08-161-0/+1
| | | | llvm-svn: 111208
* tidy up. remove unused local.Jim Grosbach2010-08-162-2/+2
| | | | llvm-svn: 111206
* Silence warnings and simplify code. Eliminate a 32/64 bit portability issue.Benjamin Kramer2010-08-161-4/+3
| | | | llvm-svn: 111201
* The plural of analysis is analyses.Dan Gohman2010-08-161-2/+2
| | | | llvm-svn: 111200
* Make dumpPassStructure be a PMDataManager abstraction, rather thanDan Gohman2010-08-166-15/+26
| | | | | | | | | | a Pass abstraction, since that's the level it's actually used at. Rename Pass' dumpPassStructure to dumpPass. This eliminates an awkward use of getAsPass() to convert a PMDataManager* into a Pass* just to permit a dumpPassStructure call. llvm-svn: 111199
* Better handle alignment requirements for local objects in pre-regalloc frameJim Grosbach2010-08-163-35/+29
| | | | | | | | | | mapping. Have the local block track its alignment requirement, and then apply that when the block itself is allocated. Previously, offsets could get adjusted in PEI to be different, relative to one another, than the block allocation thought they would be, which defeats the point of doing the allocation this way. Continuing rdar://8277890 llvm-svn: 111197
* Generalize a pattern for PKHTB: an SRL of 16-31 bits will guaranteeBob Wilson2010-08-164-5/+27
| | | | | | that the high halfword is zero. The shift need not be exactly 16 bits. llvm-svn: 111196
* Convert test to FileCheck.Bob Wilson2010-08-161-4/+19
| | | | llvm-svn: 111195
* Make some of PMTopLevelManager's members non-public. In particular,Dan Gohman2010-08-161-8/+10
| | | | | | make its constructor protected. llvm-svn: 111193
* Remove redundant inline keywords.Dan Gohman2010-08-162-3/+3
| | | | llvm-svn: 111192
* Eliminate the TopLevelManagerType enum; instead, just makeDan Gohman2010-08-162-22/+7
| | | | | | | PMTopLevelManager's constructor take a PMDataManager *, which already provides the needed abstraction support. llvm-svn: 111189
* Comment out some broken/unused/useless instructions which mess up disassembly.Eli Friedman2010-08-161-0/+6
| | | | llvm-svn: 111185
* Fixes for generation of ELF relocations. Patch by Roman Divacky.Eli Friedman2010-08-161-6/+18
| | | | llvm-svn: 111183
* Don't attempt to SimplifyShortMoveForm in 64-bit mode.Eli Friedman2010-08-161-9/+13
| | | | llvm-svn: 111182
* Until uleb/sleb are MC-ized, add a hack to make them work with ELF objectEli Friedman2010-08-161-2/+2
| | | | | | emission. llvm-svn: 111177
* Fix a few warnings in and detabify MCELFStreamer and ELFObjectWriter.Eli Friedman2010-08-162-17/+18
| | | | llvm-svn: 111175
* Add ELF ObjectWriter and Streamer support.Matt Fleming2010-08-164-0/+1533
| | | | | | I forgot to add these files in commit 111172. llvm-svn: 111174
* Hookup ELF support for X86.Matt Fleming2010-08-162-6/+14
| | | | llvm-svn: 111173
* Add ELF ObjectWriter and Streamer support.Matt Fleming2010-08-165-4/+19
| | | | llvm-svn: 111172
* Layout helper function.Matt Fleming2010-08-162-0/+36
| | | | | | | | Introduce a helper method to add a section to the end of a layout. This will be used by the ELF ObjectWriter code to add the metadata sections (symbol table, etc) to the end of an object file. llvm-svn: 111171
* Record a symbol's size which is needed for ELF symbol tables.Matt Fleming2010-08-162-1/+16
| | | | llvm-svn: 111170
* ELF entry size support.Matt Fleming2010-08-162-1/+7
| | | | | | | Some ELF sections contain fixed-sized entries. Provide a way to record the entry size of a section. llvm-svn: 111169
* Rename sat_shift operand to shift_imm, in preparation for using it for otherBob Wilson2010-08-166-15/+18
| | | | | | instructions besides saturate instructions. No functional changes. llvm-svn: 111168
* Partially revert r111155. It looks like MSVC is calling an operator<() thatJakob Stoklund Olesen2010-08-161-0/+3
| | | | | | clang says is unused. llvm-svn: 111167
* track local frame size in MFI, not local to the pass, since PEI needs it.Jim Grosbach2010-08-162-4/+4
| | | | llvm-svn: 111164
* Revert r111031. The way LLVM defines loop invariance, the property of anDan Gohman2010-08-161-18/+0
| | | | | | | | | expression being loop invariant is not equivalent to the property of properly dominating the loop header. Other optimizations have also made this optimization less important. llvm-svn: 111160
* Remove unused functions.Jakob Stoklund Olesen2010-08-162-35/+0
| | | | llvm-svn: 111156
* Remove unused functions.Jakob Stoklund Olesen2010-08-161-8/+0
| | | | llvm-svn: 111155
* Remove unused code.Bob Wilson2010-08-161-5/+0
| | | | llvm-svn: 111154
* Convert a test to use FileCheck.Bob Wilson2010-08-161-4/+19
| | | | llvm-svn: 111153
* Placate overzealous compiler warnings.Dan Gohman2010-08-161-2/+2
| | | | llvm-svn: 111152
* To create a copy of a SmallVector with an element removed from theDan Gohman2010-08-161-6/+7
| | | | | | | | | middle, copy the elements in two groups, rather than copying all the elements and then doing an erase on the middle of the result. These are SmallVectors, so we shouldn't expect to hit dynamic allocation in the common case. llvm-svn: 111151
OpenPOWER on IntegriCloud