Searched refs:getLoc (Results 1 - 25 of 155) sorted by relevance

1234567

/external/llvm/lib/MC/MCParser/
H A DMCAsmLexer.cpp22 SMLoc MCAsmLexer::getLoc() const { function in class:MCAsmLexer
26 SMLoc AsmToken::getLoc() const { function in class:AsmToken
35 return SMRange(getLoc(), getEndLoc());
H A DMCAsmParser.cpp37 Error(getLexer().getLoc(), Msg, Ranges);
H A DAsmParser.cpp255 Loc = getTok().getLoc();
632 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile);
647 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile);
774 Error(getTok().getLoc(), "assembler local symbol '" +
817 const char *Start = getTok().getLoc().getPointer();
822 const char *End = getTok().getLoc().getPointer();
827 const char *Start = getTok().getLoc().getPointer();
833 const char *End = getTok().getLoc().getPointer();
874 SMLoc FirstTokenLoc = getLexer().getLoc();
914 SMLoc AtLoc = getLexer().getLoc();
[all...]
/external/swiftshader/third_party/LLVM/lib/MC/MCParser/
H A DMCAsmLexer.cpp21 SMLoc MCAsmLexer::getLoc() const { function in class:MCAsmLexer
25 SMLoc AsmToken::getLoc() const { function in class:AsmToken
H A DMCAsmParser.cpp37 Error(getLexer().getLoc(), Msg);
/external/llvm/unittests/Support/
H A DSourceMgrTest.cpp31 SMLoc getLoc(unsigned Offset) { function in class:__anon13833::SourceMgrTest
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(
[all...]
/external/clang/include/clang/Lex/
H A DPPConditionalDirectiveRecord.h39 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/swiftshader/third_party/LLVM/lib/TableGen/
H A DError.cpp36 PrintError(Error.getLoc(), Error.getMessage());
/external/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp35 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/
H A DAArch64MachObjectWriter.cpp94 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(), "unsupporte
[all...]
H A DAArch64AsmBackend.cpp148 Ctx->reportError(Fixup.getLoc(), "fixup value out of range");
156 if (Ctx) Ctx->reportError(Fixup.getLoc(), "fixup value out of range");
158 Ctx->reportError(Fixup.getLoc(), "fixup not sufficiently aligned");
165 Ctx->reportError(Fixup.getLoc(), "fixup value out of range");
170 Ctx->reportError(Fixup.getLoc(), "fixup value out of range");
172 Ctx->reportError(Fixup.getLoc(), "fixup must be 2-byte aligned");
177 Ctx->reportError(Fixup.getLoc(), "fixup value out of range");
179 Ctx->reportError(Fixup.getLoc(), "fixup must be 4-byte aligned");
184 Ctx->reportError(Fixup.getLoc(), "fixup value out of range");
186 Ctx->reportError(Fixup.getLoc(), "fixu
[all...]
H A DAArch64ELFObjectWriter.cpp67 Ctx.reportError(Fixup.getLoc(), "1-byte data relocations not supported");
87 Ctx.reportError(Fixup.getLoc(),
103 Ctx.reportError(Fixup.getLoc(), "Unsupported pc-relative fixup kind");
109 Ctx.reportError(Fixup.getLoc(), "1-byte data relocations not supported");
135 Ctx.reportError(Fixup.getLoc(),
150 Ctx.reportError(Fixup.getLoc(),
165 Ctx.reportError(Fixup.getLoc(),
180 Ctx.reportError(Fixup.getLoc(),
201 Ctx.reportError(Fixup.getLoc(),
208 Ctx.reportError(Fixup.getLoc(),
[all...]
/external/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsAsmBackend.cpp72 Ctx->reportError(Fixup.getLoc(), "out of range PC16 fixup");
82 Ctx->reportError(Fixup.getLoc(), "out of range PC19 fixup");
119 Ctx->reportError(Fixup.getLoc(), "out of range PC7 fixup");
129 Ctx->reportError(Fixup.getLoc(), "out of range PC10 fixup");
139 Ctx->reportError(Fixup.getLoc(), "out of range PC16 fixup");
148 Ctx->reportError(Fixup.getLoc(), "out of range PC18 fixup");
155 Ctx->reportError(Fixup.getLoc(), "out of range PC18 fixup");
161 Ctx->reportError(Fixup.getLoc(), "out of range PC18 fixup");
170 Ctx->reportError(Fixup.getLoc(), "out of range PC21 fixup");
179 Ctx->reportError(Fixup.getLoc(), "ou
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/TableGen/
H A DError.h28 SMLoc getLoc() const { return Loc; } function in class:llvm::TGError
/external/llvm/lib/AsmParser/
H A DLLLexer.h54 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } function in class:llvm::LLLexer
64 bool Error(const Twine &Msg) const { return Error(getLoc(), Msg); }
67 void Warning(const Twine &Msg) const { return Warning(getLoc(), Msg); }
/external/swiftshader/third_party/LLVM/utils/TableGen/
H A DDisassemblerEmitter.cpp124 throw TGError(Target.getTargetRecord()->getLoc(),
H A DPseudoLoweringEmitter.cpp47 throw TGError(Rec->getLoc(),
86 throw TGError(Rec->getLoc(), Rec->getName() +
90 throw TGError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
96 throw TGError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
100 throw TGError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
133 throw TGError(Rec->getLoc(),
/external/swiftshader/third_party/LLVM/lib/AsmParser/
H A DLLLexer.h56 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } function in class:llvm::LLLexer
66 bool Error(const Twine &Msg) const { return Error(getLoc(), Msg); }
/external/clang/lib/Sema/
H A DSemaDeclAttr.cpp185 S.Diag(Attr.getLoc(), Diag) << Attr.getName() << Num;
228 S.Diag(Attr.getLoc(), diag::err_attribute_argument_n_type)
232 S.Diag(Attr.getLoc(), diag::err_attribute_argument_type)
284 S.Diag(Attr.getLoc(), diag::err_attribute_argument_n_type)
292 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_bounds)
299 S.Diag(Attr.getLoc(),
418 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_decl_not_pointer)
546 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_ignored) <<
575 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_range)
588 S.Diag(Attr.getLoc(), dia
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp397 StartLoc = TokPercent.getLoc();
402 return Error(Tok.getLoc(), "invalid register name");
420 return Error(Tok.getLoc(), "register %"
427 EndLoc = Tok.getLoc();
438 return Error(IntTok.getLoc(), "expected stack index");
448 default: return Error(IntTok.getLoc(), "invalid stack index");
452 return Error(Parser.getTok().getLoc(), "expected ')'");
454 EndLoc = Tok.getLoc();
475 EndLoc = Tok.getLoc();
482 return Error(Tok.getLoc(), "invali
[all...]
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp158 Asm.getContext().reportError(Fixup.getLoc(),
167 Fixup.getLoc(), "unsupported pc-relative relocation of difference");
183 Fixup.getLoc(), "unsupported relocation with identical base");
191 Asm.getContext().reportError(Fixup.getLoc(),
261 Asm.getContext().reportError(Fixup.getLoc(),
268 Fixup.getLoc(), "unsupported relocation of undefined symbol '" +
288 Fixup.getLoc(), "unsupported symbol modifier in relocation");
316 Fixup.getLoc(),
335 Fixup.getLoc(), "TLVP symbol modifier should have been rip-rel");
339 Fixup.getLoc(), "unsupporte
[all...]
/external/llvm/utils/TableGen/
H A DPseudoLoweringEmitter.cpp94 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(),
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp1826 SMLoc SIdx = Parser.getTok().getLoc();
1830 SMLoc ExprLoc = Parser.getTok().getLoc();
1839 SMLoc E = Parser.getTok().getLoc();
1863 SMLoc S = Parser.getTok().getLoc();
1900 SMLoc ImmLoc = Parser.getTok().getLoc();
1924 SMLoc L = Parser.getTok().getLoc();
1930 Error (Parser.getTok().getLoc(),
1939 S, Parser.getTok().getLoc()));
1942 S, Parser.getTok().getLoc()));
1956 SMLoc S = Parser.getTok().getLoc();
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/MC/MCParser/
H A DMCAsmLexer.h73 SMLoc getLoc() const;
151 /// getLoc - Get the current source location.
152 SMLoc getLoc() const;
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/
H A DMBlazeAsmParser.cpp394 SMLoc S = Parser.getTok().getLoc();
395 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
421 SMLoc S = Parser.getTok().getLoc();
422 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
438 SMLoc S = Parser.getTok().getLoc();
439 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
474 Error(Parser.getTok().getLoc(), "unknown operand");
526 return ParseDirectiveWord(2, DirectiveID.getLoc());

Completed in 2360 milliseconds

1234567