summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Make this kind of lowering to be supported by 256-bit instructions:Bruno Cardoso Lopes2011-08-022-14/+56
| | | | | | | | | shuffle (scalar_to_vector (load (ptr + 4))), undef, <0, 0, 0, 0> To: shuffle (vload ptr)), undef, <1, 1, 1, 1> Fix PR10494 llvm-svn: 136691
* Remove trailing semicolon.Roman Divacky2011-08-021-1/+1
| | | | llvm-svn: 136690
* Sketch out PowerPC ELF writer. This is enough to get clang -integrated-asRoman Divacky2011-08-025-2/+173
| | | | | | to compile a working hello world on FreeBSD/PPC32. llvm-svn: 136689
* Duncan's english is better than mine. :-)Bill Wendling2011-08-021-1/+1
| | | | llvm-svn: 136684
* Remove the LLVMBuildUnwind C API function.Bill Wendling2011-08-023-8/+7
| | | | | | | The 'unwind' function is going away with the new EH rewrite. This is step 0 in keeping front-ends from using it. llvm-svn: 136683
* Use consistent terminology for loop exit/exiting blocks. Name change only.Andrew Trick2011-08-022-16/+16
| | | | llvm-svn: 136677
* Remove empty test.Benjamin Kramer2011-08-021-0/+0
| | | | llvm-svn: 136675
* Revert r136503 and r136480 in an effort to fix non-determinism in the ↵Owen Anderson2011-08-022-60/+1
| | | | | | llvm-gcc buildbots on i386. Devang is looking into the root cause. llvm-svn: 136674
* I am the code owner for Clang's IR generation; this has been trueJohn McCall2011-08-022-0/+6
| | | | | | | | | | for awhile, but it's good to make this official. Just to be clear, Doug and Ted "elected" me to this position. Might as well add myself to the credits list while I'm at it. llvm-svn: 136673
* Minor wording tweak for memory model.Eli Friedman2011-08-021-4/+4
| | | | llvm-svn: 136668
* Fix a couple silly typos in IRBuilder in the new atomic instructions.Eli Friedman2011-08-021-6/+6
| | | | llvm-svn: 136665
* Bail from FastISel when we encounter a volatile memset intrinsic. Patch by IvanNick Lewycky2011-08-021-0/+3
| | | | | | Krasin! llvm-svn: 136663
* Make the FixedLengthDecoderEmitter smart enough to autogenerate decoders for ↵Owen Anderson2011-08-011-5/+9
| | | | | | encodings like "let Inst{11-7} = foo;", where the RHS has no bitwidth specifiers. llvm-svn: 136660
* Move imm0_255 to ARMInstrInfo.td with the other immediate predicates.Jim Grosbach2011-08-012-4/+6
| | | | llvm-svn: 136656
* Fix comments.Jim Grosbach2011-08-011-2/+2
| | | | llvm-svn: 136655
* Add v4f64 -> v2f32 fp_round support. Also add a testcase to exerciseBruno Cardoso Lopes2011-08-013-0/+14
| | | | | | | the legalizer. This commit together with the two previous ones fixes PR10495. llvm-svn: 136654
* Teach PreprocessISelDAG to be aware of vector types and to not process them.Bruno Cardoso Lopes2011-08-013-6/+11
| | | | llvm-svn: 136653
* Lower CONCAT_VECTORS to use two VINSERTF128 instructions instead ofBruno Cardoso Lopes2011-08-011-5/+48
| | | | | | using a stack store. llvm-svn: 136652
* Fix a typo.Roman Divacky2011-08-011-1/+1
| | | | llvm-svn: 136646
* The FixedLenDecoder needs to gracefully handle failing per-instruction ↵Owen Anderson2011-08-011-3/+3
| | | | | | decoder hooks in addition to per-operand decoder hooks. llvm-svn: 136645
* Actually finish switching to the new system for Target sublibraryChandler Carruth2011-08-019-9/+9
| | | | | | | | | | | TableGen deps introduced in r136023. This completes the fixing that dgregor started in r136621. Sorry for missing these the first time around. This should fix some of the random race-condition failures people are still seeing with CMake. llvm-svn: 136643
* Since vectors with all ones can't be created with a 256-bit instruction,Bruno Cardoso Lopes2011-08-012-11/+22
| | | | | | | | avoid returning early for v8i32 types, which would only be valid for vector with all zeros. Also split the handling of zeros and ones into separate checking logic since they are handled differently. This fixes PR10547 llvm-svn: 136642
* Set endianess and pointer size for PPC Linux. Bug noticed by Roman Divacky.Evan Cheng2011-08-011-0/+4
| | | | llvm-svn: 136639
* Change SmallVector to SmallPtrSet in BranchProbabilityInfo. Handle cases whereJakub Staszak2011-08-011-15/+15
| | | | | | one than one successor goes to the same block. llvm-svn: 136638
* Enhance the fixed length disassembler to better handle operand decoding ↵Owen Anderson2011-08-011-2/+2
| | | | | | failures. llvm-svn: 136635
* Add a clear() operation to MCInst, to drop all of its operands. Useful for ↵Owen Anderson2011-08-011-0/+2
| | | | | | the disassembler, where we may realize fairly late into decoding that something is wrong and need to reset. llvm-svn: 136634
* Fix crash with varargs function with no named parameters.Richard Osborne2011-08-012-2/+19
| | | | llvm-svn: 136623
* Update CMake target names for tablegen-generated data in the X86 and ARM ↵Douglas Gregor2011-08-013-3/+3
| | | | | | targets. This should fix the CMake build with MSVC. llvm-svn: 136621
* Add BlockFrequency::getEntryFrequency()Jakub Staszak2011-08-012-7/+11
| | | | llvm-svn: 136618
* Add braces.Jay Foad2011-08-011-1/+2
| | | | llvm-svn: 136612
* Simplify printAlias.Jay Foad2011-08-011-21/+2
| | | | llvm-svn: 136611
* Micro-optimisation in getAliasedGlobal.Jay Foad2011-08-011-1/+1
| | | | llvm-svn: 136610
* Remove an unnecessary cast.Jay Foad2011-08-011-1/+1
| | | | llvm-svn: 136609
* The operands of a GlobalAlias are always Constants. Simplify thingsJay Foad2011-08-011-5/+4
| | | | | | accordingly. llvm-svn: 136608
* I mis-interpreted the MCDisassembler's intended dependencies. Now to fixChandler Carruth2011-07-311-2/+9
| | | | | | | | | | | | | them properly. Specifically, the disassembler clearly attempts to initialiaze all TargetInfo, MCTargeDesc, AsmParser, and Disassembler sublibraries of registered targets. This makes the CMakeLists accurately reflect this intent in the code. This should fix the last of the link errors that I have gotten reports of on OS X, but if anyone continues to see link errors, continue to pester me and I'll look into it. llvm-svn: 136603
* Fix some validation errors.Bill Wendling2011-07-311-0/+2
| | | | llvm-svn: 136591
* Fix some validation errors.Bill Wendling2011-07-311-3/+5
| | | | llvm-svn: 136590
* Add the 'resume' instruction for the new EH rewrite.Bill Wendling2011-07-3124-73/+257
| | | | | | | | | This adds the 'resume' instruction class, IR parsing, and bitcode reading and writing. The 'resume' instruction resumes propagation of an existing (in-flight) exception whose unwinding was interrupted with a 'landingpad' instruction (to be added later). llvm-svn: 136589
* Do not handle cases with >= and <= predicates.Jakub Staszak2011-07-311-7/+0
| | | | llvm-svn: 136588
* Remove untrue comment.Jakub Staszak2011-07-311-3/+0
| | | | llvm-svn: 136587
* Do not handle case where LHS is equal to zero, because InstCombiner always movesJakub Staszak2011-07-311-24/+8
| | | | | | it to RHS anyway. llvm-svn: 136586
* Add a small gep optimization I noticed was missing while reading some IL.Rafael Espindola2011-07-312-11/+33
| | | | llvm-svn: 136585
* Time the emission of debug values.Jakob Stoklund Olesen2011-07-311-1/+4
| | | | llvm-svn: 136584
* Add Zero Heurestics to BranchProbabilityInfo. If we compare value to zero weJakub Staszak2011-07-311-1/+91
| | | | | | | | | | | | | decide whether condition is likely to be true this way: x == 0 -> false x < 0 -> false x <= 0 -> false x != 0 -> true x > 0 -> true x >= 0 -> true llvm-svn: 136583
* Remove InvalidateStructLayoutInfo from the ocaml bindings.Benjamin Kramer2011-07-314-17/+0
| | | | llvm-svn: 136582
* Revert r136528 "Enable compact region splitting by default."Jakob Stoklund Olesen2011-07-301-1/+1
| | | | | | | While this generally helped x86-64, there was some large regressions for i386. llvm-svn: 136571
* Switch another of the old dependencies on implicitly produced syntheticChandler Carruth2011-07-301-1/+1
| | | | | | | rules to the new explicitly listed TableGen rules. Somehow I missed this in my original sweep. llvm-svn: 136567
* Remove yet another buried and hidden implicit dependency: every singleChandler Carruth2011-07-301-7/+0
| | | | | | | | | | | | | sub-library for the targets depended on the core target CodeGen library. This completely undermined the careful work to separate the those libraries, especially the MC-layer ones. This surfaced as circular dependencies when the libraries were built as shared libraries where CMake doesn't allow cycles. This should fix PR10537. I'll watch the bots to see if there is fallout on other platforms. llvm-svn: 136565
* Revert r136253, r136263, r136269, r136313, r136325, r136326, r136329, r136338,Bill Wendling2011-07-3031-1035/+111
| | | | | | | r136339, r136341, r136369, r136387, r136392, r136396, r136429, r136430, r136444, r136445, r136446, r136253 pending review. llvm-svn: 136556
* Added several architecture names.Sean Callanan2011-07-301-1/+2
| | | | llvm-svn: 136552
OpenPOWER on IntegriCloud