/external/llvm/lib/TableGen/ |
H A D | TGParser.cpp | 63 bool TGParser::AddValue(Record *CurRec, SMLoc Loc, const RecordVal &RV) { argument 70 return Error(Loc, "New definition of '" + RV.getName() + "' of type '" + 82 bool TGParser::SetValue(Record *CurRec, SMLoc Loc, Init *ValName, argument 90 return Error(Loc, "Value '" + ValName->getAsUnquotedString() 107 return Error(Loc, "Value '" + ValName->getAsUnquotedString() 114 return Error(Loc, "Initializer is not compatible with bit range"); 127 return Error(Loc, "Cannot set bit #" + utostr(Bit) + " of value '" + 140 return Error(Loc, "Value '" + ValName->getAsUnquotedString() + "' of type '" 295 bool TGParser::ProcessForeachDefs(Record *CurRec, SMLoc Loc) { argument 303 return ProcessForeachDefs(CurRec, Loc, IterVal 309 ProcessForeachDefs(Record *CurRec, SMLoc Loc, IterSet &IterVals) argument 742 SMLoc Loc = Lex.getLoc(); local [all...] |
/external/bison/src/ |
H A D | parse-gram.c | 225 #define YY_LOCATION_PRINT(File, Loc) \ 226 location_print (File, Loc) 902 # define YY_LOCATION_PRINT(File, Loc) \ 904 (Loc).first_line, (Loc).first_column, \ 905 (Loc).last_line, (Loc).last_column) 907 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
|
/external/clang/lib/AST/ |
H A D | CommentDumper.cpp | 35 void dumpLocation(SourceLocation Loc) { argument 37 Loc.print(OS, *SM);
|
H A D | StmtDumper.cpp | 128 void DumpLocation(SourceLocation Loc); 184 void StmtDumper::DumpLocation(SourceLocation Loc) { argument 185 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc);
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SVals.cpp | 10 // This file defines SVal, Loc, and NonLoc, classes that represent 60 /// \brief If this SVal is a location (subclasses Loc) and wraps a symbol, 243 cast<Loc>(this)->dumpToStream(os); 301 void Loc::dumpToStream(raw_ostream &os) const { 304 os << cast<loc::ConcreteInt>(this)->getValue().getZExtValue() << " (Loc)"; 313 llvm_unreachable("Pretty-printing not implemented for this Loc.");
|
H A D | SymbolManager.cpp | 358 if (Loc::isLocType(T)) 508 if (!Loc) 511 return LCtx->getAnalysis<RelaxedLiveVariables>()->isLive(Loc, ExprVal); 520 if (!Loc) 523 if (LCtx->getAnalysis<RelaxedLiveVariables>()->isLive(Loc, VR->getDecl()))
|
H A D | PathDiagnostic.cpp | 565 SourceLocation Loc = (*CS->body_begin())->getLocStart(); local 566 return PathDiagnosticLocation(Loc, SM, SingleLocK); 671 return PathDiagnosticRange(SourceRange(Loc,Loc), true); 722 return SourceRange(Loc,Loc); 842 ID.AddInteger(Loc.getRawEncoding());
|
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineModuleInfo.h | 395 void setVariableDbgInfo(MDNode *N, unsigned Slot, DebugLoc Loc) { argument 396 VariableDbgInfo.push_back(std::make_pair(N, std::make_pair(Slot, Loc)));
|
/external/llvm/include/llvm/ |
H A D | Instruction.h | 174 void setDebugLoc(const DebugLoc &Loc) { DbgLoc = Loc; } argument
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | Sink.cpp | 165 AliasAnalysis::Location Loc = AA->getLocation(L); local 168 if (AA->getModRefInfo(*I, Loc) & AliasAnalysis::Mod)
|
/external/llvm/lib/VMCore/ |
H A D | DebugInfo.cpp | 819 DebugLoc Loc = BI->getDebugLoc(); local 820 if (Loc.isUnknown()) 824 DIDescriptor Scope(Loc.getScope(Ctx)); 837 if (MDNode *IA = Loc.getInlinedAt(Ctx)) 858 void DebugInfoFinder::processLocation(DILocation Loc) { argument 859 if (!Loc.Verify()) return; 860 DIDescriptor S(Loc.getScope()); 871 processLocation(Loc.getOrigLocation());
|
/external/clang/lib/Lex/ |
H A D | PPMacroExpansion.cpp | 322 SourceLocation Loc = local 325 Identifier.setLocation(Loc); 936 SourceLocation Loc = Tok.getLocation(); local 940 Loc = AdvanceToTokenCharacter(Loc, 0); 947 Loc = SourceMgr.getExpansionRange(Loc).second; 948 PresumedLoc PLoc = SourceMgr.getPresumedLoc(Loc);
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | FixItRewriter.cpp | 188 void FixItRewriter::Diag(SourceLocation Loc, unsigned DiagID) { argument 195 Diags.Report(Loc, DiagID);
|
/external/clang/include/clang/Parse/ |
H A D | Parser.h | 519 bool TryAltiVecToken(DeclSpec &DS, SourceLocation Loc, argument 527 return TryAltiVecTokenOutOfLine(DS, Loc, PrevSpec, DiagID, isInvalid); 540 bool TryAltiVecTokenOutOfLine(DeclSpec &DS, SourceLocation Loc, 710 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID); 717 void SuggestParentheses(SourceLocation Loc, unsigned DK, 806 SourceLocation Loc) 807 : Self(P), AttrName(Name), AttrNameLoc(Loc) {} 1365 SourceLocation Loc, bool ConvertToBoolean); 1449 SourceLocation Loc, 1517 StmtResult ParseSEHTryBlockCommon(SourceLocation Loc); 805 LateParsedAttribute(Parser *P, IdentifierInfo &Name, SourceLocation Loc) argument [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 222 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); local 223 if (Loc.isValid()) { 230 llvm::errs() << ": " << Loc.getFilename(); 236 llvm::errs() << ' ' << "block(line:" << Loc.getLine() << ",col:" 237 << Loc.getColumn() << '\n';
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMLoadStoreOptimizer.cpp | 413 MachineBasicBlock::iterator Loc = memOps[insertAfter].MBBI; local 414 ++Loc; 415 if (!MergeOps(MBB, Loc, Offset, Base, BaseKill, Opcode, 420 Merges.push_back(prior(Loc)); 455 MachineBasicBlock::iterator Loc = MemOps[SIndex].MBBI; local 456 DebugLoc dl = Loc->getDebugLoc(); 457 const MachineOperand &PMO = Loc->getOperand(0); 509 bool BaseKill = Loc->findRegisterUseOperandIdx(Base, true) != -1; 1035 MachineBasicBlock::iterator Loc = MemOps[0].MBBI; local 1040 Loc 1666 unsigned Loc = MI2LocMap[Op]; local 1805 unsigned Loc = 0; local [all...] |
/external/llvm/utils/FileCheck/ |
H A D | FileCheck.cpp | 444 /// Loc - The location in the match file that the check string was specified. 445 SMLoc Loc; member in struct:CheckString 457 : Pat(P), Loc(L), IsCheckNext(isCheckNext) {} 614 SM.PrintMessage(CheckStr.Loc, SourceMgr::DK_Error, 717 SM.PrintMessage(CheckStr.Loc, SourceMgr::DK_Error, 727 SM.PrintMessage(CheckStr.Loc, SourceMgr::DK_Error, CheckPrefix+
|
/external/llvm/utils/TableGen/ |
H A D | CodeGenInstruction.cpp | 416 ArrayRef<SMLoc> Loc, CodeGenTarget &T, 425 throw TGError(Loc, "result argument #" + utostr(AliasOpNo) + 460 throw TGError(Loc, "fixed register " + ADI->getDef()->getName() + 465 throw TGError(Loc, "result fixed register argument must " 481 // throw TGError(Loc, "reg0 used for result that is not an " 494 throw TGError(Loc, "result argument #" + utostr(AliasOpNo) + 414 tryAliasOpMatch(DagInit *Result, unsigned AliasOpNo, Record *InstOpRec, bool hasSubOps, ArrayRef<SMLoc> Loc, CodeGenTarget &T, ResultOperand &ResOp) argument
|
/external/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 318 // NOTE: avoid constructing an ElaboratedType(Loc) if this is a 1345 void Sema::ActOnPopScope(SourceLocation Loc, Scope *S) { argument 1464 SourceLocation Loc) { 1476 Diag(Loc, diag::warn_implicit_decl_requires_stdio) 1482 Diag(Loc, diag::warn_implicit_decl_requires_setjmp) 1488 Diag(Loc, diag::warn_implicit_decl_requires_ucontext) 1494 Diag(Loc, diag::ext_implicit_lib_function_decl) 1498 Diags.getDiagnosticLevel(diag::ext_implicit_lib_function_decl, Loc) 1500 Diag(Loc, diag::note_please_include_header) 1507 Loc, Lo 1462 LazilyCreateBuiltin(IdentifierInfo *II, unsigned bid, Scope *S, bool ForRedeclaration, SourceLocation Loc) argument 3503 diagnoseQualifiedDeclaration(CXXScopeSpec &SS, DeclContext *DC, DeclarationName Name, SourceLocation Loc) argument 4922 SourceLocation Loc = FDParam->getTypeSpecStartLoc(); local 6443 SourceLocation Loc = DeducedType->getTypeLoc().getBeginLoc(); local 6638 SourceLocation Loc; local 7371 BuildParmVarDeclForTypedef(DeclContext *DC, SourceLocation Loc, QualType T) argument 7933 ImplicitlyDefineFunction(SourceLocation Loc, IdentifierInfo &II, Scope *S) argument 8853 SourceLocation Loc = NameLoc.isValid() ? NameLoc : KWLoc; local 9263 SourceLocation Loc = DeclStart; local 9352 CheckFieldDecl(DeclarationName Name, QualType T, TypeSourceInfo *TInfo, RecordDecl *Record, SourceLocation Loc, bool Mutable, Expr *BitWidth, InClassInitStyle InitStyle, SourceLocation TSSL, AccessSpecifier AS, NamedDecl *PrevDecl, Declarator *D) argument 9532 SourceLocation Loc = FD->getLocation(); local 9751 SourceLocation Loc = DeclStart; local [all...] |
H A D | SemaExprMember.cpp | 193 SourceLocation Loc = nameInfo.getLoc(); local 194 SourceRange Range(Loc); 207 SemaRef.Diag(Loc, diag::err_invalid_member_use_in_static_method) 213 SemaRef.Diag(Loc, diag::err_nested_non_static_member_use) 216 SemaRef.Diag(Loc, diag::err_invalid_non_static_member_use) 219 SemaRef.Diag(Loc, diag::err_member_call_without_object) 940 SourceLocation Loc = R.getNameLoc(); 942 Loc = SS.getRange().getBegin(); 943 CheckCXXThisCapture(Loc); 944 BaseExpr = new (Context) CXXThisExpr(Loc, BaseExprTyp 1675 SourceLocation Loc = R.getNameLoc(); local [all...] |
H A D | SemaTemplate.cpp | 451 /// declaration at location Loc. Returns true to indicate that this is 453 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) { argument 463 Diag(Loc, diag::err_template_param_shadow) 566 SourceLocation Loc = ParamNameLoc; local 568 Loc = KeyLoc; 572 KeyLoc, Loc, Depth, Position, ParamName, 600 if (DiagnoseUnexpandedParameterPack(Loc, DefaultTInfo, 622 Sema::CheckNonTypeTemplateParameterType(QualType T, SourceLocation Loc) { argument 626 Diag(Loc, diag::err_variably_modified_nontype_template_param) 666 Diag(Loc, dia 2493 SourceLocation Loc = AL.getSourceRange().getBegin(); local 4209 diagnoseNotICE(Sema &S, SourceLocation Loc, SourceRange SR) argument 4497 BuildExpressionFromDeclTemplateArgument(const TemplateArgument &Arg, QualType ParamType, SourceLocation Loc) argument 4608 BuildExpressionFromIntegralTemplateArgument(const TemplateArgument &Arg, SourceLocation Loc) argument 4949 CheckTemplateSpecializationScope(Sema &S, NamedDecl *Specialized, NamedDecl *PrevDecl, SourceLocation Loc, bool IsPartialSpecialization) argument 7120 SourceLocation Loc = Using->getQualifierLoc().getBeginLoc(); local 7171 SourceLocation Loc; member in class:__anon249::CurrentInstantiationRebuilder 7177 CurrentInstantiationRebuilder(Sema &SemaRef, SourceLocation Loc, DeclarationName Entity) argument 7201 setBase(SourceLocation Loc, DeclarationName Entity) argument 7239 RebuildTypeInCurrentInstantiation(TypeSourceInfo *T, SourceLocation Loc, DeclarationName Name) argument [all...] |
H A D | SemaTemplateDeduction.cpp | 1921 /// \param Loc The source location to use for the resulting template 1927 SourceLocation Loc) { 1934 S.Context.getTrivialTypeSourceInfo(Arg.getAsType(), Loc)); 1938 = S.BuildExpressionFromDeclTemplateArgument(Arg, NTTPType, Loc) 1945 = S.BuildExpressionFromIntegralTemplateArgument(Arg, Loc).takeAs<Expr>(); 1954 Builder.MakeTrivial(S.Context, DTN->getQualifier(), Loc); 1956 Builder.MakeTrivial(S.Context, QTN->getQualifier(), Loc); 1961 Loc); 1965 Loc, Loc); 1924 getTrivialTemplateArgumentLoc(Sema &S, const TemplateArgument &Arg, QualType NTTPType, SourceLocation Loc) argument 3553 SourceLocation Loc = Init->getExprLoc(); local 3667 isAtLeastAsSpecializedAs(Sema &S, SourceLocation Loc, FunctionTemplateDecl *FT1, FunctionTemplateDecl *FT2, TemplatePartialOrderingContext TPOC, unsigned NumCallArguments, SmallVectorImpl<RefParamPartialOrderingComparison> *RefParamComparisons) argument 3863 getMoreSpecializedTemplate(FunctionTemplateDecl *FT1, FunctionTemplateDecl *FT2, SourceLocation Loc, TemplatePartialOrderingContext TPOC, unsigned NumCallArguments) argument 4006 getMostSpecialized(UnresolvedSetIterator SpecBegin, UnresolvedSetIterator SpecEnd, TemplatePartialOrderingContext TPOC, unsigned NumCallArguments, SourceLocation Loc, const PartialDiagnostic &NoneDiag, const PartialDiagnostic &AmbigDiag, const PartialDiagnostic &CandidateDiag, bool Complain, QualType TargetType) argument 4094 getMoreSpecializedPartialSpecialization( ClassTemplatePartialSpecializationDecl *PS1, ClassTemplatePartialSpecializationDecl *PS2, SourceLocation Loc) argument [all...] |
/external/llvm/lib/CodeGen/ |
H A D | BranchFolding.cpp | 1481 MachineBasicBlock::iterator Loc = MBB->getFirstTerminator(); local 1482 if (!TII->isUnpredicatedTerminator(Loc)) 1485 for (unsigned i = 0, e = Loc->getNumOperands(); i != e; ++i) { 1486 const MachineOperand &MO = Loc->getOperand(i); 1502 return Loc; 1503 if (Loc == MBB->begin()) 1508 MachineBasicBlock::iterator PI = Loc; 1510 while (PI != MBB->begin() && Loc->isDebugValue()) 1518 return Loc; 1530 return Loc; 1592 MachineBasicBlock::iterator Loc = local [all...] |
/external/clang/lib/Frontend/ |
H A D | CompilerInstance.cpp | 385 const ParsedSourceLocation &Loc = getFrontendOpts().CodeCompletionAt; local 389 Loc.FileName, Loc.Line, Loc.Column, 394 } else if (EnableCodeCompletion(getPreprocessor(), Loc.FileName, 395 Loc.Line, Loc.Column)) {
|
/external/clang/include/clang/AST/ |
H A D | Stmt.h | 556 explicit CompoundStmt(SourceLocation Loc) argument 557 : Stmt(CompoundStmtClass), Body(0), LBracLoc(Loc), RBracLoc(Loc) { 808 AttributedStmt(SourceLocation Loc, ArrayRef<const Attr*> Attrs, Stmt *SubStmt) argument 809 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc), 820 static AttributedStmt *Create(ASTContext &C, SourceLocation Loc, 1757 SourceLocation Loc; member in class:clang::SEHExceptStmt 1762 SEHExceptStmt(SourceLocation Loc, 1779 SourceLocation getExceptLoc() const { return Loc; } 1803 SourceLocation Loc; member in class:clang::SEHFinallyStmt [all...] |