HomeSort by relevance Sort by last modified time
    Searched refs:Directive (Results 1 - 16 of 16) sorted by null

  /external/clang/include/clang/Frontend/
VerifyDiagnosticConsumer.h 66 /// the diagnostic will appear, rather than placing the expected-* directive in
129 /// VerifyDiagnosticConsumer expects at least one expected-* directive to
131 /// following directive can be used to indicate this:
140 /// Directive - Abstract class representing a parsed verify directive.
142 class Directive {
144 static Directive *create(bool RegexKind, SourceLocation DirectiveLoc,
156 virtual ~Directive() { }
158 // Returns true if directive text is valid.
166 Directive(SourceLocation DirectiveLoc, SourceLocation DiagnosticLoc
    [all...]
  /external/llvm/include/llvm/MC/MCParser/
MCAsmParserExtension.h 35 StringRef Directive,
38 return (Obj->*Handler)(Directive, DirectiveLoc);
MCAsmParser.h 84 virtual void addDirectiveHandler(StringRef Directive,
  /external/llvm/lib/Target/PowerPC/
PPCTargetTransformInfo.cpp 151 unsigned Directive = ST->getDarwinDirective();
154 if (Directive == PPC::DIR_440)
159 if (Directive == PPC::DIR_A2)
163 if (Directive == PPC::DIR_E500mc || Directive == PPC::DIR_E5500)
PPCAsmPrinter.cpp 805 /// directive.
846 unsigned Directive = Subtarget.getDarwinDirective();
847 if (Subtarget.hasMFOCRF() && Directive < PPC::DIR_970)
848 Directive = PPC::DIR_970;
849 if (Subtarget.hasAltivec() && Directive < PPC::DIR_7400)
850 Directive = PPC::DIR_7400;
851 if (Subtarget.isPPC64() && Directive < PPC::DIR_64)
852 Directive = PPC::DIR_64;
853 assert(Directive <= PPC::DIR_64 && "Directive out of range.")
    [all...]
PPCInstrInfo.cpp 57 unsigned Directive = TM->getSubtarget<PPCSubtarget>().getDarwinDirective();
58 if (Directive == PPC::DIR_440 || Directive == PPC::DIR_A2 ||
59 Directive == PPC::DIR_E500mc || Directive == PPC::DIR_E5500) {
72 unsigned Directive = TM.getSubtarget<PPCSubtarget>().getDarwinDirective();
75 if (Directive != PPC::DIR_440 && Directive != PPC::DIR_A2 &&
76 Directive != PPC::DIR_E500mc && Directive != PPC::DIR_E5500)
    [all...]
  /external/clang/lib/Frontend/
VerifyDiagnosticConsumer.cpp 26 typedef VerifyDiagnosticConsumer::Directive Directive;
161 /// StandardDirective - Directive with string matching.
163 class StandardDirective : public Directive {
167 : Directive(DirectiveLoc, DiagnosticLoc, Text, Min, Max) { }
179 /// RegexDirective - Directive with regular-expression matching.
181 class RegexDirective : public Directive {
185 : Directive(DirectiveLoc, DiagnosticLoc, Text, Min, Max), Regex(Text) { }
282 /// diagnostics. If so, then put them in the appropriate directive list.
329 // If a directive has been found but we're not intereste
    [all...]
  /external/clang/lib/Parse/
ParseOpenMP.cpp 29 /// threadprivate-directive:
33 assert(Tok.is(tok::annot_pragma_openmp) && "Not an OpenMP directive!");
74 /// threadprivate-directive:
78 /// parallel-directive:
82 assert(Tok.is(tok::annot_pragma_openmp) && "Not an OpenMP directive!");
92 StmtResult Directive = StmtError();
108 Directive = Actions.ActOnDeclStmt(Res, Loc, Tok.getLocation());
130 // End location of the directive.
155 Directive = Actions.ActOnOpenMPExecutableDirective(DKind, Clauses,
174 return Directive;
    [all...]
  /external/llvm/lib/MC/MCParser/
COFFAsmParser.cpp 28 void addDirectiveHandler(StringRef Directive) {
31 getParser().addDirectiveHandler(Directive, Handler);
133 bool ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc);
255 bool COFFAsmParser::ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc) {
256 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive)
259 assert(Attr != MCSA_Invalid && "unexpected symbol attribute directive!");
265 return TokError("expected identifier in directive");
275 return TokError("unexpected token in directive");
288 return TokError("unexpected token in section switching directive");
324 return TokError("expected identifier in directive");
    [all...]
DarwinAsmParser.cpp 26 /// \brief Implementation of directive handling which is shared across all
30 void addDirectiveHandler(StringRef Directive) {
33 getParser().addDirectiveHandler(Directive, Handler);
181 // Named Section Directive
347 // Darwin silently ignores the .ident directive.
365 return TokError("unexpected token in section switching directive");
379 // section, then just issuing the section switch directive will not realign
394 return TokError("expected identifier in directive");
400 return TokError("unexpected token in '.desc' directive");
408 return TokError("unexpected token in '.desc' directive");
    [all...]
ELFAsmParser.cpp 26 void addDirectiveHandler(StringRef Directive) {
30 getParser().addDirectiveHandler(Directive, Handler);
162 bool ELFAsmParser::ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc) {
163 MCSymbolAttr Attr = StringSwitch<MCSymbolAttr>(Directive)
170 assert(Attr != MCSA_Invalid && "unexpected symbol attribute directive!");
176 return TokError("expected identifier in directive");
186 return TokError("unexpected token in directive");
213 return TokError("expected identifier in directive");
217 return TokError("unexpected token in directive");
225 return TokError("unexpected token in directive");
    [all...]
AsmParser.cpp 141 /// ExtensionDirectiveMap - maps directive names to handler methods in parser
190 virtual void addDirectiveHandler(StringRef Directive,
192 ExtensionDirectiveMap[Directive] = Handler;
306 /// ProcessIncbinFile - Process the specified file for the .incbin directive.
337 // Generic (target and platform independent) directive parsing.
363 /// DirectiveKindMap - Maps directive name --> DirectiveKind enum, for
407 bool ParseDirectiveEndMacro(StringRef Directive);
409 bool ParseDirectiveMacrosOnOff(StringRef Directive);
424 /// ParseDirectiveSymbolAttribute - Parse a directive like ".globl" which
612 // section and generate a .file directive
    [all...]
  /external/llvm/lib/MC/
MCAsmStreamer.cpp 568 // Note: a .zerofill directive does not switch sections.
571 // This is a mach-o specific directive.
590 // This is a mach-o specific directive and section.
669 const char *Directive = 0;
672 case 1: Directive = MAI->getData8bitsDirective(); break;
673 case 2: Directive = MAI->getData16bitsDirective(); break;
674 case 4: Directive = MAI->getData32bitsDirective(); break;
676 Directive = MAI->getData64bitsDirective();
678 if (Directive) break;
692 assert(Directive && "Invalid size for machine code value!")
    [all...]
  /external/clang/lib/Lex/
PPDirectives.cpp 1 //===--- PPDirectives.cpp - Directive Handling for Preprocessor -----------===//
11 /// \brief Implements # directive processing for the Preprocessor.
32 // Utility Methods for Preprocessor Directive Handling.
127 assert(Tmp.isNot(tok::eof) && "EOF seen while discarding directive tokens");
136 /// this is due to a a \#define, 2 if \#undef directive, 0 if it is something
211 // There should be no tokens after the directive, but we allow them as an
218 // or if this is a macro-style preprocessing directive, because it is more
232 /// SkipExcludedConditionalBlock - We just read a \#if or related directive and
236 /// this \#if directive, so \#else/\#elif blocks should never be entered.
238 /// already seen one so a \#else directive is a duplicate. When this returns
    [all...]
  /external/clang/include/clang/Lex/
Preprocessor.h 166 /// \brief True if we are currently preprocessing a #if or #elif directive
330 /// push_macro directive, we keep a MacroInfo stack used to restore
465 /// \brief True if we are currently preprocessing a #if or #elif directive
556 /// \brief Add a directive to the macro directive history for this identifier.
754 /// would foul up preprocessor directive handling.
    [all...]
  /external/opencv/cxcore/src/
cxpersistence.cpp     [all...]

Completed in 1364 milliseconds