Lines Matching refs:NAME
32 static StringRef name() { return "NoOpModulePass"; }
40 static StringRef name() { return "NoOpCGSCCPass"; }
46 static StringRef name() { return "NoOpFunctionPass"; }
51 static bool isModulePassName(StringRef Name) {
52 if (Name == "no-op-module") return true;
54 #define MODULE_PASS(NAME, CREATE_PASS) if (Name == NAME) return true;
60 static bool isCGSCCPassName(StringRef Name) {
61 if (Name == "no-op-cgscc") return true;
63 #define CGSCC_PASS(NAME, CREATE_PASS) if (Name == NAME) return true;
69 static bool isFunctionPassName(StringRef Name) {
70 if (Name == "no-op-function") return true;
72 #define FUNCTION_PASS(NAME, CREATE_PASS) if (Name == NAME) return true;
78 static bool parseModulePassName(ModulePassManager &MPM, StringRef Name) {
79 if (Name == "no-op-module") {
84 #define MODULE_PASS(NAME, CREATE_PASS) \
85 if (Name == NAME) { \
94 static bool parseCGSCCPassName(CGSCCPassManager &CGPM, StringRef Name) {
95 if (Name == "no-op-cgscc") {
100 #define CGSCC_PASS(NAME, CREATE_PASS) \
101 if (Name == NAME) { \
110 static bool parseFunctionPassName(FunctionPassManager &FPM, StringRef Name) {
111 if (Name == "no-op-function") {
116 #define FUNCTION_PASS(NAME, CREATE_PASS) \
117 if (Name == NAME) { \
145 // Otherwise try to parse a pass name.
195 // Otherwise try to parse a pass name.
258 // Otherwise try to parse a pass name.
302 // This isn't a direct pass manager name, look for the end of a pass name.