Displaying 3 results from an estimated 3 matches for "hc295".
Did you mean:
295
2008 Nov 30
3
[LLVMdev] Error when using getAnalysis
...void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<LoopInfo>();
AU.setPreservesAll();
}
virtual bool runOnModule(Module &M) {
LoopInfo &LI = getAnalysis<LoopInfo>();
}
I get following error when I try to run my pass :
opt:
/net/hc295/nwarkari/llvm/llvm-2.3/include/llvm/PassAnalysisSupport.h:193:
AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*) const [with
AnalysisType = llvm::LoopInfo]: Assertion `ResultPass && "getAnalysis*()
called on an analysis that was not " "'required' by p...
2008 Dec 01
0
[LLVMdev] Error when using getAnalysis
...;LI = getAnalysis<LoopInfo>(*F);
}
If you need to process all functions within a Module, then look at the
Module::iterator on the LLVM doxygen web pages:
http://llvm.org/doxygen/hierarchy.html
-- John T.
>
>
> I get following error when I try to run my pass :
>
> opt: /net/hc295/nwarkari/llvm/llvm-2.3/include/llvm/PassAnalysisSupport.h:193: AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*) const [with AnalysisType = llvm::LoopInfo]: Assertion `ResultPass && "getAnalysis*() called on an analysis that was not " "'required' by p...
2008 Dec 02
2
[LLVMdev] Error when using getAnalysis
...to process all functions within a Module, then look at the
> Module::iterator on the LLVM doxygen web pages:
> http://llvm.org/doxygen/hierarchy.html
>
> -- John T.
>
>>
>>
>> I get following error when I try to run my pass :
>>
>> opt:
>>
/net/hc295/nwarkari/llvm/llvm-2.3/include/llvm/PassAnalysisSupport.h:193:
>> AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*) const
>> [with AnalysisType = llvm::LoopInfo]: Assertion `ResultPass &&
>> "getAnalysis*() called on an analysis that was not " &q...