/external/llvm/lib/MC/MCParser/ |
D | DarwinAsmParser.cpp | 28 template<bool (DarwinAsmParser::*Handler)(StringRef, SMLoc)> 107 bool ParseDirectiveDesc(StringRef, SMLoc); 108 bool ParseDirectiveDumpOrLoad(StringRef, SMLoc); 109 bool ParseDirectiveLsym(StringRef, SMLoc); 110 bool ParseDirectiveSection(StringRef, SMLoc); 111 bool ParseDirectiveSecureLogReset(StringRef, SMLoc); 112 bool ParseDirectiveSecureLogUnique(StringRef, SMLoc); 113 bool ParseDirectiveSubsectionsViaSymbols(StringRef, SMLoc); 114 bool ParseDirectiveTBSS(StringRef, SMLoc); 115 bool ParseDirectiveZerofill(StringRef, SMLoc); [all …]
|
D | COFFAsmParser.cpp | 27 template<bool (COFFAsmParser::*Handler)(StringRef, SMLoc)> 80 bool ParseSectionDirectiveText(StringRef, SMLoc) { in ParseSectionDirectiveText() argument 87 bool ParseSectionDirectiveData(StringRef, SMLoc) { in ParseSectionDirectiveData() argument 94 bool ParseSectionDirectiveBSS(StringRef, SMLoc) { in ParseSectionDirectiveBSS() argument 102 bool ParseDirectiveDef(StringRef, SMLoc); 103 bool ParseDirectiveScl(StringRef, SMLoc); 104 bool ParseDirectiveType(StringRef, SMLoc); 105 bool ParseDirectiveEndef(StringRef, SMLoc); 106 bool ParseDirectiveSecRel32(StringRef, SMLoc); 109 bool ParseSEHDirectiveStartProc(StringRef, SMLoc); [all …]
|
D | ELFAsmParser.cpp | 25 template<bool (ELFAsmParser::*Handler)(StringRef, SMLoc)> 80 bool ParseSectionDirectiveData(StringRef, SMLoc) { in ParseSectionDirectiveData() argument 85 bool ParseSectionDirectiveText(StringRef, SMLoc) { in ParseSectionDirectiveText() argument 90 bool ParseSectionDirectiveBSS(StringRef, SMLoc) { in ParseSectionDirectiveBSS() argument 95 bool ParseSectionDirectiveRoData(StringRef, SMLoc) { in ParseSectionDirectiveRoData() argument 100 bool ParseSectionDirectiveTData(StringRef, SMLoc) { in ParseSectionDirectiveTData() argument 106 bool ParseSectionDirectiveTBSS(StringRef, SMLoc) { in ParseSectionDirectiveTBSS() argument 112 bool ParseSectionDirectiveDataRel(StringRef, SMLoc) { in ParseSectionDirectiveDataRel() argument 118 bool ParseSectionDirectiveDataRelRo(StringRef, SMLoc) { in ParseSectionDirectiveDataRelRo() argument 124 bool ParseSectionDirectiveDataRelRoLocal(StringRef, SMLoc) { in ParseSectionDirectiveDataRelRoLocal() argument [all …]
|
D | AsmParser.cpp | 68 SMLoc InstantiationLoc; 71 SMLoc ExitLoc; 74 MacroInstantiation(const Macro *M, SMLoc IL, SMLoc EL, 123 SMLoc CppHashLoc; 159 virtual bool Warning(SMLoc L, const Twine &Msg, 161 virtual bool Error(SMLoc L, const Twine &Msg, 167 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc); 168 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc); 178 bool ParseCppHashLineFilenameComment(const SMLoc &L); 180 bool HandleMacroEntry(StringRef Name, SMLoc NameLoc, const Macro *M); [all …]
|
D | MCAsmLexer.cpp | 21 SMLoc MCAsmLexer::getLoc() const { in getLoc() 22 return SMLoc::getFromPointer(TokStart); in getLoc() 25 SMLoc AsmToken::getLoc() const { in getLoc() 26 return SMLoc::getFromPointer(Str.data()); in getLoc() 29 SMLoc AsmToken::getEndLoc() const { in getEndLoc() 30 return SMLoc::getFromPointer(Str.data() + Str.size() - 1); in getEndLoc()
|
/external/llvm/include/llvm/Support/ |
D | SMLoc.h | 23 class SMLoc { 26 SMLoc() : Ptr(0) {} in SMLoc() function 27 SMLoc(const SMLoc &RHS) : Ptr(RHS.Ptr) {} in SMLoc() function 31 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; } 32 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; } 36 static SMLoc getFromPointer(const char *Ptr) { in getFromPointer() 37 SMLoc L; in getFromPointer() 48 SMLoc Start, End; 51 SMRange(SMLoc Start, SMLoc End) : Start(Start), End(End) { in SMRange()
|
D | SourceMgr.h | 51 SMLoc IncludeLoc; 98 SMLoc getParentIncludeLoc(unsigned i) const { in getParentIncludeLoc() 105 unsigned AddNewSourceBuffer(MemoryBuffer *F, SMLoc IncludeLoc) { in AddNewSourceBuffer() 117 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 122 int FindBufferContainingLoc(SMLoc Loc) const; 126 unsigned FindLineNumber(SMLoc Loc, int BufferID = -1) const; 133 void PrintMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg, 143 SMDiagnostic GetMessage(SMLoc Loc, DiagKind Kind, const Twine &Msg, 152 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const; 160 SMLoc Loc; [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() 43 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 45 bool ParseDirectiveWord(unsigned Size, SMLoc L); 47 bool MatchAndEmitInstruction(SMLoc IDLoc, 64 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc, 81 SMLoc StartLoc, EndLoc; 134 SMLoc getStartLoc() const { return StartLoc; } in getStartLoc() 137 SMLoc getEndLoc() const { return EndLoc; } in getEndLoc() 219 static MBlazeOperand *CreateToken(StringRef Str, SMLoc S) { in CreateToken() [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 | 19 bool MatchAndEmitInstruction(SMLoc IDLoc, 23 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 25 bool ParseInstruction(StringRef Name, SMLoc NameLoc, 39 MatchAndEmitInstruction(SMLoc IDLoc, in MatchAndEmitInstruction() 46 ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) { in ParseRegister() 51 ParseInstruction(StringRef Name, SMLoc NameLoc, in ParseInstruction()
|
/external/llvm/lib/TableGen/ |
D | TGParser.h | 38 SMLoc Loc; 40 SMLoc L) in LetRecord() 91 bool Error(SMLoc L, const Twine &Msg) const { in Error() 103 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV); 104 bool SetValue(Record *TheRec, SMLoc Loc, Init *ValName, 106 bool SetValue(Record *TheRec, SMLoc Loc, const std::string &ValName, in SetValue() 126 SMLoc Loc); 128 SMLoc Loc, IterSet &IterVals, ForeachLoop &CurLoop, 139 SMLoc DefmPrefixLoc); 142 SMLoc DefmPrefixLoc, [all …]
|
D | Error.cpp | 23 void PrintWarning(SMLoc WarningLoc, const Twine &Msg) { in PrintWarning() 28 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); in PrintWarning() 39 void PrintError(SMLoc ErrorLoc, const Twine &Msg) { in PrintError() 44 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg); in PrintError()
|
D | TGParser.cpp | 29 SMLoc RefLoc; 38 SMLoc RefLoc; 63 bool TGParser::AddValue(Record *CurRec, SMLoc Loc, const RecordVal &RV) { in AddValue() 82 bool TGParser::SetValue(Record *CurRec, SMLoc Loc, Init *ValName, in SetValue() 296 SMLoc Loc) { in ProcessForeachDefs() 320 SMLoc Loc, IterSet &IterVals, in ProcessForeachDefs() 664 SMLoc StartLoc = Lex.getLoc(); in ParseOptionalRangeList() 686 SMLoc StartLoc = Lex.getLoc(); in ParseOptionalBitList() 771 SMLoc Loc = Lex.getLoc(); in ParseIDValue() 779 const std::string &Name, SMLoc NameLoc, in ParseIDValue() [all …]
|
/external/llvm/utils/FileCheck/ |
D | FileCheck.cpp | 53 SMLoc PatternLoc; 111 PatternLoc = SMLoc::getFromPointer(PatternStr.data()); in ParsePattern() 147 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in ParsePattern() 177 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in ParsePattern() 191 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error, in ParsePattern() 199 SM.PrintMessage(SMLoc::getFromPointer(Name.data()+i), in ParsePattern() 206 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error, in ParsePattern() 272 SM.PrintMessage(SMLoc::getFromPointer(RegexStr.data()), SourceMgr::DK_Error, in AddRegExToRegEx() 389 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Note, in PrintFailureInfo() 427 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data() + Best), in PrintFailureInfo() [all …]
|
/external/llvm/include/llvm/TableGen/ |
D | Error.h | 23 SMLoc Loc; 26 TGError(SMLoc loc, const std::string &message) : Loc(loc), Message(message) {} in TGError() 28 SMLoc getLoc() const { return Loc; } in getLoc() 32 void PrintWarning(SMLoc WarningLoc, const Twine &Msg); 37 void PrintError(SMLoc ErrorLoc, const Twine &Msg);
|
/external/llvm/include/llvm/MC/ |
D | MCTargetAsmParser.h | 18 class SMLoc; variable 51 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, 52 SMLoc &EndLoc) = 0; 67 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc, 89 MatchAndEmitInstruction(SMLoc IDLoc,
|
D | MCFixup.h | 75 SMLoc Loc; 78 MCFixupKind Kind, SMLoc Loc = SMLoc()) { 107 SMLoc getLoc() const { return Loc; } in getLoc()
|
D | MCTargetAsmLexer.h | 24 SMLoc ErrLoc; 34 void SetError(const SMLoc &errLoc, const std::string &err) { in SetError() 68 const SMLoc &getErrLoc() { in getErrLoc()
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 41 bool Error(SMLoc L, const Twine &Msg, in Error() 46 X86Operand *ErrorOperand(SMLoc Loc, StringRef Msg) { in ErrorOperand() 56 X86Operand *ParseMemOperand(unsigned SegReg, SMLoc StartLoc); 58 bool ParseDirectiveWord(unsigned Size, SMLoc L); 59 bool ParseDirectiveCode(StringRef IDVal, SMLoc L); 64 bool MatchAndEmitInstruction(SMLoc IDLoc, 100 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 102 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc, 157 SMLoc StartLoc, EndLoc; 183 X86Operand(KindTy K, SMLoc Start, SMLoc End) in X86Operand() [all …]
|
/external/llvm/include/llvm/MC/MCParser/ |
D | MCAsmParser.h | 25 class SMLoc; variable 35 typedef bool (*DirectiveHandler)(MCAsmParserExtension*, StringRef, SMLoc); 80 virtual bool Warning(SMLoc L, const Twine &Msg, 88 virtual bool Error(SMLoc L, const Twine &Msg, 120 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0; 129 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0;
|
D | MCAsmLexer.h | 72 SMLoc getLoc() const; 73 SMLoc getEndLoc() const; 121 SMLoc ErrLoc; 133 void SetError(const SMLoc &errLoc, const std::string &err) { in SetError() 152 SMLoc getLoc() const; 160 const SMLoc &getErrLoc() { in getErrLoc()
|
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()
|
D | MCParsedAsmOperand.h | 14 class SMLoc; variable 27 virtual SMLoc getStartLoc() const = 0; 29 virtual SMLoc getEndLoc() const = 0;
|
/external/llvm/lib/Support/ |
D | SourceMgr.cpp | 52 SMLoc IncludeLoc, in AddIncludeFile() 72 int SourceMgr::FindBufferContainingLoc(SMLoc Loc) const { in FindBufferContainingLoc() 84 unsigned SourceMgr::FindLineNumber(SMLoc Loc, int BufferID) const { in FindLineNumber() 108 for (; SMLoc::getFromPointer(Ptr) != Loc; ++Ptr) in FindLineNumber() 124 void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const { in PrintIncludeStack() 125 if (IncludeLoc == SMLoc()) return; // Top of stack. in PrintIncludeStack() 143 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in GetMessage() 180 R.Start = SMLoc::getFromPointer(LineStart); in GetMessage() 182 R.End = SMLoc::getFromPointer(LineEnd); in GetMessage() 195 void SourceMgr::PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, in PrintMessage() [all …]
|
/external/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 85 bool Warning(SMLoc L, const Twine &Msg, in Warning() 89 bool Error(SMLoc L, const Twine &Msg, in Error() 103 bool parseDirectiveWord(unsigned Size, SMLoc L); 104 bool parseDirectiveThumb(SMLoc L); 105 bool parseDirectiveARM(SMLoc L); 106 bool parseDirectiveThumbFunc(SMLoc L); 107 bool parseDirectiveCode(SMLoc L); 108 bool parseDirectiveSyntax(SMLoc L); 109 bool parseDirectiveReq(StringRef Name, SMLoc L); 110 bool parseDirectiveUnreq(SMLoc L); [all …]
|