Home
last modified time | relevance | path

Searched refs:passName (Results 1 – 4 of 4) sorted by relevance

/external/llvm/include/llvm/
DPassSupport.h36 #define INITIALIZE_PASS(passName, arg, name, cfg, analysis) \ argument
37 static void *initialize##passName##PassOnce(PassRegistry &Registry) { \
39 name, arg, &passName::ID, \
40 PassInfo::NormalCtor_t(callDefaultCtor<passName>), cfg, analysis); \
44 LLVM_DEFINE_ONCE_FLAG(Initialize##passName##PassFlag); \
45 void llvm::initialize##passName##Pass(PassRegistry &Registry) { \
46 llvm::call_once(Initialize##passName##PassFlag, \
47 initialize##passName##PassOnce, std::ref(Registry)); \
50 #define INITIALIZE_PASS_BEGIN(passName, arg, name, cfg, analysis) \ argument
51 static void *initialize##passName##PassOnce(PassRegistry &Registry) {
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DPassSupport.h148 #define INITIALIZE_PASS(passName, arg, name, cfg, analysis) \ argument
149 static void* initialize##passName##PassOnce(PassRegistry &Registry) { \
150 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
151 PassInfo::NormalCtor_t(callDefaultCtor< passName >), cfg, analysis); \
155 void llvm::initialize##passName##Pass(PassRegistry &Registry) { \
156 CALL_ONCE_INITIALIZATION(initialize##passName##PassOnce) \
159 #define INITIALIZE_PASS_BEGIN(passName, arg, name, cfg, analysis) \ argument
160 static void* initialize##passName##PassOnce(PassRegistry &Registry) {
167 #define INITIALIZE_PASS_END(passName, arg, name, cfg, analysis) \ argument
168 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
[all …]
DDefaultPasses.h133 template<typename passName>
139 RegisterDefaultPass(PassInfo::NormalCtor_t(callDefaultCtor<passName>),
140 ID ? ID : (unsigned char*)&passName::ID, runBefore, set, flags);
/external/llvm/include/llvm/CodeGen/
DPasses.h388 #define INITIALIZE_TM_PASS_END(passName, arg, name, cfg, analysis) \ argument
390 name, arg, &passName::ID, \
391 PassInfo::NormalCtor_t(callDefaultCtor<passName>), cfg, analysis, \
392 PassInfo::TargetMachineCtor_t(callTargetMachineCtor<passName>)); \
396 LLVM_DEFINE_ONCE_FLAG(Initialize##passName##PassFlag); \
397 void llvm::initialize##passName##Pass(PassRegistry &Registry) { \
398 llvm::call_once(Initialize##passName##PassFlag, \
399 initialize##passName##PassOnce, std::ref(Registry)); \
407 #define INITIALIZE_TM_PASS(passName, arg, name, cfg, analysis) \ argument
408 INITIALIZE_TM_PASS_BEGIN(passName, arg, name, cfg, analysis) \
[all …]