Searched refs:getLoc (Results 26 - 50 of 95) sorted by relevance

1234

/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessingRecord.cpp179 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:__anon3306::PPEntityComp
/freebsd-10.1-release/contrib/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp444 Reg.StartLoc = Parser.getTok().getLoc();
448 return Error(Parser.getTok().getLoc(), "register expected");
475 Reg.EndLoc = Parser.getTok().getLoc();
561 return Error(Parser.getTok().getLoc(), "unexpected token in address");
573 SMLoc StartLoc = Parser.getTok().getLoc();
599 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
648 SMLoc Loc = getLexer().getLoc();
689 SMLoc StartLoc = Parser.getTok().getLoc();
696 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
778 SMLoc StartLoc = Parser.getTok().getLoc();
[all...]
/freebsd-10.1-release/contrib/llvm/utils/TableGen/
H A DAsmMatcherEmitter.cpp725 parseTwoOperandConstraint(Constraint, TheDef->getLoc());
731 PrintFatalError(TheDef->getLoc(),
735 PrintFatalError(TheDef->getLoc(),
876 PrintFatalError(TheDef->getLoc(),
880 PrintFatalError(TheDef->getLoc(),
884 PrintFatalError(TheDef->getLoc(),
894 PrintFatalError(TheDef->getLoc(), "instruction with empty asm string");
899 PrintFatalError(TheDef->getLoc(),
907 PrintFatalError(TheDef->getLoc(),
921 PrintFatalError(TheDef->getLoc(),
[all...]
H A DCTagsEmitter.cpp64 ArrayRef<SMLoc> Locs = R->getLoc();
H A DOptParserEmitter.cpp82 PrintError(A->getLoc(), Twine("Option is equivalent to"));
83 PrintError(B->getLoc(), Twine("Other defined here"));
H A DCodeGenSchedule.cpp273 PrintFatalError((*AI)->getLoc(), "SchedWrite Alias must be SchedWrite");
279 PrintFatalError((*AI)->getLoc(), "SchedRead Alias must be SchedRead");
310 PrintFatalError((*AI)->getLoc(), "Cannot Alias an Alias");
442 PrintFatalError(AliasRW.TheDef->getLoc(), "Multiple aliases "
551 PrintFatalError((*I)->TheDef->getLoc(), "Instruction's sched class "
689 PrintFatalError(InstRWDef->getLoc(), "No matching instruction opcodes");
694 PrintFatalError((*I)->getLoc(), "No sched class for instruction.");
760 PrintFatalError(InstRWDef->getLoc(), "Overlapping InstRW def " +
835 PrintFatalError((*II)->getLoc(), "SchedModel is undefined");
839 PrintFatalError((*II)->getLoc(), "Undefine
[all...]
H A DCodeGenRegisters.cpp63 PrintFatalError(TheDef->getLoc(),
69 PrintFatalError(TheDef->getLoc(), "Ambiguous ComposedOf entries");
76 PrintFatalError(TheDef->getLoc(),
122 PrintFatalError(TheDef->getLoc(),
234 PrintFatalError(TheDef->getLoc(), "SubRegIndex " + Idx->getName() +
317 Loc = TheDef->getLoc();
334 Loc = TheDef->getLoc();
482 PrintFatalError(TheDef->getLoc(), "No SubRegIndex for " +
558 PrintFatalError(Def->getLoc(), "SubRegIndices and SubRegs size mismatch");
560 PrintFatalError(Def->getLoc(),
[all...]
H A DCodeGenMapTable.cpp132 PrintFatalError(MapRec->getLoc(), "InstrMapping record `" +
141 PrintFatalError(MapRec->getLoc(), "Record `" + MapRec->getName() +
/freebsd-10.1-release/contrib/llvm/lib/TableGen/
H A DRecord.cpp806 PrintFatalError(CurRec->getLoc(),
1076 PrintFatalError(CurRec->getLoc(), "!foreach requires an operator\n");
1082 PrintFatalError(CurRec->getLoc(), "!foreach requires typed variable\n");
1677 PrintFatalError(getLoc(), "Record name is not a string!");
1728 PrintFatalError(getLoc(), "Invalid value is found when setting '"
1788 PrintFatalError(getLoc(), "Record `" + getName() +
1801 PrintFatalError(getLoc(), "Record `" + getName() +
1806 PrintFatalError(getLoc(), "Record `" + getName() + "', field `" +
1817 PrintFatalError(getLoc(), "Record `" + getName() +
1822 PrintFatalError(getLoc(), "Recor
[all...]
H A DTGLexer.h109 SMLoc getLoc() const;
H A DTGLexer.cpp36 SMLoc TGLexer::getLoc() const { function in class:TGLexer
296 PrintError(getLoc(), "Expected filename after include");
308 PrintError(getLoc(), "Could not find include file '" + Filename + "'");
314 PrintError(getLoc(),
320 Dependencies.insert(std::make_pair(IncludedFile, getLoc()));
/freebsd-10.1-release/contrib/llvm/lib/AsmParser/
H A DLLParser.h148 return Error(Lex.getLoc(), Msg);
184 *Loc = Lex.getLoc();
193 Loc = Lex.getLoc();
252 Loc = Lex.getLoc();
315 Loc = Lex.getLoc();
324 Loc = Lex.getLoc();
H A DLLParser.cpp356 LocTy TypeLoc = Lex.getLoc();
387 LocTy NameLoc = Lex.getLoc();
455 LocTy NameLoc = Lex.getLoc();
460 return Error(Lex.getLoc(), "variable expected to be numbered '%" +
484 LocTy NameLoc = Lex.getLoc();
536 ForwardRefMDNodes[MID] = std::make_pair(FwdNode, Lex.getLoc());
630 LocTy LinkageLoc = Lex.getLoc();
641 LocTy AliaseeLoc = Lex.getLoc();
807 LocTy AttrGrpLoc = Lex.getLoc();
841 BuiltinLoc = Lex.getLoc();
[all...]
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenAction.cpp224 LSM.getMemoryBuffer(LSM.FindBufferContainingLoc(D.getLoc()));
233 unsigned Offset = D.getLoc().getPointer() - LBuf->getBufferStart();
255 if (D.getLoc() != SMLoc())
265 if (D.getLoc().isValid()) {
/freebsd-10.1-release/contrib/llvm/tools/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp143 assert(!LHS->getLoc().empty() && !RHS->getLoc().empty());
145 LHS->getLoc().front().getPointer() < RHS->getLoc().front().getPointer();
245 SrcMgr.PrintMessage(NextDiagGroup->getLoc().front(),
252 SrcMgr.PrintMessage((*I)->ExplicitDef->getLoc().front(),
267 SrcMgr.PrintMessage(NextDiagGroup->getLoc().front(),
276 SrcMgr.PrintMessage(GroupInit->getDef()->getLoc().front(),
516 PrintFatalError(R.getLoc(), "Error " + R.getName() +
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaType.cpp80 SourceLocation loc = attr.getLoc();
2835 AttrLoc = Attr->getLoc();
2845 AttrLoc = Attr->getLoc();
3478 TL.setAttrNameLoc(attrs->getLoc());
3926 S.Diag(Attr.getLoc(), diag::err_attribute_address_multiple_qualifiers);
3934 S.Diag(Attr.getLoc(), diag::err_attribute_address_function_type);
3941 S.Diag(Attr.getLoc(), diag::err_attribute_wrong_number_arguments)
3950 S.Diag(Attr.getLoc(), diag::err_attribute_argument_type)
3960 S.Diag(Attr.getLoc(), diag::err_attribute_address_space_negative)
3970 S.Diag(Attr.getLoc(), dia
[all...]
H A DSemaOpenMP.cpp416 Diag(Id.getLoc(), Lookup.empty() ? diag::err_undeclared_var_use
423 Diag(Id.getLoc(), diag::err_omp_expected_var_arg)
434 Diag(Id.getLoc(), diag::err_omp_global_var_arg)
451 Diag(Id.getLoc(), diag::err_omp_var_scope)
465 Diag(Id.getLoc(), diag::err_omp_var_scope)
480 Diag(Id.getLoc(), diag::err_omp_var_scope)
493 Diag(Id.getLoc(), diag::err_omp_var_scope)
506 Diag(Id.getLoc(), diag::err_omp_var_used)
512 ExprResult DE = BuildDeclRefExpr(VD, ExprType, VK_RValue, Id.getLoc());
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DTypoCorrection.h203 : TypoName.getLoc());
204 CorrectionRange.setEnd(TypoName.getLoc());
/freebsd-10.1-release/contrib/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp232 SMLoc FirstLoc = getLexer().getLoc();
244 SMLoc PrevLoc = getLexer().getLoc();
262 if (PrevLoc.getPointer() + CurSize != getTok().getLoc().getPointer())
523 TypeLoc = getLexer().getLoc();
540 TypeLoc = getLexer().getLoc();
/freebsd-10.1-release/contrib/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp935 StartLoc = Tok.getLoc();
1103 SMLoc S = Parser.getTok().getLoc();
1104 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
1152 S = Parser.getTok().getLoc();
1156 return Error(Parser.getTok().getLoc(), "missing ')'");
1157 E = Parser.getTok().getLoc();
1167 S = Parser.getTok().getLoc();
1190 return Error(Parser.getTok().getLoc(), "missing ')'");
1191 E = Parser.getTok().getLoc();
1265 return ParseDirectiveWord(2, DirectiveID.getLoc());
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCCodeEmitter.cpp398 EmitImmediate(Disp, MI.getLoc(), 4, MCFixupKind(FixupKind),
422 EmitImmediate(Disp, MI.getLoc(), 4, FK_Data_4, CurByte, OS, Fixups);
439 EmitImmediate(Disp, MI.getLoc(), 1, FK_Data_1, CurByte, OS, Fixups);
447 EmitImmediate(Disp, MI.getLoc(), 1, FK_Data_1, CurByte, OS, Fixups,
455 EmitImmediate(Disp, MI.getLoc(), 4, MCFixupKind(X86::reloc_signed_4byte), CurByte, OS,
521 EmitImmediate(Disp, MI.getLoc(), 1, FK_Data_1, CurByte, OS, Fixups, ImmOffset);
523 EmitImmediate(Disp, MI.getLoc(), 4, MCFixupKind(X86::reloc_signed_4byte),
1245 EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(),
1248 EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(), 1, FK_Data_1, CurByte,
1253 EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(),
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/MC/
H A DMCInst.h161 SMLoc getLoc() const { return Loc; } function in class:llvm::MCInst
/freebsd-10.1-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackend.cpp310 Ctx->FatalError(Fixup.getLoc(), "out of range pc-relative fixup value");
334 Ctx->FatalError(Fixup.getLoc(), "out of range pc-relative fixup value");
488 Ctx->FatalError(Fixup.getLoc(), "out of range pc-relative fixup value");
507 Ctx->FatalError(Fixup.getLoc(), "out of range pc-relative fixup value");
/freebsd-10.1-release/contrib/llvm/lib/Target/R600/MCTargetDesc/
H A DSIMCCodeEmitter.cpp178 Fixups.push_back(MCFixup::Create(0, Expr, Kind, MI.getLoc()));
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp424 Loc L = val.castAs<nonloc::LocAsInteger>().getLoc();
441 if (const MemRegion *R = LV->getLoc().getAsRegion()) {
446 return LV->getLoc();

Completed in 363 milliseconds

1234