/external/llvm/lib/MC/MCParser/ |
D | DarwinAsmParser.cpp | 29 template<bool (DarwinAsmParser::*HandlerMethod)(StringRef, SMLoc)> 165 bool ParseDirectiveDesc(StringRef, SMLoc); 166 bool ParseDirectiveDumpOrLoad(StringRef, SMLoc); 167 bool ParseDirectiveLsym(StringRef, SMLoc); 168 bool ParseDirectiveLinkerOption(StringRef, SMLoc); 169 bool ParseDirectiveSection(StringRef, SMLoc); 170 bool ParseDirectivePushSection(StringRef, SMLoc); 171 bool ParseDirectivePopSection(StringRef, SMLoc); 172 bool ParseDirectivePrevious(StringRef, SMLoc); 173 bool ParseDirectiveSecureLogReset(StringRef, SMLoc); [all …]
|
D | COFFAsmParser.cpp | 27 template<bool (COFFAsmParser::*HandlerMethod)(StringRef, SMLoc)> 81 bool ParseSectionDirectiveText(StringRef, SMLoc) { in ParseSectionDirectiveText() argument 88 bool ParseSectionDirectiveData(StringRef, SMLoc) { in ParseSectionDirectiveData() argument 95 bool ParseSectionDirectiveBSS(StringRef, SMLoc) { in ParseSectionDirectiveBSS() argument 103 bool ParseDirectiveDef(StringRef, SMLoc); 104 bool ParseDirectiveScl(StringRef, SMLoc); 105 bool ParseDirectiveType(StringRef, SMLoc); 106 bool ParseDirectiveEndef(StringRef, SMLoc); 107 bool ParseDirectiveSecRel32(StringRef, SMLoc); 110 bool ParseSEHDirectiveStartProc(StringRef, SMLoc); [all …]
|
D | ELFAsmParser.cpp | 25 template<bool (ELFAsmParser::*HandlerMethod)(StringRef, SMLoc)> 83 bool ParseSectionDirectiveData(StringRef, SMLoc) { in ParseSectionDirectiveData() argument 88 bool ParseSectionDirectiveText(StringRef, SMLoc) { in ParseSectionDirectiveText() argument 93 bool ParseSectionDirectiveBSS(StringRef, SMLoc) { in ParseSectionDirectiveBSS() argument 98 bool ParseSectionDirectiveRoData(StringRef, SMLoc) { in ParseSectionDirectiveRoData() argument 103 bool ParseSectionDirectiveTData(StringRef, SMLoc) { in ParseSectionDirectiveTData() argument 109 bool ParseSectionDirectiveTBSS(StringRef, SMLoc) { in ParseSectionDirectiveTBSS() argument 115 bool ParseSectionDirectiveDataRel(StringRef, SMLoc) { in ParseSectionDirectiveDataRel() argument 121 bool ParseSectionDirectiveDataRelRo(StringRef, SMLoc) { in ParseSectionDirectiveDataRelRo() argument 127 bool ParseSectionDirectiveDataRelRoLocal(StringRef, SMLoc) { in ParseSectionDirectiveDataRelRoLocal() argument [all …]
|
D | MCAsmLexer.cpp | 22 SMLoc MCAsmLexer::getLoc() const { in getLoc() 23 return SMLoc::getFromPointer(TokStart); in getLoc() 26 SMLoc AsmToken::getLoc() const { in getLoc() 27 return SMLoc::getFromPointer(Str.data()); in getLoc() 30 SMLoc AsmToken::getEndLoc() const { in getEndLoc() 31 return SMLoc::getFromPointer(Str.data() + Str.size()); in getEndLoc()
|
D | AsmParser.cpp | 83 SMLoc InstantiationLoc; 89 SMLoc ExitLoc; 92 MacroInstantiation(const MCAsmMacro *M, SMLoc IL, int EB, SMLoc EL, 161 SMLoc CppHashLoc; 203 virtual bool Warning(SMLoc L, const Twine &Msg, 205 virtual bool Error(SMLoc L, const Twine &Msg, 223 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc); 224 virtual bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc); 239 bool ParseCppHashLineFilenameComment(const SMLoc &L); 241 void CheckForBadMacro(SMLoc DirectiveLoc, StringRef Name, StringRef Body, [all …]
|
/external/llvm/lib/Target/MBlaze/AsmParser/ |
D | MBlazeAsmParser.cpp | 34 void Warning(SMLoc L, const Twine &Msg) { Parser.Warning(L, Msg); } in Warning() 35 bool Error(SMLoc L, const Twine &Msg) { return Parser.Error(L, Msg); } in Error() 39 MBlazeOperand *ParseRegister(SMLoc &StartLoc, SMLoc &EndLoc); 44 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 46 bool ParseDirectiveWord(unsigned Size, SMLoc L); 48 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 66 SMLoc NameLoc, 83 SMLoc StartLoc, EndLoc; 142 SMLoc getStartLoc() const { return StartLoc; } in getStartLoc() 145 SMLoc getEndLoc() const { return EndLoc; } in getEndLoc() [all …]
|
/external/llvm/include/llvm/Support/ |
D | SMLoc.h | 23 class SMLoc { 26 SMLoc() : Ptr(0) {} in SMLoc() function 30 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; } 31 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; } 35 static SMLoc getFromPointer(const char *Ptr) { in getFromPointer() 36 SMLoc L; in getFromPointer() 49 SMLoc Start, End; 52 SMRange(SMLoc St, SMLoc En) : Start(St), End(En) { in SMRange()
|
D | SourceMgr.h | 54 SMLoc IncludeLoc; 105 SMLoc getParentIncludeLoc(unsigned i) const { in getParentIncludeLoc() 112 unsigned AddNewSourceBuffer(MemoryBuffer *F, SMLoc IncludeLoc) { in AddNewSourceBuffer() 124 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 129 int FindBufferContainingLoc(SMLoc Loc) const; 133 unsigned FindLineNumber(SMLoc Loc, int BufferID = -1) const { 140 getLineAndColumn(SMLoc Loc, int BufferID = -1) const; 147 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg, 158 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg, 168 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const; [all …]
|
/external/clang/test/CodeGenCXX/ |
D | arm-cc.cpp | 3 class SMLoc { class 6 SMLoc(); 7 SMLoc(const SMLoc &RHS); 9 SMLoc foo(void *p); 13 void zed(SMLoc x); 15 SMLoc a; in baz()
|
/external/llvm/lib/Target/Mips/AsmParser/ |
D | MipsAsmParser.cpp | 70 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 75 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 78 SMLoc NameLoc, 81 bool parseMathOperation(StringRef Name, SMLoc NameLoc, 114 void expandInstruction(MCInst &Inst, SMLoc IDLoc, 116 void expandLoadImm(MCInst &Inst, SMLoc IDLoc, 118 void expandLoadAddressImm(MCInst &Inst, SMLoc IDLoc, 120 void expandLoadAddressReg(MCInst &Inst, SMLoc IDLoc, 136 bool parseDirectiveWord(unsigned Size, SMLoc L); 240 SMLoc StartLoc, EndLoc; [all …]
|
/external/llvm/lib/TableGen/ |
D | Error.cpp | 24 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, in PrintMessage() 26 SMLoc NullLoc; in PrintMessage() 35 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) { in PrintWarning() 40 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); in PrintWarning() 47 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError() 52 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg); in PrintError() 64 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const std::string &Msg) { in PrintFatalError()
|
D | TGParser.h | 38 SMLoc Loc; 40 SMLoc L) in LetRecord() 92 bool Error(SMLoc L, const Twine &Msg) const { in Error() 104 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV); 105 bool SetValue(Record *TheRec, SMLoc Loc, Init *ValName, 107 bool SetValue(Record *TheRec, SMLoc Loc, const std::string &ValName, in SetValue() 126 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc); 127 bool ProcessForeachDefs(Record *CurRec, SMLoc Loc, IterSet &IterVals); 140 SMLoc DefmPrefixLoc, 141 SMLoc SubClassLoc, [all …]
|
/external/llvm/tools/llvm-mcmarkup/ |
D | llvm-mcmarkup.cpp | 60 SMLoc StartLoc; 62 MarkupTag(StringRef n, StringRef m, SMLoc Loc) in MarkupTag() 66 SMLoc getLoc() const { return StartLoc; } in getLoc() 81 void FatalError(SMLoc Loc, StringRef Msg); 84 void MarkupParser::FatalError(SMLoc Loc, StringRef Msg) { in FatalError() 127 SMLoc Loc = SMLoc::getFromPointer(Start - 1); in parseTag() 131 FatalError(SMLoc::getFromPointer(Start), "unterminated markup tag"); in parseTag() 149 SrcMgr.AddNewSourceBuffer(Buffer, SMLoc()); in parseMCMarkup() 175 SMLoc Loc = SMLoc::getFromPointer(Lex.getPosition() - 1); in parseMCMarkup()
|
/external/llvm/lib/Target/AArch64/AsmParser/ |
D | AArch64AsmParser.cpp | 66 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 68 SMLoc NameLoc, 72 bool ParseDirectiveTLSDescCall(SMLoc L); 73 bool ParseDirectiveWord(unsigned Size, SMLoc L); 75 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 137 IdentifyRegister(unsigned &RegNum, SMLoc &RegEndLoc, StringRef &LayoutSpec, 138 SMLoc &LayoutLoc) const; 161 SMLoc StartLoc, EndLoc; 212 AArch64Operand(KindTy K, SMLoc S, SMLoc E) in AArch64Operand() 219 SMLoc getStartLoc() const { return StartLoc; } in getStartLoc() [all …]
|
/external/llvm/utils/FileCheck/ |
D | FileCheck.cpp | 57 SMLoc PatternLoc; 135 PatternLoc = SMLoc::getFromPointer(PatternStr.data()); in ParsePattern() 170 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in ParsePattern() 202 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in ParsePattern() 216 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error, in ParsePattern() 228 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), in ParsePattern() 238 SM.PrintMessage(SMLoc::getFromPointer(Name.data()+i), in ParsePattern() 246 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error, in ParsePattern() 258 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), in ParsePattern() 324 SM.PrintMessage(SMLoc::getFromPointer(RS.data()), SourceMgr::DK_Error, in AddRegExToRegEx() [all …]
|
/external/llvm/include/llvm/MC/ |
D | MCTargetAsmParser.h | 18 class SMLoc; variable 39 SMLoc Loc; 43 AsmRewrite(AsmRewriteKind kind, SMLoc loc, unsigned len = 0, unsigned val = 0) 98 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, 99 SMLoc &EndLoc) = 0; 115 SMLoc NameLoc, 141 MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
|
D | MCFixup.h | 75 SMLoc Loc; 78 MCFixupKind Kind, SMLoc Loc = SMLoc()) { 107 SMLoc getLoc() const { return Loc; } in getLoc()
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 44 bool Error(SMLoc L, const Twine &Msg, in Error() 51 X86Operand *ErrorOperand(SMLoc Loc, StringRef Msg) { in ErrorOperand() 59 X86Operand *ParseIntelOffsetOfOperator(SMLoc StartLoc); 60 X86Operand *ParseIntelOperator(SMLoc StartLoc, unsigned OpKind); 61 X86Operand *ParseIntelMemOperand(unsigned SegReg, SMLoc StartLoc); 63 X86Operand *ParseMemOperand(unsigned SegReg, SMLoc StartLoc); 68 bool ParseDirectiveWord(unsigned Size, SMLoc L); 69 bool ParseDirectiveCode(StringRef IDVal, SMLoc L); 74 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, 111 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); [all …]
|
/external/llvm/include/llvm/MC/MCParser/ |
D | MCParsedAsmOperand.h | 14 class SMLoc; variable 63 virtual SMLoc getStartLoc() const = 0; 65 virtual SMLoc getEndLoc() const = 0; 83 virtual SMLoc getOffsetOfLoc() const { return SMLoc(); } in getOffsetOfLoc()
|
D | MCAsmLexer.h | 71 SMLoc getLoc() const; 72 SMLoc getEndLoc() const; 113 SMLoc ErrLoc; 126 void SetError(const SMLoc &errLoc, const std::string &err) { in SetError() 145 SMLoc getLoc() const; 153 const SMLoc &getErrLoc() { in getErrLoc()
|
D | MCAsmParser.h | 28 class SMLoc; variable 50 typedef bool (*DirectiveHandler)(MCAsmParserExtension*, StringRef, SMLoc); 108 virtual bool Warning(SMLoc L, const Twine &Msg, 115 virtual bool Error(SMLoc L, const Twine &Msg, 151 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0; 160 virtual bool parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
|
D | MCAsmParserExtension.h | 33 template<typename T, bool (T::*Handler)(StringRef, SMLoc)> 36 SMLoc DirectiveLoc) { in HandleDirective() 59 bool Warning(SMLoc L, const Twine &Msg) { in Warning() 62 bool Error(SMLoc L, const Twine &Msg) { in Error()
|
/external/llvm/utils/TableGen/ |
D | SetTheory.cpp | 30 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply() 37 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply() 52 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply() 69 RecSet &Elts, ArrayRef<SMLoc> Loc) =0; 71 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply() 89 RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply2() 102 RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply2() 120 RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply2() 139 RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply2() 150 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply() [all …]
|
/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 56 SMLoc IncludeLoc, in AddIncludeFile() 76 int SourceMgr::FindBufferContainingLoc(SMLoc Loc) const { in FindBufferContainingLoc() 89 SourceMgr::getLineAndColumn(SMLoc Loc, int BufferID) const { in getLineAndColumn() 114 for (; SMLoc::getFromPointer(Ptr) != Loc; ++Ptr) in getLineAndColumn() 132 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { in PrintIncludeStack() 133 if (IncludeLoc == SMLoc()) return; // Top of stack. in PrintIncludeStack() 151 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in GetMessage() 196 R.Start = SMLoc::getFromPointer(LineStart); in GetMessage() 198 R.End = SMLoc::getFromPointer(LineEnd); in GetMessage() 214 void SourceMgr::PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in PrintMessage() [all …]
|
/external/llvm/include/llvm/TableGen/ |
D | Error.h | 22 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg); 26 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg); 31 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(ArrayRef<SMLoc> ErrorLoc,
|