llvm/lib/VMCore
Chris Lattner 0b68a009f6 fix CastInst::castIsValid to reject aggregate types, fixing PR6153:
llvm-as: t.ll:1:25: error: invalid cast opcode for cast from '[4 x i8]' to '[1 x i32]'
@x = constant [1 x i32] bitcast ([4 x i8] c"abcd" to [1 x i32])
                        ^



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94595 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-26 21:51:43 +00:00
..
AsmWriter.cpp Refactor common parts of MDNode::getFunction() and assertLocalFunction() into getFunctionForValue() 2010-01-20 04:45:57 +00:00
Attributes.cpp Remove the InlineHint attribute. There are no current or planned 2010-01-15 21:36:30 +00:00
AutoUpgrade.cpp Improve llvm.dbg.declare intrinsic by referring directly to the storage in its first argument, via function-local metadata (instead of via a bitcast). 2010-01-15 19:04:09 +00:00
BasicBlock.cpp Qualify a bunch of explicit template instantiations to satisfy clang++. 2009-12-19 00:55:12 +00:00
CMakeLists.txt Update CMake files for Mangler move. 2010-01-16 22:23:09 +00:00
ConstantFold.cpp Fix a crasher trying to fold each element in a comparison between two vectors 2010-01-21 07:03:21 +00:00
ConstantFold.h Value* were never meant to be const. Removing constness from the constant 2009-09-20 01:35:59 +00:00
Constants.cpp fix CastInst::castIsValid to reject aggregate types, fixing PR6153: 2010-01-26 21:51:43 +00:00
ConstantsContext.h Fix a build error and change errs() to dbgs(). 2010-01-05 01:34:26 +00:00
Core.cpp "In order to ease automatic bindings generation, it would be helpful if boolean values were distinguishable from integers. The attached patch introduces "typedef int LLVMBool;", and uses LLVMBool instead of int throughout the C API, wherever a boolean value is called for." 2010-01-09 22:27:07 +00:00
Dominators.cpp Qualify a bunch of explicit template instantiations to satisfy clang++. 2009-12-19 00:55:12 +00:00
Function.cpp Avoid going through the LLVMContext for type equality where it's safe to dereference the type pointer. 2010-01-05 13:12:22 +00:00
Globals.cpp In GlobalVariable::setInitializer, assert that the initializer has the 2009-11-17 00:43:13 +00:00
InlineAsm.cpp Avoid going through the LLVMContext for type equality where it's safe to dereference the type pointer. 2010-01-05 13:12:22 +00:00
Instruction.cpp Add a comment. 2010-01-04 18:38:39 +00:00
Instructions.cpp fix CastInst::castIsValid to reject aggregate types, fixing PR6153: 2010-01-26 21:51:43 +00:00
IntrinsicInst.cpp Improve llvm.dbg.declare intrinsic by referring directly to the storage in its first argument, via function-local metadata (instead of via a bitcast). 2010-01-15 19:04:09 +00:00
IRBuilder.cpp Final step in the metadata API restructuring: move the 2009-12-29 09:01:33 +00:00
LeakDetector.cpp remove a bunch of locking from LLVMContextImpl. Since only one thread 2009-11-01 18:42:03 +00:00
LeaksContext.h Catch more cases of a pointer being marked garbage twice. This helps when 2009-12-18 20:35:38 +00:00
LLVMContext.cpp Final step in the metadata API restructuring: move the 2009-12-29 09:01:33 +00:00
LLVMContextImpl.h Final step in the metadata API restructuring: move the 2009-12-29 09:01:33 +00:00
Makefile mark some libraries that currently require RTTI. 2010-01-24 20:22:08 +00:00
Metadata.cpp Add MDNode::getIfExists(), an efficient way to determine if a value is used by metadata (since metadata does not appear in a value's use list) 2010-01-26 02:36:35 +00:00
Module.cpp Use ilist_tratis to autoinsert and remove NamedMDNode from MDSymbolTable. 2010-01-12 18:34:06 +00:00
ModuleProvider.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Pass.cpp give PassNameParser a home. 2010-01-22 06:29:25 +00:00
PassManager.cpp elimiante the dynamic_cast's from opt. 2010-01-22 06:03:06 +00:00
PrintModulePass.cpp Change errs() to dbgs(). 2010-01-05 01:30:18 +00:00
SymbolTableListTraitsImpl.h Fold the useful features of alist and alist_node into ilist, and 2008-07-28 21:51:04 +00:00
Type.cpp Convert a ton of simple integer type equality tests to the new predicate. 2010-01-05 20:07:06 +00:00
TypesContext.h Change errs() to dbgs(). 2010-01-05 01:29:39 +00:00
TypeSymbolTable.cpp Change errs() to dbgs(). 2010-01-05 01:30:14 +00:00
Use.cpp Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
Value.cpp Change Value::getUnderlyingObject to have the MaxLookup value specified as a 2010-01-25 18:26:54 +00:00
ValueSymbolTable.cpp Delete NamedMDSymTable while destrucing Module. 2010-01-09 01:44:59 +00:00
ValueTypes.cpp Reapply 79977. 2009-08-28 23:24:31 +00:00
Verifier.cpp Fix/strengthen verification of llvm.dbg.declare 2010-01-22 19:06:12 +00:00