/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 | 558 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); 573 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); 677 getLexer().getLoc(), SourceMgr::DK_Error, 708 const char *Start = getTok().getLoc().getPointer(); 713 const char *End = getTok().getLoc().getPointer(); 718 const char *Start = getTok().getLoc().getPointer(); 724 const char *End = getTok().getLoc().getPointer(); 765 SMLoc FirstTokenLoc = getLexer().getLoc(); 805 SMLoc AtLoc = getLexer().getLoc(); 820 return Error(Lexer.getTok().getLoc(), [all...] |
DarwinAsmParser.cpp | 547 SMLoc Loc = getLexer().getLoc(); 692 SMLoc IDLoc = getLexer().getLoc(); 705 SMLoc SizeLoc = getLexer().getLoc(); 713 Pow2AlignmentLoc = getLexer().getLoc(); 775 SMLoc IDLoc = getLexer().getLoc(); 788 SMLoc SizeLoc = getLexer().getLoc(); 796 Pow2AlignmentLoc = getLexer().getLoc(); 840 SMLoc Loc = getParser().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/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 | 151 return Error(Lex.getLoc(), Msg); 192 *Loc = Lex.getLoc(); 201 Loc = Lex.getLoc(); 206 Loc = Lex.getLoc(); 280 Loc = Lex.getLoc(); 284 Loc = Lex.getLoc(); 349 Loc = Lex.getLoc(); 358 Loc = Lex.getLoc();
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsAsmBackend.cpp | 71 Ctx->FatalError(Fixup.getLoc(), "out of range PC16 fixup"); 78 Ctx->FatalError(Fixup.getLoc(), "out of range PC19 fixup"); 112 Ctx->FatalError(Fixup.getLoc(), "out of range PC7 fixup"); 120 Ctx->FatalError(Fixup.getLoc(), "out of range PC10 fixup"); 128 Ctx->FatalError(Fixup.getLoc(), "out of range PC16 fixup"); 135 Ctx->FatalError(Fixup.getLoc(), "out of range PC18 fixup"); 143 Ctx->FatalError(Fixup.getLoc(), "out of range PC21 fixup"); 151 Ctx->FatalError(Fixup.getLoc(), "out of range PC26 fixup");
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64MachObjectWriter.cpp | 95 Asm.getContext().FatalError(Fixup.getLoc(), 175 Asm.getContext().FatalError(Fixup.getLoc(), 186 Asm.getContext().FatalError(Fixup.getLoc(), 193 Asm.getContext().FatalError(Fixup.getLoc(), "unknown AArch64 fixup kind!"); 205 Asm.getContext().FatalError(Fixup.getLoc(), 238 Asm.getContext().FatalError(Fixup.getLoc(), 243 Asm.getContext().FatalError(Fixup.getLoc(), 255 Fixup.getLoc(), 260 Fixup.getLoc(), 265 Asm.getContext().FatalError(Fixup.getLoc(), [all...] |
AArch64MCCodeEmitter.cpp | 235 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), Kind, MI.getLoc())); 259 Fixups.push_back(MCFixup::Create(0, Expr, Kind, MI.getLoc())); 289 Fixups.push_back(MCFixup::Create(0, Expr, Kind, MI.getLoc())); 309 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), Kind, MI.getLoc())); 331 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), Kind, MI.getLoc())); 359 0, MO.getExpr(), MCFixupKind(AArch64::fixup_aarch64_movw), MI.getLoc())); 379 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), Kind, MI.getLoc())); 403 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), Kind, MI.getLoc()));
|
/external/clang/lib/Sema/ |
SemaDeclAttr.cpp | 180 S.Diag(Attr.getLoc(), Diag) << Attr.getName() << Num; 223 S.Diag(Attr.getLoc(), diag::err_attribute_argument_n_type) 227 S.Diag(Attr.getLoc(), diag::err_attribute_argument_type) 249 S.Diag(Attr.getLoc(), diag::err_attributes_are_not_compatible) 278 S.Diag(Attr.getLoc(), diag::err_attribute_argument_n_type) 286 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_bounds) 293 S.Diag(Attr.getLoc(), 393 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_decl_not_pointer) 522 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_ignored) << 551 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_range [all...] |
/external/llvm/lib/Target/Sparc/AsmParser/ |
SparcAsmParser.cpp | 429 StartLoc = Tok.getLoc(); 461 SMLoc Loc = getLexer().getLoc(); 467 SMLoc Loc = getLexer().getLoc(); 476 SMLoc Loc = getLexer().getLoc(); 483 SMLoc Loc = getLexer().getLoc(); 497 return parseDirectiveWord(1, DirectiveID.getLoc()); 500 return parseDirectiveWord(2, DirectiveID.getLoc()); 503 return parseDirectiveWord(4, DirectiveID.getLoc()); 506 return parseDirectiveWord(is64Bit() ? 8 : 4, DirectiveID.getLoc()); 509 return parseDirectiveWord(8, DirectiveID.getLoc()); [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");
|
CTagsEmitter.cpp | 63 ArrayRef<SMLoc> Locs = R->getLoc();
|
/external/llvm/include/llvm/MC/MCParser/ |
MCAsmLexer.h | 75 SMLoc getLoc() const; 157 SMLoc getLoc() const;
|
/external/llvm/lib/Target/AArch64/AsmParser/ |
AArch64AsmParser.cpp | 55 SMLoc getLoc() const { return getParser().getTok().getLoc(); } [all...] |
/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/Mips/AsmParser/ |
MipsAsmParser.cpp | [all...] |
/external/llvm/lib/Target/SystemZ/AsmParser/ |
SystemZAsmParser.cpp | 456 Reg.StartLoc = Parser.getTok().getLoc(); 460 return Error(Parser.getTok().getLoc(), "register expected"); 487 Reg.EndLoc = Parser.getTok().getLoc(); 572 return Error(Parser.getTok().getLoc(), "unexpected token in address"); 583 SMLoc StartLoc = Parser.getTok().getLoc(); 609 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); 658 SMLoc Loc = getLexer().getLoc(); 698 SMLoc StartLoc = Parser.getTok().getLoc(); 705 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); 786 SMLoc StartLoc = Parser.getTok().getLoc(); [all...] |
/external/llvm/lib/Target/X86/AsmParser/ |
X86AsmParser.cpp | 66 SMLoc Result = Parser.getTok().getLoc(); 863 StartLoc = PercentTok.getLoc(); 913 return Error(IntTok.getLoc(), "expected stack index"); 923 default: return Error(IntTok.getLoc(), "invalid stack index"); 927 return Error(Parser.getTok().getLoc(), "expected ')'"); [all...] |