llvm-mirror/lib/VMCore
Chris Lattner 2c82be93e6 add a layer of accessors around the Value::SubClassData member, and use
a convention (shadowing the setter with private forwarding function) to
prevent subclasses from accidentally using it.

This exposed some bogosity in ConstantExprs, which was propaging the
opcode of the constant expr into the NUW/NSW/Exact field in the
getWithOperands/getWithOperandReplaced methods.

llvm-svn: 92239
2009-12-29 02:14:09 +00:00
..
AsmWriter.cpp This is a major cleanup of the instruction metadata interfaces that 2009-12-28 23:41:32 +00:00
Attributes.cpp Add an 'inline hint' attribute to represent source 2009-08-26 01:08:21 +00:00
AutoUpgrade.cpp I don't see any point in having both eh.selector.i32 and eh.selector.i64, 2009-10-14 16:11:37 +00:00
BasicBlock.cpp Qualify a bunch of explicit template instantiations to satisfy clang++. 2009-12-19 00:55:12 +00:00
CMakeLists.txt add IRBuilder.cpp to cmake 2009-12-28 21:52:41 +00:00
ConstantFold.cpp Aggressively flip compare constant expressions where appropriate; constant 2009-12-17 06:07:04 +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 add a layer of accessors around the Value::SubClassData member, and use 2009-12-29 02:14:09 +00:00
ConstantsContext.h remove a bunch of locking from LLVMContextImpl. Since only one thread 2009-11-01 18:42:03 +00:00
Core.cpp I forgot to update the prototype for LLVMBuildIntCast when correcting 2009-11-23 10:49:03 +00:00
Dominators.cpp Qualify a bunch of explicit template instantiations to satisfy clang++. 2009-12-19 00:55:12 +00:00
Function.cpp add a layer of accessors around the Value::SubClassData member, and use 2009-12-29 02:14:09 +00:00
Globals.cpp In GlobalVariable::setInitializer, assert that the initializer has the 2009-11-17 00:43:13 +00:00
InlineAsm.cpp Pass StringRef by value. 2009-11-06 10:58:06 +00:00
Instruction.cpp This is a major cleanup of the instruction metadata interfaces that 2009-12-28 23:41:32 +00:00
Instructions.cpp add a layer of accessors around the Value::SubClassData member, and use 2009-12-29 02:14:09 +00:00
IntrinsicInst.cpp Fix DbgStopPointInst->getFileName/getDirectory, broken by the MDNodification in 2009-09-02 11:13:56 +00:00
IRBuilder.cpp This is a major cleanup of the instruction metadata interfaces that 2009-12-28 23:41:32 +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 prune some #includes 2009-12-28 08:24:16 +00:00
LLVMContextImpl.h This fixes a memory leak in OpaqueType found by Google's internal heapchecker. 2009-12-17 19:55:06 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Mangler.cpp initialize SymbolsCanStartWithDigit to false by default 2009-09-21 14:11:56 +00:00
Metadata.cpp add a layer of accessors around the Value::SubClassData member, and use 2009-12-29 02:14:09 +00:00
Module.cpp Qualify a bunch of explicit template instantiations to satisfy clang++. 2009-12-19 00:55:12 +00:00
ModuleProvider.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Pass.cpp Move several function bodies which are rarely inlined out of line. 2009-12-14 19:43:09 +00:00
PassManager.cpp Avoid assigning to Changed when it won't be used after the return. 2009-12-25 13:50:18 +00:00
PrintModulePass.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +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 Put TypesEqual and TypeHasCycleThroughItself in namespace llvm so ADL from 2009-12-19 00:51:42 +00:00
TypesContext.h Free the constants that have no uses in ~LLVMContext. 2009-08-31 16:14:59 +00:00
TypeSymbolTable.cpp Pass StringRef by value. 2009-11-06 10:58:06 +00:00
Use.cpp Public and private corrections, warned about by icc (#304). 2009-09-06 08:55:57 +00:00
Value.cpp This is a major cleanup of the instruction metadata interfaces that 2009-12-28 23:41:32 +00:00
ValueSymbolTable.cpp Pass StringRef by value. 2009-11-06 10:58:06 +00:00
ValueTypes.cpp Reapply 79977. 2009-08-28 23:24:31 +00:00
Verifier.cpp Rewrite the function-local validation logic for MDNodes (most of r91708). 2009-12-28 09:07:21 +00:00