/freebsd/contrib/llvm-project/llvm/tools/llvm-mc/ |
H A D | Disassembler.cpp | 50 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts() 63 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts() 114 SM.PrintMessage(SMLoc::getFromPointer(Value.data()), SourceMgr::DK_Error, in ByteArrayFromString() 172 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble() 181 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble() 199 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble()
|
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/ |
H A D | FileCheck.cpp | 507 SMLoc OpLoc = SMLoc::getFromPointer(RemainingExpr.data()); in parseBinop() 640 SMLoc AlternateFormFlagLoc = SMLoc::getFromPointer(FormatExpr.data()); in parseNumericSubstitutionBlock() 653 SMLoc FmtLoc = SMLoc::getFromPointer(FormatExpr.data()); in parseNumericSubstitutionBlock() 769 PatternLoc = SMLoc::getFromPointer(PatternStr.data()); in parsePattern() 827 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in parsePattern() 871 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in parsePattern() 897 SM.PrintMessage(SMLoc::getFromPointer(MatchStr.data() + SpacePos), in parsePattern() 917 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), in parsePattern() 927 SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error, in parsePattern() 939 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), in parsePattern() [all …]
|
H A D | FileCheckImpl.h | 515 SMLoc Start = SMLoc::getFromPointer(Buffer.data()); 516 SMLoc End = SMLoc::getFromPointer(Buffer.data() + Buffer.size());
|
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | MCAsmLexer.cpp | 23 return SMLoc::getFromPointer(TokStart); in getLoc() 27 return SMLoc::getFromPointer(Str.data()); in getLoc() 31 return SMLoc::getFromPointer(Str.data() + Str.size()); in getEndLoc()
|
H A D | AsmLexer.cpp | 57 SetError(SMLoc::getFromPointer(Loc), Msg); in ReturnError() 209 SMLoc::getFromPointer(CommentTextStart), in LexSlash() 238 SMLoc::getFromPointer(CommentTextStart), in LexLineComment()
|
H A D | DarwinAsmParser.cpp | 711 SMLoc BLoc = SMLoc::getFromPointer(SectionVal.data() + B); in parseDirectiveSection() 712 SMLoc ELoc = SMLoc::getFromPointer(SectionVal.data() + E); in parseDirectiveSection()
|
/freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
H A D | TGLexer.cpp | 63 return SMLoc::getFromPointer(TokStart); in getLoc() 67 return {getLoc(), SMLoc::getFromPointer(CurPtr)}; in getLocRange() 78 return ReturnError(SMLoc::getFromPointer(Loc), Msg); in ReturnError() 407 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr), in LexInclude() 737 {tgtok::Ifdef, MacroIsDefined, SMLoc::getFromPointer(TokStart)}); in lexPreprocessor() 778 {Kind, !IfdefEntry.IsDefined, SMLoc::getFromPointer(TokStart)}); in lexPreprocessor()
|
H A D | Error.cpp | 96 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); in PrintWarning() 108 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg); in PrintError()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | YAMLParser.h | 219 SMLoc Start = SMLoc::getFromPointer(Val.begin()); in ScalarNode() 220 SMLoc End = SMLoc::getFromPointer(Val.end()); in ScalarNode() 267 SMLoc Start = SMLoc::getFromPointer(RawVal.begin()); 268 SMLoc End = SMLoc::getFromPointer(RawVal.end()); in getValue()
|
H A D | SMLoc.h | 36 static SMLoc getFromPointer(const char *Ptr) { in getFromPointer() function
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/ |
H A D | BPFAsmParser.cpp | 443 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseRegister() 480 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseImmediate() 494 SMLoc E = SMLoc::getFromPointer(NameLoc.getPointer() - 1); in ParseInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/ |
H A D | SparcAsmParser.cpp | 1005 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseShiftAmtImm() 1029 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseTailRelocSym() 1144 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMembarTag() 1224 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseCallTarget() 1279 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer()-1); in parseOperand() 1361 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseSparcAsmOperand() 1374 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseSparcAsmOperand() 1382 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseSparcAsmOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/ |
H A D | AVRAsmParser.cpp | 445 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseExpression() 516 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseRelocExpression() 581 S = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand() 590 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 258 return SMLoc::getFromPointer(Ptr); in FindLocForLineAndColumn() 317 R.Start = SMLoc::getFromPointer(LineStart); in GetMessage() 319 R.End = SMLoc::getFromPointer(LineEnd); in GetMessage()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
H A D | LLLexer.h | 57 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } in getLoc()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/ |
H A D | LanaiAsmParser.cpp | 691 SMLoc End = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseRegister() 740 SMLoc End = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseIdentifier() 784 End = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseIdentifier() 798 SMLoc End = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseImmediate() 969 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemoryOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
H A D | SystemZAsmParser.cpp | 912 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseAnyRegister() 982 Reg.EndLoc = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseIntegerRegister() 1192 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseAddress() 1276 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseDirectiveInsn() 1511 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand() 1653 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parsePCRel()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/ |
H A D | CSKYAsmParser.cpp | 1030 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseRegister() 1116 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseImmediate() 1163 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseCSKYSymbol() 1238 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseDataSymbol() 1319 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseConstpoolSymbol() 1391 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parsePSRFlag()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/ |
H A D | VEAsmParser.cpp | 870 SMLoc CondLoc = SMLoc::getFromPointer(NameLoc.getPointer() + Prefix); in parseCC() 871 SMLoc SuffixLoc = SMLoc::getFromPointer(NameLoc.getPointer() + Suffix); in parseCC() 894 SMLoc::getFromPointer(NameLoc.getPointer() + (RD.data() - Name.data())); in parseRD() 896 SMLoc::getFromPointer(NameLoc.getPointer() + (RD.end() - Name.data())); in parseRD() 1432 SMLoc EndLoc = SMLoc::getFromPointer(Suffix.end()); in parseMImmOperand() 1522 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseVEAsmOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/ |
H A D | XtensaAsmParser.cpp | 638 E = SMLoc::getFromPointer(S.getPointer() - 1); in parseImmediate() 702 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in ParseInstructionWithSR()
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | Parser.cpp | 210 Err = SM.GetMessage(SMLoc::getFromPointer(Asm.begin() + Read), in parseType()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/ |
H A D | RISCVAsmParser.cpp | 1744 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Name.size()); in parseRegister() 1796 E = SMLoc::getFromPointer(S.getPointer() + Identifier.size()); in parseInsnDirectiveOpcode() 1857 E = SMLoc::getFromPointer(S.getPointer() + Identifier.size()); in parseInsnCDirectiveOpcode() 2066 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Identifier.size()); in parseBareSymbol() 2121 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Identifier.size()); in parseCallSymbol() 2303 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Name.size()); in parseMaskReg() 2319 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Name.size()); in parseGPRAsFPR() 2357 SMLoc E = SMLoc::getFromPointer(S.getPointer() + Name.size()); in parseGPRPair()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
H A D | X86AsmParser.cpp | 1841 return Error(SMLoc::getFromPointer(Name.data()), ErrMsg); in ParseIntelNamedOperator() 1998 SMLoc IDEndLoc = SMLoc::getFromPointer(ID.data() + ID.size()); in ParseIntelExpression() 2005 SMLoc FieldStartLoc = SMLoc::getFromPointer(Field.data()); in ParseIntelExpression() 2089 SMLoc::getFromPointer(Identifier.data() + Identifier.size()); in ParseIntelExpression() 2194 Loc = SMLoc::getFromPointer(SymName.data() + SymName.size()); in RewriteIntelExpression() 2411 End = SMLoc::getFromPointer(DotDispStr.data()); in ParseIntelDotOperator() 3286 NameLoc.getFromPointer(NameLoc.getPointer() + Name.size()); in ParseInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/ |
H A D | AArch64AsmParser.cpp | 2943 EndLoc = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseRegister() 3264 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseAdrpLabel() 3300 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseAdrLabel() 3623 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseOptionalShiftExtend() 3644 E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseOptionalShiftExtend() 4820 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in parseOperand() 4894 E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in parseOperand() 4940 E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in parseOperand() 4964 E = SMLoc::getFromPointer(Loc.getPointer() - 1); in parseOperand() 5146 SMLoc SuffixLoc = SMLoc::getFromPointer(NameLoc.getPointer() + in ParseInstruction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
H A D | MIRParser.cpp | 1071 Loc = Loc.getFromPointer(Loc.getPointer() + Error.getColumnNo() + in diagFromMIStringDiag() 1097 Loc = SMLoc::getFromPointer(LineStr.data()); in diagFromBlockStringDiag()
|