summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Turn on the vzeroupper pass by default.Eric Christopher2011-10-181-1/+1
| | | | | | I'll remove/rename the option in a few days. llvm-svn: 142439
* Use the integer compare when the value is small enough. Use the "move into aBill Wendling2011-10-181-6/+19
| | | | | | | register and then compare against that" method when it's too large. We have to move the value into the register in the "movw, movt" pair of instructions. llvm-svn: 142437
* Missed a spot!Nick Lewycky2011-10-181-1/+1
| | | | llvm-svn: 142436
* Fix some typo/formatting issues. No functionality change.Nick Lewycky2011-10-182-10/+10
| | | | llvm-svn: 142435
* Fix a bug in the legalization of vector anyext-load and trunc-store. Mem ↵Nadav Rotem2011-10-181-7/+9
| | | | | | Index starts with zero. llvm-svn: 142434
* Teach fast isel about vector stores, and make DoSelectCall return false when ↵Lang Hames2011-10-181-3/+24
| | | | | | it fails to emit a store. This fixes <rdar://problem/10215997>. llvm-svn: 142432
* The value we're comparing against may be too large for the ARM CMPBill Wendling2011-10-181-12/+16
| | | | | | | instruction. Move the value into a register and then use that for the CMP. <rdar://problem/10305266> llvm-svn: 142431
* The immediate may be too large for the CMP instruction. Move it into a registerBill Wendling2011-10-181-8/+13
| | | | | | | and use that in the CMP. <rdar://problem/10305266> llvm-svn: 142429
* Yet more ARM NEON assembly parsing for the lane index operand.Jim Grosbach2011-10-181-18/+18
| | | | llvm-svn: 142416
* ARM vmla/vmls assembly parsing for the lane index operand.Jim Grosbach2011-10-181-4/+4
| | | | llvm-svn: 142413
* ARM vmov assembly parsing for the lane index operand.Jim Grosbach2011-10-181-16/+16
| | | | llvm-svn: 142412
* The MCJITMemoryManager takes ownership of the JMM, so don't leak it.Jim Grosbach2011-10-181-0/+2
| | | | llvm-svn: 142410
* Object/COFF: Remove useless test.Michael J. Spencer2011-10-181-1/+1
| | | | llvm-svn: 142408
* Object/COFF: Change type from a struct to a uint16_t. The struct would beMichael J. Spencer2011-10-181-1/+1
| | | | | | incorrect for bigendian systems. llvm-svn: 142403
* Use ARM/t2PseudoInst class from ARM/Thumb2 special adds/subs patterns.Andrew Trick2011-10-184-119/+112
| | | | | | | | Clean up the patterns, fix comments, and avoid confusing both tools and coders. Note that the special adds/subs SelectionDAG nodes no longer have the dummy cc_out operand. llvm-svn: 142397
* Use isIntN and isUIntN to check for valid signed/unsigned numbers.Bob Wilson2011-10-181-3/+2
| | | | llvm-svn: 142395
* whitespaceAndrew Trick2011-10-182-7/+7
| | | | llvm-svn: 142394
* A landing pad could have more than one predecessor. In that case, we want thatBill Wendling2011-10-181-1/+8
| | | | | | | | | | predecessor to remove the jump to it as well. Delay clearing the 'landing pad' flag until after the jumps have been removed. (There is an implicit assumption in several modules that an MBB which jumps to a landing pad has only two successors.) <rdar://problem/10304224> llvm-svn: 142390
* ARM vmla/vmls assembly parsing for the lane index operand.Jim Grosbach2011-10-181-8/+8
| | | | llvm-svn: 142389
* ARM vqdmulh assembly parsing for the lane index operand.Jim Grosbach2011-10-181-4/+4
| | | | llvm-svn: 142386
* ARM vmul assembly parsing for the lane index operand.Jim Grosbach2011-10-181-4/+4
| | | | llvm-svn: 142381
* Final patch that completes old JIT support for Mips:Bruno Cardoso Lopes2011-10-187-91/+173
| | | | | | | | | | | | | | | | -Fix binary codes and rename operands in .td files so that automatically generated function MipsCodeEmitter::getBinaryCodeForInstr gives correct encoding for instructions. -Define new class FMem for instructions that access memory. -Define new class FFRGPR for instructions that move data between GPR and FPU general and control registers. -Define custom encoder methods for memory operands, and also for size operands of ext and ins instructions. -Only static relocation model is currently implemented. Patch by Sasa Stankovic llvm-svn: 142378
* Fix incorrect check for sign-extended constant BUILD_VECTOR.Bob Wilson2011-10-181-1/+1
| | | | | | <rdar://problem/10298332> llvm-svn: 142371
* Fix a DAG combiner assertion failure when constant folding BUILD_VECTORS.Bob Wilson2011-10-181-2/+13
| | | | | | | | | svn r139159 caused SelectionDAG::getConstant() to promote BUILD_VECTOR operands with illegal types, even before type legalization. For this testcase, that led to one BUILD_VECTOR with i16 operands and another with promoted i32 operands, which triggered the assertion. llvm-svn: 142370
* ARM vqdmlal assembly parsing for the lane index operand.Jim Grosbach2011-10-181-2/+2
| | | | llvm-svn: 142365
* Thumb2 parsing of 'mov.w' gets the cc_out operand wrong. Add an alias for it.Jim Grosbach2011-10-181-0/+2
| | | | llvm-svn: 142363
* ARM assembly parsing and encoding for VMOV.i64.Jim Grosbach2011-10-182-2/+32
| | | | llvm-svn: 142356
* PTX: Fix disabling of MAD instruction selectionJustin Holewinski2011-10-181-7/+14
| | | | llvm-svn: 142352
* Fix a bunch of unused variable warnings when doing a releaseDuncan Sands2011-10-186-11/+11
| | | | | | build with gcc-4.6. llvm-svn: 142350
* Coding style cleanups. No functionality change.Bill Wendling2011-10-181-6/+5
| | | | llvm-svn: 142341
* Remove NaClModeDavid Meyer2011-10-1810-42/+4
| | | | llvm-svn: 142338
* Add support for dynamic stack realignment when in thumb1 mode.Chad Rosier2011-10-183-11/+32
| | | | | | rdar://10288916 llvm-svn: 142337
* Commit test, capitalizing store... keep it simple.Joe Abbey2011-10-181-1/+1
| | | | llvm-svn: 142336
* Fix comment to refer to correct instructionHal Finkel2011-10-181-1/+1
| | | | llvm-svn: 142334
* Fix misc warnings. Patch by Joe Abbey.Eli Friedman2011-10-183-4/+1
| | | | llvm-svn: 142332
* Backing out patch. Will refactor to remove the AsmParser dependency on Target.Lang Hames2011-10-183-95/+25
| | | | llvm-svn: 142323
* ARM assembly parsing and encoding for VMOV/VMVN/VORR/VBIC.i32.Jim Grosbach2011-10-182-8/+77
| | | | llvm-svn: 142321
* Object: Add some types to SymbolRef::Type.Michael J. Spencer2011-10-171-0/+6
| | | | | | | | Some of these can be true at the same time and there are a lot to add, so this should be turned into a bitfield. Some of the other accessors should probably be folded into this. llvm-svn: 142318
* Object: Add isSymbolAbsolute and getSymbolSection.Michael J. Spencer2011-10-173-0/+88
| | | | llvm-svn: 142317
* Object: Add isSymbolWeak.Michael J. Spencer2011-10-173-0/+33
| | | | llvm-svn: 142316
* Object/COFF: Expose more data in the public API.Michael J. Spencer2011-10-171-16/+26
| | | | llvm-svn: 142315
* Object: Implement casting for concrete classes.Michael J. Spencer2011-10-171-0/+5
| | | | llvm-svn: 142314
* Minor style cleanup, no functionality change.Nick Lewycky2011-10-171-3/+2
| | | | llvm-svn: 142307
* Re-applying the target data layout verification patch from r142288, plus ↵Lang Hames2011-10-173-25/+95
| | | | | | | | appropriate CMake dependencies. Thanks to Raphael Espindola for tracking down the CMake issues. llvm-svn: 142306
* ARM assembly parsing and encoding for VMOV/VMVN/VORR/VBIC.i16.Jim Grosbach2011-10-172-8/+36
| | | | llvm-svn: 142303
* Add support for a new extension to the .file directive:Nick Lewycky2011-10-1714-58/+113
| | | | | | | | | | .file filenumber "directory" "filename" This removes one join+split of the directory+filename in MC internals. Because bitcode files have independent fields for directory and filenames in debug info, this patch may change the .o files written by existing .bc files. llvm-svn: 142300
* Add a few FIXME comments.Chad Rosier2011-10-171-0/+2
| | | | llvm-svn: 142299
* Teach the ARC optimizer about the !clang.arc.copy_on_escape metadataDan Gohman2011-10-171-12/+40
| | | | | | | tag on objc_retainBlock calls, which indicates that they may be optimized away. rdar://10211286. llvm-svn: 142298
* Tidy up.Jim Grosbach2011-10-171-1/+0
| | | | llvm-svn: 142297
* 142288 broke the build:Rafael Espindola2011-10-172-94/+25
| | | | | | | | | | | | Linking CXX executable ../../bin/llvm-as ../../lib/libLLVMAsmParser.a(LLParser.cpp.o):/home/espindola/llvm/llvm/lib/AsmParser/LLParser.cpp:function llvm::LLParser::ParseTargetDefinition(): error: undefined reference to 'llvm::TargetData::parseSpecifier(llvm::StringRef, llvm::TargetData*)' clang-3: error: linker command failed with exit code 1 (use -v to see invocation) Revert "Validate target data layout strings." This reverts commit 599d2d4c25d3aee63a21d9c67a88cd43bd971b7e. llvm-svn: 142296
OpenPOWER on IntegriCloud