| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | DependencyDirectivesScanner.h | 60 enum DirectiveKind : uint8_t { enum 100 DirectiveKind Kind = pp_none; 103 Directive(DirectiveKind K, ArrayRef<Token> Tokens) in Directive()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | DependencyDirectivesScanner.cpp | 36 DirectiveKind Kind; 39 DirectiveWithTokens(DirectiveKind Kind, unsigned NumTokens) in DirectiveWithTokens() 147 [[nodiscard]] bool lexDefault(DirectiveKind Kind, const char *&First, 149 [[nodiscard]] bool lexModuleDirectiveBody(DirectiveKind Kind, 154 DirectiveWithTokens &pushDirective(DirectiveKind Kind) { in pushDirective() 163 DirectiveKind topDirective() const { in topDirective() 543 bool Scanner::lexModuleDirectiveBody(DirectiveKind Kind, const char *&First, in lexModuleDirectiveBody() 750 DirectiveKind Kind; in lexModule() 783 DirectiveKind K = PragmaScanner.topDirective(); in lex_Pragma() 800 auto Kind = llvm::StringSwitch<DirectiveKind>(Id) in lexPragma() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenACC.cpp | 324 SemaRef.CollapseInfo.DirectiveKind = DirKind; in SetCollapseInfoBeforeAssociatedStmt() 357 SemaRef.TileInfo.DirectiveKind = DirKind; in SetTileInfoBeforeAssociatedStmt() 404 OpenACCDirectiveKind DirectiveKind; in ActOnIntExpr() member in SemaOpenACC::ActOnIntExpr::IntExprConverter 413 if (DirectiveKind != OpenACCDirectiveKind::Invalid) in ActOnIntExpr() 424 DirectiveKind(DK), ClauseKind(CK), IntExpr(IntExpr) {} in ActOnIntExpr() 434 << getDiagKind() << ClauseKind << DirectiveKind << T; in ActOnIntExpr() 942 << /*while loop*/ 1 << CollapseInfo.DirectiveKind in ActOnWhileStmt() 956 << /*while loop*/ 1 << TileInfo.DirectiveKind in ActOnWhileStmt() 977 << /*do loop*/ 2 << CollapseInfo.DirectiveKind in ActOnDoStmt() 991 << /*do loop*/ 2 << TileInfo.DirectiveKind << OpenACCClauseKind::Tile; in ActOnDoStmt() [all …]
|
| H A D | SemaOpenACCClause.cpp | 1903 ExprResult SemaOpenACC::CheckReductionVar(OpenACCDirectiveKind DirectiveKind, in CheckReductionVar() argument 2133 OpenACCDirectiveKind DirectiveKind, SourceLocation BeginLoc, in CheckReductionClause() argument 2136 if (DirectiveKind == OpenACCDirectiveKind::Loop || in CheckReductionClause() 2137 isOpenACCCombinedDirectiveKind(DirectiveKind)) { in CheckReductionClause() 2154 << /*reduction/gang=*/1 << DirectiveKind; in CheckReductionClause()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexingAction.cpp | 210 MacroDirective::Kind DirectiveKind, in indexPreprocessorMacro() argument 221 if (DirectiveKind == MacroDirective::MD_Visibility) in indexPreprocessorMacro() 224 auto Role = DirectiveKind == MacroDirective::MD_Define in indexPreprocessorMacro()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaOpenACC.h | 97 OpenACCDirectiveKind DirectiveKind = OpenACCDirectiveKind::Invalid; member 117 OpenACCDirectiveKind DirectiveKind = OpenACCDirectiveKind::Invalid; member 908 ExprResult CheckReductionVar(OpenACCDirectiveKind DirectiveKind, 947 OpenACCDirectiveKind DirectiveKind,
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 548 static bool isTopLevelObjCKeyword(tok::ObjCKeywordKind DirectiveKind) { in isTopLevelObjCKeyword() argument 549 switch (DirectiveKind) { in isTopLevelObjCKeyword() 651 tok::ObjCKeywordKind DirectiveKind = NextTok.getObjCKeywordID(); in ParseObjCInterfaceDeclList() local 652 if (DirectiveKind == tok::objc_end) { // @end -> terminate list in ParseObjCInterfaceDeclList() 657 } else if (DirectiveKind == tok::objc_not_keyword) { in ParseObjCInterfaceDeclList() 665 if (isTopLevelObjCKeyword(DirectiveKind)) in ParseObjCInterfaceDeclList() 672 switch (DirectiveKind) { in ParseObjCInterfaceDeclList() 689 MethodImplKind = DirectiveKind; in ParseObjCInterfaceDeclList()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | MasmParser.cpp | 638 enum DirectiveKind { enum in __anon60b61cd60111::MasmParser 730 StringMap<DirectiveKind> DirectiveKindMap; 860 DirectiveKind DirKind, SMLoc NameLoc); 875 bool parseDirectiveStruct(StringRef Directive, DirectiveKind DirKind, 877 bool parseDirectiveNestedStruct(StringRef Directive, DirectiveKind DirKind); 894 bool parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind); 904 bool parseDirectiveElseIf(SMLoc DirectiveLoc, DirectiveKind DirKind); 1866 StringMap<DirectiveKind>::const_iterator DirKindIt = in parseStatement() 1868 DirectiveKind DirKind = (DirKindIt == DirectiveKindMap.end()) in parseStatement() 2921 DirectiveKind DirKind, SMLoc NameLoc) { in parseDirectiveEquate() [all …]
|
| H A D | AsmParser.cpp | 368 enum DirectiveKind { enum in __anon4b9616090111::AsmParser 541 StringMap<DirectiveKind> DirectiveKindMap; 657 bool parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind); 1778 StringMap<DirectiveKind>::const_iterator DirKindIt = in parseStatement() 1780 DirectiveKind DirKind = (DirKindIt == DirectiveKindMap.end()) in parseStatement() 5112 bool AsmParser::parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind) { in parseDirectiveIf()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 619 OpenMPDirectiveKind DirectiveKind = D.getDirectiveKind(); in supportsSPMDExecutionMode() local 620 switch (DirectiveKind) { in supportsSPMDExecutionMode()
|
| H A D | CGOpenMPRuntime.cpp | 6275 OpenMPDirectiveKind DirectiveKind = D.getDirectiveKind(); in getNumTeamsExprForTargetDirective() local 6276 assert(isOpenMPTargetExecutionDirective(DirectiveKind) && in getNumTeamsExprForTargetDirective() 6278 switch (DirectiveKind) { in getNumTeamsExprForTargetDirective() 6409 OpenMPDirectiveKind DirectiveKind = D.getDirectiveKind(); in emitNumTeamsForTargetDirective() local 6411 switch (DirectiveKind) { in emitNumTeamsForTargetDirective() 6542 OpenMPDirectiveKind DirectiveKind = D.getDirectiveKind(); in getNumThreadsExprForTargetDirective() local 6543 assert(isOpenMPTargetExecutionDirective(DirectiveKind) && in getNumThreadsExprForTargetDirective() 6569 switch (DirectiveKind) { in getNumThreadsExprForTargetDirective()
|