Home
last modified time | relevance | path

Searched refs:CLASS (Results 1 – 25 of 105) sorted by relevance

12345

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperandTraits.h125 #define DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CLASS, VALUECLASS) \ argument
126 CLASS::op_iterator CLASS::op_begin() { \
127 return OperandTraits<CLASS>::op_begin(this); \
129 CLASS::const_op_iterator CLASS::op_begin() const { \
130 return OperandTraits<CLASS>::op_begin(const_cast<CLASS*>(this)); \
132 CLASS::op_iterator CLASS
[all...]
H A DMetadata.def24 #define HANDLE_METADATA(CLASS)
29 #define HANDLE_METADATA_LEAF(CLASS) HANDLE_METADATA(CLASS)
34 #define HANDLE_METADATA_BRANCH(CLASS) HANDLE_METADATA(CLASS)
42 #define HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(CLASS) \
43 HANDLE_MDNODE_LEAF_UNIQUABLE(CLASS)
45 #define HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(CLASS) \
46 HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS)
52 #define HANDLE_MDNODE_LEAF_UNIQUABLE(CLASS) HANDLE_MDNODE_LEA
[all...]
H A DInstVisitor.h24 #define HANDLE_INST(NUM, OPCODE, CLASS) class CLASS; argument
122 #define HANDLE_INST(NUM, OPCODE, CLASS) \ in visit() argument
125 visit##OPCODE(static_cast<CLASS&>(I)); in visit()
154 #define HANDLE_INST(NUM, OPCODE, CLASS) \ argument
155 RetTy visit##OPCODE(CLASS &I) { \
159 DELEGATE(CLASS); \
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/Serialization/
H A DAPISetVisitor.h92 #define GENERATE_TRAVERSE_METHOD(CLASS, BASE) \ argument
93 bool traverse##CLASS(const CLASS *Record) { \
94 TRY_TO(walkUpFrom##CLASS(Record)); \
99 #define GENERATE_WALKUP_AND_VISIT_METHODS(CLASS, BASE) \ argument
100 bool walkUpFrom##CLASS(const CLASS *Record) { \
102 TRY_TO(visit##CLASS(Record)); \
105 bool visit##CLASS(const CLASS *Record) { return true; }
107 #define CONCRETE_RECORD(CLASS, BASE, KIND) \ argument
108 GENERATE_TRAVERSE_METHOD(CLASS, BASE) \
109 GENERATE_WALKUP_AND_VISIT_METHODS(CLASS, BASE)
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeLocVisitor.h29 #define ABSTRACT_TYPELOC(CLASS, PARENT) in Visit() argument
30 #define TYPELOC(CLASS, PARENT) \ in Visit() argument
31 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); in Visit()
39 #define ABSTRACT_TYPELOC(CLASS, PARENT) in Visit() argument
40 #define TYPELOC(CLASS, PARENT) \ in Visit() argument
41 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); in Visit()
47 #define TYPELOC(CLASS, PARENT) \ argument
48 RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
H A DTypeVisitor.h20 #define DISPATCH(CLASS) \ argument
22 Visit##CLASS(static_cast<const CLASS*>(T))
71 #define ABSTRACT_TYPE(CLASS, PARENT) in Visit() argument
72 #define TYPE(CLASS, PARENT) case Type::CLASS: DISPATCH(CLASS##Type); in Visit() argument
80 #define TYPE(CLASS, PARENT) RetTy Visit##CLASS##Type(const CLASS##Type *T) { \ argument
H A DStmtVisitor.h39 #define PTR(CLASS) typename Ptr<CLASS>::type argument
40 #define DISPATCH(NAME, CLASS) \ argument
42 static_cast<PTR(CLASS)>(S), std::forward<ParamTys>(P)...)
109 #define STMT(CLASS, PARENT) \ in Visit() argument
110 case Stmt::CLASS ## Class: DISPATCH(CLASS, CLASS); in Visit()
117 #define STMT(CLASS, PARENT) \ argument
118 RetTy Visit ## CLASS(PTR(CLASS) S, ParamTys... P) { DISPATCH(PARENT, PARENT); }
H A DDeclVisitor.h33 #define PTR(CLASS) typename Ptr<CLASS>::type argument
34 #define DISPATCH(NAME, CLASS) \ argument
35 return static_cast<ImplClass*>(this)->Visit##NAME(static_cast<PTR(CLASS)>(D))
H A DRecursiveASTVisitor.h344 #define TRAVERSE_STMT_BASE(NAME, CLASS, VAR, QUEUE) \
353 .Traverse##NAME(static_cast<CLASS *>(VAR), QUEUE) \
354 : getDerived().Traverse##NAME(static_cast<CLASS *>(VAR)))
368 #define STMT(CLASS, PARENT) \
369 bool Traverse##CLASS(CLASS *S, DataRecursionQueue *Queue = nullptr);
376 #define STMT(CLASS, PARENT) \
377 bool WalkUpFrom##CLASS(CLASS *S) { \
379 TRY_TO(Visit##CLASS(S)); \
382 bool Visit##CLASS(CLASS *S) { return true; }
389 #define ABSTRACT_TYPE(CLASS, BASE)
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTypeLoc.cpp44 #define ABSTRACT_TYPELOC(CLASS, PARENT) argument
45 #define TYPELOC(CLASS, PARENT) \ argument
46 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
63 #define ABSTRACT_TYPELOC(CLASS, PARENT) argument
64 #define TYPELOC(CLASS, PARENT) \ argument
65 unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
83 #define ABSTRACT_TYPELOC(CLASS, PARENT) argument
84 #define TYPELOC(CLASS, PARENT) \ argument
85 unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
113 #define ABSTRACT_TYPELOC(CLASS, PARENT) argument
[all …]
H A DASTTypeTraits.cpp35 #define TYPELOC(CLASS, PARENT) {NKI_##PARENT, #CLASS "TypeLoc"}, argument
133 #define STMT(CLASS, PARENT) \ in getFromNode() argument
134 case Stmt::CLASS##Class: return ASTNodeKind(NKI_##CLASS); in getFromNode()
153 #define ABSTRACT_TYPELOC(CLASS, PARENT) in getFromNode() argument
154 #define TYPELOC(CLASS, PARENT) \ in getFromNode() argument
155 case TypeLoc::CLASS: \ in getFromNode()
156 return ASTNodeKind(NKI_##CLASS##TypeLoc); in getFromNode()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DTypeLocBuilder.cpp32 #define ABSTRACT_TYPELOC(CLASS, PARENT) in pushFullCopy() argument
33 #define TYPELOC(CLASS, PARENT) \ in pushFullCopy() argument
34 case TypeLoc::CLASS: { \ in pushFullCopy()
35 CLASS##TypeLoc NewTL = push<class CLASS##TypeLoc>(CurTL.getType()); \ in pushFullCopy()
55 #define ABSTRACT_TYPELOC(CLASS, PARENT) in pushTrivial() argument
56 #define TYPELOC(CLASS, PARENT) \ in pushTrivial() argument
57 case TypeLoc::CLASS: { \ in pushTrivial()
58 auto NewTL = push<class CLASS##TypeLoc>(CurTL.getType()); \ in pushTrivial()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_solaris.h480 #define CHECK_SIZE_AND_OFFSET(CLASS, MEMBER) \ argument
481 COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *) NULL)->MEMBER) == \
482 sizeof(((CLASS *) NULL)->MEMBER)); \
483 COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) == \
484 offsetof(CLASS, MEMBER))
488 #define CHECK_STRUCT_SIZE_AND_OFFSET(CLASS, MEMBER) \ argument
489 COMPILER_CHECK(sizeof(((struct __sanitizer_##CLASS *) NULL)->MEMBER) == \
490 sizeof(((struct CLASS *) NULL)->MEMBER)); \
491 COMPILER_CHECK(offsetof(struct __sanitizer_##CLASS, MEMBER) == \
492 offsetof(struct CLASS, MEMBER))
H A Dsanitizer_platform_limits_freebsd.h754 # define CHECK_SIZE_AND_OFFSET(CLASS, MEMBER) \ argument
755 COMPILER_CHECK(sizeof(((__sanitizer_##CLASS *)NULL)->MEMBER) == \
756 sizeof(((CLASS *)NULL)->MEMBER)); \
757 COMPILER_CHECK(offsetof(__sanitizer_##CLASS, MEMBER) == \
758 offsetof(CLASS, MEMBER))
762 # define CHECK_STRUCT_SIZE_AND_OFFSET(CLASS, MEMBER) \ argument
763 COMPILER_CHECK(sizeof(((struct __sanitizer_##CLASS *)NULL)->MEMBER) == \
764 sizeof(((struct CLASS *)NULL)->MEMBER)); \
765 COMPILER_CHECK(offsetof(struct __sanitizer_##CLASS, MEMBER) == \
766 offsetof(struct CLASS, MEMBER))
/freebsd/contrib/llvm-project/llvm/include/llvm/Passes/
H A DTargetPassRegistry.inc32 #define ADD_CLASS_PASS_TO_PASS_NAME_WITH_PARAMS(NAME, CLASS) \
33 PIC->addClassToPassName(CLASS, NAME);
39 #define MODULE_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS) \
40 ADD_CLASS_PASS_TO_PASS_NAME_WITH_PARAMS(NAME, CLASS)
47 #define FUNCTION_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS) \
48 ADD_CLASS_PASS_TO_PASS_NAME_WITH_PARAMS(NAME, CLASS)
57 #define MACHINE_FUNCTION_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, \
59 ADD_CLASS_PASS_TO_PASS_NAME_WITH_PARAMS(NAME, CLASS)
105 #define MODULE_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS) \
122 #define FUNCTION_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS) \
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttrKinds.h24 #define ATTR_RANGE(CLASS, FIRST_NAME, LAST_NAME) \ argument
25 First##CLASS = FIRST_NAME, \
26 Last##CLASS = LAST_NAME,
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DBuiltinCheckerRegistration.h25 #define CHECKER(FULLNAME, CLASS, HELPTEXT, DOC_URI, IS_HIDDEN) \ argument
26 void register##CLASS(CheckerManager &mgr); \
27 bool shouldRegister##CLASS(const CheckerManager &mgr);
/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DAPIRecords.inc15 #define ABSTRACT_RECORD(CLASS, BASE) RECORD(CLASS, BASE)
18 #define CONCRETE_RECORD(CLASS, BASE, KIND) RECORD(CLASS, BASE)
21 #define RECORD(CLASS, BASE)
87 #define RECORD_CONTEXT(CLASS, KIND)
/freebsd/tests/sys/net/
H A Dif_clone_test.sh544 local CLASS DEV N
546 CLASS=$1
548 while ! ifconfig ${CLASS}${N} create > /dev/null 2>&1; do
550 atf_skip "Could not create a ${CLASS} interface"
555 if [ ${CLASS} = "epair" ]; then
556 DEV=${CLASS}${N}a
558 DEV=${CLASS}${N}
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DAPI.cpp30 #define RECORD_CONTEXT(CLASS, KIND) \ in castFromRecordContext() argument
32 return static_cast<CLASS *>(const_cast<RecordContext *>(Ctx)); in castFromRecordContext()
45 #define RECORD_CONTEXT(CLASS, KIND) \ in castToRecordContext() argument
47 return static_cast<CLASS *>(const_cast<APIRecord *>(Record)); in castToRecordContext()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstCount.cpp29 #define HANDLE_INST(N, OPCODE, CLASS) \
41 #define HANDLE_INST(N, OPCODE, CLASS) \ in visitBasicBlock()
42 void visit##OPCODE(CLASS &) { \
31 HANDLE_INST(N,OPCODE,CLASS) global() argument
43 HANDLE_INST(N,OPCODE,CLASS) global() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DSandboxIRValues.def11 #define DEF_VALUE(ID, CLASS)
17 #define DEF_USER(ID, CLASS)
24 #define DEF_INSTR(ID, OPCODE, CLASS)
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp402 #define HANDLE_METADATA_LEAF(CLASS) \ in replaceAllUsesWith() argument
403 case Metadata::CLASS##Kind: \ in replaceAllUsesWith()
404 cast<CLASS>(OwnerMD)->handleChangedOperand(Pair.first, MD); \ in replaceAllUsesWith()
621 #define HANDLE_MDNODE_LEAF(CLASS) \ argument
623 alignof(uint64_t) >= alignof(CLASS), \
624 "Alignment is insufficient after objects prepended to " #CLASS);
665 #define HANDLE_MDNODE_LEAF(CLASS) \ in clone() argument
666 case CLASS##Kind: \ in clone()
667 return cast<CLASS>(this)->cloneImpl(); in clone()
865 #define HANDLE_MDNODE_LEAF_UNIQUABLE(CLASS) \ in replaceWithPermanentImpl() argument
[all …]
H A DLLVMContextImpl.cpp73 #define HANDLE_MDNODE_LEAF_UNIQUABLE(CLASS) \ in ~LLVMContextImpl() argument
74 for (auto *I : CLASS##s) \ in ~LLVMContextImpl()
97 #define HANDLE_MDNODE_LEAF_UNIQUABLE(CLASS) \ in ~LLVMContextImpl() argument
98 for (CLASS * I : CLASS##s) \ in ~LLVMContextImpl()
/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilder.cpp438 #define MODULE_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS) \ in PassBuilder() argument
439 PIC->addClassToPassName(CLASS, NAME); in PassBuilder()
444 #define FUNCTION_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS) \ in PassBuilder() argument
445 PIC->addClassToPassName(CLASS, NAME); in PassBuilder()
452 #define LOOP_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS) \ in PassBuilder() argument
453 PIC->addClassToPassName(CLASS, NAME); in PassBuilder()
458 #define CGSCC_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS) \ in PassBuilder() argument
459 PIC->addClassToPassName(CLASS, NAME); in PassBuilder()
1259 #define MODULE_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS) \ in isModulePassName() argument
1286 #define CGSCC_PASS_WITH_PARAMS(NAME, CLASS, CREATE_PASS, PARSER, PARAMS) \ in isCGSCCPassName() argument
[all …]

12345