Home
last modified time | relevance | path

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

/external/llvm/utils/FileCheck/
DFileCheck.cpp178 PatternLoc = SMLoc::getFromPointer(PatternStr.data()); in ParsePattern()
213 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in ParsePattern()
245 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in ParsePattern()
259 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error, in ParsePattern()
271 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), in ParsePattern()
281 SM.PrintMessage(SMLoc::getFromPointer(Name.data()+i), in ParsePattern()
289 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error, in ParsePattern()
301 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), in ParsePattern()
340 SM.PrintMessage(SMLoc::getFromPointer(RS.data()), SourceMgr::DK_Error, in AddRegExToRegEx()
501 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Note, in PrintFailureInfo()
[all …]
/external/llvm/tools/llvm-mc/
DDisassembler.cpp53 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts()
66 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts()
117 SM.PrintMessage(SMLoc::getFromPointer(Value.data()), SourceMgr::DK_Error, in ByteArrayFromString()
179 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble()
188 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble()
206 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble()
/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.cpp827 EndLoc = SMLoc::getFromPointer(Identifier.end()); in parsePrimaryExpr()
841 return Error(SMLoc::getFromPointer(Split.second.begin()), in parsePrimaryExpr()
4604 SMLoc Start = SMLoc::getFromPointer(SymName.data()); in parseMSInlineAsm()
/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.cpp126 SMLoc Loc = SMLoc::getFromPointer(Start - 1); in parseTag()
130 FatalError(SMLoc::getFromPointer(Start), "unterminated markup tag"); in parseTag()
176 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.h196 SMLoc Start = SMLoc::getFromPointer(Val.begin()); in ScalarNode()
197 SMLoc End = SMLoc::getFromPointer(Val.end()); in ScalarNode()
/external/llvm/lib/Support/
DSourceMgr.cpp103 for (; SMLoc::getFromPointer(Ptr) != Loc; ++Ptr) in getLineAndColumn()
180 R.Start = SMLoc::getFromPointer(LineStart); in GetMessage()
182 R.End = SMLoc::getFromPointer(LineEnd); in GetMessage()
DYAMLParser.cpp284 printError(SMLoc::getFromPointer(Current), SourceMgr::DK_Error, Message); in setError()
1561 SMLoc Start = SMLoc::getFromPointer(peekNext().Range.begin()); in Node()
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp609 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer()-1); in parseOperand()
645 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseSparcAsmOperand()
659 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseSparcAsmOperand()
678 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseSparcAsmOperand()
692 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseSparcAsmOperand()
/external/llvm/lib/AsmParser/
DLLLexer.h54 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } in getLoc()
/external/llvm/unittests/Support/
DSourceMgrTest.cpp32 return SMLoc::getFromPointer( in getLoc()
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp609 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseAddress()
705 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
845 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parsePCRel()
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp1834 EndLoc = SMLoc::getFromPointer(getLoc().getPointer() - 1); in ParseRegister()
2047 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseAdrpLabel()
2068 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseAdrLabel()
2296 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseOptionalShiftExtend()
2323 E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseOptionalShiftExtend()
3010 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in parseOperand()
3048 E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in parseOperand()
3096 E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in parseOperand()
3118 E = SMLoc::getFromPointer(Loc.getPointer() - 1); in parseOperand()
3208 SMLoc SuffixLoc = SMLoc::getFromPointer(NameLoc.getPointer() + in ParseInstruction()
[all …]
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp2455 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
2482 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
2696 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemOperand()
2702 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemOperand()
2728 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemOperand()
2917 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseImm()
2962 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseInvNum()
/external/llvm/lib/Target/X86/AsmParser/
DX86Operand.h448 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size()); in CreateToken()
DX86AsmParser.cpp1112 SMLoc Loc = SMLoc::getFromPointer(SymLocPtr + SymName.size()); in RewriteIntelBracExpression()
1536 SMLoc Loc = SMLoc::getFromPointer(DotDispStr.data()); in ParseIntelDotOperator()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp5160 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
5185 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
5215 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
5227 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
5704 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + 2); in ParseInstruction()
5753 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + Mnemonic.size()); in ParseInstruction()
5760 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + Mnemonic.size() + in ParseInstruction()
5789 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + Start); in ParseInstruction()
5799 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + Start); in ParseInstruction()
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp1431 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseOperand()
1582 SMLoc DotLoc = SMLoc::getFromPointer(NameLoc.getPointer() + Dot); in ParseInstruction()