Home
last modified time | relevance | path

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

123

/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/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 …]
DPPCSubtarget.cpp166 static bool needsAggressiveScheduling(unsigned Directive) { in needsAggressiveScheduling() argument
167 switch (Directive) { in needsAggressiveScheduling()
/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/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/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()
DELFAsmParser.cpp26 void AddDirectiveHandler(StringRef Directive) { in AddDirectiveHandler() argument
27 getParser().AddDirectiveHandler(this, Directive, in AddDirectiveHandler()
155 bool ELFAsmParser::ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc) { in ParseDirectiveSymbolAttribute() argument
156 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive) in ParseDirectiveSymbolAttribute()
DDarwinAsmParser.cpp29 void AddDirectiveHandler(StringRef Directive) { in AddDirectiveHandler() argument
30 getParser().AddDirectiveHandler(this, Directive, in AddDirectiveHandler()
356 bool DarwinAsmParser::ParseDirectiveDumpOrLoad(StringRef Directive, in ParseDirectiveDumpOrLoad() argument
358 bool IsDump = Directive == ".dump"; in ParseDirectiveDumpOrLoad()
DAsmParser.cpp133 StringRef Directive, in AddDirectiveHandler() argument
135 DirectiveMap[Directive] = std::make_pair(Object, Handler); in AddDirectiveHandler()
248 void AddDirectiveHandler(StringRef Directive) { in AddDirectiveHandler() argument
249 getParser().AddDirectiveHandler(this, Directive, in AddDirectiveHandler()
2471 bool GenericAsmParser::ParseDirectiveStabs(StringRef Directive, in ParseDirectiveStabs() argument
2473 return TokError("unsupported directive '" + Directive + "'"); in ParseDirectiveStabs()
2725 bool GenericAsmParser::ParseDirectiveMacrosOnOff(StringRef Directive, in ParseDirectiveMacrosOnOff() argument
2729 "unexpected token in '" + Directive + "' directive"); in ParseDirectiveMacrosOnOff()
2731 getParser().MacrosEnabled = Directive == ".macros_on"; in ParseDirectiveMacrosOnOff()
2738 bool GenericAsmParser::ParseDirectiveMacro(StringRef Directive, in ParseDirectiveMacro() argument
[all …]
/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()
DMCAsmParser.h84 virtual void addDirectiveHandler(StringRef Directive,
87 virtual void addAliasForDirective(StringRef Directive, StringRef Alias) = 0;
/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/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()
DCOFFAsmParser.cpp29 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() argument
32 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
142 bool ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc);
264 bool COFFAsmParser::ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc) { in ParseDirectiveSymbolAttribute() argument
265 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive) in ParseDirectiveSymbolAttribute()
/external/python/cpython3/Doc/tools/extensions/
Dpyspecific.py25 from sphinx.util.compat import Directive
99 class ImplementationDetail(Directive):
182 class DeprecatedRemoved(Directive):
232 class MiscNews(Directive):
/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()
/external/llvm/test/tools/llvm-readobj/
Dcoff-directives.test2 CHECK: Directive(s): /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES"
/external/boringssl/src/util/fipstools/
Ddelocate.peg28 Directive /
31 Directive <- '.' DirectiveName (WS Args)?

123