void AstBackEnd::getAnalysisUsage(llvm::AnalysisUsage &au) const { au.addRequired<DominatorTreeWrapperPass>(); au.addRequired<PostDominatorTreeWrapperPass>(); au.setPreservesAll(); }
void InstructionCount::getAnalysisUsage(llvm::AnalysisUsage &AU) const { // This is an analysis, nothing is modified, so other analysis are preserved. AU.setPreservesAll(); }
void EntryPointAnalysis::getAnalysisUsage(llvm::AnalysisUsage &AU) const { AU.setPreservesAll(); }
void DCEliminatePass::getAnalysisUsage(llvm::AnalysisUsage &AU) const{ //CFGに変更を加えない AU.setPreservesCFG(); }
void EscapeAnalysis::getAnalysisUsage(llvm::AnalysisUsage& info) const { info.setPreservesCFG(); info.addRequiredTransitive<DataLayoutPass>(); }
void SwiftARCOpt::getAnalysisUsage(llvm::AnalysisUsage &AU) const { AU.addRequiredID(&SwiftAAWrapperPass::ID); AU.addRequired<SwiftRCIdentity>(); AU.setPreservesCFG(); }
virtual void getAnalysisUsage(llvm::AnalysisUsage &AU) const { AU.setPreservesCFG(); }
void AddressTakenAnalysis::getAnalysisUsage(llvm::AnalysisUsage &AU) const { AU.setPreservesAll(); }
void ContractManager::getAnalysisUsage(llvm::AnalysisUsage& Info) const { Info.setPreservesAll(); AUX<VariableInfoTracker>::addRequiredTransitive(Info); }
void FactGenPass::getAnalysisUsage(llvm::AnalysisUsage &AU) const { AU.addRequired<llvm::TargetLibraryInfo>(); AU.addRequired<llvm::DataLayout>(); AU.setPreservesAll(); }
void SwiftStackPromotion::getAnalysisUsage(llvm::AnalysisUsage &AU) const { AU.setPreservesCFG(); }