search for: llvmcreatepassmanag

Displaying 5 results from an estimated 5 matches for "llvmcreatepassmanag".

Did you mean: llvmcreatepassmanager
2014 Aug 18
2
[LLVMdev] [RFC] Removing static initializers for command line options
> On Aug 18, 2014, at 4:25 PM, Filip Pizlo <fpizlo at apple.com> wrote: > > > >> On Aug 18, 2014, at 3:21 PM, Chris Bieneman <beanz at apple.com> wrote: >> >> >>>> On Aug 18, 2014, at 3:09 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote: >>>> >>>> Some passes take options directly in the
2012 Sep 27
0
[LLVMdev] Possible bug or misunderstanding of feature LLVMConstIntOfString
...xecutionEngineRef 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); LLVMAddCFGSimplificationPass(rPassMgr);...
2009 Nov 05
2
[LLVMdev] Strange error for libLLVMCore.a
...age' c:\Work\llvm//fac.c:59: undefined reference to `LLVMCreateModuleProviderForExistingModule' c:\Work\llvm//fac.c:61: undefined reference to `LLVMCreateJITCompiler' c:\Work\llvm//fac.c:64: undefined reference to `LLVMDisposeMessage' c:\Work\llvm//fac.c:68: undefined reference to `LLVMCreatePassManager' c:\Work\llvm//fac.c:69: undefined reference to `LLVMGetExecutionEngineTargetData' c:\Work\llvm//fac.c:69: undefined reference to `LLVMAddTargetData' c:\Work\llvm//fac.c:70: undefined reference to `LLVMAddConstantPropagationPass' c:\Work\llvm//fac.c:71: undefined reference to `...
2019 Aug 02
8
Switching to the New Pass Manager by Default
Hello all, As of now, all LLVM and Clang tests have been updated/addressed to run under the new/experimental pass manager (at least the ones that failed when using the new PM). For those who aren't aware of what the new pass manager (PM) is, the tl;dr is that this will serve as a replacement for the legacy PM, and promises faster build times by restructuring how passes are run over IR units.
2014 Aug 19
3
[LLVMdev] [RFC] Removing static initializers for command line options
...y few options. >>> >>> The main option that we use now - turning on stack map liveness calculation - is something that feels like it shouldn't be an "option" at all but maybe an attribute instead. >> >> How do you construct you PassManager? > > LLVMCreatePassManager() and then we add target data, add a target machine analysis pass, and then we construct our pipeline and call LLVMRunPassManager(). > > -Filip > >> >> -Chris >> >>> >>>> >>>> I do agree that we should ultimately drop the cl namesp...