Displaying 1 result from an estimated 1 matches for "typeallocsize".
2010 Jul 30
1
[LLVMdev] type size
...to get different type sizes for some types when they
are on stack versus not on stack. This would help me stride
aggregates of the types differently. Is there a way to influence the
GEP's lowering such that it uses the right stride depending on what
memory it is accessing ?
Currently I see TD.TypeAllocSize being used to obtain the offset in
SelectGetElementPtr which only depends on the type and returns the
same offset.
Any suggestion on how I can do that or if there are any alternative
ideas towards achieving the same ?
thanks for the answers
shrey