Add control to alignment of ld/st inst
This commit is contained in:
parent
16860436d4
commit
d78253ebe3
4 changed files with 31 additions and 2 deletions
10
llvm/extra.h
10
llvm/extra.h
|
|
@ -55,6 +55,16 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Wraps LoadInst::SetAlignment
|
||||
*/
|
||||
void LLVMLdSetAlignment(LLVMValueRef inst, unsigned align);
|
||||
|
||||
/*
|
||||
* Wraps StoreInst::SetAlignment
|
||||
*/
|
||||
void LLVMStSetAlignment(LLVMValueRef inst, unsigned align);
|
||||
|
||||
const char * LLVMGetHostCPUName();
|
||||
|
||||
int LLVMInitializeNativeTargetAsmPrinter();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue