Searched defs:PassModel (Results 1 – 2 of 2) sorted by relevance
56 struct PassModel : PassConcept<IRUnitT> { struct57 explicit PassModel(PassT Pass) : Pass(std::move(Pass)) {} in PassModel() argument60 PassModel(const PassModel &Arg) : Pass(Arg.Pass) {} in PassModel() function61 PassModel(PassModel &&Arg) : Pass(std::move(Arg.Pass)) {} in PassModel() argument62 friend void swap(PassModel &LHS, PassModel &RHS) { in swap() argument71 PreservedAnalysesT run(IRUnitT &IR, AnalysisManager<IRUnitT> &AM) override { in run()74 StringRef name() override { return PassT::name(); } in name()75 PassT Pass;
61 struct PassModel : PassConcept<IRUnitT, AnalysisManagerT, ExtraArgTs...> { struct62 explicit PassModel(PassT Pass) : Pass(std::move(Pass)) {} in PassModel() function65 PassModel(const PassModel &Arg) : Pass(Arg.Pass) {} in PassModel() function66 PassModel(PassModel &&Arg) : Pass(std::move(Arg.Pass)) {} in PassModel() argument68 friend void swap(PassModel &LHS, PassModel &RHS) { in swap() argument78 PreservedAnalysesT run(IRUnitT &IR, AnalysisManagerT &AM, in run()83 StringRef name() override { return PassT::name(); } in name()85 PassT Pass;