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

References

include/llvm/CodeGen/TargetPassConfig.h
   54     AnalysisID ID;
   61   IdentifyingPassPtr(AnalysisID IDPtr) : ID(IDPtr) {}
   67   AnalysisID getID() const {
   86   AnalysisID StartBefore = nullptr;
   87   AnalysisID StartAfter = nullptr;
   88   AnalysisID StopBefore = nullptr;
   89   AnalysisID StopAfter = nullptr;
  185   void substitutePass(AnalysisID StandardID, IdentifyingPassPtr TargetID);
  188   void insertPass(AnalysisID TargetPassID, IdentifyingPassPtr InsertedPassID,
  192   void enablePass(AnalysisID PassID) { substitutePass(PassID, PassID); }
  195   void disablePass(AnalysisID PassID) {
  201   IdentifyingPassPtr getPassSubstitution(AnalysisID StandardID) const;
  205   bool isPassSubstitutedOrOverridden(AnalysisID ID) const;
  432   AnalysisID addPass(AnalysisID PassID, bool verifyAfter = true,
  432   AnalysisID addPass(AnalysisID PassID, bool verifyAfter = true,
include/llvm/IR/LegacyPassManagers.h
  194   Pass *findAnalysisPass(AnalysisID AID);
  197   const PassInfo *findAnalysisPassInfo(AnalysisID AID) const;
  250   SmallDenseMap<AnalysisID, ImmutablePass *, 8> ImmutablePassMap;
  267         for(AnalysisID AID : Vec)
  294   mutable DenseMap<AnalysisID, const PassInfo *> AnalysisPassInfos;
  338   virtual Pass *getOnTheFlyPass(Pass *P, AnalysisID PI, Function &F);
  356       SmallVectorImpl<AnalysisID> &ReqPassNotAvailable, Pass *P);
  366   Pass *findAnalysisPass(AnalysisID AID, bool Direction);
  393   DenseMap<AnalysisID, Pass*> *getAvailableAnalysis() {
  436   DenseMap<AnalysisID, Pass *> *InheritedAnalysis[PMT_Last];
  450   DenseMap<AnalysisID, Pass*> AvailableAnalysis;
include/llvm/Pass.h
   99   AnalysisID getPassID() const {
  163   virtual void *getAdjustedAnalysisPointer(AnalysisID ID);
  184   static Pass *createPass(AnalysisID ID);
  213   AnalysisType &getAnalysisID(AnalysisID PI) const;
  216   AnalysisType &getAnalysisID(AnalysisID PI, Function &F);
include/llvm/PassAnalysisSupport.h
   44   using VectorType = SmallVectorImpl<AnalysisID>;
   51   SmallVector<AnalysisID, 8> Required;
   52   SmallVector<AnalysisID, 2> RequiredTransitive;
   53   SmallVector<AnalysisID, 2> Preserved;
   54   SmallVector<AnalysisID, 0> Used;
  155   Pass *findImplPass(AnalysisID PI) {
  167   Pass *findImplPass(Pass *P, AnalysisID PI, Function &F);
  169   void addAnalysisImplsPair(AnalysisID PI, Pass *P) {
  172     std::pair<AnalysisID, Pass*> pir = std::make_pair(PI,P);
  182   Pass *getAnalysisIfAvailable(AnalysisID ID, bool Direction) const;
  187   std::vector<std::pair<AnalysisID, Pass *>> AnalysisImpls;
  226 AnalysisType &Pass::getAnalysisID(AnalysisID PI) const {
  255 AnalysisType &Pass::getAnalysisID(AnalysisID PI, Function &F) {
lib/CodeGen/TargetPassConfig.cpp
  229 static IdentifyingPassPtr overridePass(AnalysisID StandardID,
  287   AnalysisID TargetPassID;
  292   InsertedPass(AnalysisID TargetPassID, IdentifyingPassPtr InsertedPassID,
  320   DenseMap<AnalysisID,IdentifyingPassPtr> TargetPasses;
  346 static AnalysisID getPassIDFromName(StringRef PassName) {
  431 void TargetPassConfig::insertPass(AnalysisID TargetPassID,
  493 void TargetPassConfig::substitutePass(AnalysisID StandardID,
  498 IdentifyingPassPtr TargetPassConfig::getPassSubstitution(AnalysisID ID) const {
  499   DenseMap<AnalysisID, IdentifyingPassPtr>::const_iterator
  506 bool TargetPassConfig::isPassSubstitutedOrOverridden(AnalysisID ID) const {
  525   AnalysisID PassID = P->getPassID();
  567 AnalysisID TargetPassConfig::addPass(AnalysisID PassID, bool verifyAfter,
  567 AnalysisID TargetPassConfig::addPass(AnalysisID PassID, bool verifyAfter,
  582   AnalysisID FinalID = P->getPassID();
lib/IR/LegacyPassManager.cpp
  492   Pass* getOnTheFlyPass(Pass *MP, AnalysisID PI, Function &F) override;
  619     for (AnalysisID ID : IDs) {
  728     for (const AnalysisID ID : RequiredSet) {
  739           for (const AnalysisID ID2 : RequiredSet) {
  806 Pass *PMTopLevelManager::findAnalysisPass(AnalysisID AID) {
  825 const PassInfo *PMTopLevelManager::findAnalysisPassInfo(AnalysisID AID) const {
  843   AnalysisID AID = P->getPassID();
  918   AnalysisID PI = P->getPassID();
  960   for (AnalysisID AID : PreservedSet) {
  975   for (DenseMap<AnalysisID, Pass*>::iterator I = AvailableAnalysis.begin(),
  977     DenseMap<AnalysisID, Pass*>::iterator Info = I++;
  997     for (DenseMap<AnalysisID, Pass*>::iterator
 1000       DenseMap<AnalysisID, Pass *>::iterator Info = I++;
 1049   AnalysisID PI = P->getPassID();
 1058       DenseMap<AnalysisID, Pass*>::iterator Pos =
 1087   SmallVector<AnalysisID, 8> ReqAnalysisNotAvailable;
 1124   for (AnalysisID ID : ReqAnalysisNotAvailable) {
 1144     SmallVectorImpl<Pass *> &UP, SmallVectorImpl<AnalysisID> &RP_NotAvail,
 1173   for (const AnalysisID ID : AnUsage->getRequiredSet()) {
 1187 Pass *PMDataManager::findAnalysisPass(AnalysisID AID, bool SearchParent) {
 1190   DenseMap<AnalysisID, Pass*>::const_iterator I =  AvailableAnalysis.find(AID);
 1348 Pass *PMDataManager::getOnTheFlyPass(Pass *P, AnalysisID PI, Function &F) {
 1361 Pass *AnalysisResolver::getAnalysisIfAvailable(AnalysisID ID, bool dir) const {
 1365 Pass *AnalysisResolver::findImplPass(Pass *P, AnalysisID AnalysisPI,
 1835 Pass* MPPassManager::getOnTheFlyPass(Pass *MP, AnalysisID PI, Function &F){
lib/IR/Pass.cpp
   80   AnalysisID AID =  getPassID();
  108 void *Pass::getAdjustedAnalysisPointer(AnalysisID AID) {
  232 Pass *Pass::createPass(AnalysisID ID) {