Home
last modified time | relevance | path

Searched refs:getFromPointer (Results 1 – 19 of 19) sorted by relevance

/external/llvm/lib/MC/MCParser/
DMCAsmLexer.cpp23 return SMLoc::getFromPointer(TokStart); in getLoc()
27 return SMLoc::getFromPointer(Str.data()); in getLoc()
31 return SMLoc::getFromPointer(Str.data() + Str.size()); in getEndLoc()
DAsmLexer.cpp47 SetError(SMLoc::getFromPointer(Loc), Msg); in ReturnError()
DAsmParser.cpp778 EndLoc = SMLoc::getFromPointer(Identifier.end()); in ParsePrimaryExpr()
4158 SMLoc Start = SMLoc::getFromPointer(SymName.data()); in parseMSInlineAsm()
/external/llvm/utils/FileCheck/
DFileCheck.cpp154 PatternLoc = SMLoc::getFromPointer(PatternStr.data()); in ParsePattern()
189 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in ParsePattern()
221 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in ParsePattern()
235 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error, in ParsePattern()
247 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), in ParsePattern()
257 SM.PrintMessage(SMLoc::getFromPointer(Name.data()+i), in ParsePattern()
265 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error, in ParsePattern()
277 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), in ParsePattern()
343 SM.PrintMessage(SMLoc::getFromPointer(RS.data()), SourceMgr::DK_Error, in AddRegExToRegEx()
504 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Note, in PrintFailureInfo()
[all …]
/external/llvm/tools/llvm-mc/
DDisassembler.cpp70 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second), in PrintInsts()
83 SM.PrintMessage(SMLoc::getFromPointer(Bytes[Index].second), in PrintInsts()
140 SM.PrintMessage(SMLoc::getFromPointer(Value.data()), SourceMgr::DK_Error, in ByteArrayFromString()
182 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble()
191 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble()
209 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble()
/external/llvm/lib/TableGen/
DError.cpp46 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); in PrintWarning()
58 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg); in PrintError()
DTGLexer.cpp37 return SMLoc::getFromPointer(TokStart); in getLoc()
305 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr), in LexInclude()
/external/llvm/tools/llvm-mcmarkup/
Dllvm-mcmarkup.cpp127 SMLoc Loc = SMLoc::getFromPointer(Start - 1); in parseTag()
131 FatalError(SMLoc::getFromPointer(Start), "unterminated markup tag"); in parseTag()
175 SMLoc Loc = SMLoc::getFromPointer(Lex.getPosition() - 1); in parseMCMarkup()
/external/llvm/include/llvm/Support/
DSMLoc.h35 static SMLoc getFromPointer(const char *Ptr) { in getFromPointer() function
DYAMLParser.h186 SMLoc Start = SMLoc::getFromPointer(Val.begin()); in ScalarNode()
187 SMLoc End = SMLoc::getFromPointer(Val.end()); in ScalarNode()
/external/llvm/lib/Support/
DSourceMgr.cpp114 for (; SMLoc::getFromPointer(Ptr) != Loc; ++Ptr) in getLineAndColumn()
196 R.Start = SMLoc::getFromPointer(LineStart); in GetMessage()
198 R.End = SMLoc::getFromPointer(LineEnd); in GetMessage()
DYAMLParser.cpp274 printError(SMLoc::getFromPointer(Current), SourceMgr::DK_Error, Message); in setError()
1595 SMLoc Start = SMLoc::getFromPointer(peekNext().Range.begin()); in Node()
/external/llvm/lib/AsmParser/
DLLLexer.h55 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } in getLoc()
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp587 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseAddress()
684 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
786 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parsePCRel()
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp1223 EndLoc = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseOperand()
1236 EndLoc = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseOperand()
1552 RegEndLoc = SMLoc::getFromPointer(S.getPointer() + DotPos); in IdentifyRegister()
1563 LayoutLoc = SMLoc::getFromPointer(S.getPointer() + DotPos + 1); in IdentifyRegister()
1927 SMLoc S = SMLoc::getFromPointer(NameLoc.getPointer() + CondCodePos + 1); in ParseInstruction()
1939 SMLoc DotL = SMLoc::getFromPointer(NameLoc.getPointer() + CondCodePos); in ParseInstruction()
1942 SMLoc E = SMLoc::getFromPointer(NameLoc.getPointer() + CondCodePos + 3); in ParseInstruction()
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp985 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseOperand()
1012 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseOperand()
1023 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseOperand()
1201 SMLoc E = SMLoc::getFromPointer( in parseMemOperand()
1207 SMLoc E = SMLoc::getFromPointer( in parseMemOperand()
1242 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemOperand()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp935 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); in CreateToken()
1246 SMLoc Loc = SMLoc::getFromPointer(SymLocPtr + SymName.size()); in RewriteIntelBracExpression()
1515 SMLoc Loc = SMLoc::getFromPointer(DotDispStr.data()); in ParseIntelDotOperator()
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp1097 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseOperand()
1224 SMLoc DotLoc = SMLoc::getFromPointer(NameLoc.getPointer() + Dot); in ParseInstruction()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp4487 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
4512 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
4542 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
4953 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + 2); in ParseInstruction()
5002 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + Mnemonic.size()); in ParseInstruction()
5009 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + Mnemonic.size() + in ParseInstruction()
5036 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + Start); in ParseInstruction()
5045 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + Start); in ParseInstruction()