Displaying 2 results from an estimated 2 matches for "initializeskeletonpass".
2019 Apr 02
2
How can I use llvm::LoopInfo in the runOnModule method?
...nst override {
errs() << "get analysis usage method.\n";
AU.addRequired<LoopInfo>();
}
};
Pass *createSkeletonPass()
{
return new SkeletonPass();
}
char SkeletonPass::ID = 0;
Pass *createSkeletonPass();
void initializeSkeletonPass(PassRegistry &Registry);
} // namespace llvm
using namespace llvm;
using namespace std;
bool SkeletonPass::runOnModule(llvm::Module &M){
errs() << "=============start=============\n";
auto F = M.getFunction("main");
LoopInfo &LI = getAnalysis&l...
2019 Apr 03
3
How can I use llvm::LoopInfo in the runOnModule method?
...AU.addRequired<LoopInfo>();
>> }
>> };
>>
>> Pass *createSkeletonPass()
>> {
>> return new SkeletonPass();
>> }
>>
>> char SkeletonPass::ID = 0;
>> Pass *createSkeletonPass();
>> void initializeSkeletonPass(PassRegistry &Registry);
>>
>>
>> } // namespace llvm
>>
>> using namespace llvm;
>> using namespace std;
>>
>>
>> bool SkeletonPass::runOnModule(llvm::Module &M){
>> errs() << "=============start=============\n"...