search for: llvmsetparamalignment

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

2008 Apr 26
0
[LLVMdev] ParamAttr Patch - Alignment fix
...o be consistent with the others in sentence formation (LLVM<Verb>Instr<Noun>)? > Index: lib/VMCore/Core.cpp > =================================================================== > --- lib/VMCore/Core.cpp (revision 50213) > +++ lib/VMCore/Core.cpp (working copy) > +void LLVMSetParamAlignment(LLVMValueRef Arg, unsigned align) > +{ > + unwrap<Argument>(Arg)->addAttr( > + ParamAttr::constructAlignmentFromInt(align)); > +} > + ... > +void LLVMSetInstrParamAlignment(LLVMValueRef Instr, unsigned index, > unsigned align) { > + CallSite Call = Call...
2008 Apr 26
2
[LLVMdev] ParamAttr Patch - Alignment fix
Hi Gordon, Thanks a lot for the feedback. I can see I've been way to concentrated on how llvm is build, then on this particular patch. I've done the changes you have suggested and it's now a lot nicer and cleaner! Please do say, if there is anything else. Anders Johnsen On Saturday 26 April 2008 22:02:45 Gordon Henriksen wrote: > Hi Anders, > > Thanks for the patch.
2008 Apr 26
2
[LLVMdev] ParamAttr Patch - Alignment fix
...hers in sentence formation (LLVM<Verb>Instr<Noun>)? > > > Index: lib/VMCore/Core.cpp > > =================================================================== > > --- lib/VMCore/Core.cpp (revision 50213) > > +++ lib/VMCore/Core.cpp (working copy) > > +void LLVMSetParamAlignment(LLVMValueRef Arg, unsigned align) > > +{ > > + unwrap<Argument>(Arg)->addAttr( > > + ParamAttr::constructAlignmentFromInt(align)); > > +} > > + > > ... > > > +void LLVMSetInstrParamAlignment(LLVMValueRef Instr, unsigned index, > &gt...