Displaying 3 results from an estimated 3 matches for "llvmnestparamattr".
2008 Apr 26
0
[LLVMdev] ParamAttr Patch - Alignment fix
...NoUnwind; break;
> + case LLVMInRegParamAttr: A = ParamAttr::InReg; break;
> + case LLVMNoAliasParamAttr: A = ParamAttr::NoAlias; break;
> + case LLVMStructRetParamAttr: A = ParamAttr::StructRet; break;
> + case LLVMByValParamAttr: A = ParamAttr::ByVal; break;
> + case LLVMNestParamAttr: A = ParamAttr::Nest; break;
> + case LLVMReadNoneParamAttr: A = ParamAttr::ReadNone; break;
> + case LLVMReadOnlyParamAttr: A = ParamAttr::ReadOnly; break;
> + }
> + Call.setParamAttrs(
> + Call.getParamAttrs().addAttr(index, A));
> +}
This switch is unnecessary. Just...
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
...; + case LLVMInRegParamAttr: A = ParamAttr::InReg; break;
> > + case LLVMNoAliasParamAttr: A = ParamAttr::NoAlias; break;
> > + case LLVMStructRetParamAttr: A = ParamAttr::StructRet; break;
> > + case LLVMByValParamAttr: A = ParamAttr::ByVal; break;
> > + case LLVMNestParamAttr: A = ParamAttr::Nest; break;
> > + case LLVMReadNoneParamAttr: A = ParamAttr::ReadNone; break;
> > + case LLVMReadOnlyParamAttr: A = ParamAttr::ReadOnly; break;
> > + }
> > + Call.setParamAttrs(
> > + Call.getParamAttrs().addAttr(index, A));
> > +}
>...