Add PassManagerBuilder.loop_vectorize property
This commit is contained in:
parent
edcef56f05
commit
10e83f306f
4 changed files with 51 additions and 1 deletions
13
llvm/extra.h
13
llvm/extra.h
|
|
@ -312,6 +312,19 @@ void LLVMPassManagerBuilderSetVectorize(LLVMPassManagerBuilderRef pmb, int flag)
|
|||
*/
|
||||
int LLVMPassManagerBuilderGetVectorize(LLVMPassManagerBuilderRef pmb);
|
||||
|
||||
#if LLVM_VERSION_MAJOR >= 3 && LLVM_VERSION_MINOR >= 2
|
||||
/*
|
||||
* Wraps PassManagerBuilder::LoopVectorize
|
||||
*/
|
||||
void LLVMPassManagerBuilderSetLoopVectorize(LLVMPassManagerBuilderRef pmb,
|
||||
int flag);
|
||||
|
||||
/*
|
||||
* Wraps PassManagerBuilder::LoopVectorize
|
||||
*/
|
||||
int LLVMPassManagerBuilderGetLoopVectorize(LLVMPassManagerBuilderRef pmb);
|
||||
#endif // llvm-3.2
|
||||
|
||||
/*
|
||||
* Wraps PassManagerBuilder::DisableUnitAtATime
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue