search for: loopinstnum

Displaying 3 results from an estimated 3 matches for "loopinstnum".

2012 Jul 05
3
[LLVMdev] "symbol lookup error" while running a Simple Loop Pass
...nst" #include "llvm/Pass.h" #include "llvm/Analysis/LoopPass.h" #include "llvm/Support/raw_ostream.h" #include "llvm/ADT/Statistic.h" #include "llvm/Instructions.h" #include "llvm/Analysis/LoopInfo.h" using namespace llvm; STATISTIC(LoopInstNum, "Counts number of instructions in a loop"); namespace { struct LoopInst : public LoopPass { static char ID; // Pass identification, replacement for typeid LoopInst() : LoopPass(ID) {} virtual bool runOnLoop(Loop *L, LPPassManager &LPM) { LoopInfo *LI = &ge...
2012 Jul 05
0
[LLVMdev] "symbol lookup error" while running a Simple Loop Pass
...nst" #include "llvm/Pass.h" #include "llvm/Analysis/LoopPass.h" #include "llvm/Support/raw_ostream.h" #include "llvm/ADT/Statistic.h" #include "llvm/Instructions.h" #include "llvm/Analysis/LoopInfo.h" using namespace llvm; STATISTIC(LoopInstNum, "Counts number of instructions in a loop"); namespace { struct LoopInst : public LoopPass { static char ID; // Pass identification, replacement for typeid LoopInst() : LoopPass(ID) {} virtual bool runOnLoop(Loop *L, LPPassManager &LPM) { LoopInfo *LI = &ge...
2012 Jul 05
1
[LLVMdev] "symbol lookup error" while running a Simple Loop Pass
...> #include "llvm/Analysis/LoopPass.h" > #include "llvm/Support/raw_ostream.h" > #include "llvm/ADT/Statistic.h" > #include "llvm/Instructions.h" > #include "llvm/Analysis/LoopInfo.h" > > using namespace llvm; > > STATISTIC(LoopInstNum, "Counts number of instructions in a loop"); > > namespace { > struct LoopInst : public LoopPass { > static char ID; // Pass identification, replacement for typeid > LoopInst() : LoopPass(ID) {} > > virtual bool runOnLoop(Loop *L, LPPassManager &LPM)...