search for: llvmzextparamattr

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

Did you mean: llvmsextparamattr
2008 Apr 26
0
[LLVMdev] ParamAttr Patch - Alignment fix
...ParamAttr Param) { > + > + Instruction *I = unwrap<Instruction>(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; >...
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
...on *I = unwrap<Instruction>(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...