Go to the source code of this file.
◆ CGBINDOPT
#define CGBINDOPT |
( |
|
NAME | ) |
|
Value: do { \
NAME##View = std::addressof(NAME); \
} while (0)
◆ CGLIST
#define CGLIST |
( |
|
TY, |
|
|
|
NAME |
|
) |
| |
Value:
std::vector<TY> codegen::get##NAME() { \
assert(NAME##View && "RegisterCodeGenFlags not created."); \
return *NAME##View; \
}
Definition at line 39 of file CommandFlags.cpp.
◆ CGOPT
#define CGOPT |
( |
|
TY, |
|
|
|
NAME |
|
) |
| |
Value:
TY codegen::get##NAME() { \
assert(NAME##View && "RegisterCodeGenFlags not created."); \
return *NAME##View; \
}
Definition at line 32 of file CommandFlags.cpp.
◆ CGOPT_EXP
#define CGOPT_EXP |
( |
|
TY, |
|
|
|
NAME |
|
) |
| |
Value:
std::optional<TY> codegen::getExplicit##NAME() { \
if (NAME##View->getNumOccurrences()) { \
TY res = *NAME##View; \
return res; \
} \
return std::nullopt; \
}
Definition at line 47 of file CommandFlags.cpp.
◆ HANDLE_BOOL_ATTR
#define HANDLE_BOOL_ATTR |
( |
|
CL, |
|
|
|
AttrName |
|
) |
| |
Value: do { \
if (CL->getNumOccurrences() > 0 && !
F.hasFnAttribute(AttrName)) \
renderBoolStringAttr(NewAttrs, AttrName, *CL); \
} while (0)
Definition at line 656 of file CommandFlags.cpp.