summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/ConstantPool.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename file to be consistent with header nameChris Lattner2001-09-091-413/+0
| | | | llvm-svn: 519
* * Cnstants are now global objectsChris Lattner2001-09-071-291/+234
| | | | | | | | | | | | | * ConstantPools no longer exist * Constants are global objects in the LLVM system * Constants are structurally equilivant if they are pointer equilivant * Support abstract & opaque types * Support setName on constants even though they don't track names * Constnats don't get copy ctors anymore * ConstPoolVal::equals is no longer useful [use ptr equivalency] * Support generic factory classes to create and maintain constants llvm-svn: 460
* Moved inline/llvm/Tools/* to include/llvm/Support/*Chris Lattner2001-07-231-1/+1
| | | | llvm-svn: 279
* Add new ctor for ConstPoolBoolChris Lattner2001-07-211-0/+5
| | | | llvm-svn: 246
* Implement ensureTypeAvailableChris Lattner2001-07-201-24/+51
| | | | | | Implement ConstPoolInt class llvm-svn: 215
* Add support for assembly printing fp constantsChris Lattner2001-07-151-3/+2
| | | | llvm-svn: 191
* * ValueHolder now takes 3 argumentsChris Lattner2001-07-141-0/+5
| | | | | | | | | * Added a few methods to ConstantPool * ConstPoolVal no longer derives from Value * Method & Module multiply inherit from SymTabValue & Value now * Added a GetElementPtrInst::isStructSelector() method llvm-svn: 184
* Changed the fundemental architecture of Operands for Instructions. NowChris Lattner2001-07-071-24/+28
| | | | | | | | | | | Operands are maintained as a vector<Use> in the User class, and operator iterators are provided as before. Getting an operand no longer requires a virtual function call. WARNING: getOperand(x) where x >= getNumOperands() will now assert instead of returning null! llvm-svn: 149
* Miscellaneous cleanups:Chris Lattner2001-06-271-7/+3
| | | | | | | | | | | * Convert post to pre-increment for for loops * Use generic programming more * Use new Value::cast* instructions * Use new Module, Method, & BasicBlock forwarding methods * Use new facilities in STLExtras.h * Use new Instruction::isPHINode() method llvm-svn: 96
* Initial revisionChris Lattner2001-06-061-0/+434
llvm-svn: 2
OpenPOWER on IntegriCloud