Displaying 3 results from an estimated 3 matches for "llvmsextparamattr".
Did you mean:
llvmnestparamattr
2008 Apr 26
0
[LLVMdev] ParamAttr Patch - Alignment fix
...nstruction>(Instr);
No need to declare a variable for this; it's used only once.
> + CallSite Call = CallSite(I);
> +
> + LLVMParamAttr P = (LLVMParamAttr)Param;
> + unsigned A;
> + switch (P) {
> + case LLVMZExtParamAttr: A = ParamAttr::ZExt; break;
> + case LLVMSExtParamAttr: A = ParamAttr::SExt; break;
> + case LLVMNoReturnParamAttr: A = ParamAttr::NoReturn; break;
> + case LLVMNoUnwindParamAttr: A = ParamAttr::NoUnwind; break;
> + case LLVMInRegParamAttr: A = ParamAttr::InReg; break;
> + case LLVMNoAliasParamAttr: A = ParamAttr::NoAlias; break...
2008 Apr 24
2
[LLVMdev] ParamAttr Patch - Alignment fix
Hi..
Updated so you now set alignment through LLVMInstrSetAlignment.
Anders Johnsen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ParamAttr.patch
Type: text/x-diff
Size: 7420 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080424/cb72b4bb/attachment.patch>
2008 Apr 26
2
[LLVMdev] ParamAttr Patch - Alignment fix
...are a variable for this; it's used only once.
>
> > + CallSite Call = CallSite(I);
> > +
> > + LLVMParamAttr P = (LLVMParamAttr)Param;
> > + unsigned A;
> > + switch (P) {
> > + case LLVMZExtParamAttr: A = ParamAttr::ZExt; break;
> > + case LLVMSExtParamAttr: A = ParamAttr::SExt; break;
> > + case LLVMNoReturnParamAttr: A = ParamAttr::NoReturn; break;
> > + case LLVMNoUnwindParamAttr: A = ParamAttr::NoUnwind; break;
> > + case LLVMInRegParamAttr: A = ParamAttr::InReg; break;
> > + case LLVMNoAliasParamAttr: A = Param...