/external/llvm/lib/MC/MCParser/ |
MCAsmLexer.cpp | 22 SMLoc MCAsmLexer::getLoc() const { 26 SMLoc AsmToken::getLoc() const { 35 return SMRange(getLoc(), getEndLoc());
|
MCAsmParser.cpp | 37 Error(getLexer().getLoc(), Msg, Ranges);
|
AsmParser.cpp | 578 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); 593 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); 696 return Error(getLexer().getLoc(), "assembler local symbol '" + 727 const char *Start = getTok().getLoc().getPointer(); 732 const char *End = getTok().getLoc().getPointer(); 737 const char *Start = getTok().getLoc().getPointer(); 743 const char *End = getTok().getLoc().getPointer(); 784 SMLoc FirstTokenLoc = getLexer().getLoc(); 824 SMLoc AtLoc = getLexer().getLoc(); 839 return Error(Lexer.getTok().getLoc(), [all...] |
/external/llvm/unittests/Support/ |
SourceMgrTest.cpp | 31 SMLoc getLoc(unsigned Offset) { 37 return SMRange(getLoc(Offset), getLoc(Offset + Length)); 52 printMessage(getLoc(4), SourceMgr::DK_Error, "message", None, None); 62 printMessage(getLoc(4), SourceMgr::DK_Warning, "message", None, None); 72 printMessage(getLoc(4), SourceMgr::DK_Note, "message", None, None); 82 printMessage(getLoc(6), SourceMgr::DK_Error, "message", None, None); 92 printMessage(getLoc(7), SourceMgr::DK_Error, "message", None, None); 102 printMessage(getLoc(4), SourceMgr::DK_Error, "message", getRange(4, 3), None); 112 printMessage(getLoc(4), SourceMgr::DK_Error, "message", getRange(3, 3), None) [all...] |
/external/clang/include/clang/Lex/ |
PPConditionalDirectiveRecord.h | 39 SourceLocation getLoc() const { return Loc; } 48 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS.getLoc()); 51 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS); 54 return SM.isBeforeInTranslationUnit(LHS, RHS.getLoc());
|
/external/clang/lib/Lex/ |
PPConditionalDirectiveRecord.cpp | 35 if (SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), low->getLoc())) 55 if (SourceMgr.isBeforeInTranslationUnit(CondDirectiveLocs.back().getLoc(), 69 if (SourceMgr.isInSystemHeader(DirLoc.getLoc())) 73 SourceMgr.isBeforeInTranslationUnit(CondDirectiveLocs.back().getLoc(), 74 DirLoc.getLoc()));
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64MachObjectWriter.cpp | 94 Asm.getContext().reportError(Fixup.getLoc(), 175 Asm.getContext().reportError(Fixup.getLoc(), 186 Asm.getContext().reportError(Fixup.getLoc(), 193 Asm.getContext().reportError(Fixup.getLoc(), "unknown AArch64 fixup kind!"); 205 Asm.getContext().reportError(Fixup.getLoc(), 237 Asm.getContext().reportError(Fixup.getLoc(), 244 Asm.getContext().reportError(Fixup.getLoc(), 258 Fixup.getLoc(), 265 Fixup.getLoc(), 273 Fixup.getLoc(), "unsupported relocation with identical base") [all...] |
AArch64MCCodeEmitter.cpp | 226 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); 250 Fixups.push_back(MCFixup::create(0, Expr, Kind, MI.getLoc())); 280 Fixups.push_back(MCFixup::create(0, Expr, Kind, MI.getLoc())); 300 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); 322 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); 350 0, MO.getExpr(), MCFixupKind(AArch64::fixup_aarch64_movw), MI.getLoc())); 370 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc())); 394 Fixups.push_back(MCFixup::create(0, MO.getExpr(), Kind, MI.getLoc()));
|
/external/llvm/lib/AsmParser/ |
LLLexer.h | 54 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } 64 bool Error(const Twine &Msg) const { return Error(getLoc(), Msg); } 67 void Warning(const Twine &Msg) const { return Warning(getLoc(), Msg); }
|
LLParser.h | 159 return Error(Lex.getLoc(), Msg); 204 *Loc = Lex.getLoc(); 213 Loc = Lex.getLoc(); 218 Loc = Lex.getLoc(); 294 Loc = Lex.getLoc(); 298 Loc = Lex.getLoc(); 365 Loc = Lex.getLoc(); 374 Loc = Lex.getLoc();
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsAsmBackend.cpp | 67 Ctx->reportError(Fixup.getLoc(), "out of range PC16 fixup"); 76 Ctx->reportError(Fixup.getLoc(), "out of range PC19 fixup"); 112 Ctx->reportError(Fixup.getLoc(), "out of range PC7 fixup"); 122 Ctx->reportError(Fixup.getLoc(), "out of range PC10 fixup"); 132 Ctx->reportError(Fixup.getLoc(), "out of range PC16 fixup"); 141 Ctx->reportError(Fixup.getLoc(), "out of range PC18 fixup"); 150 Ctx->reportError(Fixup.getLoc(), "out of range PC21 fixup"); 159 Ctx->reportError(Fixup.getLoc(), "out of range PC26 fixup");
|
/external/clang/lib/Sema/ |
SemaDeclAttr.cpp | 181 S.Diag(Attr.getLoc(), Diag) << Attr.getName() << Num; 224 S.Diag(Attr.getLoc(), diag::err_attribute_argument_n_type) 228 S.Diag(Attr.getLoc(), diag::err_attribute_argument_type) 280 S.Diag(Attr.getLoc(), diag::err_attribute_argument_n_type) 288 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_bounds) 295 S.Diag(Attr.getLoc(), 395 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_decl_not_pointer) 523 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_ignored) << 552 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_range) 565 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_argument_not_lockable [all...] |
/external/llvm/lib/Target/X86/MCTargetDesc/ |
X86MachObjectWriter.cpp | 153 Asm.getContext().reportError(Fixup.getLoc(), 162 Fixup.getLoc(), "unsupported pc-relative relocation of difference"); 178 Fixup.getLoc(), "unsupported relocation with identical base"); 186 Asm.getContext().reportError(Fixup.getLoc(), 256 Asm.getContext().reportError(Fixup.getLoc(), 263 Fixup.getLoc(), "unsupported relocation of undefined symbol '" + 283 Fixup.getLoc(), "unsupported symbol modifier in relocation"); 311 Fixup.getLoc(), 330 Fixup.getLoc(), "TLVP symbol modifier should have been rip-rel"); 334 Fixup.getLoc(), "unsupported symbol modifier in relocation") [all...] |
/external/llvm/utils/TableGen/ |
PseudoLoweringEmitter.cpp | 94 PrintFatalError(Rec->getLoc(), 133 PrintFatalError(Rec->getLoc(), Rec->getName() + 137 PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() + 143 PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() + 147 PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() + 182 PrintFatalError(Rec->getLoc(),
|
DisassemblerEmitter.cpp | 121 PrintError(Target.getTargetRecord()->getLoc(), "Primary decode conflict");
|
/external/llvm/lib/Target/ARM/AsmParser/ |
ARMAsmParser.cpp | [all...] |
/external/clang/utils/TableGen/ |
ClangCommentHTMLNamedCharacterReferenceEmitter.cpp | 63 SrcMgr.PrintMessage(Tag.getLoc().front(),
|
/external/llvm/include/llvm/MC/ |
MCFixup.h | 108 SMLoc getLoc() const { return Loc; }
|
/external/llvm/lib/Target/Sparc/AsmParser/ |
SparcAsmParser.cpp | 562 StartLoc = Tok.getLoc(); 594 SMLoc Loc = getLexer().getLoc(); 600 SMLoc Loc = getLexer().getLoc(); 609 SMLoc Loc = getLexer().getLoc(); 616 SMLoc Loc = getLexer().getLoc(); 630 return parseDirectiveWord(1, DirectiveID.getLoc()); 633 return parseDirectiveWord(2, DirectiveID.getLoc()); 636 return parseDirectiveWord(4, DirectiveID.getLoc()); 639 return parseDirectiveWord(is64Bit() ? 8 : 4, DirectiveID.getLoc()); 642 return parseDirectiveWord(8, DirectiveID.getLoc()); [all...] |
/external/llvm/lib/Target/SystemZ/AsmParser/ |
SystemZAsmParser.cpp | 496 Reg.StartLoc = Parser.getTok().getLoc(); 500 return Error(Parser.getTok().getLoc(), "register expected"); 529 Reg.EndLoc = Parser.getTok().getLoc(); 628 return Error(Parser.getTok().getLoc(), "unexpected token in address"); 639 SMLoc StartLoc = Parser.getTok().getLoc(); 673 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); 725 SMLoc Loc = getLexer().getLoc(); 765 SMLoc StartLoc = Parser.getTok().getLoc(); 774 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); 855 SMLoc StartLoc = Parser.getTok().getLoc(); [all...] |
/external/llvm/lib/Target/X86/AsmParser/ |
X86AsmParser.cpp | 68 SMLoc Result = Parser.getTok().getLoc(); 897 StartLoc = PercentTok.getLoc(); 952 return Error(IntTok.getLoc(), "expected stack index"); 962 default: return Error(IntTok.getLoc(), "invalid stack index"); 966 return Error(Parser.getTok().getLoc(), "expected ')'"); [all...] |
/external/llvm/lib/Target/AArch64/AsmParser/ |
AArch64AsmParser.cpp | 55 SMLoc getLoc() const { return getParser().getTok().getLoc(); } [all...] |
/external/llvm/lib/Target/Mips/AsmParser/ |
MipsAsmParser.cpp | [all...] |
/external/llvm/lib/TableGen/ |
TGParser.cpp | 459 Result.RefRange.Start = Lex.getLoc(); 471 Result.RefRange.End = Lex.getLoc(); 494 Result.RefRange.End = Lex.getLoc(); 509 Result.RefRange.Start = Lex.getLoc(); 516 Result.RefRange.End = Lex.getLoc(); 539 Result.RefRange.End = Lex.getLoc(); 615 SMLoc StartLoc = Lex.getLoc(); 637 SMLoc StartLoc = Lex.getLoc(); 886 SMLoc OpLoc = Lex.getLoc(); [all...] |
/external/llvm/include/llvm/MC/MCParser/ |
MCAsmLexer.h | 75 SMLoc getLoc() const; 165 SMLoc getLoc() const;
|