| /freebsd/contrib/llvm-project/llvm/lib/DWARFCFIChecker/ |
| H A D | DWARFCFIState.cpp | 27 void DWARFCFIState::update(const MCCFIInstruction &Directive) { in update() argument 28 auto CFIP = convert(Directive); in update() 50 Directive.getLoc(), in update() 62 dwarf::CFIProgram DWARFCFIState::convert(MCCFIInstruction Directive) { in convert() argument 68 switch (Directive.getOperation()) { in convert() 70 CFIP.addInstruction(dwarf::DW_CFA_same_value, Directive.getRegister()); in convert() 78 Context->reportWarning(Directive.getLoc(), in convert() 87 Context->reportWarning(Directive.getLoc(), in convert() 91 CFIP.addInstruction(dwarf::DW_CFA_offset, Directive.getRegister(), in convert() 92 Directive.getOffset()); in convert() [all …]
|
| H A D | DWARFCFIAnalysis.cpp | 121 for (auto &&Directive : Prologue) in DWARFCFIAnalysis() 122 State.update(Directive); in DWARFCFIAnalysis() 134 for (auto &&Directive : Directives) in update() 135 State.update(Directive); in update()
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMP.cpp | 30 static iterator_range<ArrayRef<Directive>::iterator> 31 getFirstCompositeRange(iterator_range<ArrayRef<Directive>::iterator> Leafs) { in getFirstCompositeRange() 52 [](iterator_range<ArrayRef<Directive>::iterator> List) { in getFirstCompositeRange() 79 ArrayRef<Directive> getLeafConstructs(Directive D) { in getLeafConstructs() 87 ArrayRef<Directive> getLeafConstructsOrSelf(Directive D) { in getLeafConstructsOrSelf() 97 ArrayRef<Directive> 98 getLeafOrCompositeConstructs(Directive D, SmallVectorImpl<Directive> &Output) { in getLeafOrCompositeConstructs() 99 using ArrayTy = ArrayRef<Directive>; in getLeafOrCompositeConstructs() 101 ArrayRef<Directive> Leafs = getLeafConstructsOrSelf(D); in getLeafOrCompositeConstructs() 110 Directive Comp = in getLeafOrCompositeConstructs() [all …]
|
| H A D | DirectiveNameParser.cpp | 23 auto D = static_cast<Directive>(I); in DirectiveNameParser() 24 if (D == Directive::OMPD_unknown || !(getDirectiveLanguages(D) & L)) in DirectiveNameParser() 47 void DirectiveNameParser::insertName(StringRef Name, Directive D) { in insertName()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMP.h | 24 LLVM_ABI ArrayRef<Directive> getLeafConstructs(Directive D); 25 LLVM_ABI ArrayRef<Directive> getLeafConstructsOrSelf(Directive D); 27 LLVM_ABI ArrayRef<Directive> 28 getLeafOrCompositeConstructs(Directive D, SmallVectorImpl<Directive> &Output); 30 LLVM_ABI Directive getCompoundConstruct(ArrayRef<Directive> Parts); 32 LLVM_ABI bool isLeafConstruct(Directive D); 33 LLVM_ABI bool isCompositeConstruct(Directive D); 34 LLVM_ABI bool isCombinedConstruct(Directive D);
|
| H A D | OMP.td | 13 include "llvm/Frontend/Directive/DirectiveBase.td" 572 def OMP_Allocate : Directive<[Spelling<"allocate">]> { 580 def OMP_Allocators : Directive<[Spelling<"allocators">]> { 588 def OMP_Assumes : Directive<[Spelling<"assumes">]> { 600 def OMP_Assume : Directive<[Spelling<"assume">]> { 613 def OMP_Atomic : Directive<[Spelling<"atomic">]> { 632 def OMP_Barrier : Directive<[Spelling<"barrier">]> { 636 def OMP_BeginAssumes : Directive<[Spelling<"begin assumes">]> { 649 def OMP_EndAssumes : Directive<[Spelling<"end assumes">]> { 654 def OMP_BeginDeclareTarget : Directive<[Spelling<"begin declare target", 1, 52>, [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 …]
|
| H A D | DirectiveNameParser.h | 51 Directive Value = Directive::OMPD_unknown; 60 return Value != Directive::OMPD_unknown || !Transition->empty(); in isValid() 71 void insertName(StringRef Name, Directive D);
|
| /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/clang/include/clang/Frontend/ |
| H A D | VerifyDiagnosticConsumer.h | 43 class Directive { 45 static std::unique_ptr<Directive> 63 Directive(const Directive &) = delete; 64 Directive &operator=(const Directive &) = delete; 65 virtual ~Directive() = default; 75 Directive(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in Directive() function 88 using DirectiveList = std::vector<std::unique_ptr<Directive>>;
|
| /freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | DependencyDirectivesScanner.h | 96 struct Directive { struct 102 Directive() = default; argument 103 Directive(DirectiveKind K, ArrayRef<Token> Tokens) in Directive() argument 120 SmallVectorImpl<dependency_directives_scan::Directive> &Directives, 136 ArrayRef<dependency_directives_scan::Directive> Directives, 147 virtual std::optional<ArrayRef<dependency_directives_scan::Directive>>
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenACC/ |
| H A D | ACC.td | 13 include "llvm/Frontend/Directive/DirectiveBase.td" 278 def ACC_Atomic : Directive<[Spelling<"atomic">]> { 285 def ACC_Data : Directive<[Spelling<"data">]> { 311 def ACC_Declare : Directive<[Spelling<"declare">]> { 327 def ACC_Kernels : Directive<[Spelling<"kernels">]> { 350 def ACC_Parallel : Directive<[Spelling<"parallel">]> { 380 def ACC_Serial : Directive<[Spelling<"serial">]> { 405 def ACC_Loop : Directive<[Spelling<"loop">]> { 427 def ACC_Cache : Directive<[Spelling<"cache">]> { 433 def ACC_Init : Directive<[Spelling<"init">]> { [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| 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 | 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 483 bool COFFMasmParser::parseDirectiveEndProc(StringRef Directive, SMLoc Loc) { in parseDirectiveEndProc() argument 503 bool COFFMasmParser::parseDirectiveAlias(StringRef Directive, SMLoc Loc) { in parseDirectiveAlias() argument 509 return addErrorSuffix(" in " + Directive + " directive"); in parseDirectiveAlias() [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() 284 bool ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc) { in ParseDirectiveSymbolAttribute() argument 285 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive) in ParseDirectiveSymbolAttribute()
|
| /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/Target/NVPTX/MCTargetDesc/ |
| H A D | NVPTXTargetStreamer.cpp | 45 void NVPTXTargetStreamer::emitDwarfFileDirective(StringRef Directive) { in emitDwarfFileDirective() argument 46 DwarfFiles.emplace_back(Directive); in emitDwarfFileDirective() 117 const char *Directive = MAI->getData8bitsDirective(); in emitRawBytes() 127 const char *Label = Directive; in emitRawBytes() 134 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/include/llvm/DWARFCFIChecker/ |
| H A D | DWARFCFIState.h | 40 LLVM_ABI void update(const MCCFIInstruction &Directive); 43 dwarf::CFIProgram convert(MCCFIInstruction Directive);
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | VerifyDiagnosticConsumer.cpp | 48 using Directive = VerifyDiagnosticConsumer::Directive; typedef 88 class StandardDirective : public Directive { 94 : Directive(DirectiveLoc, DiagnosticLoc, Spelling, MatchAnyFileAndLine, in StandardDirective() 106 class RegexDirective : public Directive { 112 : Directive(DirectiveLoc, DiagnosticLoc, Spelling, MatchAnyFileAndLine, in RegexDirective() 303 std::unique_ptr<Directive> D = Directive::create( in attachDirective() 599 D.Max = Directive::MaxCount; in ParseDirective() 614 D.Max = Directive::MaxCount; in ParseDirective() 910 std::vector<Directive *> &DL, const char *Kind) { in PrintExpected() 967 std::vector<Directive *> LeftOnly; in CheckLists() [all …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
| H A D | DirectiveEmitter.cpp | 206 const Directive &Directive, in hasDuplicateClauses() argument 214 Directive.getRecordName()); in hasDuplicateClauses() 227 for (const Directive Dir : Directives) { in hasDuplicateClausesInDirectives() 264 for (const Directive D : DirLang.getDirectives()) in getMaxLeafCount() 573 Directive Dir(R); in generateIsAllowedClause() 643 Directive Dir(Rec); in emitLeafTable() 673 StringRef Name = Directive(Rec).getSpellingForIdentifier(); in emitLeafTable() 785 auto ErrorPrefixFor = [&](Directive D) -> std::string { in generateGetDirectiveAssociation() 814 Directive D(R); in generateGetDirectiveAssociation() 885 Directive D(R); in generateGetDirectiveCategory() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/ |
| H A D | DependencyScanningFilesystem.h | 28 SmallVector<dependency_directives_scan::Directive, 20>; 93 std::optional<ArrayRef<dependency_directives_scan::Directive>> 100 return ArrayRef<dependency_directives_scan::Directive>(**Directives); in getDirectiveTokens() 352 std::optional<ArrayRef<dependency_directives_scan::Directive>> 406 std::optional<ArrayRef<dependency_directives_scan::Directive>>
|