Displaying 2 results from an estimated 2 matches for "getbyvalalign".
2011 Oct 20
2
[LLVMdev] questions about byval argument passing
...ument register
What is the best way to find out whether integer registers or floating
pointer registers should be used for argument passing inside
TargetLowering::LowerCall? I can get basic information of the
structure being passed (for example, by calling
ArgFlagsTy::getByValSize() or ArgFlagsTy::getByValAlign() to get size
and alignment), but there doesn't seem to be an easy way to find more
detailed information. Do I have to get the instance of StructType for
structure S1 and analyze it?
2011 Oct 21
0
[LLVMdev] questions about byval argument passing
...is the best way to find out whether integer registers or floating
> pointer registers should be used for argument passing inside
> TargetLowering::LowerCall? I can get basic information of the
> structure being passed (for example, by calling
> ArgFlagsTy::getByValSize() or ArgFlagsTy::getByValAlign() to get size
> and alignment), but there doesn't seem to be an easy way to find more
> detailed information. Do I have to get the instance of StructType for
> structure S1 and analyze it?
The way we do stuff like this for x86-64 is adding handling to clang;
for example, to handle you...