search for: passarg

Displaying 7 results from an estimated 7 matches for "passarg".

Did you mean: passar
2019 Apr 16
3
Opt plugin linkage
...Building it without linking against LLVMExecutionEngine library results in an undefined symbol to the vtable of the EngineBuilder when loaded to opt. Linking the plugin with LLVMExecutionEngine results in the pass simply not being executable with giving "opt: Unkown command line argument '-passArg'." For a minimal example add set(LLVM_LINK_COMPONENTS Core) to the CMakeLists.txt of the Hello llvm pass. There is no error or warning at any point when linking or loading a plugin linked against someĀ  libs. How do I find out which llvm libs I can't link with a dynamically loaded p...
2010 Mar 11
1
[LLVMdev] how to access loopInfo
...ng any new information about the program (or if it is, it's > writing it to disk), so other passes wouldn't need it anyway. > So I know that I'm on the right way. I just think it's a bit of overhead implementing an own pass and register it using llvm::RegisterPass can the PassArg of RegisterPass clash with other passes? or can I just do static RegisterPass<MyPass> tmp("foo", "My Pass"); ? -Jochen
2009 May 23
0
[LLVMdev] why RegisterPass<TargetData> initialize itself twice in my system
...ut", arg=0x2aaaabe24434 "targetdata", pi=17004736, normal=0xada74e <llvm::Pass* llvm::callDefaultCtor<llvm::TargetData>()>, isCFGOnly=false, is_analysis=true) at /home/xliu/dev/llvm/include/llvm/PassSupport.h:59 #1 0x0000000000ada6f1 in RegisterPass (this=0x2aaaac3472a0, PassArg=0x2aaaabe24434 "targetdata", Name=0x2aaaabe24421 "Target Data Layout", CFGOnly=false, is_analysis=true) at /home/xliu/dev/llvm/include/llvm/PassSupport.h:168 #2 0x00002aaaabb0e528 in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at TargetData.cp...
2019 Apr 16
2
Opt plugin linkage
...Building it without linking against LLVMExecutionEngine library results in an undefined symbol to the vtable of the EngineBuilder when loaded to opt. Linking the plugin with LLVMExecutionEngine results in the pass simply not being executable with giving "opt: Unkown command line argument '-passArg'." For a minimal example add set(LLVM_LINK_COMPONENTS Core) to the CMakeLists.txt of the Hello llvm pass. There is no error or warning at any point when linking or loading a plugin linked against some libs. How do I find out which llvm libs I can't link with a dynamically lo...
2010 Mar 11
2
[LLVMdev] how to access loopInfo
Hi! I'd like to analyze a function with the llvm::LoopInfo pass and then write some info to disk. I create a FunctionPassManager and insert it and a DominatorTree which is required by LoopInfo. As it turns out the analysis info is only available to other passes and gets cleared when the run function of the pass manager returns. I therefore guess that I need to create an own pass. Is this
2010 Mar 11
0
[LLVMdev] how to access loopInfo
On Thursday 11 March 2010 12:36:55 Jochen Wilhelmy wrote: > Hi! > > I'd like to analyze a function with the llvm::LoopInfo pass and then > write some info to disk. I create a FunctionPassManager and insert it and > a DominatorTree which is required by LoopInfo. > As it turns out the analysis info is only available to other > passes and gets cleared when the run function of
2019 Apr 18
3
Opt plugin linkage
...Building it without linking against LLVMExecutionEngine library results in an undefined symbol to the vtable of the EngineBuilder when loaded to opt. Linking the plugin with LLVMExecutionEngine results in the pass simply not being executable with giving "opt: Unkown command line argument '-passArg'." For a minimal example add set(LLVM_LINK_COMPONENTS Core) to the CMakeLists.txt of the Hello llvm pass. There is no error or warning at any point when linking or loading a plugin linked against some libs. How do I find out which llvm libs I can't link with a dynamically loaded plugi...