Displaying 5 results from an estimated 5 matches for "cdfg_pass".
2011 Nov 10
1
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
On 11/10/11 11:48 AM, Ryan Taylor wrote:
> John,
>
> Thanks, this does not compile though, I get this error:
First, please CC the llvmdev list. That way, others having the same
question can see the conversation, and others on the list can help
correct any errors I make.
:)
>
> cdfg_pass.cpp:511:11: error: ‘class llvm::Function’ has no member
> named ‘getDeclaration’
Sorry. I believe the method name is Function::isDeclaration().
BTW, you should double-check my answers (and other people's answers)
against the LLVM doxygen documentation. This is because:
1) I often don&...
2011 Nov 10
4
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
...does not compile though, I get this error:
>>
>>
>> First, please CC the llvmdev list. That way, others having the same
>> question can see the conversation, and others on the list can help correct
>> any errors I make.
>> :)
>>
>>
>>
>> cdfg_pass.cpp:511:11: error: ‘class llvm::Function’ has no member named
>> ‘getDeclaration’
>>
>>
>> Sorry. I believe the method name is Function::isDeclaration().
>>
>> BTW, you should double-check my answers (and other people's answers)
>> against the LLVM dox...
2011 Nov 10
0
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
...>
> John,
>
> Thanks, this does not compile though, I get this error:
>
>
> First, please CC the llvmdev list. That way, others having the same
> question can see the conversation, and others on the list can help correct
> any errors I make.
> :)
>
>
>
> cdfg_pass.cpp:511:11: error: ‘class llvm::Function’ has no member named
> ‘getDeclaration’
>
>
> Sorry. I believe the method name is Function::isDeclaration().
>
> BTW, you should double-check my answers (and other people's answers)
> against the LLVM doxygen documentation. This is...
2011 Nov 10
3
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
LLVMers,
I am doing a CallGraphPass but would like to get the LoopInfo of the
functions inside this pass, is this possible? Currently I have a function
inside the CallGraph struct:
void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<LoopInfo>();
AU.addPreserved<LoopInfo>();
}
And later inside the pass I am calling:
LoopInfo &LI =
2011 Nov 10
0
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
...or:
>>>
>>>
>>> First, please CC the llvmdev list. That way, others having the same
>>> question can see the conversation, and others on the list can help correct
>>> any errors I make.
>>> :)
>>>
>>>
>>>
>>> cdfg_pass.cpp:511:11: error: ‘class llvm::Function’ has no member named
>>> ‘getDeclaration’
>>>
>>>
>>> Sorry. I believe the method name is Function::isDeclaration().
>>>
>>> BTW, you should double-check my answers (and other people's answers)
>&...