Displaying 1 result from an estimated 1 matches for "rpassmgr".
Did you mean:
passmgr
2012 Sep 27
0
[LLVMdev] Possible bug or misunderstanding of feature LLVMConstIntOfString
...;
LLVMExecutionEngineRef engExe;
char * pErr = NULL;
LLVMCreateJITCompilerForModule(&engExe, modCEx, 4, &pErr);
if (pErr) {
printf("[Creating JIT Compiler] Error: %s\n", pErr);
LLVMDisposeMessage(pErr);
exit(0);
}
LLVMPassManagerRef rPassMgr = LLVMCreatePassManager();
LLVMAddTargetData(LLVMGetExecutionEngineTargetData(engExe), rPassMgr);
LLVMAddConstantPropagationPass(rPassMgr);
LLVMAddInstructionCombiningPass(rPassMgr);
LLVMAddPromoteMemoryToRegisterPass(rPassMgr);
LLVMAddGVNPass(rPassMgr);
LLVMAddCFGSimplifica...