search for: cdfgpass

Displaying 11 results from an estimated 11 matches for "cdfgpass".

2012 Nov 16
5
[LLVMdev] Assert with getZExtValue()?
...ptimized out>) at assert.c:81 #3 0x00007ffff6c6c5cf in getZExtValue (this=<value optimized out>) at /home/ryan/llvm/llvm_core/trunk/include/llvm/ADT/APInt.h:1217 #4 getZExtValue (this=<value optimized out>) at /home/ryan/llvm/llvm_core/trunk/include/llvm/Constants.h:117 #5 cdfgPassClass::storeInstr (this=<value optimized out>) at a2c_pass.cpp:2125 #6 0x00007ffff6c73dc1 in (anonymous namespace)::CDFGPass::runOnModule (this=0x16c2fa0, M=<value optimized out>) at a2c_pass.cpp:2949 #7 0x0000000000f4cd4e in llvm::MPPassManager::runOnModule(llvm::Module&) () #...
2012 Nov 16
0
[LLVMdev] Assert with getZExtValue()?
...rt.c:81 > #3 0x00007ffff6c6c5cf in getZExtValue (this=<value optimized out>) > at /home/ryan/llvm/llvm_core/trunk/include/llvm/ADT/APInt.h:1217 > #4 getZExtValue (this=<value optimized out>) > at /home/ryan/llvm/llvm_core/trunk/include/llvm/Constants.h:117 > #5 cdfgPassClass::storeInstr (this=<value optimized out>) at > a2c_pass.cpp:2125 > #6 0x00007ffff6c73dc1 in (anonymous namespace)::CDFGPass::runOnModule > (this=0x16c2fa0, > M=<value optimized out>) at a2c_pass.cpp:2949 > #7 0x0000000000f4cd4e in llvm::MPPassManager::runOnModul...
2012 Nov 16
2
[LLVMdev] Assert with getZExtValue()?
...0007ffff6c6c5cf in getZExtValue (this=<value optimized out>) > > at /home/ryan/llvm/llvm_core/trunk/include/llvm/ADT/APInt.h:1217 > > #4 getZExtValue (this=<value optimized out>) > > at /home/ryan/llvm/llvm_core/trunk/include/llvm/Constants.h:117 > > #5 cdfgPassClass::storeInstr (this=<value optimized out>) at > > a2c_pass.cpp:2125 > > #6 0x00007ffff6c73dc1 in (anonymous namespace)::CDFGPass::runOnModule > > (this=0x16c2fa0, > > M=<value optimized out>) at a2c_pass.cpp:2949 > > #7 0x0000000000f4cd4e in > l...
2011 Nov 10
1
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
...detail correct. 2) The LLVM API is fluid, so some details of it may have changed since I last used a particular feature. > > Also, when I try to pass the pointer to getAnalysis I get this error: > > cdfg_pass.cpp:512:41: error: no matching function for call to > ‘<unnamed>::CDFGPass::getAnalysis(llvm::Function*&)’ First, double check that it's a Function * and not a Function & that is required. Second, what type of pass is your pass? Is it a ModulePass, a FunctionPass, or some other type of pass? For a FunctionPass, no argument is necessary. For a ModulePas...
2011 Nov 10
4
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
...o some details of it may have changed since I >> last used a particular feature. >> >> >> >> Also, when I try to pass the pointer to getAnalysis I get this error: >> >> cdfg_pass.cpp:512:41: error: no matching function for call to >> ‘<unnamed>::CDFGPass::getAnalysis(llvm::Function*&)’ >> >> >> First, double check that it's a Function * and not a Function & that is >> required. >> >> Second, what type of pass is your pass? Is it a ModulePass, a >> FunctionPass, or some other type of pass? For...
2011 Nov 10
0
[LLVMdev] Problem getting LoopInfo inside non-LoopPass
...> 2) The LLVM API is fluid, so some details of it may have changed since I > last used a particular feature. > > > > Also, when I try to pass the pointer to getAnalysis I get this error: > > cdfg_pass.cpp:512:41: error: no matching function for call to > ‘<unnamed>::CDFGPass::getAnalysis(llvm::Function*&)’ > > > First, double check that it's a Function * and not a Function & that is > required. > > Second, what type of pass is your pass? Is it a ModulePass, a > FunctionPass, or some other type of pass? For a FunctionPass, no argument...
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 Oct 19
1
[LLVMdev] CallGraphSCCPass
..."size" but not on calls like "empty" (which returns false). My understanding is that the heirarchy is: CallGraphSCC->CallGraphNode->Function->BasicBlock->Instruction, is this not the case? virtual bool runOnSCC(CallGraphSCC &SCC) { errs() << "CDFGPass: " << "\n"; errs() <<"Size of SCC: "<<SCC.size()<<"\n"; for(CallGraphSCC::iterator CGNodeItr = SCC.begin(); CGNodeItr != SCC.end();++CGNodeItr) { errs()<<"Iterating CallNodeGraphs"<&l...
2012 Dec 04
0
[LLVMdev] Assert with getZExtValue()?
...rt.c:81 > #3 0x00007ffff6c6c5cf in getZExtValue (this=<value optimized out>) > at /home/ryan/llvm/llvm_core/trunk/include/llvm/ADT/APInt.h:1217 > #4 getZExtValue (this=<value optimized out>) > at /home/ryan/llvm/llvm_core/trunk/include/llvm/Constants.h:117 > #5 cdfgPassClass::storeInstr (this=<value optimized out>) at > a2c_pass.cpp:2125 > #6 0x00007ffff6c73dc1 in (anonymous namespace)::CDFGPass::runOnModule > (this=0x16c2fa0, > M=<value optimized out>) at a2c_pass.cpp:2949 > #7 0x0000000000f4cd4e in llvm::MPPassManager::runOnModul...
2012 Dec 03
0
[LLVMdev] Assert with getZExtValue()?
...in getZExtValue (this=<value optimized out>) >> > at /home/ryan/llvm/llvm_core/trunk/include/llvm/ADT/APInt.h:1217 >> > #4 getZExtValue (this=<value optimized out>) >> > at /home/ryan/llvm/llvm_core/trunk/include/llvm/Constants.h:117 >> > #5 cdfgPassClass::storeInstr (this=<value optimized out>) at >> > a2c_pass.cpp:2125 >> > #6 0x00007ffff6c73dc1 in (anonymous namespace)::CDFGPass::runOnModule >> > (this=0x16c2fa0, >> > M=<value optimized out>) at a2c_pass.cpp:2949 >> > #7 0x000000...
2011 Nov 10
0
[LLVMdev] Fwd: Problem getting LoopInfo inside non-LoopPass
...anged since I >>> last used a particular feature. >>> >>> >>> >>> Also, when I try to pass the pointer to getAnalysis I get this error: >>> >>> cdfg_pass.cpp:512:41: error: no matching function for call to >>> ‘<unnamed>::CDFGPass::getAnalysis(llvm::Function*&)’ >>> >>> >>> First, double check that it's a Function * and not a Function & that is >>> required. >>> >>> Second, what type of pass is your pass? Is it a ModulePass, a >>> FunctionPass, or so...