Displaying 4 results from an estimated 4 matches for "is_analysis".
2010 Feb 26
3
[LLVMdev] RegisterPass isAnalysis parameter
Hi,
I'm confused about the is_analysis parameter of the RegisterPass
constructor (defined in PassSupport.h). The only explanation I can
find is that is_analysis should be set to true if the pass is "an
analysis pass, for example dominator tree pass". Can someone please
clarify what is meant by "analysis pass"...
2009 May 23
0
[LLVMdev] why RegisterPass<TargetData> initialize itself twice in my system
...to use it?
-------------- next part --------------
;; 1st
PassInfo (this=0x2aaaac3472a0, name=0x2aaaabe24421 "Target Data Layout", 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
(gdb) bt
#0 PassInfo (this=0x2aaaac3472a0, name=0x2aaaabe24421 "Target Data Layout", arg=0x2aaaabe24434 "targetdata", pi=17004736, normal=0xada74e <llvm::Pass* llvm::callDefaultCtor<llvm::TargetData>()>, isC...
2010 Feb 26
0
[LLVMdev] RegisterPass isAnalysis parameter
On Thursday 25 February 2010 19:24:30 Trevor Harmon wrote:
> Hi,
>
> I'm confused about the is_analysis parameter of the RegisterPass
> constructor (defined in PassSupport.h). The only explanation I can
> find is that is_analysis should be set to true if the pass is "an
> analysis pass, for example dominator tree pass". Can someone please
> clarify what is meant by "analysi...
2011 Jun 15
3
[LLVMdev] Cannot use function pass in a module pass
Hi. I'm trying to implement a module pass which can be dynamically
loaded by `opt` (against up-to-date llvm from svn).
Despite what the tutorial
(http://llvm.org/docs/WritingAnLLVMPass.html) states in my module pass
I cannot perform getAnalysis and fetch the function pass result.
When trying to do so `opt` fails with the following mesage:
[***@*** ***]$ opt -load