llvm/lib/VMCore
Dan Gohman 6de29f8d96 Support vector casts in more places, fixing a variety of assertion
failures.

To support this, add some utility functions to Type to help support
vector/scalar-independent code. Change ConstantInt::get and
ConstantFP::get to support vector types, and add an overload to
ConstantInt::get that uses a static IntegerType type, for
convenience.

Introduce a new getConstant method for ScalarEvolution, to simplify
common use cases.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73431 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-15 22:12:54 +00:00
..
AsmWriter.cpp Give embedded metadata its own type instead of relying on EmptyStructTy. 2009-05-30 05:06:04 +00:00
Attributes.cpp Add new function attribute - noimplicitfloat 2009-06-05 21:57:13 +00:00
AutoUpgrade.cpp Reapply 63765. Patches for clang and llvm-gcc to follow. 2009-02-05 01:49:45 +00:00
BasicBlock.cpp simplify the way how traits get hold of the symbol table 2009-03-07 12:33:24 +00:00
CMakeLists.txt CMake: removed lib/VMCore/DebugInfoBuilder.cpp. 2009-01-08 00:18:52 +00:00
ConstantFold.cpp Support vector casts in more places, fixing a variety of assertion 2009-06-15 22:12:54 +00:00
ConstantFold.h
Constants.cpp Support vector casts in more places, fixing a variety of assertion 2009-06-15 22:12:54 +00:00
Core.cpp Add a getAlignOf helper for getting the ABI alignment of a 2009-05-21 15:52:21 +00:00
Dominators.cpp Fix some incorrect logic in DominanceFrontier::splitBlock. Part of 2009-05-21 20:40:30 +00:00
Function.cpp Implement and use new method Function::hasAddressTaken(). 2009-06-10 08:41:11 +00:00
Globals.cpp make GlobalValue::removeDeadConstantUsers() const. 2009-03-09 05:50:45 +00:00
InlineAsm.cpp Keep track of *which* input constraint matches an output 2008-10-17 16:47:46 +00:00
Instruction.cpp Give Instruction::isSameOperationAs a corresponding comment to note 2009-06-12 19:03:05 +00:00
Instructions.cpp Support vector casts in more places, fixing a variety of assertion 2009-06-15 22:12:54 +00:00
IntrinsicInst.cpp The fields for the stoppoint debug intrinsic have not changed, so update the 2008-12-19 19:56:36 +00:00
LeakDetector.cpp Have LeakDetector use a SmallPtrSet instead of an std::set. 2008-08-14 20:40:10 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Mangler.cpp Quotes should be printed before private prefix; some code clean up. 2009-05-05 22:50:29 +00:00
Module.cpp "ghostify" the ilist<Function> sentinel 2009-03-27 22:28:33 +00:00
ModuleProvider.cpp
Pass.cpp Rename getAnalysisToUpdate to getAnalysisIfAvailable. 2009-01-28 13:14:17 +00:00
PassManager.cpp Always verify dominfo if expensive checking is enabled. 2009-05-22 08:52:53 +00:00
PrintModulePass.cpp It's not necessary for PrintModulePass to flush the output streams 2009-04-20 16:26:25 +00:00
SymbolTableListTraitsImpl.h
Type.cpp Support vector casts in more places, fixing a variety of assertion 2009-06-15 22:12:54 +00:00
TypeSymbolTable.cpp
Use.cpp Rearrange operands of the BranchInst, to be able to 2009-03-12 18:34:49 +00:00
Value.cpp Restore minor deletion. 2009-05-04 18:40:41 +00:00
ValueSymbolTable.cpp Use v.data() instead of &v[0] when SmallVector v might be empty. 2009-05-21 09:52:38 +00:00
ValueTypes.cpp Added support for vector widening. 2008-12-18 20:03:17 +00:00
Verifier.cpp Support vector casts in more places, fixing a variety of assertion 2009-06-15 22:12:54 +00:00