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

12345

/freebsd-11.0-release/contrib/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.cpp578 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...]
/freebsd-11.0-release/contrib/llvm/tools/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());
/freebsd-11.0-release/contrib/llvm/tools/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()));
/freebsd-11.0-release/contrib/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 DAArch64MCCodeEmitter.cpp226 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()));
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsAsmBackend.cpp67 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");
/freebsd-11.0-release/contrib/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); }
H A DLLParser.h159 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();
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclAttr.cpp181 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(),
414 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_decl_not_pointer)
542 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_ignored) <<
571 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_range)
584 S.Diag(Attr.getLoc(), dia
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp153 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(), "unsupporte
[all...]
/freebsd-11.0-release/contrib/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(),
H A DDisassemblerEmitter.cpp121 PrintError(Target.getTargetRecord()->getLoc(), "Primary decode conflict");
H A DCTagsEmitter.cpp61 ArrayRef<SMLoc> Locs = R->getLoc();
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp2903 StartLoc = Tok.getLoc();
2973 SMLoc S = Parser.getTok().getLoc();
3015 SMLoc ImmLoc = Parser.getTok().getLoc();
3042 SMLoc L = Parser.getTok().getLoc();
3050 Error(Parser.getTok().getLoc(),
3081 Operands.push_back(ARMOperand::CreateReg(RegNo, RegTok.getLoc(),
3087 ExclaimTok.getLoc()));
3096 SMLoc SIdx = Parser.getTok().getLoc();
3107 return Error(Parser.getTok().getLoc(), "']' expected");
3173 SMLoc S = Parser.getTok().getLoc();
[all...]
/freebsd-11.0-release/contrib/llvm/include/llvm/MC/
H A DMCFixup.h108 SMLoc getLoc() const { return Loc; } function in class:llvm::MCFixup
/freebsd-11.0-release/contrib/llvm/tools/clang/utils/TableGen/
H A DClangCommentHTMLNamedCharacterReferenceEmitter.cpp63 SrcMgr.PrintMessage(Tag.getLoc().front(),
/freebsd-11.0-release/contrib/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp562 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...]
/freebsd-11.0-release/contrib/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp496 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...]
/freebsd-11.0-release/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp67 SMLoc Result = Parser.getTok().getLoc();
896 StartLoc = PercentTok.getLoc();
951 return Error(IntTok.getLoc(), "expected stack index");
961 default: return Error(IntTok.getLoc(), "invalid stack index");
965 return Error(Parser.getTok().getLoc(), "expected ')'");
1195 return Error(Tok.getLoc(), "unknown token in expression");
1206 SMLoc IdentLoc = Tok.getLoc();
1215 return Error(Tok.getLoc(), "Unexpected identifier!");
1232 return Error(Tok.getLoc(), "Unexpected identifier!");
1237 InstInfo->AsmRewrites->emplace_back(AOK_ImmPrefix, Tok.getLoc());
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp55 SMLoc getLoc() const { return getParser().getTok().getLoc(); } function in class:__anon2706::AArch64AsmParser
1949 StartLoc = getLoc();
1951 EndLoc = SMLoc::getFromPointer(getLoc().getPointer() - 1);
2038 SMLoc S = getLoc();
2060 AArch64Operand::CreateSysCR(CRNum, S, getLoc(), getContext()));
2068 SMLoc S = getLoc();
2123 SMLoc S = getLoc();
2150 SMLoc S = getLoc();
2190 SMLoc E = SMLoc::getFromPointer(getLoc()
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp3191 ATReg = getATReg(Inst.getLoc());
3198 if (!loadImmediate(ImmValue, DstReg, Mips::NoRegister, Is32Bit, false, Inst.getLoc(), Instructions)) {
3252 TmpReg = getATReg(Inst.getLoc());
3258 emitRRR(Mips::SUBu, TmpReg, Mips::ZERO, TReg, Inst.getLoc(), Instructions);
3259 emitRRR(Mips::ROTRV, DReg, SReg, TmpReg, Inst.getLoc(), Instructions);
3264 emitRRR(Mips::ROTRV, DReg, SReg, TReg, Inst.getLoc(), Instructions);
3286 ATReg = getATReg(Inst.getLoc());
3290 emitRRR(Mips::SUBu, ATReg, Mips::ZERO, TReg, Inst.getLoc(), Instructions);
3291 emitRRR(FirstShift, ATReg, SReg, ATReg, Inst.getLoc(), Instructions);
3292 emitRRR(SecondShift, DReg, SReg, TReg, Inst.getLoc(), Instruction
[all...]
/freebsd-11.0-release/contrib/llvm/lib/TableGen/
H A DTGParser.cpp457 Result.RefRange.Start = Lex.getLoc();
469 Result.RefRange.End = Lex.getLoc();
492 Result.RefRange.End = Lex.getLoc();
507 Result.RefRange.Start = Lex.getLoc();
514 Result.RefRange.End = Lex.getLoc();
537 Result.RefRange.End = Lex.getLoc();
613 SMLoc StartLoc = Lex.getLoc();
635 SMLoc StartLoc = Lex.getLoc();
884 SMLoc OpLoc = Lex.getLoc();
1178 SMLoc NameLoc = Lex.getLoc();
[all...]
/freebsd-11.0-release/contrib/llvm/include/llvm/MC/MCParser/
H A DMCAsmLexer.h75 SMLoc getLoc() const;
165 SMLoc getLoc() const;

Completed in 235 milliseconds

12345