Home
last modified time | relevance | path

Searched refs:DirectiveLoc (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtOpenACC.h36 SourceLocation DirectiveLoc; variable
45 SourceLocation Start, SourceLocation DirectiveLoc, in OpenACCConstructStmt() argument
47 : Stmt(SC), Kind(K), Range(Start, End), DirectiveLoc(DirectiveLoc) {} in OpenACCConstructStmt()
66 SourceLocation getDirectiveLoc() const { return DirectiveLoc; } in getDirectiveLoc()
90 SourceLocation DirectiveLoc, in OpenACCAssociatedStmtConstruct() argument
92 : OpenACCConstructStmt(SC, K, Start, DirectiveLoc, End), in OpenACCAssociatedStmtConstruct()
150 SourceLocation DirectiveLoc, SourceLocation End, in OpenACCComputeConstruct() argument
154 DirectiveLoc, End, StructuredBlock) { in OpenACCComputeConstruct()
176 SourceLocation DirectiveLoc, SourceLocation EndLoc,
259 SourceLocation DirectiveLoc, SourceLocation End, in OpenACCCombinedConstruct() argument
[all …]
H A DDeclOpenACC.h34 SourceLocation DirectiveLoc; variable
45 : Decl(DeclKind, DC, StartLoc), DirKind(K), DirectiveLoc(DirLoc), in OpenACCConstructDecl()
57 SourceLocation getDirectiveLoc() const { return DirectiveLoc; } in getDirectiveLoc()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtOpenACC.cpp120 SourceLocation DirectiveLoc, SourceLocation End, in Create() argument
127 OpenACCDataConstruct(Start, DirectiveLoc, End, Clauses, StructuredBlock); in Create()
142 const ASTContext &C, SourceLocation Start, SourceLocation DirectiveLoc, in Create() argument
148 new (Mem) OpenACCEnterDataConstruct(Start, DirectiveLoc, End, Clauses); in Create()
163 const ASTContext &C, SourceLocation Start, SourceLocation DirectiveLoc, in Create() argument
169 new (Mem) OpenACCExitDataConstruct(Start, DirectiveLoc, End, Clauses); in Create()
184 const ASTContext &C, SourceLocation Start, SourceLocation DirectiveLoc, in Create() argument
190 auto *Inst = new (Mem) OpenACCHostDataConstruct(Start, DirectiveLoc, End, in Create()
207 const ASTContext &C, SourceLocation Start, SourceLocation DirectiveLoc, in Create() argument
219 OpenACCWaitConstruct(Start, DirectiveLoc, LParenLoc, DevNumExpr, in Create()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp283 void checkForBadMacro(SMLoc DirectiveLoc, StringRef Name, StringRef Body,
362 bool parseRegisterOrRegisterNumber(int64_t &Register, SMLoc DirectiveLoc);
558 bool parseDirectiveReloc(SMLoc DirectiveLoc); // ".reloc"
573 bool parseDirectiveFile(SMLoc DirectiveLoc);
576 bool parseDirectiveLocLabel(SMLoc DirectiveLoc);
595 bool parseDirectiveCFIRegister(SMLoc DirectiveLoc);
596 bool parseDirectiveCFIWindowSave(SMLoc DirectiveLoc);
600 bool parseDirectiveCFIDefCfaOffset(SMLoc DirectiveLoc);
601 bool parseDirectiveCFIDefCfa(SMLoc DirectiveLoc);
602 bool parseDirectiveCFIAdjustCfaOffset(SMLoc DirectiveLoc);
[all …]
H A DMasmParser.cpp869 bool parseDirectivePurgeMacro(SMLoc DirectiveLoc);
870 bool parseDirectiveExitMacro(SMLoc DirectiveLoc, StringRef Directive,
889 bool parseDirectiveComment(SMLoc DirectiveLoc); // "comment"
894 bool parseDirectiveIf(SMLoc DirectiveLoc, DirectiveKind DirKind);
896 bool parseDirectiveIfb(SMLoc DirectiveLoc, bool ExpectBlank);
899 bool parseDirectiveIfidn(SMLoc DirectiveLoc, bool ExpectEqual,
902 bool parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined);
904 bool parseDirectiveElseIf(SMLoc DirectiveLoc, DirectiveKind DirKind);
906 bool parseDirectiveElseIfb(SMLoc DirectiveLoc, bool ExpectBlank);
908 bool parseDirectiveElseIfdef(SMLoc DirectiveLoc, bool expect_defined);
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DVerifyDiagnosticConsumer.h46 create(bool RegexKind, SourceLocation DirectiveLoc,
55 SourceLocation DirectiveLoc; variable
75 Directive(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in Directive() argument
78 : DirectiveLoc(DirectiveLoc), DiagnosticLoc(DiagnosticLoc), in Directive()
82 assert(!DirectiveLoc.isInvalid() && "DirectiveLoc is invalid!"); in Directive()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp736 void Sema::ActOnAnnotModuleInclude(SourceLocation DirectiveLoc, Module *Mod) { in ActOnAnnotModuleInclude() argument
737 checkModuleImportContext(*this, Mod, DirectiveLoc, CurContext, true); in ActOnAnnotModuleInclude()
738 BuildModuleInclude(DirectiveLoc, Mod); in ActOnAnnotModuleInclude()
741 void Sema::BuildModuleInclude(SourceLocation DirectiveLoc, Module *Mod) { in BuildModuleInclude() argument
749 getSourceManager().isWrittenInMainFile(DirectiveLoc); in BuildModuleInclude()
756 DirectiveLoc, Mod, in BuildModuleInclude()
757 DirectiveLoc); in BuildModuleInclude()
764 getModuleLoader().makeModuleVisible(Mod, Module::AllVisible, DirectiveLoc); in BuildModuleInclude()
765 VisibleModules.setVisible(Mod, DirectiveLoc); in BuildModuleInclude()
769 getLangOpts().CurrentModule, DirectiveLoc, false, false); in BuildModuleInclude()
[all …]
H A DSemaOpenACCClauseAppertainment.cpp139 OpenACCDirectiveKind DK, SourceLocation DirectiveLoc, in DiagnoseRequiredClauses() argument
154 return Diag(DirectiveLoc, diag::err_acc_construct_one_clause_of) in DiagnoseRequiredClauses()
H A DSemaOpenACC.cpp2053 SourceLocation DirectiveLoc, OpenACCDirectiveKind K, in ActOnAssociatedStmt() argument
2069 return CheckAtomicAssociatedStmt(DirectiveLoc, AtKind, AssocStmt); in ActOnAssociatedStmt()
2095 Diag(DirectiveLoc, diag::note_acc_construct_here) << K; in ActOnAssociatedStmt()
2101 Diag(DirectiveLoc, diag::err_acc_insufficient_loops) in ActOnAssociatedStmt()
2110 Diag(DirectiveLoc, diag::err_acc_insufficient_loops) in ActOnAssociatedStmt()
2131 SemaOpenACC &SemaRef, SourceLocation DirectiveLoc, in CheckValidRoutineGangWorkerVectorSeqClauses() argument
2155 return SemaRef.Diag(DirectiveLoc, diag::err_acc_construct_one_clause_of) in CheckValidRoutineGangWorkerVectorSeqClauses()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp90 StandardDirective(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in StandardDirective() argument
94 : Directive(DirectiveLoc, DiagnosticLoc, Spelling, MatchAnyFileAndLine, in StandardDirective()
108 RegexDirective(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in RegexDirective() argument
112 : Directive(DirectiveLoc, DiagnosticLoc, Spelling, MatchAnyFileAndLine, in RegexDirective()
928 if (D->DirectiveLoc != D->DiagnosticLoc) in PrintExpected()
930 << SourceMgr.getFilename(D->DirectiveLoc) << ':' in PrintExpected()
931 << SourceMgr.getPresumedLineNumber(D->DirectiveLoc) << ')'; in PrintExpected()
944 static bool IsFromSameFile(SourceManager &SM, SourceLocation DirectiveLoc, in IsFromSameFile() argument
949 if (SM.isWrittenInSameFile(DirectiveLoc, DiagnosticLoc)) in IsFromSameFile()
953 if (!DiagFile && SM.isWrittenInMainFile(DirectiveLoc)) in IsFromSameFile()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h35 SMLoc DirectiveLoc) { in HandleDirective() argument
37 return (Obj->*Handler)(Directive, DirectiveLoc); in HandleDirective()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DDependencyDirectivesScanner.cpp545 const char *DirectiveLoc = Input.data() + CurDirToks.front().Offset; in lexModuleDirectiveBody() local
558 DirectiveLoc, in lexModuleDirectiveBody()
569 DirectiveLoc, diag::err_dep_source_scanner_unexpected_tokens_at_import); in lexModuleDirectiveBody()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenACC.h794 StmtResult ActOnAssociatedStmt(SourceLocation DirectiveLoc,
800 StmtResult ActOnAssociatedStmt(SourceLocation DirectiveLoc, in ActOnAssociatedStmt() argument
804 return ActOnAssociatedStmt(DirectiveLoc, K, OpenACCAtomicKind::None, in ActOnAssociatedStmt()
H A DSema.h9872 void ActOnAnnotModuleInclude(SourceLocation DirectiveLoc, Module *Mod);
9873 void BuildModuleInclude(SourceLocation DirectiveLoc, Module *Mod);
9876 void ActOnAnnotModuleBegin(SourceLocation DirectiveLoc, Module *Mod);
9878 void ActOnAnnotModuleEnd(SourceLocation DirectiveLoc, Module *Mod);
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp2350 Record.AddSourceLocation(D->DirectiveLoc); in VisitOpenACCDeclareDecl()
2359 Record.AddSourceLocation(D->DirectiveLoc); in VisitOpenACCRoutineDecl()
H A DASTReaderDecl.cpp3105 D->DirectiveLoc = Record.readSourceLocation(); in VisitOpenACCDeclareDecl()
3112 D->DirectiveLoc = Record.readSourceLocation(); in VisitOpenACCRoutineDecl()
H A DASTWriterStmt.cpp2920 Record.AddSourceLocation(S->DirectiveLoc); in VisitOpenACCConstructStmt()
H A DASTReaderStmt.cpp2843 S->DirectiveLoc = Record.readSourceLocation(); in VisitOpenACCConstructStmt()