search for: hgstruct

Displaying 3 results from an estimated 3 matches for "hgstruct".

Did you mean: destruct
2010 Apr 27
2
[LLVMdev] Setting alignment for a ByVal argument
Hi, Thanks for the help. I tried this out, but on x86_64 and with llvm 2.6 and llvm-gcc 4.2.1, I dont seem to get an aligned variable. This is the function definition that I have define internal fastcc void @walksub(%struct.hgstruct* noalias nocapture sret %agg.result, %struct.node* %p, double %dsq, %struct.hgstruct* byval align 64 %hg, i32 %level) nounwind { And these are the call sites, call fastcc void @walksub(%struct.hgstruct* noalias sret %2, %struct.node* %tmp399, double %tmp398, %struct.hgstruct* byval align 64 %1, i...
2010 Apr 27
0
[LLVMdev] Setting alignment for a ByVal argument
Hi Arushi, > If I want a particular alignment on a ByVal argument, should I specify > it as a function attribute, or should I also add the attribute to > every callsite that calls that function. in theory you should do both. For example, if the call is an indirect call (i.e. to a function pointer where the function is not known) then it should be clear that you need to put the
2010 Apr 26
2
[LLVMdev] Setting alignment for a ByVal argument
Hi, If I want a particular alignment on a ByVal argument, should I specify it as a function attribute, or should I also add the attribute to every callsite that calls that function. Thanks, Arushi