Chris Lattner
|
f70c22b019
|
Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14201 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-06-17 18:19:28 +00:00 |
|
Brian Gaeke
|
8121fcd260
|
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12953 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-04-14 21:21:56 +00:00 |
|
Chris Lattner
|
28977af72a
|
Support getelementptr instructions which use uint's to index into structure
types and can have arbitrary 32- and 64-bit integer types indexing into
sequential types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12653 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-04-05 01:30:19 +00:00 |
|
Chris Lattner
|
0e7ac16926
|
Use a map instead of annotations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11875 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-26 08:02:17 +00:00 |
|
Chris Lattner
|
d21cd809b6
|
Adjust to the changed StructType interface. In particular, getElementTypes() is gone.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11228 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-09 04:37:31 +00:00 |
|
Chris Lattner
|
f045328dd1
|
finegrainify namespacification
add new getIntPtrType() method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10579 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-12-22 05:01:15 +00:00 |
|
Brian Gaeke
|
d0fde30ce8
|
Put all LLVM code into the llvm namespace, as per bug 109.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-11 22:41:34 +00:00 |
|
John Criswell
|
b576c94c15
|
Added LLVM project notice to the top of every C++ source file.
Header files will be on the way.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9298 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-10-20 19:43:21 +00:00 |
|
Chris Lattner
|
030574fd35
|
Add support for 'any' pointer size and endianness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8120 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-24 13:49:22 +00:00 |
|
Misha Brukman
|
5560c9d49c
|
Spell `necessary' correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7944 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-18 14:43:39 +00:00 |
|
Chris Lattner
|
949a362802
|
Remove redundant const qualifiers from cast<> expressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7253 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-07-23 15:30:06 +00:00 |
|
Chris Lattner
|
94a5118672
|
No really, you _cannot use_ getelementptr on an unsized type: that makes
no sense.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6595 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-06-04 02:35:35 +00:00 |
|
Vikram S. Adve
|
55a85a47d4
|
Undo one of those last fixes -- it was incorrect.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6593 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-06-04 02:10:37 +00:00 |
|
Chris Lattner
|
4954f04914
|
Minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6535 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-06-02 05:21:06 +00:00 |
|
Chris Lattner
|
4e840d4db7
|
* Fix divide by zero error with empty structs
* Empty structs should have ALIGNMENT 1, not SIZE 1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6263 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-05-21 18:08:44 +00:00 |
|
Chris Lattner
|
10daaa1416
|
Remove two fields from TargetData which are target specific.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5963 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-26 20:11:09 +00:00 |
|
Chris Lattner
|
dd7253cc9f
|
Whoops, 32 bit targets have _4_ byte pointers, not _32_ byte pointers!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5937 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-25 06:06:43 +00:00 |
|
Chris Lattner
|
46326d9cdf
|
Allow for easy detection of when a "default" TargetData is created by the
passmanager, which is never the right thing to do.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5922 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-25 02:50:45 +00:00 |
|
Chris Lattner
|
53a0c38b5f
|
add a new targetdata ctor to create a target data appropriate to the module
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5903 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-24 19:09:05 +00:00 |
|
Chris Lattner
|
e45e32d924
|
Remove wierd case that can never happen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5623 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-02-25 20:27:09 +00:00 |
|
Chris Lattner
|
c56406c236
|
* Privatize the TargetName
* Move optSizeForSubWordData to TargetData
* Remove unused fields
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4417 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-10-29 21:48:17 +00:00 |
|
Chris Lattner
|
85131c8277
|
- Add an endianness field to the TargetData datastructure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4174 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-10-14 22:41:13 +00:00 |
|
Vikram S. Adve
|
8e22ead3b4
|
Don't try to compute the size of an "array" element if the index is 0:
the size may be unknown, and is not needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4153 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-10-13 21:47:44 +00:00 |
|
Chris Lattner
|
aa31ad016a
|
Convert TargetData to be an ImmutablePass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3927 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-25 23:46:55 +00:00 |
|
Chris Lattner
|
3cac88ac9e
|
- Change getelementptr instruction to use long indexes instead of uint
indexes for sequential types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3682 91177308-0d34-0410-b5e6-96231b3b80d8
|
2002-09-11 01:21:33 +00:00 |
|