Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make a bunch of lowering helper functions static instead of member ↵ | Craig Topper | 2012-09-11 | 2 | -82/+56 | |
| | | | | | | functions. No functional change. llvm-svn: 163596 | |||||
* | Change unsigned to a uint16_t in static disassembler tables to reduce the ↵ | Craig Topper | 2012-09-11 | 2 | -2/+2 | |
| | | | | | | table size. llvm-svn: 163594 | |||||
* | llvm/lib/Transforms/Utils/CMakeLists.txt: Update. | NAKAMURA Takumi | 2012-09-11 | 1 | -0/+1 | |
| | | | | llvm-svn: 163593 | |||||
* | Add a pass that renames everything with metasyntatic names. This works well ↵ | Alex Rosenberg | 2012-09-11 | 2 | -0/+133 | |
| | | | | | | after using bugpoint to reduce the confusion presented by the original names, which no longer mean what they used to. llvm-svn: 163592 | |||||
* | Teach DAG combiner to constant fold FABS of a BUILD_VECTOR of ConstantFPs. ↵ | Craig Topper | 2012-09-11 | 1 | -22/+47 | |
| | | | | | | Factor similar code out of FNEG DAG combiner. llvm-svn: 163587 | |||||
* | Add support for finding cacheflush on OpenBSD/mips64 platforms. | Chandler Carruth | 2012-09-11 | 2 | -4/+8 | |
| | | | | | | Patch by Brad Smith! llvm-svn: 163584 | |||||
* | Reorganize MachineScheduler interfaces and publish them in the header. | Andrew Trick | 2012-09-11 | 3 | -766/+118 | |
| | | | | | | | | | | | | | | The Hexagon target decided to use a lot of functionality from the target-independent scheduler. That's fine, and other targets should be able to do the same. This reorg and API update makes that easy. For the record, ScheduleDAGMI was not meant to be subclassed. Instead, new scheduling algorithms should be able to implement MachineSchedStrategy and be done. But if need be, it's nice to be able to extend ScheduleDAGMI, so I also made that easier. The target scheduler is somewhat more apt to break that way though. llvm-svn: 163580 | |||||
* | Revert r160148 it seems to cause more problems than it should | Eric Christopher | 2012-09-10 | 1 | -1/+1 | |
| | | | | | | right now. We'll fix PR13303 a different way. llvm-svn: 163570 | |||||
* | 80-col fixup. | Eric Christopher | 2012-09-10 | 3 | -4/+6 | |
| | | | | llvm-svn: 163569 | |||||
* | 80-col fixup. | Eric Christopher | 2012-09-10 | 1 | -1/+2 | |
| | | | | llvm-svn: 163568 | |||||
* | No reason to construct this twice. | Eric Christopher | 2012-09-10 | 2 | -2/+2 | |
| | | | | llvm-svn: 163567 | |||||
* | Update function names to conform to guidelines. No functional change intended. | Chad Rosier | 2012-09-10 | 7 | -14/+14 | |
| | | | | llvm-svn: 163561 | |||||
* | Revert r163556. Missed updates to tablegen files. | Chad Rosier | 2012-09-10 | 2 | -4/+4 | |
| | | | | llvm-svn: 163557 | |||||
* | Update function names to conform to guidelines. No functional change intended. | Chad Rosier | 2012-09-10 | 2 | -4/+4 | |
| | | | | llvm-svn: 163556 | |||||
* | [ms-inline asm] Properly emit the asm directives when the AsmPrinterVariant | Chad Rosier | 2012-09-10 | 1 | -1/+17 | |
| | | | | | | and InlineAsmVariant don't match. llvm-svn: 163550 | |||||
* | Remove redundant semicolons which are null statements. | Dmitri Gribenko | 2012-09-10 | 6 | -7/+7 | |
| | | | | llvm-svn: 163547 | |||||
* | Disable stack coloring because it makes dragonegg fail bootstrapping. | Nadav Rotem | 2012-09-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 163545 | |||||
* | [ms-inline asm] Pass the correct AsmVariant to the PrintAsmOperand() function | Chad Rosier | 2012-09-10 | 3 | -7/+10 | |
| | | | | | | and update the printOperand() function accordingly. llvm-svn: 163544 | |||||
* | [ms-inline asm] Add support for .att_syntax directive. | Chad Rosier | 2012-09-10 | 1 | -1/+4 | |
| | | | | llvm-svn: 163542 | |||||
* | Enable stack coloring. | Nadav Rotem | 2012-09-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 163539 | |||||
* | Don't attempt to use flags from predicated instructions. | Jakob Stoklund Olesen | 2012-09-10 | 1 | -2/+8 | |
| | | | | | | | | | | | | The ARM backend can eliminate cmp instructions by reusing flags from a nearby sub instruction with similar arguments. Don't do that if the sub is predicated - the flags are not written unconditionally. <rdar://problem/12263428> llvm-svn: 163535 | |||||
* | [Object] Extract Elf_Ehdr. Patch by Hemant Kulkarni! | Michael J. Spencer | 2012-09-10 | 1 | -2/+1 | |
| | | | | llvm-svn: 163532 | |||||
* | Stack Coloring: Handle the case where END markers come before BEGIN markers ↵ | Nadav Rotem | 2012-09-10 | 1 | -0/+12 | |
| | | | | | | properly. llvm-svn: 163530 | |||||
* | Enhance PR11334 fix to support extload from v2f32/v4f32 | Michael Liao | 2012-09-10 | 3 | -7/+15 | |
| | | | | | | - Fix an remaining issue of PR11674 as well llvm-svn: 163528 | |||||
* | Add "blocked" heuristic to the Hexagon MI scheduler. | Sergei Larin | 2012-09-10 | 2 | -177/+269 | |
| | | | | | | Improve AQ instruction selection in the Hexagon MI scheduler. llvm-svn: 163523 | |||||
* | Fold multiply by 0 or 1 when in UnsafeFPMath mode in SelectionDAG::getNode(). | Michael Ilseman | 2012-09-10 | 1 | -0/+18 | |
| | | | | | | This folding happens as early as possible for performance reasons, and to make sure it isn't foiled by other transforms (e.g. forming FMAs). llvm-svn: 163519 | |||||
* | whitespace | Michael Ilseman | 2012-09-10 | 1 | -10/+10 | |
| | | | | llvm-svn: 163518 | |||||
* | Add boolean simplification support from CMOV | Michael Liao | 2012-09-10 | 1 | -12/+42 | |
| | | | | | | | | - If a boolean value is generated from CMOV and tested as boolean value, simplify the use of test result by referencing the original condition. RDRAND intrinisc is one of such cases. llvm-svn: 163516 | |||||
* | Fix an assertion failure when optimising a shufflevector incorrectly into ↵ | James Molloy | 2012-09-10 | 2 | -10/+12 | |
| | | | | | | concat_vectors, and a followup bug with SelectionDAG::getNode() creating nodes with invalid types. llvm-svn: 163511 | |||||
* | Minor cleanup. No functional change. | Nadav Rotem | 2012-09-10 | 1 | -3/+3 | |
| | | | | llvm-svn: 163510 | |||||
* | Stack Coloring: Debug prints to print the slot number and not the array index. | Nadav Rotem | 2012-09-10 | 1 | -1/+2 | |
| | | | | llvm-svn: 163509 | |||||
* | Stack Coloring: When searching for disjoint regions, do not compare ↵ | Nadav Rotem | 2012-09-10 | 1 | -1/+1 | |
| | | | | | | intervals twice or to theirself. llvm-svn: 163508 | |||||
* | Stack Coloring: Add support for multiple regions of the same slot, within a ↵ | Nadav Rotem | 2012-09-10 | 1 | -23/+33 | |
| | | | | | | single basic block. llvm-svn: 163507 | |||||
* | The VPSHUFB 256-bit instruction may be generated when one of input vector is ↵ | Elena Demikhovsky | 2012-09-10 | 1 | -4/+15 | |
| | | | | | | | | undefined or zeroinitializer. I've added the "zeroinitializer" case in this patch. llvm-svn: 163506 | |||||
* | Make helper function static. | Benjamin Kramer | 2012-09-10 | 1 | -2/+1 | |
| | | | | llvm-svn: 163504 | |||||
* | Move bypassSlowDivision into the llvm namespace. | Benjamin Kramer | 2012-09-10 | 1 | -4/+6 | |
| | | | | llvm-svn: 163503 | |||||
* | c bindings: revert LLVMConstInlineAsm to always use the default asm dialect. | Benjamin Kramer | 2012-09-10 | 1 | -4/+2 | |
| | | | | | | | | - The C API should be stable - InlineAsm::AsmDialect is not exposed to C - The function didn't match the prototype so this was unreachable code llvm-svn: 163502 | |||||
* | Fix a typo in the comment. | Nadav Rotem | 2012-09-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 163496 | |||||
* | Add an assertion that the frame index is indeed inside the declared lifetime ↵ | Nadav Rotem | 2012-09-10 | 1 | -0/+16 | |
| | | | | | | region. llvm-svn: 163495 | |||||
* | Teach the DAGBuilder about lifetime markers which are generated from PHINodes. | Nadav Rotem | 2012-09-10 | 1 | -18/+22 | |
| | | | | llvm-svn: 163494 | |||||
* | Fix style issues from r163302 pointed out by Evan. | Hans Wennborg | 2012-09-10 | 1 | -18/+15 | |
| | | | | llvm-svn: 163491 | |||||
* | Move spaces to the right places. No functionality change. | Nick Lewycky | 2012-09-09 | 1 | -4/+4 | |
| | | | | llvm-svn: 163485 | |||||
* | Add missing space before {. No functionality change. | Nick Lewycky | 2012-09-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 163484 | |||||
* | Teach DAG combiner to constant fold fneg of a BUILD_VECTOR of constants. | Craig Topper | 2012-09-09 | 1 | -1/+25 | |
| | | | | llvm-svn: 163483 | |||||
* | DSE: Poking holes into a SetVector is expensive, avoid it if possible. | Benjamin Kramer | 2012-09-09 | 1 | -5/+5 | |
| | | | | llvm-svn: 163480 | |||||
* | LiveVariables: Compute a set of defs and kills to speed up updating LV ↵ | Benjamin Kramer | 2012-09-09 | 1 | -4/+30 | |
| | | | | | | | | | | | | | | | during critical edge splitting. Previously we checked if the register is def'd in a block via the def/use list a nd walked the list of kills to check if the register is killed in a block. Both of these checks can be made much cheaper by walking the block first and recording all defs and kills. This reduces the compile time of the test case from PR13651 from 40s to 15s at -O2. The compile time is still dominated by LV updating but now the main culprit is SparseBitVector's slowness. llvm-svn: 163478 | |||||
* | Add instruction selection for ffloor of vectors when SSE4.1 or AVX is enabled. | Craig Topper | 2012-09-08 | 2 | -20/+41 | |
| | | | | llvm-svn: 163473 | |||||
* | Use 256-bit alignment for constant pool value for 256-bit vector FNEG lowering. | Craig Topper | 2012-09-08 | 1 | -2/+3 | |
| | | | | llvm-svn: 163463 | |||||
* | Add support for lowering FABS of vector types. | Craig Topper | 2012-09-08 | 1 | -12/+25 | |
| | | | | llvm-svn: 163461 | |||||
* | Set operation action for FFLOOR to Expand for all vector types for X86. Set ↵ | Craig Topper | 2012-09-08 | 2 | -0/+2 | |
| | | | | | | FFLOOR of v4f32 to Expand for ARM. v2f64 was already correct. llvm-svn: 163458 |