Home
last modified time | relevance | path

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

12

/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
165 if (Directive == PPC::DIR_PWR6 || Directive == PPC::DIR_PWR7 || in PreEmitNoops()
166 Directive == PPC::DIR_PWR8 ) in PreEmitNoops()
222 unsigned Directive = in EmitNoop() local
226 if (Directive == PPC::DIR_PWR6 || Directive == PPC::DIR_PWR7 || in EmitNoop()
227 Directive == PPC::DIR_PWR8 || CurSlots == 6) { in EmitNoop()
DPPCTargetTransformInfo.cpp234 unsigned Directive = ST->getDarwinDirective(); in getMaxInterleaveFactor() local
237 if (Directive == PPC::DIR_440) in getMaxInterleaveFactor()
242 if (Directive == PPC::DIR_A2) in getMaxInterleaveFactor()
246 if (Directive == PPC::DIR_E500mc || Directive == PPC::DIR_E5500) in getMaxInterleaveFactor()
251 if (Directive == PPC::DIR_PWR7 || in getMaxInterleaveFactor()
252 Directive == PPC::DIR_PWR8) in getMaxInterleaveFactor()
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
96 if (Directive == PPC::DIR_PWR7 || Directive == PPC::DIR_PWR8) in CreateTargetPostRAHazardRecognizer()
100 if (Directive != PPC::DIR_440 && Directive != PPC::DIR_A2 && in CreateTargetPostRAHazardRecognizer()
101 Directive != PPC::DIR_E500mc && Directive != PPC::DIR_E5500) { in CreateTargetPostRAHazardRecognizer()
170 unsigned Directive = Subtarget.getDarwinDirective(); in getOperandLatency() local
171 switch (Directive) { in getOperandLatency()
424 unsigned Directive = Subtarget.getDarwinDirective(); in insertNoop() local
[all …]
DPPCAsmPrinter.cpp1259 unsigned Directive = PPC::DIR_NONE; in EmitStartOfAsmFile() local
1263 Directive = Directive > FDir ? FDir : STI.getDarwinDirective(); in EmitStartOfAsmFile()
1264 if (STI.hasMFOCRF() && Directive < PPC::DIR_970) in EmitStartOfAsmFile()
1265 Directive = PPC::DIR_970; in EmitStartOfAsmFile()
1266 if (STI.hasAltivec() && Directive < PPC::DIR_7400) in EmitStartOfAsmFile()
1267 Directive = PPC::DIR_7400; in EmitStartOfAsmFile()
1268 if (STI.isPPC64() && Directive < PPC::DIR_64) in EmitStartOfAsmFile()
1269 Directive = PPC::DIR_64; in EmitStartOfAsmFile()
1272 assert(Directive <= PPC::DIR_64 && "Directive out of range."); in EmitStartOfAsmFile()
1274 assert(Directive < array_lengthof(CPUDirectives) && in EmitStartOfAsmFile()
[all …]
DPPCSubtarget.cpp160 static bool needsAggressiveScheduling(unsigned Directive) { in needsAggressiveScheduling() argument
161 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()
441 Max = Directive::MaxCount; in ParseDirective()
456 Max = Directive::MaxCount; in ParseDirective()
503 std::unique_ptr<Directive> D = Directive::create( in ParseDirective()
646 std::vector<Directive *> &DL, const char *Kind) { in PrintExpected()
653 Directive &D = *DirPtr; in PrintExpected()
[all …]
/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.cpp230 SmallString<128> Directive; in EmitCommonSymbol() local
231 raw_svector_ostream OS(Directive); in EmitCommonSymbol()
239 EmitBytes(Directive); in EmitCommonSymbol()
DMCAsmStreamer.cpp696 const char *Directive = nullptr; in EmitValueImpl() local
699 case 1: Directive = MAI->getData8bitsDirective(); break; in EmitValueImpl()
700 case 2: Directive = MAI->getData16bitsDirective(); break; in EmitValueImpl()
701 case 4: Directive = MAI->getData32bitsDirective(); break; in EmitValueImpl()
702 case 8: Directive = MAI->getData64bitsDirective(); break; in EmitValueImpl()
705 if (!Directive) { in EmitValueImpl()
741 assert(Directive && "Invalid size for machine code value!"); in EmitValueImpl()
742 OS << Directive; in EmitValueImpl()
/external/llvm/lib/MC/MCParser/
DDarwinAsmParser.cpp34 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() argument
37 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
475 bool DarwinAsmParser::parseDirectiveDumpOrLoad(StringRef Directive, in parseDirectiveDumpOrLoad() argument
477 bool IsDump = Directive == ".dump"; in parseDirectiveDumpOrLoad()
900 bool DarwinAsmParser::parseVersionMin(StringRef Directive, SMLoc Loc) { in parseVersionMin() argument
902 int Kind = StringSwitch<int>(Directive) in parseVersionMin()
946 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()
DELFAsmParser.cpp27 void addDirectiveHandler(StringRef Directive) { in addDirectiveHandler() argument
31 getParser().addDirectiveHandler(Directive, Handler); in addDirectiveHandler()
151 bool ELFAsmParser::ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc) { in ParseDirectiveSymbolAttribute() argument
152 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive) in ParseDirectiveSymbolAttribute()
DAsmParser.cpp187 void addDirectiveHandler(StringRef Directive, in addDirectiveHandler() argument
189 ExtensionDirectiveMap[Directive] = Handler; in addDirectiveHandler()
192 void addAliasForDirective(StringRef Directive, StringRef Alias) override { in addAliasForDirective() argument
193 DirectiveKindMap[Directive] = DirectiveKindMap[Alias]; in addAliasForDirective()
420 bool parseDirectiveExitMacro(StringRef Directive);
421 bool parseDirectiveEndMacro(StringRef Directive);
423 bool parseDirectiveMacrosOnOff(StringRef Directive);
470 bool parseDirectiveRept(SMLoc DirectiveLoc, StringRef Directive);
3392 bool AsmParser::parseDirectiveMacrosOnOff(StringRef Directive) { in parseDirectiveMacrosOnOff() argument
3395 "unexpected token in '" + Directive + "' directive"); in parseDirectiveMacrosOnOff()
[all …]
/external/llvm/test/tools/llvm-readobj/
Dcoff-directives.test2 CHECK: Directive(s): /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES"
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/tokens/
DDirectiveToken.java56 return ID.Directive; in getTokenId()
DToken.java23 …Alias, Anchor, BlockEnd, BlockEntry, BlockMappingStart, BlockSequenceStart, Directive, DocumentEnd… enumConstant
/external/llvm/docs/
DExtensions.rst74 ``.linkonce`` Directive
111 ``.section`` Directive
172 ``.section`` Directive
/external/clang/lib/Parse/
DParseOpenMP.cpp183 StmtResult Directive = StmtError(); in ParseOpenMPDeclarativeOrExecutableDirective() local
200 Directive = Actions.ActOnDeclStmt(Res, Loc, Tok.getLocation()); in ParseOpenMPDeclarativeOrExecutableDirective()
321 Directive = Actions.ActOnOpenMPExecutableDirective( in ParseOpenMPDeclarativeOrExecutableDirective()
326 Actions.EndOpenMPDSABlock(Directive.get()); in ParseOpenMPDeclarativeOrExecutableDirective()
335 return Directive; in ParseOpenMPDeclarativeOrExecutableDirective()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/tokens/
DDirectiveTokenTest.java67 assertEquals(ID.Directive, token.getTokenId()); in testGetTokenId()
/external/llvm/test/MC/COFF/
Dcomm-align.s56 # CHECK: Directive(s): -aligncomm:"_s_2",1 -aligncomm:"_s_4",2 -aligncomm:"_s_8",3 -aligncomm:"_sma…
/external/clang/lib/Lex/
DPPDirectives.cpp372 StringRef Directive; in SkipExcludedConditionalBlock() local
374 Directive = RI; in SkipExcludedConditionalBlock()
385 Directive = StringRef(DirectiveBuf, IdLen); in SkipExcludedConditionalBlock()
388 if (Directive.startswith("if")) { in SkipExcludedConditionalBlock()
389 StringRef Sub = Directive.substr(2); in SkipExcludedConditionalBlock()
400 } else if (Directive[0] == 'e') { in SkipExcludedConditionalBlock()
401 StringRef Sub = Directive.substr(1); in SkipExcludedConditionalBlock()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/parser/
DParserImpl.java194 … if (!scanner.checkToken(Token.ID.Directive, Token.ID.DocumentStart, Token.ID.StreamEnd)) { in produce()
271 if (scanner.checkToken(Token.ID.Directive, Token.ID.DocumentStart, in produce()
287 while (scanner.checkToken(Token.ID.Directive)) { in processDirectives()

12