| /freebsd/contrib/llvm-project/llvm/tools/llvm-mc/ |
| H A D | Disassembler.cpp | 55 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts() 68 SM.PrintMessage(SMLoc::getFromPointer(Bytes.second[Index]), in PrintInsts() 117 SM.PrintMessage(SMLoc::getFromPointer(Value.data()), in byteArrayFromString() 126 SM.PrintMessage(SMLoc::getFromPointer(Value.data()), in byteArrayFromString() 134 SM.PrintMessage(SMLoc::getFromPointer(Value.data()), SourceMgr::DK_Error, in byteArrayFromString() 188 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble() 197 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble() 215 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble()
|
| /freebsd/contrib/llvm-project/llvm/lib/FileCheck/ |
| H A D | FileCheck.cpp | 544 SMLoc OpLoc = SMLoc::getFromPointer(RemainingExpr.data()); in parseBinop() 677 SMLoc AlternateFormFlagLoc = SMLoc::getFromPointer(FormatExpr.data()); in parseNumericSubstitutionBlock() 690 SMLoc FmtLoc = SMLoc::getFromPointer(FormatExpr.data()); in parseNumericSubstitutionBlock() 806 PatternLoc = SMLoc::getFromPointer(PatternStr.data()); in parsePattern() 864 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in parsePattern() 908 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in parsePattern() 934 SM.PrintMessage(SMLoc::getFromPointer(MatchStr.data() + SpacePos), in parsePattern() 954 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), in parsePattern() 964 SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error, in parsePattern() 976 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), in parsePattern() [all …]
|
| H A D | FileCheckImpl.h | 537 SMLoc Start = SMLoc::getFromPointer(Buffer.data()); in get() 538 SMLoc End = SMLoc::getFromPointer(Buffer.data() + Buffer.size()); in get()
|
| /freebsd/contrib/llvm-project/llvm/lib/TableGen/ |
| H A D | TGLexer.cpp | 97 return SMLoc::getFromPointer(TokStart); in getLoc() 101 return {getLoc(), SMLoc::getFromPointer(CurPtr)}; in getLocRange() 112 return ReturnError(SMLoc::getFromPointer(Loc), Msg); in ReturnError() 440 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr), in LexInclude() 755 {tgtok::Ifdef, MacroIsDefined, SMLoc::getFromPointer(TokStart)}); in lexPreprocessor() 795 SMLoc::getFromPointer(TokStart)}; in lexPreprocessor()
|
| H A D | Error.cpp | 99 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); in PrintWarning() 115 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg); in PrintError()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | YAMLParser.h | 221 SMLoc Start = SMLoc::getFromPointer(Val.begin()); in ScalarNode() 222 SMLoc End = SMLoc::getFromPointer(Val.end()); in ScalarNode() 269 SMLoc Start = SMLoc::getFromPointer(RawVal.begin()); in BlockScalarNode() 270 SMLoc End = SMLoc::getFromPointer(RawVal.end()); in BlockScalarNode()
|
| H A D | SMLoc.h | 36 static SMLoc getFromPointer(const char *Ptr) { in getFromPointer() function
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | AsmLexer.cpp | 32 SMLoc AsmToken::getLoc() const { return SMLoc::getFromPointer(Str.data()); } in getLoc() 35 return SMLoc::getFromPointer(Str.data() + Str.size()); in getEndLoc() 137 SetError(SMLoc::getFromPointer(Loc), Msg); in ReturnError() 289 SMLoc::getFromPointer(CommentTextStart), in LexSlash() 318 SMLoc::getFromPointer(CommentTextStart), in LexLineComment()
|
| H A D | DarwinAsmParser.cpp | 701 SMLoc BLoc = SMLoc::getFromPointer(SectionVal.data() + B); in parseDirectiveSection() 702 SMLoc ELoc = SMLoc::getFromPointer(SectionVal.data() + E); in parseDirectiveSection()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/ |
| H A D | BPFAsmParser.cpp | 449 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseRegister() 486 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseImmediate() 499 SMLoc E = SMLoc::getFromPointer(NameLoc.getPointer() - 1); in parseInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/ |
| H A D | AVRAsmParser.cpp | 448 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseExpression() 519 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in tryParseRelocExpression() 584 S = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemriOperand() 593 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/lib/Target/Sparc/AsmParser/ |
| H A D | SparcAsmParser.cpp | 1093 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseShiftAmtImm() 1117 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseTailRelocSym() 1232 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMembarTag() 1312 SMLoc E = SMLoc::getFromPointer(S.getPointer() - 1); in parseCallTarget() 1362 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer()-1); in parseOperand() 1443 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseSparcAsmOperand() 1456 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseSparcAsmOperand() 1464 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseSparcAsmOperand()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 690 SMLoc End = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseRegister() 739 SMLoc End = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseIdentifier() 783 End = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseIdentifier() 796 SMLoc End = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseImmediate() 967 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemoryOperand()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
| H A D | LLLexer.h | 70 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } in getLoc()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/ |
| H A D | AsmLexer.h | 115 SMLoc getLoc() const { return SMLoc::getFromPointer(TokStart); } in getLoc()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/ |
| H A D | SystemZAsmParser.cpp | 941 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseAnyRegister() 1011 Reg.EndLoc = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseIntegerRegister() 1238 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseAddress() 1324 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseDirectiveInsn() 1580 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand() 1721 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parsePCRel()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/ |
| H A D | VEAsmParser.cpp | 880 SMLoc CondLoc = SMLoc::getFromPointer(NameLoc.getPointer() + Prefix); in parseCC() 881 SMLoc SuffixLoc = SMLoc::getFromPointer(NameLoc.getPointer() + Suffix); in parseCC() 904 SMLoc::getFromPointer(NameLoc.getPointer() + (RD.data() - Name.data())); in parseRD() 906 SMLoc::getFromPointer(NameLoc.getPointer() + (RD.end() - Name.data())); in parseRD() 1412 SMLoc EndLoc = SMLoc::getFromPointer(Suffix.end()); in parseMImmOperand() 1502 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseVEAsmOperand()
|
| /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/Xtensa/AsmParser/ |
| H A D | XtensaAsmParser.cpp | 691 E = SMLoc::getFromPointer(S.getPointer() - 1); in parseImmediate() 759 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/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 1862 return Error(SMLoc::getFromPointer(Name.data()), ErrMsg); in ParseIntelNamedOperator() 2019 SMLoc IDEndLoc = SMLoc::getFromPointer(ID.data() + ID.size()); in ParseIntelExpression() 2026 SMLoc FieldStartLoc = SMLoc::getFromPointer(Field.data()); in ParseIntelExpression() 2110 SMLoc::getFromPointer(Identifier.data() + Identifier.size()); in ParseIntelExpression() 2219 Loc = SMLoc::getFromPointer(SymName.data() + SymName.size()); in RewriteIntelExpression() 2433 End = SMLoc::getFromPointer(DotDispStr.data()); in ParseIntelDotOperator() 3309 NameLoc.getFromPointer(NameLoc.getPointer() + Name.size()); in parseInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/ |
| H A D | AArch64AsmParser.cpp | 3004 EndLoc = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseRegister() 3326 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseAdrpLabel() 3367 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseAdrLabel() 3687 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseOptionalShiftExtend() 3708 E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in tryParseOptionalShiftExtend() 4951 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in parseOperand() 5084 E = SMLoc::getFromPointer(getLoc().getPointer() - 1); in parseOperand() 5108 E = SMLoc::getFromPointer(Loc.getPointer() - 1); in parseOperand() 5289 SMLoc SuffixLoc = SMLoc::getFromPointer(NameLoc.getPointer() + in parseInstruction() 5310 SMLoc SuffixLoc = SMLoc::getFromPointer(NameLoc.getPointer() + in parseInstruction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/ |
| H A D | ARMAsmParser.cpp | 6363 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand() 6408 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand() 6440 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand() 6452 E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand() 7143 SMLoc Loc = Mnemonic == "it" ? SMLoc::getFromPointer(NameLoc.getPointer() + 2) : in parseInstruction() 7144 Mnemonic == "vpt" ? SMLoc::getFromPointer(NameLoc.getPointer() + 3) : in parseInstruction() 7145 SMLoc::getFromPointer(NameLoc.getPointer() + 4); in parseInstruction() 7199 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + Mnemonic.size()); in parseInstruction() 7206 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + Mnemonic.size() + in parseInstruction() 7218 SMLoc Loc = SMLoc::getFromPointer(NameLoc.getPointer() + Mnemonic.size() + in parseInstruction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIRParser.cpp | 1180 Loc = Loc.getFromPointer(Loc.getPointer() + Error.getColumnNo() + in diagFromMIStringDiag() 1206 Loc = SMLoc::getFromPointer(LineStr.data()); in diagFromBlockStringDiag()
|