Lines Matching refs:PassInfo
34 /// PassInfo class - An instance of this class exists for every pass known by
39 class PassInfo {
50 std::vector<const PassInfo*> ItfImpl;// Interfaces implemented by this pass
55 /// PassInfo ctor - Do not call this directly, this should only be invoked
57 PassInfo(const char *name, const char *arg, const void *pi,
62 /// PassInfo ctor - Do not call this directly, this should only be invoked
65 PassInfo(const char *name, const void *pi)
117 void addInterfaceImplemented(const PassInfo *ItfPI) {
124 const std::vector<const PassInfo*> &getInterfacesImplemented() const {
129 void operator=(const PassInfo &) LLVM_DELETED_FUNCTION;
130 PassInfo(const PassInfo &) LLVM_DELETED_FUNCTION;
155 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
156 PassInfo::NormalCtor_t(callDefaultCtor< passName >), cfg, analysis); \
173 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
174 PassInfo::NormalCtor_t(callDefaultCtor< passName >), cfg, analysis); \
203 struct RegisterPass : public PassInfo {
208 : PassInfo(Name, PassArg, &passName::ID,
209 PassInfo::NormalCtor_t(callDefaultCtor<passName>),
235 class RegisterAGBase : public PassInfo {
245 explicit RegisterAnalysisGroup(PassInfo &RPB)
259 PassInfo *AI = new PassInfo(name, & agName :: ID); \
271 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
272 PassInfo::NormalCtor_t(callDefaultCtor< passName >), cfg, analysis); \
275 PassInfo *AI = new PassInfo(name, & agName :: ID); \
290 PassInfo *PI = new PassInfo(n, arg, & passName ::ID, \
291 PassInfo::NormalCtor_t(callDefaultCtor< passName >), cfg, analysis); \
294 PassInfo *AI = new PassInfo(n, & agName :: ID); \
325 virtual void passRegistered(const PassInfo *) {}
328 /// passEnumerate callback on each PassInfo object.
335 virtual void passEnumerate(const PassInfo *) {}