/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMP.cpp | 28 static iterator_range<ArrayRef<Directive>::iterator> 29 getFirstCompositeRange(iterator_range<ArrayRef<Directive>::iterator> Leafs) { in getFirstCompositeRange() 50 [](iterator_range<ArrayRef<Directive>::iterator> List) { in getFirstCompositeRange() 77 ArrayRef<Directive> getLeafConstructs(Directive D) { in getLeafConstructs() 85 ArrayRef<Directive> getLeafConstructsOrSelf(Directive D) { in getLeafConstructsOrSelf() 95 ArrayRef<Directive> 96 getLeafOrCompositeConstructs(Directive D, SmallVectorImpl<Directive> &Output) { in getLeafOrCompositeConstructs() 97 using ArrayTy = ArrayRef<Directive>; in getLeafOrCompositeConstructs() 99 ArrayRef<Directive> Leafs = getLeafConstructsOrSelf(D); in getLeafOrCompositeConstructs() 108 Directive Comp = in getLeafOrCompositeConstructs() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
H A D | OMP.h | 22 ArrayRef<Directive> getLeafConstructs(Directive D); 23 ArrayRef<Directive> getLeafConstructsOrSelf(Directive D); 25 ArrayRef<Directive> 26 getLeafOrCompositeConstructs(Directive D, SmallVectorImpl<Directive> &Output); 28 Directive getCompoundConstruct(ArrayRef<Directive> Parts); 30 bool isLeafConstruct(Directive D); 31 bool isCompositeConstruct(Directive D); 32 bool isCombinedConstruct(Directive D);
|
H A D | OMP.td | 13 include "llvm/Frontend/Directive/DirectiveBase.td" 490 def OMP_Allocate : Directive<"allocate"> { 498 def OMP_Allocators : Directive<"allocators"> { 505 def OMP_Assumes : Directive<"assumes"> { 509 def OMP_EndAssumes : Directive<"end assumes"> { 513 def OMP_Atomic : Directive<"atomic"> { 534 def OMP_Barrier : Directive<"barrier"> { 538 def OMP_BeginAssumes : Directive<"begin assumes"> { 542 def OMP_BeginDeclareTarget : Directive<"begin declare target"> { 552 def OMP_BeginDeclareVariant : Directive<"begin declare variant"> { [all …]
|
H A D | ConstructDecompositionT.h | 38 static inline llvm::ArrayRef<llvm::omp::Directive> getWorksharing() { in getWorksharing() 39 static llvm::omp::Directive worksharing[] = { in getWorksharing() 40 llvm::omp::Directive::OMPD_do, llvm::omp::Directive::OMPD_for, in getWorksharing() 41 llvm::omp::Directive::OMPD_scope, llvm::omp::Directive::OMPD_sections, in getWorksharing() 42 llvm::omp::Directive::OMPD_single, llvm::omp::Directive::OMPD_workshare, in getWorksharing() 47 static inline llvm::ArrayRef<llvm::omp::Directive> getWorksharingLoop() { in getWorksharingLoop() 48 static llvm::omp::Directive worksharingLoop[] = { in getWorksharingLoop() 49 llvm::omp::Directive::OMPD_do, in getWorksharingLoop() 50 llvm::omp::Directive::OMPD_for, in getWorksharingLoop() 95 llvm::omp::Directive dir, in ConstructDecompositionT() [all …]
|
/freebsd/sys/contrib/dev/acpica/compiler/ |
H A D | prscan.c | 187 char *Directive); 191 int Directive, 565 int Directive; in PrDoDirective() local 574 Directive = PrMatchDirective (DirectiveToken); in PrDoDirective() 575 if (Directive == ASL_DIRECTIVE_NOT_FOUND) in PrDoDirective() 594 AslGbl_DirectiveInfo[Directive].Name); in PrDoDirective() 603 switch (Directive) in PrDoDirective() 611 PrDbgPrint ("Ignoring", AslGbl_DirectiveInfo[Directive].Name); in PrDoDirective() 626 switch (Directive) in PrDoDirective() 637 Directive = PR_DIRECTIVE_IF; in PrDoDirective() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenACC/ |
H A D | ACC.td | 13 include "llvm/Frontend/Directive/DirectiveBase.td" 269 def ACC_Atomic : Directive<"atomic"> { 275 def ACC_Data : Directive<"data"> { 301 def ACC_Declare : Directive<"declare"> { 317 def ACC_Kernels : Directive<"kernels"> { 344 def ACC_Parallel : Directive<"parallel"> { 374 def ACC_Serial : Directive<"serial"> { 403 def ACC_Loop : Directive<"loop"> { 424 def ACC_Cache : Directive<"cache"> { 430 def ACC_Init : Directive<"init"> { [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | DependencyDirectivesScanner.h | 95 struct Directive { struct 101 Directive() = default; argument 102 Directive(DirectiveKind K, ArrayRef<Token> Tokens) in Directive() function 119 SmallVectorImpl<dependency_directives_scan::Directive> &Directives, 135 ArrayRef<dependency_directives_scan::Directive> Directives,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCHazardRecognizers.cpp | 160 unsigned Directive = in PreEmitNoops() local 164 if (Directive == PPC::DIR_PWR6 || Directive == PPC::DIR_PWR7 || in PreEmitNoops() 165 Directive == PPC::DIR_PWR8 || Directive == PPC::DIR_PWR9) in PreEmitNoops() 220 unsigned Directive = in EmitNoop() local 225 if (Directive == PPC::DIR_PWR6 || Directive == PPC::DIR_PWR7 || in EmitNoop() 226 Directive == PPC::DIR_PWR8 || Directive == PPC::DIR_PWR9 || in EmitNoop()
|
H A D | PPCTargetTransformInfo.cpp | 503 unsigned Directive = ST->getCPUDirective(); in getCacheLineSize() local 505 if (Directive == PPC::DIR_PWR7 || Directive == PPC::DIR_PWR8 || in getCacheLineSize() 506 Directive == PPC::DIR_PWR9 || Directive == PPC::DIR_PWR10 || in getCacheLineSize() 507 Directive == PPC::DIR_PWR11 || Directive == PPC::DIR_PWR_FUTURE) in getCacheLineSize() 519 unsigned Directive = ST->getCPUDirective(); in getMaxInterleaveFactor() local 522 if (Directive == PPC::DIR_440) in getMaxInterleaveFactor() 527 if (Directive == PPC::DIR_A2) in getMaxInterleaveFactor() 531 if (Directive == PPC::DIR_E500mc || Directive == PPC::DIR_E5500) in getMaxInterleaveFactor() 539 if (Directive == PPC::DIR_PWR7 || Directive == PPC::DIR_PWR8 || in getMaxInterleaveFactor() 540 Directive == PPC::DIR_PWR9 || Directive == PPC::DIR_PWR10 || in getMaxInterleaveFactor() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | COFFMasmParser.cpp | 32 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() argument 35 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler() 236 bool COFFMasmParser::ParseDirectiveSegment(StringRef Directive, SMLoc Loc) { in ParseDirectiveSegment() argument 372 bool COFFMasmParser::ParseDirectiveSegmentEnd(StringRef Directive, SMLoc Loc) { in ParseDirectiveSegmentEnd() argument 385 bool COFFMasmParser::ParseDirectiveIncludelib(StringRef Directive, SMLoc Loc) { in ParseDirectiveIncludelib() argument 403 bool COFFMasmParser::ParseDirectiveOption(StringRef Directive, SMLoc Loc) { in ParseDirectiveOption() argument 443 bool COFFMasmParser::ParseDirectiveProc(StringRef Directive, SMLoc Loc) { in ParseDirectiveProc() argument 479 bool COFFMasmParser::ParseDirectiveEndProc(StringRef Directive, SMLoc Loc) { in ParseDirectiveEndProc() argument 499 bool COFFMasmParser::ParseDirectiveAlias(StringRef Directive, SMLoc Loc) { in ParseDirectiveAlias() argument 505 return addErrorSuffix(" in " + Directive + " directive"); in ParseDirectiveAlias() [all …]
|
H A D | DarwinAsmParser.cpp | 44 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() argument 47 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler() 446 bool parseWatchOSVersionMin(StringRef Directive, SMLoc Loc) { in parseWatchOSVersionMin() argument 447 return parseVersionMin(Directive, Loc, MCVM_WatchOSVersionMin); in parseWatchOSVersionMin() 449 bool parseTvOSVersionMin(StringRef Directive, SMLoc Loc) { in parseTvOSVersionMin() argument 450 return parseVersionMin(Directive, Loc, MCVM_TvOSVersionMin); in parseTvOSVersionMin() 452 bool parseIOSVersionMin(StringRef Directive, SMLoc Loc) { in parseIOSVersionMin() argument 453 return parseVersionMin(Directive, Loc, MCVM_IOSVersionMin); in parseIOSVersionMin() 455 bool parseMacOSXVersionMin(StringRef Directive, SMLoc Loc) { in parseMacOSXVersionMin() argument 456 return parseVersionMin(Directive, Loc, MCVM_OSXVersionMin); in parseMacOSXVersionMin() [all …]
|
H A D | GOFFAsmParser.cpp | 17 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() argument 21 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
|
H A D | XCOFFAsmParser.cpp | 23 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() argument 27 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
|
H A D | WasmAsmParser.cpp | 41 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() argument 45 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler() 286 bool ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc) { in ParseDirectiveSymbolAttribute() argument 287 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive) in ParseDirectiveSymbolAttribute()
|
H A D | COFFAsmParser.cpp | 33 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() argument 36 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler() 142 bool ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc); 272 bool COFFAsmParser::ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc) { in ParseDirectiveSymbolAttribute() argument 273 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive) in ParseDirectiveSymbolAttribute()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/ |
H A D | NVPTXTargetStreamer.cpp | 41 void NVPTXTargetStreamer::emitDwarfFileDirective(StringRef Directive) { in emitDwarfFileDirective() argument 42 DwarfFiles.emplace_back(Directive); in emitDwarfFileDirective() 113 const char *Directive = MAI->getData8bitsDirective(); in emitRawBytes() 123 const char *Label = Directive; in emitRawBytes() 130 if (Label == Directive) in emitRawBytes()
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Inclusions/ |
H A D | HeaderIncludes.h | 78 IncludeDirective Directive) const; 92 : Name(Name), R(R), Directive(D) {} in Include() 100 IncludeDirective Directive; member
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | DirectiveEmitter.cpp | 128 const Directive &Directive, in HasDuplicateClauses() argument 136 " already defined on directive " + Directive.getRecordName()); in HasDuplicateClauses() 150 Directive Dir{D}; in HasDuplicateClausesInDirectives() 188 size_t Count = Directive{R}.getLeafConstructs().size(); in GetMaxLeafCount() 423 Directive Dir{Rec}; in GetDirectiveName() 449 Directive Dir{D}; in GenerateIsAllowedClause() 521 Directive Dir{Rec}; in EmitLeafTable() 549 if (Directive{Rec}.getName().starts_with_insensitive("end ")) in EmitLeafTable() 656 auto errorPrefixFor = [&](Directive D) -> std::string { in GenerateGetDirectiveAssociation() 685 Directive D{R}; in GenerateGetDirectiveAssociation() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | VerifyDiagnosticConsumer.cpp | 49 using Directive = VerifyDiagnosticConsumer::Directive; typedef 89 class StandardDirective : public Directive { 94 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyFileAndLine, in StandardDirective() 106 class RegexDirective : public Directive { 111 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyFileAndLine, in RegexDirective() 301 std::unique_ptr<Directive> D = Directive::create( in attachDirective() 591 D.Max = Directive::MaxCount; in ParseDirective() 606 D.Max = Directive::MaxCount; in ParseDirective() 901 std::vector<Directive *> &DL, const char *Kind) { in PrintExpected() 954 std::vector<Directive *> LeftOnly; in CheckLists() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | DependencyDirectivesScanner.cpp | 84 bool scan(SmallVectorImpl<Directive> &Directives); 943 bool Scanner::scan(SmallVectorImpl<Directive> &Directives) { in scan() 968 SmallVectorImpl<Directive> &Directives, DiagnosticsEngine *Diags, in scanSourceForDependencyDirectives() 975 ArrayRef<dependency_directives_scan::Directive> Directives, in printDependencyDirectivesAsSource() 998 for (const dependency_directives_scan::Directive &Directive : Directives) { in printDependencyDirectivesAsSource() local 999 if (Directive.Kind == tokens_present_before_eof) in printDependencyDirectivesAsSource() 1002 for (const dependency_directives_scan::Token &Tok : Directive.Tokens) { in printDependencyDirectivesAsSource()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
H A D | MCAsmParserExtension.h | 33 StringRef Directive, in HandleDirective() argument 36 return (Obj->*Handler)(Directive, DirectiveLoc); in HandleDirective()
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/ |
H A D | DependencyScanningFilesystem.h | 27 SmallVector<dependency_directives_scan::Directive, 20>; 92 std::optional<ArrayRef<dependency_directives_scan::Directive>> 99 return ArrayRef<dependency_directives_scan::Directive>(**Directives); in getDirectiveTokens() 322 std::optional<ArrayRef<dependency_directives_scan::Directive>>
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/ |
H A D | HeaderIncludes.cpp | 361 IncludeDirective Directive) const { in insert() 369 if (Inc.Directive == Directive && in insert() 393 Directive == IncludeDirective::Include ? "include" : "import"; in insert()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/ |
H A D | DirectiveEmitter.h | 113 class Directive : public BaseRecord { 115 explicit Directive(const llvm::Record *Def) : BaseRecord(Def) {} in Directive() function
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCWinCOFFStreamer.cpp | 300 SmallString<128> Directive; in emitCommonSymbol() local 301 raw_svector_ostream OS(Directive); in emitCommonSymbol() 309 emitBytes(Directive); in emitCommonSymbol()
|