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

1234

/freebsd-10.1-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
H A DMCAsmParser.cpp37 Error(getLexer().getLoc(), Msg, Ranges);
H A DCOFFAsmParser.cpp468 SMLoc Loc = getTok().getLoc();
603 SMLoc startLoc = getLexer().getLoc();
620 SMLoc startLoc = getLexer().getLoc();
644 SMLoc startLoc = getLexer().getLoc();
671 SMLoc startLoc = getLexer().getLoc();
691 SMLoc startLoc = getLexer().getLoc();
718 SMLoc startLoc = getLexer().getLoc();
732 SMLoc startLoc = getLexer().getLoc();
H A DDarwinAsmParser.cpp542 SMLoc Loc = getLexer().getLoc();
686 SMLoc IDLoc = getLexer().getLoc();
699 SMLoc SizeLoc = getLexer().getLoc();
707 Pow2AlignmentLoc = getLexer().getLoc();
769 SMLoc IDLoc = getLexer().getLoc();
782 SMLoc SizeLoc = getLexer().getLoc();
790 Pow2AlignmentLoc = getLexer().getLoc();
834 SMLoc Loc = getParser().getTok().getLoc();
H A DAsmParser.cpp551 int NewBuf = SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile);
567 int NewBuf = SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile);
669 getLexer().getLoc(), SourceMgr::DK_Error,
700 const char *Start = getTok().getLoc().getPointer();
705 const char *End = getTok().getLoc().getPointer();
710 const char *Start = getTok().getLoc().getPointer();
716 const char *End = getTok().getLoc().getPointer();
757 SMLoc FirstTokenLoc = getLexer().getLoc();
830 SMLoc Loc = getTok().getLoc();
1023 SMLoc StartLoc = Lexer.getLoc();
[all...]
/freebsd-10.1-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-10.1-release/contrib/llvm/tools/clang/lib/Sema/
H A DTargetAttributesSema.cpp33 S.Diag(Attr.getLoc(), diag::err_attribute_too_many_arguments)
48 S.Diag(Attr.getLoc(), diag::warn_attribute_type_not_supported)
55 ARMInterruptAttr(Attr.getLoc(), S.Context, Kind, Index));
77 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments)
87 S.Diag(Attr.getLoc(), diag::err_attribute_argument_type)
95 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_bounds)
101 d->addAttr(::new (S.Context) MSP430InterruptAttr(Attr.getLoc(), S.Context, Num));
102 d->addAttr(::new (S.Context) UsedAttr(Attr.getLoc(), S.Context));
125 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments)
143 S.Diag(Attr.getLoc(), dia
[all...]
H A DSemaDeclAttr.cpp222 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments)
236 S.Diag(Attr.getLoc(), diag::err_attribute_too_few_arguments) << Num;
386 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_decl_not_pointer)
389 S.Diag(Attr.getLoc(), diag::err_attribute_can_be_applied_only_to_value_decl)
426 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_argument_not_class)
452 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_argument_not_lockable)
486 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_ignored) <<
515 S.Diag(Attr.getLoc(), diag::err_attribute_argument_out_of_range)
547 S.Diag(Attr.getLoc(), diag::warn_thread_attribute_wrong_decl_type)
582 S.Diag(Attr.getLoc(), dia
[all...]
H A DSemaStmtAttr.cpp52 S.Diag(A.getLoc(), A.isDeclspecAttribute() ?
/freebsd-10.1-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-10.1-release/contrib/llvm/lib/AsmParser/
H A DLLLexer.h55 LocTy getLoc() const { return SMLoc::getFromPointer(TokStart); } function in class:llvm::LLLexer
65 bool Error(const Twine &Msg) const { return Error(getLoc(), Msg); }
/freebsd-10.1-release/contrib/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp1112 SMLoc S = Parser.getTok().getLoc();
1120 MipsOperand::CreateReg(RegNo, S, Parser.getTok().getLoc()));
1141 Error(Parser.getTok().getLoc(), "unexpected token in operand");
1145 SMLoc S = Parser.getTok().getLoc();
1163 S = Parser.getTok().getLoc();
1174 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
1189 SMLoc S = Parser.getTok().getLoc();
1194 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
1215 SMLoc S = Parser.getTok().getLoc();
1218 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc()
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp1271 Error(Parser.getTok().getLoc(), "unexpected token in operand");
1302 SMLoc StartLoc = Parser.getTok().getLoc();
1309 EndLoc = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
1314 SMLoc StartLoc = Parser.getTok().getLoc();
1322 EndLoc = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
1327 SMLoc Loc = Parser.getTok().getLoc();
1369 SMLoc Loc = Parser.getTok().getLoc();
1376 Error(Parser.getTok().getLoc(), "expected lane number");
1381 Error(Parser.getTok().getLoc(), "lane number incompatible with layout");
1387 SMLoc S = Parser.getTok().getLoc();
[all...]
/freebsd-10.1-release/contrib/llvm/utils/TableGen/
H A DPseudoLoweringEmitter.cpp93 PrintFatalError(Rec->getLoc(),
132 PrintFatalError(Rec->getLoc(), Rec->getName() +
136 PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
142 PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
146 PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
182 PrintFatalError(Rec->getLoc(),
H A DDisassemblerEmitter.cpp121 PrintFatalError(Target.getTargetRecord()->getLoc(),
H A DCodeGenInstruction.cpp539 PrintFatalError(R->getLoc(),
556 PrintFatalError(R->getLoc(), "result value $" + Result->getArgName(i) +
574 PrintFatalError(R->getLoc(), "not enough arguments for instruction!");
580 R->getLoc(), T, ResOp)) {
615 PrintFatalError(R->getLoc(), "not enough arguments for instruction!");
618 R->getLoc(), T, ResOp)) {
623 PrintFatalError(R->getLoc(), "result argument #" + utostr(AliasOpNo) +
630 PrintFatalError(R->getLoc(), "result argument #" + utostr(AliasOpNo) +
636 PrintFatalError(R->getLoc(), "too many operands for instruction!");
/freebsd-10.1-release/contrib/llvm/include/llvm/MC/MCParser/
H A DMCAsmLexer.h71 SMLoc getLoc() const;
144 /// getLoc - Get the current source location.
145 SMLoc getLoc() const;
/freebsd-10.1-release/contrib/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp1053 StartLoc = PercentTok.getLoc();
1103 return Error(IntTok.getLoc(), "expected stack index");
1113 default: return Error(IntTok.getLoc(), "invalid stack index");
1117 return Error(Parser.getTok().getLoc(), "expected ')'");
1301 return Error(Tok.getLoc(), "unknown token in expression");
1311 SMLoc IdentLoc = Tok.getLoc();
1320 return Error(Tok.getLoc(), "Unexpected identifier!");
1336 return Error(Tok.getLoc(), "Unexpected identifier!");
1341 Tok.getLoc()));
1354 return Error(Tok.getLoc(), "unknow
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/MC/
H A DMCFixup.h107 SMLoc getLoc() const { return Loc; } function in class:llvm::MCFixup
/freebsd-10.1-release/contrib/llvm/tools/clang/utils/TableGen/
H A DClangCommentHTMLNamedCharacterReferenceEmitter.cpp63 SrcMgr.PrintMessage(Tag.getLoc().front(),
/freebsd-10.1-release/contrib/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp427 StartLoc = Tok.getLoc();
458 SMLoc Loc = getLexer().getLoc();
467 SMLoc Loc = getLexer().getLoc();
474 SMLoc Loc = getLexer().getLoc();
546 Parser.getTok().getLoc()));
550 SMLoc S = Parser.getTok().getLoc();
560 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer()-1);
574 Parser.getTok().getLoc()));
594 SMLoc S = Parser.getTok().getLoc();
595 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc()
[all...]
/freebsd-10.1-release/contrib/llvm/lib/TableGen/
H A DTGParser.cpp471 Result.RefRange.Start = Lex.getLoc();
483 Result.RefRange.End = Lex.getLoc();
506 Result.RefRange.End = Lex.getLoc();
521 Result.RefRange.Start = Lex.getLoc();
528 Result.RefRange.End = Lex.getLoc();
551 Result.RefRange.End = Lex.getLoc();
628 SMLoc StartLoc = Lex.getLoc();
650 SMLoc StartLoc = Lex.getLoc();
735 SMLoc Loc = Lex.getLoc();
923 SMLoc OpLoc = Lex.getLoc();
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSVals.cpp72 return X->getLoc().getAsLocSymbol();
140 return X->getLoc().getAsRegion();
276 os << C.getLoc() << " [as " << C.getNumBits() << " bit integer]";
/freebsd-10.1-release/contrib/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp2636 StartLoc = Parser.getTok().getLoc();
2701 SMLoc S = Parser.getTok().getLoc();
2741 SMLoc ImmLoc = Parser.getTok().getLoc();
2768 SMLoc L = Parser.getTok().getLoc();
2776 Error (Parser.getTok().getLoc(),
2807 Operands.push_back(ARMOperand::CreateReg(RegNo, RegTok.getLoc(),
2813 ExclaimTok.getLoc()));
2822 SMLoc SIdx = Parser.getTok().getLoc();
2833 return Error(Parser.getTok().getLoc(), "']' expected");
2889 SMLoc S = Parser.getTok().getLoc();
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp162 Asm.getContext().FatalError(Fixup.getLoc(),
176 Asm.getContext().FatalError(Fixup.getLoc(),
268 Asm.getContext().FatalError(Fixup.getLoc(),
281 Asm.getContext().FatalError(Fixup.getLoc(),
369 Asm.getContext().FatalError(Fixup.getLoc(),

Completed in 345 milliseconds

1234