/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 | 26 template<bool (COFFAsmParser::*Handler)(StringRef, SMLoc)> 77 bool ParseSectionDirectiveText(StringRef, SMLoc) { in ParseSectionDirectiveText() argument 84 bool ParseSectionDirectiveData(StringRef, SMLoc) { in ParseSectionDirectiveData() argument 91 bool ParseSectionDirectiveBSS(StringRef, SMLoc) { in ParseSectionDirectiveBSS() argument 99 bool ParseDirectiveDef(StringRef, SMLoc); 100 bool ParseDirectiveScl(StringRef, SMLoc); 101 bool ParseDirectiveType(StringRef, SMLoc); 102 bool ParseDirectiveEndef(StringRef, SMLoc); 105 bool ParseSEHDirectiveStartProc(StringRef, SMLoc); 106 bool ParseSEHDirectiveEndProc(StringRef, SMLoc); [all …]
|
D | ELFAsmParser.cpp | 25 template<bool (ELFAsmParser::*Handler)(StringRef, SMLoc)> 67 bool ParseSectionDirectiveData(StringRef, SMLoc) { in ParseSectionDirectiveData() argument 72 bool ParseSectionDirectiveText(StringRef, SMLoc) { in ParseSectionDirectiveText() argument 77 bool ParseSectionDirectiveBSS(StringRef, SMLoc) { in ParseSectionDirectiveBSS() argument 82 bool ParseSectionDirectiveRoData(StringRef, SMLoc) { in ParseSectionDirectiveRoData() argument 87 bool ParseSectionDirectiveTData(StringRef, SMLoc) { in ParseSectionDirectiveTData() argument 93 bool ParseSectionDirectiveTBSS(StringRef, SMLoc) { in ParseSectionDirectiveTBSS() argument 99 bool ParseSectionDirectiveDataRel(StringRef, SMLoc) { in ParseSectionDirectiveDataRel() argument 105 bool ParseSectionDirectiveDataRelRo(StringRef, SMLoc) { in ParseSectionDirectiveDataRelRo() argument 111 bool ParseSectionDirectiveDataRelRoLocal(StringRef, SMLoc) { in ParseSectionDirectiveDataRelRoLocal() argument [all …]
|
D | AsmParser.cpp | 69 SMLoc InstantiationLoc; 72 SMLoc ExitLoc; 75 MacroInstantiation(const Macro *M, SMLoc IL, SMLoc EL, 141 virtual bool Warning(SMLoc L, const Twine &Msg); 142 virtual bool Error(SMLoc L, const Twine &Msg); 147 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc); 148 virtual bool ParseParenExpression(const MCExpr *&Res, SMLoc &EndLoc); 158 bool HandleMacroEntry(StringRef Name, SMLoc NameLoc, const Macro *M); 162 const SMLoc &L); 166 void PrintMessage(SMLoc Loc, const Twine &Msg, const char *Type, in PrintMessage() [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()
|
/external/llvm/lib/Target/MBlaze/AsmParser/ |
D | MBlazeAsmParser.cpp | 39 void Warning(SMLoc L, const Twine &Msg) { Parser.Warning(L, Msg); } in Warning() 40 bool Error(SMLoc L, const Twine &Msg) { return Parser.Error(L, Msg); } in Error() 48 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 50 bool ParseDirectiveWord(unsigned Size, SMLoc L); 52 bool MatchAndEmitInstruction(SMLoc IDLoc, 69 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc, 86 SMLoc StartLoc, EndLoc; 139 SMLoc getStartLoc() const { return StartLoc; } in getStartLoc() 142 SMLoc getEndLoc() const { return EndLoc; } in getEndLoc() 224 static MBlazeOperand *CreateToken(StringRef Str, SMLoc S) { in CreateToken() [all …]
|
/external/llvm/include/llvm/Support/ |
D | SMLoc.h | 21 class SMLoc { 24 SMLoc() : Ptr(0) {} in SMLoc() function 25 SMLoc(const SMLoc &RHS) : Ptr(RHS.Ptr) {} in SMLoc() function 29 bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; } 30 bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; } 34 static SMLoc getFromPointer(const char *Ptr) { in getFromPointer() 35 SMLoc L; in getFromPointer()
|
D | SourceMgr.h | 47 SMLoc IncludeLoc; 91 SMLoc getParentIncludeLoc(unsigned i) const { in getParentIncludeLoc() 98 unsigned AddNewSourceBuffer(MemoryBuffer *F, SMLoc IncludeLoc) { in AddNewSourceBuffer() 110 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 115 int FindBufferContainingLoc(SMLoc Loc) const; 119 unsigned FindLineNumber(SMLoc Loc, int BufferID = -1) const; 127 void PrintMessage(SMLoc Loc, const Twine &Msg, const char *Type, 137 SMDiagnostic GetMessage(SMLoc Loc, 143 void PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const; 151 SMLoc Loc; [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/utils/FileCheck/ |
D | FileCheck.cpp | 53 SMLoc PatternLoc; 111 PatternLoc = SMLoc::getFromPointer(PatternStr.data()); in ParsePattern() 146 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in ParsePattern() 175 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in ParsePattern() 188 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), in ParsePattern() 196 SM.PrintMessage(SMLoc::getFromPointer(Name.data()+i), in ParsePattern() 203 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), in ParsePattern() 269 SM.PrintMessage(SMLoc::getFromPointer(RegexStr.data()), in AddRegExToRegEx() 386 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), OS.str(), "note", in PrintFailureInfo() 424 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data() + Best), in PrintFailureInfo() [all …]
|
/external/llvm/lib/Target/X86/AsmParser/ |
D | X86AsmParser.cpp | 45 bool Error(SMLoc L, const Twine &Msg) { return Parser.Error(L, Msg); } in Error() 48 X86Operand *ParseMemOperand(unsigned SegReg, SMLoc StartLoc); 50 bool ParseDirectiveWord(unsigned Size, SMLoc L); 52 bool MatchAndEmitInstruction(SMLoc IDLoc, 84 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 86 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc, 112 SMLoc StartLoc, EndLoc; 137 X86Operand(KindTy K, SMLoc Start, SMLoc End) in X86Operand() 141 SMLoc getStartLoc() const { return StartLoc; } in getStartLoc() 143 SMLoc getEndLoc() const { return EndLoc; } in getEndLoc() [all …]
|
/external/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 47 void Warning(SMLoc L, const Twine &Msg) { Parser.Warning(L, Msg); } in Warning() 48 bool Error(SMLoc L, const Twine &Msg) { return Parser.Error(L, Msg); } in Error() 51 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc); 70 SMLoc &E); 72 const MCExpr *&ShiftAmount, SMLoc &E); 73 bool ParseDirectiveWord(unsigned Size, SMLoc L); 74 bool ParseDirectiveThumb(SMLoc L); 75 bool ParseDirectiveThumbFunc(SMLoc L); 76 bool ParseDirectiveCode(SMLoc L); 77 bool ParseDirectiveSyntax(SMLoc L); [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetAsmParser.h | 18 class SMLoc; variable 39 virtual bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, 40 SMLoc &EndLoc) = 0; 55 virtual bool ParseInstruction(StringRef Name, SMLoc NameLoc, 77 MatchAndEmitInstruction(SMLoc IDLoc,
|
D | TargetAsmLexer.h | 24 SMLoc ErrLoc; 34 void SetError(const SMLoc &errLoc, const std::string &err) { in SetError() 68 const SMLoc &getErrLoc() { in getErrLoc()
|
/external/llvm/include/llvm/MC/MCParser/ |
D | MCAsmParser.h | 23 class SMLoc; variable 34 typedef bool (*DirectiveHandler)(MCAsmParserExtension*, StringRef, SMLoc); 76 virtual bool Warning(SMLoc L, const Twine &Msg) = 0; 83 virtual bool Error(SMLoc L, const Twine &Msg) = 0; 113 virtual bool ParseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0; 122 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()
|
D | MCAsmLexer.h | 74 SMLoc getLoc() const; 122 SMLoc ErrLoc; 134 void SetError(const SMLoc &errLoc, const std::string &err) { in SetError() 153 SMLoc getLoc() const; 161 const SMLoc &getErrLoc() { in getErrLoc()
|
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, const Twine &Msg, in GetMessage() 181 void SourceMgr::PrintMessage(SMLoc Loc, const Twine &Msg, in PrintMessage()
|
/external/llvm/utils/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 PrintError(SMLoc ErrorLoc, const Twine &Msg);
|
D | TGParser.h | 37 SMLoc Loc; 39 SMLoc L) in LetRecord() 63 bool Error(SMLoc L, const Twine &Msg) const { in Error() 74 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV); 75 bool SetValue(Record *TheRec, SMLoc Loc, const std::string &ValName, 102 Init *ParseIDValue(Record *CurRec, const std::string &Name, SMLoc NameLoc);
|
D | Error.cpp | 23 void PrintError(SMLoc ErrorLoc, const Twine &Msg) { in PrintError() 28 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), Msg, "error"); in PrintError()
|
D | TGLexer.cpp | 35 SMLoc TGLexer::getLoc() const { in getLoc() 36 return SMLoc::getFromPointer(TokStart); in getLoc() 59 SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer); in getNextChar() 60 if (ParentIncludeLoc != SMLoc()) { in getNextChar() 263 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr), in LexInclude()
|
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, const std::string &ValName, in SetValue() 532 SMLoc StartLoc = Lex.getLoc(); in ParseOptionalRangeList() 554 SMLoc StartLoc = Lex.getLoc(); in ParseOptionalBitList() 639 SMLoc Loc = Lex.getLoc(); in ParseIDValue() 647 const std::string &Name, SMLoc NameLoc) { in ParseIDValue() 803 SMLoc OpLoc = Lex.getLoc(); in ParseOperation() 1068 SMLoc NameLoc = Lex.getLoc(); in ParseSimpleValue() [all …]
|
/external/llvm/tools/llvm-mc/ |
D | Disassembler.cpp | 73 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second), in PrintInsts() 116 SM.PrintMessage(SMLoc::getFromPointer(Value.data()), in ByteArrayFromString() 159 SM.AddNewSourceBuffer(&Buffer, SMLoc()); in disassemble() 207 SM.AddNewSourceBuffer(&Buffer, SMLoc()); in disassembleEnhanced()
|