Displaying 3 results from an estimated 3 matches for "llvminstrsetalign".
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
0
[LLVMdev] ParamAttr Patch - Alignment fix
...ct LLVMOpaqueBasicBlock *LLVMBasicBlockRef;
> typedef struct LLVMOpaqueBuilder *LLVMBuilderRef;
>
> +typedef struct LLVMOpaqueParamAttrs *LLVMParamAttrs;
Please delete this, as it is unused.
> +void LLVMInstrAddParamAttr(LLVMValueRef, unsigned index,
> LLVMParamAttr);
> +void LLVMInstrSetAlignment(LLVMValueRef, unsigned index, unsigned
> align);
> +void LLVMInstrRemoveParamAttr(LLVMValueRef, unsigned index,
> LLVMParamAttr);
> +void LLVMAddParamAttr(LLVMValueRef, LLVMParamAttr);
> +void LLVMRemoveParamAttr(LLVMValueRef, LLVMParamAttr);
- Please put these with the thin...
2008 Apr 26
2
[LLVMdev] ParamAttr Patch - Alignment fix
...f;
> > typedef struct LLVMOpaqueBuilder *LLVMBuilderRef;
> >
> > +typedef struct LLVMOpaqueParamAttrs *LLVMParamAttrs;
>
> Please delete this, as it is unused.
>
> > +void LLVMInstrAddParamAttr(LLVMValueRef, unsigned index,
> > LLVMParamAttr);
> > +void LLVMInstrSetAlignment(LLVMValueRef, unsigned index, unsigned
> > align);
> > +void LLVMInstrRemoveParamAttr(LLVMValueRef, unsigned index,
> > LLVMParamAttr);
> > +void LLVMAddParamAttr(LLVMValueRef, LLVMParamAttr);
> > +void LLVMRemoveParamAttr(LLVMValueRef, LLVMParamAttr);
>
> -...