/external/llvm/lib/MC/MCParser/ |
H A D | MCAsmLexer.cpp | 22 SMLoc MCAsmLexer::getLoc() const { function in class:MCAsmLexer 26 SMLoc AsmToken::getLoc() const { function in class:AsmToken
|
H A D | MCAsmParser.cpp | 37 Error(getLexer().getLoc(), Msg, Ranges);
|
H A D | AsmParser.cpp | 570 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); 585 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); 689 getLexer().getLoc(), SourceMgr::DK_Error, 720 const char *Start = getTok().getLoc().getPointer(); 725 const char *End = getTok().getLoc().getPointer(); 730 const char *Start = getTok().getLoc().getPointer(); 736 const char *End = getTok().getLoc().getPointer(); 777 SMLoc FirstTokenLoc = getLexer().getLoc(); 817 SMLoc AtLoc = getLexer().getLoc(); 832 return Error(Lexer.getTok().getLoc(), [all...] |
H A D | 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();
|
/external/llvm/unittests/Support/ |
H A D | SourceMgrTest.cpp | 30 SMLoc getLoc(unsigned Offset) { function in class:__anon26548::SourceMgrTest 36 return SMRange(getLoc(Offset), getLoc(Offset + Length)); 51 printMessage(getLoc(4), SourceMgr::DK_Error, "message", None, None); 61 printMessage(getLoc(4), SourceMgr::DK_Warning, "message", None, None); 71 printMessage(getLoc(4), SourceMgr::DK_Note, "message", None, None); 81 printMessage(getLoc(6), SourceMgr::DK_Error, "message", None, None); 91 printMessage(getLoc(7), SourceMgr::DK_Error, "message", None, None); 101 printMessage(getLoc(4), SourceMgr::DK_Error, "message", getRange(4, 3), None); 111 printMessage(getLoc( [all...] |
/external/clang/include/clang/Lex/ |
H A D | PPConditionalDirectiveRecord.h | 39 SourceLocation getLoc() const { return Loc; } function in class:clang::PPConditionalDirectiveRecord::CondDirectiveLoc 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/ |
H A D | 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()));
|
H A D | PreprocessingRecord.cpp | 179 SourceLocation LHS = getLoc(L); 180 SourceLocation RHS = getLoc(R); 185 SourceLocation LHS = getLoc(L); 190 SourceLocation RHS = getLoc(R); 194 SourceLocation getLoc(PreprocessedEntity *PPE) const { function in struct:__anon17951::PPEntityComp
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MachObjectWriter.cpp | 94 Asm.getContext().FatalError(Fixup.getLoc(), 146 Asm.getContext().FatalError(Fixup.getLoc(), 157 Asm.getContext().FatalError(Fixup.getLoc(), 164 Asm.getContext().FatalError(Fixup.getLoc(), "unknown AArch64 fixup kind!"); 178 Asm.getContext().FatalError(Fixup.getLoc(), 214 Asm.getContext().FatalError(Fixup.getLoc(), 219 Asm.getContext().FatalError(Fixup.getLoc(), 231 Fixup.getLoc(), 236 Fixup.getLoc(), 241 Asm.getContext().FatalError(Fixup.getLoc(), [all...] |
H A D | AArch64MCCodeEmitter.cpp | 238 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), Kind, MI.getLoc())); 262 Fixups.push_back(MCFixup::Create(0, Expr, Kind, MI.getLoc())); 292 Fixups.push_back(MCFixup::Create(0, Expr, Kind, MI.getLoc())); 312 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), Kind, MI.getLoc())); 334 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), Kind, MI.getLoc())); 362 0, MO.getExpr(), MCFixupKind(AArch64::fixup_aarch64_movw), MI.getLoc())); 382 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), Kind, MI.getLoc())); 406 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), Kind, MI.getLoc()));
|
/external/llvm/lib/AsmParser/ |
H A D | LLLexer.h | 55 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } function in class:llvm::LLLexer 65 bool Error(const Twine &Msg) const { return Error(getLoc(), Msg); } 68 void Warning(const Twine &Msg) const { return Warning(getLoc(), Msg); }
|
/external/clang/lib/Sema/ |
H A D | SemaDeclAttr.cpp | 156 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments) 169 S.Diag(Attr.getLoc(), diag::err_attribute_too_few_arguments) 186 S.Diag(Attr.getLoc(), diag::err_attribute_argument_n_type) 190 S.Diag(Attr.getLoc(), diag::err_attribute_argument_type) 205 S.Diag(Attr.getLoc(), diag::err_attributes_are_not_compatible) 234 S.Diag(Attr.getLoc(), diag::err_attribute_argument_n_type) 242 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_bounds) 249 S.Diag(Attr.getLoc(), 349 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_decl_not_pointer) 478 S.Diag(Attr.getLoc(), dia [all...] |
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | 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 PC16 fixup"); 119 Ctx->FatalError(Fixup.getLoc(), "out of range PC18 fixup"); 127 Ctx->FatalError(Fixup.getLoc(), "out of range PC21 fixup"); 135 Ctx->FatalError(Fixup.getLoc(), "out of range PC26 fixup");
|
/external/llvm/lib/Target/Mips/AsmParser/ |
H A D | MipsAsmParser.cpp | 1618 Error(Parser.getTok().getLoc(), "unexpected token in operand"); 1622 SMLoc S = Parser.getTok().getLoc(); 1637 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); 1660 SMLoc S = Parser.getTok().getLoc(); // Start location of the operand. 1664 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); 1859 S = Parser.getTok().getLoc(); 1875 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); 1881 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); 1891 Error(Parser.getTok().getLoc(), "'(' expected"); 1903 Error(Parser.getTok().getLoc(), "')' expecte [all...] |
/external/llvm/lib/Target/Sparc/AsmParser/ |
H A D | SparcAsmParser.cpp | 432 StartLoc = Tok.getLoc(); 464 SMLoc Loc = getLexer().getLoc(); 470 SMLoc Loc = getLexer().getLoc(); 479 SMLoc Loc = getLexer().getLoc(); 486 SMLoc Loc = getLexer().getLoc(); 500 return parseDirectiveWord(1, DirectiveID.getLoc()); 503 return parseDirectiveWord(2, DirectiveID.getLoc()); 506 return parseDirectiveWord(4, DirectiveID.getLoc()); 509 return parseDirectiveWord(is64Bit() ? 8 : 4, DirectiveID.getLoc()); 512 return parseDirectiveWord(8, DirectiveID.getLoc()); [all...] |
/external/llvm/utils/TableGen/ |
H A D | 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(),
|
H A D | DisassemblerEmitter.cpp | 121 PrintError(Target.getTargetRecord()->getLoc(), "Primary decode conflict");
|
/external/llvm/lib/Target/X86/AsmParser/ |
H A D | X86AsmParser.cpp | 64 SMLoc Result = Parser.getTok().getLoc(); 835 StartLoc = PercentTok.getLoc(); 885 return Error(IntTok.getLoc(), "expected stack index"); 895 default: return Error(IntTok.getLoc(), "invalid stack index"); 899 return Error(Parser.getTok().getLoc(), "expected ')'"); 1101 return Error(Tok.getLoc(), "unknown token in expression"); 1112 SMLoc IdentLoc = Tok.getLoc(); 1121 return Error(Tok.getLoc(), "Unexpected identifier!"); 1137 return Error(Tok.getLoc(), "Unexpected identifier!"); 1143 Tok.getLoc())); [all...] |
/external/llvm/include/llvm/MC/MCParser/ |
H A D | MCAsmLexer.h | 75 SMLoc getLoc() const; 155 /// getLoc - Get the current source location. 156 SMLoc getLoc() const;
|
/external/llvm/lib/Target/AArch64/AsmParser/ |
H A D | AArch64AsmParser.cpp | 57 SMLoc getLoc() const { return Parser.getTok().getLoc(); } function in class:__anon25951::AArch64AsmParser 1867 StartLoc = getLoc(); 1869 EndLoc = SMLoc::getFromPointer(getLoc().getPointer() - 1); 1953 SMLoc S = getLoc(); 1975 AArch64Operand::CreateSysCR(CRNum, S, getLoc(), getContext())); 1982 SMLoc S = getLoc(); 2029 SMLoc S = getLoc(); 2069 SMLoc E = SMLoc::getFromPointer(getLoc().getPointer() - 1); 2079 SMLoc S = getLoc(); [all...] |
/external/clang/utils/TableGen/ |
H A D | ClangCommentHTMLNamedCharacterReferenceEmitter.cpp | 63 SrcMgr.PrintMessage(Tag.getLoc().front(),
|
/external/llvm/include/llvm/MC/ |
H A D | MCFixup.h | 108 SMLoc getLoc() const { return Loc; } function in class:llvm::MCFixup
|
/external/llvm/lib/Target/ARM/AsmParser/ |
H A D | ARMAsmParser.cpp | 2874 StartLoc = Parser.getTok().getLoc(); 2938 SMLoc S = Parser.getTok().getLoc(); 2980 SMLoc ImmLoc = Parser.getTok().getLoc(); 3007 SMLoc L = Parser.getTok().getLoc(); 3015 Error(Parser.getTok().getLoc(), 3045 Operands.push_back(ARMOperand::CreateReg(RegNo, RegTok.getLoc(), 3051 ExclaimTok.getLoc())); 3060 SMLoc SIdx = Parser.getTok().getLoc(); 3071 return Error(Parser.getTok().getLoc(), "']' expected"); 3135 SMLoc S = Parser.getTok().getLoc(); [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SVals.cpp | 72 return X->getLoc().getAsLocSymbol(); 140 return X->getLoc().getAsRegion(); 276 os << C.getLoc() << " [as " << C.getNumBits() << " bit integer]";
|
/external/llvm/lib/TableGen/ |
H A D | TGParser.cpp | 477 Result.RefRange.Start = Lex.getLoc(); 489 Result.RefRange.End = Lex.getLoc(); 512 Result.RefRange.End = Lex.getLoc(); 527 Result.RefRange.Start = Lex.getLoc(); 534 Result.RefRange.End = Lex.getLoc(); 557 Result.RefRange.End = Lex.getLoc(); 634 SMLoc StartLoc = Lex.getLoc(); 656 SMLoc StartLoc = Lex.getLoc(); 914 SMLoc OpLoc = Lex.getLoc(); 1198 SMLoc NameLoc = Lex.getLoc(); [all...] |