Home
last modified time | relevance | path

Searched refs:Directive (Results 1 – 25 of 80) sorted by relevance

1234

/external/clang/include/clang/Frontend/
DVerifyDiagnosticConsumer.h146 class Directive {
148 static std::unique_ptr<Directive> create(bool RegexKind,
164 virtual ~Directive() { } in ~Directive()
174 Directive(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc, in Directive() function
183 Directive(const Directive &) = delete;
184 void operator=(const Directive &) = delete;
187 typedef std::vector<std::unique_ptr<Directive>> DirectiveList;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/
DDarwinAsmParser.cpp47 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() argument
50 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
447 bool parseWatchOSVersionMin(StringRef Directive, SMLoc Loc) { in parseWatchOSVersionMin() argument
448 return parseVersionMin(Directive, Loc, MCVM_WatchOSVersionMin); in parseWatchOSVersionMin()
450 bool parseTvOSVersionMin(StringRef Directive, SMLoc Loc) { in parseTvOSVersionMin() argument
451 return parseVersionMin(Directive, Loc, MCVM_TvOSVersionMin); in parseTvOSVersionMin()
453 bool parseIOSVersionMin(StringRef Directive, SMLoc Loc) { in parseIOSVersionMin() argument
454 return parseVersionMin(Directive, Loc, MCVM_IOSVersionMin); in parseIOSVersionMin()
456 bool parseMacOSXVersionMin(StringRef Directive, SMLoc Loc) { in parseMacOSXVersionMin() argument
457 return parseVersionMin(Directive, Loc, MCVM_OSXVersionMin); in parseMacOSXVersionMin()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp284 unsigned Directive = ST->getDarwinDirective(); in getCacheLineSize() local
285 if (Directive == PPC::DIR_PWR7 || Directive == PPC::DIR_PWR8 || in getCacheLineSize()
286 Directive == PPC::DIR_PWR9) in getCacheLineSize()
300 unsigned Directive = ST->getDarwinDirective(); in getMaxInterleaveFactor() local
303 if (Directive == PPC::DIR_440) in getMaxInterleaveFactor()
308 if (Directive == PPC::DIR_A2) in getMaxInterleaveFactor()
312 if (Directive == PPC::DIR_E500mc || Directive == PPC::DIR_E5500) in getMaxInterleaveFactor()
318 if (Directive == PPC::DIR_PWR7 || Directive == PPC::DIR_PWR8 || in getMaxInterleaveFactor()
319 Directive == PPC::DIR_PWR9) in getMaxInterleaveFactor()
DPPCHazardRecognizers.cpp162 unsigned Directive = in PreEmitNoops() local
166 if (Directive == PPC::DIR_PWR6 || Directive == PPC::DIR_PWR7 || in PreEmitNoops()
167 Directive == PPC::DIR_PWR8 || Directive == PPC::DIR_PWR9) in PreEmitNoops()
223 unsigned Directive = in EmitNoop() local
228 if (Directive == PPC::DIR_PWR6 || Directive == PPC::DIR_PWR7 || in EmitNoop()
229 Directive == PPC::DIR_PWR8 || Directive == PPC::DIR_PWR9 || in EmitNoop()
DPPCAsmPrinter.cpp1533 unsigned Directive = PPC::DIR_NONE; in EmitStartOfAsmFile() local
1537 Directive = Directive > FDir ? FDir : STI.getDarwinDirective(); in EmitStartOfAsmFile()
1538 if (STI.hasMFOCRF() && Directive < PPC::DIR_970) in EmitStartOfAsmFile()
1539 Directive = PPC::DIR_970; in EmitStartOfAsmFile()
1540 if (STI.hasAltivec() && Directive < PPC::DIR_7400) in EmitStartOfAsmFile()
1541 Directive = PPC::DIR_7400; in EmitStartOfAsmFile()
1542 if (STI.isPPC64() && Directive < PPC::DIR_64) in EmitStartOfAsmFile()
1543 Directive = PPC::DIR_64; in EmitStartOfAsmFile()
1546 assert(Directive <= PPC::DIR_64 && "Directive out of range."); in EmitStartOfAsmFile()
1548 assert(Directive < array_lengthof(CPUDirectives) && in EmitStartOfAsmFile()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCHazardRecognizers.cpp162 unsigned Directive = in PreEmitNoops() local
166 if (Directive == PPC::DIR_PWR6 || Directive == PPC::DIR_PWR7 || in PreEmitNoops()
167 Directive == PPC::DIR_PWR8 || Directive == PPC::DIR_PWR9) in PreEmitNoops()
223 unsigned Directive = in EmitNoop() local
228 if (Directive == PPC::DIR_PWR6 || Directive == PPC::DIR_PWR7 || in EmitNoop()
229 Directive == PPC::DIR_PWR8 || Directive == PPC::DIR_PWR8 || in EmitNoop()
DPPCTargetTransformInfo.cpp253 unsigned Directive = ST->getDarwinDirective(); in getMaxInterleaveFactor() local
256 if (Directive == PPC::DIR_440) in getMaxInterleaveFactor()
261 if (Directive == PPC::DIR_A2) in getMaxInterleaveFactor()
265 if (Directive == PPC::DIR_E500mc || Directive == PPC::DIR_E5500) in getMaxInterleaveFactor()
271 if (Directive == PPC::DIR_PWR7 || Directive == PPC::DIR_PWR8 || in getMaxInterleaveFactor()
272 Directive == PPC::DIR_PWR9) in getMaxInterleaveFactor()
DPPCAsmPrinter.cpp1300 unsigned Directive = PPC::DIR_NONE; in EmitStartOfAsmFile() local
1304 Directive = Directive > FDir ? FDir : STI.getDarwinDirective(); in EmitStartOfAsmFile()
1305 if (STI.hasMFOCRF() && Directive < PPC::DIR_970) in EmitStartOfAsmFile()
1306 Directive = PPC::DIR_970; in EmitStartOfAsmFile()
1307 if (STI.hasAltivec() && Directive < PPC::DIR_7400) in EmitStartOfAsmFile()
1308 Directive = PPC::DIR_7400; in EmitStartOfAsmFile()
1309 if (STI.isPPC64() && Directive < PPC::DIR_64) in EmitStartOfAsmFile()
1310 Directive = PPC::DIR_64; in EmitStartOfAsmFile()
1313 assert(Directive <= PPC::DIR_64 && "Directive out of range."); in EmitStartOfAsmFile()
1315 assert(Directive < array_lengthof(CPUDirectives) && in EmitStartOfAsmFile()
[all …]
DPPCInstrInfo.cpp76 unsigned Directive = in CreateTargetHazardRecognizer() local
78 if (Directive == PPC::DIR_440 || Directive == PPC::DIR_A2 || in CreateTargetHazardRecognizer()
79 Directive == PPC::DIR_E500mc || Directive == PPC::DIR_E5500) { in CreateTargetHazardRecognizer()
93 unsigned Directive = in CreateTargetPostRAHazardRecognizer() local
97 if (Directive == PPC::DIR_PWR7 || Directive == PPC::DIR_PWR8) in CreateTargetPostRAHazardRecognizer()
101 if (Directive != PPC::DIR_440 && Directive != PPC::DIR_A2 && in CreateTargetPostRAHazardRecognizer()
102 Directive != PPC::DIR_E500mc && Directive != PPC::DIR_E5500) { in CreateTargetPostRAHazardRecognizer()
171 unsigned Directive = Subtarget.getDarwinDirective(); in getOperandLatency() local
172 switch (Directive) { in getOperandLatency()
424 unsigned Directive = Subtarget.getDarwinDirective(); in insertNoop() local
[all …]
/external/clang/lib/Frontend/
DVerifyDiagnosticConsumer.cpp26 typedef VerifyDiagnosticConsumer::Directive Directive; typedef
161 class StandardDirective : public Directive {
166 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyLine, Text, Min, Max) { } in StandardDirective()
180 class RegexDirective : public Directive {
185 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyLine, Text, Min, Max), in RegexDirective()
439 Max = Directive::MaxCount; in ParseDirective()
454 Max = Directive::MaxCount; in ParseDirective()
501 std::unique_ptr<Directive> D = Directive::create( in ParseDirective()
644 std::vector<Directive *> &DL, const char *Kind) { in PrintExpected()
651 Directive &D = *DirPtr; in PrintExpected()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXMCAsmStreamer.cpp361 const char *Directive = 0; in EmitValueImpl() local
364 case 1: Directive = MAI.getData8bitsDirective(AddrSpace); break; in EmitValueImpl()
365 case 2: Directive = MAI.getData16bitsDirective(AddrSpace); break; in EmitValueImpl()
366 case 4: Directive = MAI.getData32bitsDirective(AddrSpace); break; in EmitValueImpl()
368 Directive = MAI.getData64bitsDirective(AddrSpace); in EmitValueImpl()
370 if (Directive) break; in EmitValueImpl()
384 assert(Directive && "Invalid size for machine code value!"); in EmitValueImpl()
385 OS << Directive << *Value; in EmitValueImpl()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCAsmPrinter.cpp433 unsigned Directive = Subtarget.getDarwinDirective(); in EmitStartOfAsmFile() local
434 if (Subtarget.isGigaProcessor() && Directive < PPC::DIR_970) in EmitStartOfAsmFile()
435 Directive = PPC::DIR_970; in EmitStartOfAsmFile()
436 if (Subtarget.hasAltivec() && Directive < PPC::DIR_7400) in EmitStartOfAsmFile()
437 Directive = PPC::DIR_7400; in EmitStartOfAsmFile()
438 if (Subtarget.isPPC64() && Directive < PPC::DIR_970) in EmitStartOfAsmFile()
439 Directive = PPC::DIR_64; in EmitStartOfAsmFile()
440 assert(Directive <= PPC::DIR_64 && "Directive out of range."); in EmitStartOfAsmFile()
444 OutStreamer.EmitRawText("\t.machine " + Twine(CPUDirectives[Directive])); in EmitStartOfAsmFile()
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DExtensions.rst74 ``.linkonce`` Directive
111 ``.section`` Directive
212 ``.section`` Directive
365 ``.cv_file`` Directive
370 ``.cv_func_id`` Directive
377 ``.cv_inline_site_id`` Directive
386 ``.cv_loc`` Directive
396 ``.cv_linetable`` Directive
401 ``.cv_inline_linetable`` Directive
406 ``.cv_def_range`` Directive
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsAsmPrinter.cpp70 MCInst Directive; in EmitInstruction() local
71 Directive.setOpcode(Mips::MACRO); in EmitInstruction()
72 OutStreamer.EmitInstruction(Directive); in EmitInstruction()
74 Directive.setOpcode(Mips::NOMACRO); in EmitInstruction()
75 OutStreamer.EmitInstruction(Directive); in EmitInstruction()
/external/grpc-grpc/tools/mkowners/
Dmkowners.py60 Directive = collections.namedtuple('Directive', 'who globs') variable
78 directive = Directive(who='*', globs=[])
82 directive = Directive(who=who, globs=globs_list)
84 directive = Directive(who=line, globs=[])
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
DCOFFAsmParser.cpp28 void AddDirectiveHandler(StringRef Directive) { in AddDirectiveHandler() argument
29 getParser().AddDirectiveHandler(this, Directive, in AddDirectiveHandler()
123 bool ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc);
132 bool COFFAsmParser::ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc) { in ParseDirectiveSymbolAttribute() argument
133 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive) in ParseDirectiveSymbolAttribute()
/external/swiftshader/third_party/LLVM/include/llvm/MC/MCParser/
DMCAsmParserExtension.h35 StringRef Directive, in HandleDirective() argument
38 return (Obj->*Handler)(Directive, DirectiveLoc); in HandleDirective()
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h35 StringRef Directive, in HandleDirective() argument
38 return (Obj->*Handler)(Directive, DirectiveLoc); in HandleDirective()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/MCTargetDesc/
DNVPTXTargetStreamer.cpp28 void NVPTXTargetStreamer::emitDwarfFileDirective(StringRef Directive) { in emitDwarfFileDirective() argument
29 DwarfFiles.emplace_back(Directive); in emitDwarfFileDirective()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/MCParser/
DMCAsmParserExtension.h35 StringRef Directive, in HandleDirective() argument
38 return (Obj->*Handler)(Directive, DirectiveLoc); in HandleDirective()
/external/snakeyaml/src/test/java/org/pyyaml/
DCanonicalParser.java56 if (scanner.checkToken(Token.ID.Directive, Token.ID.DocumentStart)) { in parseStream()
68 if (scanner.checkToken(Token.ID.Directive)) { in parseDocument()
69 scanner.getToken(Token.ID.Directive); in parseDocument()
/external/python/cpython3/Doc/tools/extensions/
Dpyspecific.py18 from docutils.parsers.rst import Directive
101 class ImplementationDetail(Directive):
136 class Availability(Directive):
232 class DeprecatedRemoved(Directive):
284 class MiscNews(Directive):
/external/llvm/lib/MC/
DWinCOFFStreamer.cpp224 SmallString<128> Directive; in EmitCommonSymbol() local
225 raw_svector_ostream OS(Directive); in EmitCommonSymbol()
233 EmitBytes(Directive); in EmitCommonSymbol()
/external/llvm/lib/MC/MCParser/
DDarwinAsmParser.cpp34 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() argument
37 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
505 bool DarwinAsmParser::parseDirectiveDumpOrLoad(StringRef Directive, in parseDirectiveDumpOrLoad() argument
507 bool IsDump = Directive == ".dump"; in parseDirectiveDumpOrLoad()
930 bool DarwinAsmParser::parseVersionMin(StringRef Directive, SMLoc Loc) { in parseVersionMin() argument
932 int Kind = StringSwitch<int>(Directive) in parseVersionMin()
976 Warning(Loc, Directive + " should only be used for " + in parseVersionMin()
/external/swiftshader/third_party/LLVM/lib/MC/
DMCAsmStreamer.cpp605 const char *Directive = 0; in EmitValueImpl() local
608 case 1: Directive = MAI.getData8bitsDirective(AddrSpace); break; in EmitValueImpl()
609 case 2: Directive = MAI.getData16bitsDirective(AddrSpace); break; in EmitValueImpl()
610 case 4: Directive = MAI.getData32bitsDirective(AddrSpace); break; in EmitValueImpl()
612 Directive = MAI.getData64bitsDirective(AddrSpace); in EmitValueImpl()
614 if (Directive) break; in EmitValueImpl()
628 assert(Directive && "Invalid size for machine code value!"); in EmitValueImpl()
629 OS << Directive << *Value; in EmitValueImpl()

1234