Begin to expose Pass class.
This commit is contained in:
parent
b22c023301
commit
ff92a05858
6 changed files with 182 additions and 259 deletions
20
llvm/extra.h
20
llvm/extra.h
|
|
@ -54,6 +54,26 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Wraps Pass::lookupPassInfo and PassInfo::createPass
|
||||
*/
|
||||
LLVMPassRef LLVMCreatePassByName(const char *name);
|
||||
|
||||
/*
|
||||
* Wraps operator delete (Pass*)
|
||||
*/
|
||||
void LLVMDisposePass(LLVMPassRef passref);
|
||||
|
||||
/*
|
||||
* Wraps Pass::getPassName
|
||||
*/
|
||||
const char * LLVMGetPassName(LLVMPassRef passref);
|
||||
|
||||
/*
|
||||
* Wraps PassManager::add
|
||||
*/
|
||||
void LLVMAddPass(LLVMPassManagerRef pmref, LLVMPassRef passref);
|
||||
|
||||
/*
|
||||
* Wraps llvm:InlineAsm::get
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue