reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

include/llvm/PassSupport.h
   90 template <typename passName> struct RegisterPass : public PassInfo {
  119 class RegisterAGBase : public PassInfo {

Declarations

include/llvm/Analysis/Passes.h
   23   class PassInfo;
include/llvm/Pass.h
   42 class PassInfo;
include/llvm/PassRegistry.h
   29 class PassInfo;
include/llvm/Transforms/Scalar.h
   27 class PassInfo;
tools/bugpoint/BugDriver.h
   29 class PassInfo;
tools/opt/PassPrinters.h
   26 class PassInfo;

References

include/llvm/IR/LegacyPassManagers.h
  197   const PassInfo *findAnalysisPassInfo(AnalysisID AID) const;
  294   mutable DenseMap<AnalysisID, const PassInfo *> AnalysisPassInfos;
include/llvm/IR/LegacyPassNameParser.h
   42                        public cl::parser<const PassInfo*> {
   57   virtual bool ignorablePassImpl(const PassInfo *P) const { return false; }
   59   inline bool ignorablePass(const PassInfo *P) const {
   68   void passRegistered(const PassInfo *P) override {
   77   void passEnumerate(const PassInfo *P) override { passRegistered(P); }
  107   bool ignorablePassImpl(const PassInfo *P) const override {
  131   bool operator()(const PassInfo &P) const {
include/llvm/Pass.h
  176   static const PassInfo *lookupPassInfo(const void *TI);
  180   static const PassInfo *lookupPassInfo(StringRef Arg);
include/llvm/PassInfo.h
   41   std::vector<const PassInfo *> ItfImpl; // Interfaces implemented by this pass
   58   PassInfo(const PassInfo &) = delete;
   59   PassInfo &operator=(const PassInfo &) = delete;
   59   PassInfo &operator=(const PassInfo &) = delete;
  107   void addInterfaceImplemented(const PassInfo *ItfPI) {
  113   const std::vector<const PassInfo*> &getInterfacesImplemented() const {
include/llvm/PassRegistry.h
   42   using MapType = DenseMap<const void *, const PassInfo *>;
   45   using StringMapType = StringMap<const PassInfo *>;
   48   std::vector<std::unique_ptr<const PassInfo>> ToFree;
   62   const PassInfo *getPassInfo(const void *TI) const;
   66   const PassInfo *getPassInfo(StringRef Arg) const;
   70   void registerPass(const PassInfo &PI, bool ShouldFree = false);
   76                              PassInfo &Registeree, bool isDefault,
include/llvm/PassSupport.h
   90 template <typename passName> struct RegisterPass : public PassInfo {
   95                  PassInfo::NormalCtor_t(callDefaultCtor<passName>), CFGOnly,
  119 class RegisterAGBase : public PassInfo {
  127   explicit RegisterAnalysisGroup(PassInfo &RPB)
  202   virtual void passRegistered(const PassInfo *) {}
  210   virtual void passEnumerate(const PassInfo *) {}
lib/CodeGen/TargetPassConfig.cpp
  334 static const PassInfo *getPassInfo(StringRef PassName) {
  339   const PassInfo *PI = PR.getPassInfo(PassName);
  347   const PassInfo *PI = getPassInfo(PassName);
  878     if (const PassInfo *TPI = getPassInfo(PrintMachineInstrsPassName)) {
  880       const PassInfo *IPI = PR->getPassInfo(StringRef("machineinstr-printer"));
lib/IR/LegacyPassManager.cpp
   65 typedef llvm::cl::list<const llvm::PassInfo *, bool, PassNameParser>
  713   const PassInfo *PI = findAnalysisPassInfo(P->getPassID());
  732         const PassInfo *PI = findAnalysisPassInfo(ID);
  825 const PassInfo *PMTopLevelManager::findAnalysisPassInfo(AnalysisID AID) const {
  826   const PassInfo *&PI = AnalysisPassInfos[AID];
  848   const PassInfo *PassInf = findAnalysisPassInfo(AID);
  850   for (const PassInfo *ImmPI : PassInf->getInterfacesImplemented())
  880     if (const PassInfo *PI = findAnalysisPassInfo(P->getPassID())) {
  926   const PassInfo *PInf = TPM->findAnalysisPassInfo(PI);
  928   const std::vector<const PassInfo*> &II = PInf->getInterfacesImplemented();
 1050   if (const PassInfo *PInf = TPM->findAnalysisPassInfo(PI)) {
 1056     const std::vector<const PassInfo*> &II = PInf->getInterfacesImplemented();
 1125     const PassInfo *PI = TPM->findAnalysisPassInfo(ID);
 1224       if (const PassInfo *PI =
 1310     const PassInfo *PInf = TPM->findAnalysisPassInfo(Set[i]);
 1812   const PassInfo *RequiredPassPI =
lib/IR/Pass.cpp
   81   const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID);
  224 const PassInfo *Pass::lookupPassInfo(const void *TI) {
  228 const PassInfo *Pass::lookupPassInfo(StringRef Arg) {
  233   const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID);
  285   void passEnumerate(const PassInfo *P) override {
  308   const PassInfo *PI = Pass::lookupPassInfo(Arg);
lib/IR/PassRegistry.cpp
   41 const PassInfo *PassRegistry::getPassInfo(const void *TI) const {
   47 const PassInfo *PassRegistry::getPassInfo(StringRef Arg) const {
   57 void PassRegistry::registerPass(const PassInfo &PI, bool ShouldFree) {
   82                                          PassInfo &Registeree, bool isDefault,
   84   PassInfo *InterfaceInfo = const_cast<PassInfo *>(getPassInfo(InterfaceID));
   94     PassInfo *ImplementationInfo = const_cast<PassInfo *>(getPassInfo(PassID));
lib/IR/PassTimingInfo.cpp
  139     if (const PassInfo *PI = Pass::lookupPassInfo(P->getPassID()))
tools/bugpoint/BugDriver.h
  113   bool debugPassMiscompilation(const PassInfo *ThePass,
tools/bugpoint/bugpoint.cpp
   65 static cl::list<const PassInfo *, bool, PassNameParser>
  110     const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID);
  227   for (const PassInfo *PI : PassList)
tools/llc/llc.cpp
  369   const PassInfo *PI = PR->getPassInfo(PassName);
tools/llvm-exegesis/lib/Assembler.cpp
   55   const PassInfo *PI = PR->getPassInfo(PassName);
tools/opt/PassPrinters.cpp
   32   const PassInfo *PassToPrint;
   38   FunctionPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet)
   66   const PassInfo *PassToPrint;
   71   CallGraphSCCPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet)
  103   const PassInfo *PassToPrint;
  108   ModulePassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet)
  135   const PassInfo *PassToPrint;
  140   LoopPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet)
  168   const PassInfo *PassToPrint;
  173   RegionPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet)
  202   const PassInfo *PassToPrint;
  208   BasicBlockPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet)
  237 FunctionPass *llvm::createFunctionPassPrinter(const PassInfo *PI,
  242 CallGraphSCCPass *llvm::createCallGraphPassPrinter(const PassInfo *PI,
  248 ModulePass *llvm::createModulePassPrinter(const PassInfo *PI, raw_ostream &OS,
  253 LoopPass *llvm::createLoopPassPrinter(const PassInfo *PI, raw_ostream &OS,
  258 RegionPass *llvm::createRegionPassPrinter(const PassInfo *PI, raw_ostream &OS,
  263 BasicBlockPass *llvm::createBasicBlockPassPrinter(const PassInfo *PI,
tools/opt/PassPrinters.h
   31 FunctionPass *createFunctionPassPrinter(const PassInfo *PI, raw_ostream &out,
   34 CallGraphSCCPass *createCallGraphPassPrinter(const PassInfo *PI,
   37 ModulePass *createModulePassPrinter(const PassInfo *PI, raw_ostream &out,
   40 LoopPass *createLoopPassPrinter(const PassInfo *PI, raw_ostream &out,
   43 RegionPass *createRegionPassPrinter(const PassInfo *PI, raw_ostream &out,
   46 BasicBlockPass *createBasicBlockPassPrinter(const PassInfo *PI,
tools/opt/opt.cpp
   67 static cl::list<const PassInfo*, bool, PassNameParser>
  780     const PassInfo *PassInf = PassList[i];
unittests/Analysis/CFGTest.cpp
   80          PassInfo *PI = new PassInfo("isPotentiallyReachable testing pass", "",
   80          PassInfo *PI = new PassInfo("isPotentiallyReachable testing pass", "",
usr/include/c++/7.4.0/type_traits
 1558     { typedef _Tp     type; };