Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
a43b832f7f9185bc48add07e8abdadcce7d51a68
/
llvm
/
lib
/
Target
/
TargetData.cpp
6667bdb
Update to use the new MathExtras.h support for log2 computation.
by Chris Lattner
· 20 years ago
10468d8
Remove trailing whitespace
by Misha Brukman
· 21 years ago
3434004
add a StructLayout::getElementContainingOffset method.
by Chris Lattner
· 21 years ago
e58bf09
Initial support for packed types, contributed by Morten Ofstad
by Chris Lattner
· 21 years ago
cff3b41
Fix this function to not say that longs have 8-byte alignment on X86/PPC.
by Chris Lattner
· 21 years ago
7c16caa
Changes For Bug 352
by Reid Spencer
· 21 years ago
0c2ab8a
Add a new helper method to get log2(type alignment)
by Chris Lattner
· 21 years ago
3faa865
* Add BoolAlignment to TargetData, default is 1 byte, size 1 byte
by Misha Brukman
· 21 years ago
072a4c0
Nuke a clearly bogus assertion
by Chris Lattner
· 21 years ago
f6d2471
Fix use-before-def thinko
by Brian Gaeke
· 21 years ago
18a08e7
Handle targets where alignment can be bigger than the size of the data.
by Chris Lattner
· 21 years ago
6b72759
Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()
by Chris Lattner
· 21 years ago
0174347
Fix typo.
by Brian Gaeke
· 22 years ago
69193f9
Support getelementptr instructions which use uint's to index into structure
by Chris Lattner
· 22 years ago
7140e46
Use a map instead of annotations
by Chris Lattner
· 22 years ago
ac6db75
Adjust to the changed StructType interface. In particular, getElementTypes() is gone.
by Chris Lattner
· 22 years ago
bb661c1
finegrainify namespacification add new getIntPtrType() method
by Chris Lattner
· 22 years ago
960707c
Put all LLVM code into the llvm namespace, as per bug 109.
by Brian Gaeke
· 22 years ago
482202a
Added LLVM project notice to the top of every C++ source file.
by John Criswell
· 22 years ago
e34e200
Add support for 'any' pointer size and endianness
by Chris Lattner
· 22 years ago
7eb05a1
Spell `necessary' correctly.
by Misha Brukman
· 22 years ago
f26a8ee
Remove redundant const qualifiers from cast<> expressions
by Chris Lattner
· 22 years ago
fee4407
No really, you _cannot use_ getelementptr on an unsized type: that makes
by Chris Lattner
· 22 years ago
680ee9f
Undo one of those last fixes -- it was incorrect.
by Vikram S. Adve
· 22 years ago
7b66a72
Minor cleanups
by Chris Lattner
· 22 years ago
6532e42
* Fix divide by zero error with empty structs
by Chris Lattner
· 22 years ago
4f6cdbd
Remove two fields from TargetData which are target specific.
by Chris Lattner
· 23 years ago
b05f851
Whoops, 32 bit targets have _4_ byte pointers, not _32_ byte pointers!
by Chris Lattner
· 23 years ago
e483398
Allow for easy detection of when a "default" TargetData is created by the
by Chris Lattner
· 23 years ago
42516ba
add a new targetdata ctor to create a target data appropriate to the module
by Chris Lattner
· 23 years ago
ae1f73b
Remove wierd case that can never happen
by Chris Lattner
· 23 years ago
b848956
* Privatize the TargetName
by Chris Lattner
· 23 years ago
5156bba
- Add an endianness field to the TargetData datastructure
by Chris Lattner
· 23 years ago
a202c0d
Don't try to compute the size of an "array" element if the index is 0:
by Vikram S. Adve
· 23 years ago
09cfdcb
Convert TargetData to be an ImmutablePass
by Chris Lattner
· 23 years ago
136dab7
by Chris Lattner
· 23 years ago
9068efd
Fix sign-extension: it needs to happen *after* multiplying by type size.
by Vikram S. Adve
· 23 years ago
b342572
Simplify previous hack slightly.
by Vikram S. Adve
· 23 years ago
1c84243
Force sign-extension for uint array indexes from 32-bit to 64-bits
by Vikram S. Adve
· 23 years ago
a3efa26
Bug fix in TargetData::getIndexedOffset: We were using the pointer
by Vikram S. Adve
· 23 years ago
71895b2
Bug fix in TargetData::getIndexedOffset(): handle struct offset
by Vikram S. Adve
· 23 years ago
10073a9
*** empty log message ***
by Chris Lattner
· 23 years ago
8b83174
Add integer register size field.
by Vikram S. Adve
· 23 years ago
8b1e4d6
Extend TargetData::getIndexedOffset to support arrays and pointers!
by Chris Lattner
· 24 years ago
181cc32
Replace all usages of Type::isPointerType with isa<PointerType>
by Chris Lattner
· 24 years ago
ca14237
Split ConstantVals.h into Constant.h and Constants.h
by Chris Lattner
· 24 years ago
b07bf17
Remove dead variable
by Chris Lattner
· 24 years ago
7f74a56
Changes to build successfully with GCC 3.02
by Chris Lattner
· 24 years ago
721fee2
getIndexedOffset() shd take vector of Values, not of Constants!
by Vikram S. Adve
· 24 years ago
6650d18
Not just arrays are unsized
by Chris Lattner
· 24 years ago
2413b16
Renamed inst_const_iterator -> const_inst_iterator
by Chris Lattner
· 24 years ago
3462ae3
Rename ConstPoolVal -> Constant
by Chris Lattner
· 24 years ago
3fb79e6
Fix cute little bug that was causing the last
by Vikram S. Adve
· 24 years ago
da55810
Commit more code over to new cast style
by Chris Lattner
· 24 years ago
8f19112
Add more support for new style casts Convert more code to use them
by Chris Lattner
· 24 years ago
6cefc70
Renamed files to match the main classes they provide. Some other minor changes.
by Vikram S. Adve
· 24 years ago
22a6a90
Make a new llvm/Target #include directory.
by Chris Lattner
· 24 years ago
[Renamed (99%) from llvm/lib/CodeGen/TargetMachine/TargetData.cpp]
5a01692
Use correct casts
by Chris Lattner
· 24 years ago
4eb6d9f
annotations are now const
by Chris Lattner
· 24 years ago
b6aa233
I suck
by Chris Lattner
· 24 years ago
53bbf07
Initial checkin of TargetData code
by Chris Lattner
· 24 years ago