search for: initializeeverythingmustaliaspass

Displaying 2 results from an estimated 2 matches for "initializeeverythingmustaliaspass".

2014 Apr 24
4
[LLVMdev] writing an alias analysis pass?
...AU) const { AliasAnalysis::getAnalysisUsage(AU); AU.setPreservesAll(); } virtual AliasResult alias(const Location &LocA, const Location &LocB) { DEBUG(dbgs() << "Everything must alias!\n"); return AliasAnalysis::MustAlias; } }; } namespace llvm { void initializeEverythingMustAliasPass(PassRegistry &Registry); } char EverythingMustAlias::ID = 0; static RegisterPass<EverythingMustAlias> A("must-aa", "Everything must alias"); INITIALIZE_AG_PASS(EverythingMustAlias, AliasAnalysis, "must-aa", "Everything must alias&quot...
2014 Apr 29
4
[LLVMdev] writing an alias analysis pass?
Hi Matthew, Did you add your alias analysis pass initializeEverythingMustAliasPass() into llvm::initializeAnalysis(PassRegistry &Registry) {} ? This will initialize it linked into the Analysis library. thanks, chen On Apr 28, 2014, at 8:43 PM, Jingyue Wu <jingyue at google.com> wrote: > > > > On Thu, Apr 24, 2014 at 4:38 PM, Matthew O'Connor <t...