Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID() | Chris Lattner | 2004-06-17 | 1 | -1/+1 |
| | | | | llvm-svn: 14201 | ||||
* | Fix typo. | Brian Gaeke | 2004-04-14 | 1 | -1/+1 |
| | | | | llvm-svn: 12953 | ||||
* | Support getelementptr instructions which use uint's to index into structure | Chris Lattner | 2004-04-05 | 1 | -11/+13 |
| | | | | | | | types and can have arbitrary 32- and 64-bit integer types indexing into sequential types. llvm-svn: 12653 | ||||
* | Use a map instead of annotations | Chris Lattner | 2004-02-26 | 1 | -23/+36 |
| | | | | llvm-svn: 11875 | ||||
* | Adjust to the changed StructType interface. In particular, ↵ | Chris Lattner | 2004-02-09 | 1 | -4/+3 |
| | | | | | | getElementTypes() is gone. llvm-svn: 11228 | ||||
* | finegrainify namespacification | Chris Lattner | 2003-12-22 | 1 | -3/+13 |
| | | | | | | add new getIntPtrType() method llvm-svn: 10579 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -1/+4 |
| | | | | llvm-svn: 9903 | ||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | ||||
* | Add support for 'any' pointer size and endianness | Chris Lattner | 2003-08-24 | 1 | -2/+2 |
| | | | | llvm-svn: 8120 | ||||
* | Spell `necessary' correctly. | Misha Brukman | 2003-08-18 | 1 | -2/+2 |
| | | | | llvm-svn: 7944 | ||||
* | Remove redundant const qualifiers from cast<> expressions | Chris Lattner | 2003-07-23 | 1 | -2/+2 |
| | | | | llvm-svn: 7253 | ||||
* | No really, you _cannot use_ getelementptr on an unsized type: that makes | Chris Lattner | 2003-06-04 | 1 | -5/+1 |
| | | | | | | no sense. llvm-svn: 6595 | ||||
* | Undo one of those last fixes -- it was incorrect. | Vikram S. Adve | 2003-06-04 | 1 | -3/+5 |
| | | | | llvm-svn: 6593 | ||||
* | Minor cleanups | Chris Lattner | 2003-06-02 | 1 | -6/+3 |
| | | | | llvm-svn: 6535 | ||||
* | * Fix divide by zero error with empty structs | Chris Lattner | 2003-05-21 | 1 | -5/+3 |
| | | | | | | * Empty structs should have ALIGNMENT 1, not SIZE 1. llvm-svn: 6263 | ||||
* | Remove two fields from TargetData which are target specific. | Chris Lattner | 2003-04-26 | 1 | -6/+1 |
| | | | | llvm-svn: 5963 | ||||
* | Whoops, 32 bit targets have _4_ byte pointers, not _32_ byte pointers! | Chris Lattner | 2003-04-25 | 1 | -2/+4 |
| | | | | llvm-svn: 5937 | ||||
* | Allow for easy detection of when a "default" TargetData is created by the | Chris Lattner | 2003-04-25 | 1 | -0/+7 |
| | | | | | | passmanager, which is never the right thing to do. llvm-svn: 5922 | ||||
* | add a new targetdata ctor to create a target data appropriate to the module | Chris Lattner | 2003-04-24 | 1 | -0/+18 |
| | | | | llvm-svn: 5903 | ||||
* | Remove wierd case that can never happen | Chris Lattner | 2003-02-25 | 1 | -3/+0 |
| | | | | llvm-svn: 5623 | ||||
* | * Privatize the TargetName | Chris Lattner | 2002-10-29 | 1 | -1/+2 |
| | | | | | | | * Move optSizeForSubWordData to TargetData * Remove unused fields llvm-svn: 4417 | ||||
* | - Add an endianness field to the TargetData datastructure | Chris Lattner | 2002-10-14 | 1 | -5/+7 |
| | | | | llvm-svn: 4174 | ||||
* | Don't try to compute the size of an "array" element if the index is 0: | Vikram S. Adve | 2002-10-13 | 1 | -4/+3 |
| | | | | | | the size may be unknown, and is not needed. llvm-svn: 4153 | ||||
* | Convert TargetData to be an ImmutablePass | Chris Lattner | 2002-09-25 | 1 | -0/+7 |
| | | | | llvm-svn: 3927 | ||||
* | - Change getelementptr instruction to use long indexes instead of uint | Chris Lattner | 2002-09-11 | 1 | -5/+5 |
| | | | | | | indexes for sequential types. llvm-svn: 3682 | ||||
* | Fix sign-extension: it needs to happen *after* multiplying by type size. | Vikram S. Adve | 2002-08-24 | 1 | -4/+2 |
| | | | | llvm-svn: 3497 | ||||
* | Simplify previous hack slightly. | Vikram S. Adve | 2002-08-23 | 1 | -5/+3 |
| | | | | llvm-svn: 3490 | ||||
* | Force sign-extension for uint array indexes from 32-bit to 64-bits | Vikram S. Adve | 2002-08-23 | 1 | -1/+6 |
| | | | | | | since uint is not normally sign-extended when casting to uint64_t. llvm-svn: 3489 | ||||
* | Bug fix in TargetData::getIndexedOffset: We were using the pointer | Vikram S. Adve | 2002-08-13 | 1 | -3/+3 |
| | | | | | | type instead of the element type for the element size for arrays. llvm-svn: 3302 | ||||
* | Bug fix in TargetData::getIndexedOffset(): handle struct offset | Vikram S. Adve | 2002-08-04 | 1 | -6/+7 |
| | | | | | | | after array offset correctly. The type was not being updated for array offsets! llvm-svn: 3246 | ||||
* | *** empty log message *** | Chris Lattner | 2002-07-25 | 1 | -5/+5 |
| | | | | llvm-svn: 3075 | ||||
* | Add integer register size field. | Vikram S. Adve | 2002-05-19 | 1 | -27/+37 |
| | | | | | | | Make all sizes and offsets uint64_t instead of uint. Fixed GetIndexedOffset to handle mixed array and struct indices. llvm-svn: 2641 | ||||
* | Extend TargetData::getIndexedOffset to support arrays and pointers! | Chris Lattner | 2002-05-07 | 1 | -10/+13 |
| | | | | llvm-svn: 2535 | ||||
* | Replace all usages of Type::isPointerType with isa<PointerType> | Chris Lattner | 2002-05-06 | 1 | -3/+3 |
| | | | | llvm-svn: 2486 | ||||
* | Split ConstantVals.h into Constant.h and Constants.h | Chris Lattner | 2002-04-28 | 1 | -1/+1 |
| | | | | llvm-svn: 2378 | ||||
* | Remove dead variable | Chris Lattner | 2002-01-21 | 1 | -1/+1 |
| | | | | llvm-svn: 1515 | ||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 1 | -3/+3 |
| | | | | llvm-svn: 1503 | ||||
* | getIndexedOffset() shd take vector of Values, not of Constants! | Vikram S. Adve | 2001-12-15 | 1 | -1/+1 |
| | | | | llvm-svn: 1484 | ||||
* | Not just arrays are unsized | Chris Lattner | 2001-12-13 | 1 | -1/+1 |
| | | | | llvm-svn: 1450 | ||||
* | Renamed inst_const_iterator -> const_inst_iterator | Chris Lattner | 2001-12-04 | 1 | -1/+1 |
| | | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408 | ||||
* | Rename ConstPoolVal -> Constant | Chris Lattner | 2001-12-03 | 1 | -3/+3 |
| | | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407 | ||||
* | Fix cute little bug that was causing the last | Vikram S. Adve | 2001-11-14 | 1 | -1/+1 |
| | | | | | | structure offset to be ignored in computing an offset! llvm-svn: 1310 | ||||
* | Commit more code over to new cast style | Chris Lattner | 2001-10-02 | 1 | -3/+3 |
| | | | | llvm-svn: 697 | ||||
* | Add more support for new style casts | Chris Lattner | 2001-10-01 | 1 | -1/+1 |
| | | | | | | Convert more code to use them llvm-svn: 695 | ||||
* | Renamed files to match the main classes they provide. | Vikram S. Adve | 2001-09-18 | 1 | -1/+1 |
| | | | | | | Some other minor changes. llvm-svn: 615 | ||||
* | Make a new llvm/Target #include directory. | Chris Lattner | 2001-09-14 | 1 | -0/+180 |
Move files from lib/CodeGen/TargetMachine to lib/Target Move TargetData.h and TargetMachine.h to Target/{Data.h|Machine.h} Prepare to split TargetMachine.h into several smaller files llvm-svn: 566 |