llvm-6502/lib/VMCore
Nick Lewycky d01f50f42c ConstantInt has some getters which return ConstantInt's or ConstantVector's of
the value splatted into every element. Extend this to getTrue and getFalse which
by providing new overloads that take Types that are either i1 or <N x i1>. Use
it in InstCombine to add vector support to some code, fixing PR8469!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127116 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-06 03:36:19 +00:00
..
AsmWriter.cpp Use X86_thiscall calling convention for Win64 as well. 2011-03-03 07:49:07 +00:00
Attributes.cpp Merge System into Support. 2010-11-29 18:16:10 +00:00
AutoUpgrade.cpp convert ConstantVector::get to use ArrayRef. 2011-02-15 00:14:00 +00:00
BasicBlock.cpp Now that hasConstantValue has been made simpler, it may return the 2010-11-17 10:23:23 +00:00
CMakeLists.txt Move the implementation of the User class into a new source file, 2011-01-16 08:10:57 +00:00
ConstantFold.cpp Enhance constant folding of bitcast operations on vectors of floats. 2011-02-17 21:22:27 +00:00
ConstantFold.h Remove casts between Value** and Constant**, which won't work if a 2011-01-14 08:07:43 +00:00
Constants.cpp ConstantInt has some getters which return ConstantInt's or ConstantVector's of 2011-03-06 03:36:19 +00:00
ConstantsContext.h FixedNumOperandTraits and VariadicOperandTraits assumed that, given a 2011-01-11 15:07:38 +00:00
Core.cpp Expose getTypeName to the C API. Patch by Patrick Walton. 2011-02-18 16:35:37 +00:00
DebugLoc.cpp rename NewDebugLoc -> DebugLoc, prune #includes in DebugLoc.h. 2010-04-02 20:21:22 +00:00
Dominators.cpp Update a comment. 2011-01-20 03:58:43 +00:00
Function.cpp Remove the code from Function::dropAllReferences which replaced 2010-12-07 19:56:51 +00:00
Globals.cpp hoist GlobalValue::removeDeadConstantUsers up to being a method on Constant. 2011-02-18 04:41:42 +00:00
GVMaterializer.cpp Kill ModuleProvider and ghost linkage by inverting the relationship between 2010-01-27 20:34:15 +00:00
InlineAsm.cpp Apply patch for use-after-free in InlineAsm constant handling, 2010-11-02 17:59:27 +00:00
Instruction.cpp AttrListPtr has an overloaded operator== which does this for us, we should use 2011-01-26 09:23:19 +00:00
Instructions.cpp enhance vmcore to know that udiv's can be exact, and add a trivial 2011-02-06 21:44:57 +00:00
IntrinsicInst.cpp warmup ritual: use high-level argument accessors 2010-06-22 19:46:37 +00:00
IRBuilder.cpp add methods to IRBuilder to create memcpy/memset/memmove. 2010-12-26 22:49:25 +00:00
LeakDetector.cpp Merge System into Support. 2010-11-29 18:16:10 +00:00
LeaksContext.h Fix a bunch of namespace polution. 2010-04-15 17:08:50 +00:00
LLVMContext.cpp Add missing standard headers. Patch by Joerg Sonnenberger! 2010-12-19 20:43:38 +00:00
LLVMContextImpl.cpp More SmallVectorImpls. 2010-10-12 00:15:27 +00:00
LLVMContextImpl.h now that AsmPrinter::EmitInlineAsm is factored right, we can eliminate the 2010-11-17 08:13:01 +00:00
Makefile Enable RTTI again. While this works fine for LLVM, it creates an ABI 2010-04-14 05:51:59 +00:00
Metadata.cpp Add ArrayRef variant. 2011-03-04 01:20:33 +00:00
Module.cpp Clarify the ownership model of LLVMContext and Module. Namely, contexts own 2010-09-08 18:03:32 +00:00
Pass.cpp Another step towards getting rid of static ctors for pass registration: have INITIALIZE_PASS AND INITIALIZE_AG_PASS 2010-10-05 22:58:16 +00:00
PassManager.cpp Implement requiredTransitive 2011-01-20 21:03:22 +00:00
PassRegistry.cpp Silence a warning from non-standard warning avoidance code. 2011-01-05 21:50:21 +00:00
PrintModulePass.cpp Now with fewer extraneous semicolons! 2010-10-07 22:25:06 +00:00
SymbolTableListTraitsImpl.h
Type.cpp Change all self assignments X=X to (void)X, so that we can turn on a 2010-12-23 00:58:24 +00:00
TypesContext.h Change all self assignments X=X to (void)X, so that we can turn on a 2010-12-23 00:58:24 +00:00
TypeSymbolTable.cpp Fix -Wcast-qual warnings. 2010-04-19 15:42:05 +00:00
Use.cpp Remove useless Tag enumeration. 2011-01-17 15:18:06 +00:00
User.cpp Simplify User::operator delete(). 2011-01-26 21:56:10 +00:00
Value.cpp teach Value::isDereferenceablePointer that byval arguments are always 2011-01-23 21:15:29 +00:00
ValueSymbolTable.cpp Make NamedMDNode not be a subclass of Value, and simplify the interface 2010-07-21 23:38:33 +00:00
ValueTypes.cpp rename MVT::Flag to MVT::Glue. "Flag" is a terrible name for 2010-12-21 02:38:05 +00:00
Verifier.cpp Allow unnamed_addr on declarations. 2011-01-15 08:15:00 +00:00