/external/llvm/include/llvm/MC/ |
H A D | MCELFStreamer.h | 73 const SMLoc &Loc = SMLoc()) override;
|
/external/llvm/lib/Object/ |
H A D | Archive.cpp | 321 const char *Loc = Data->getBufferStart() + strlen(Magic); local 322 Child c(this, Loc); 380 const char *Loc = Parent->getData().begin() + Offset; local 381 child_iterator Iter(Child(Parent, Loc));
|
/external/llvm/lib/TableGen/ |
H A D | TGLexer.h | 115 tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg);
|
H A D | TGLexer.cpp | 42 tgtok::TokKind TGLexer::ReturnError(const char *Loc, const Twine &Msg) { argument 43 PrintError(Loc, Msg);
|
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() 113 return Error(Loc, "Initializer is not compatible with bit range"); 126 return Error(Loc, "Cannot set bit #" + utostr(Bit) + " of value '" + 139 return Error(Loc, "Value '" + ValName->getAsUnquotedString() + "' of type '" 297 bool TGParser::ProcessForeachDefs(Record *CurRec, SMLoc Loc) { argument 305 return ProcessForeachDefs(CurRec, Loc, IterVal 311 ProcessForeachDefs(Record *CurRec, SMLoc Loc, IterSet &IterVals) argument [all...] |
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64ELFStreamer.cpp | 97 const SMLoc &Loc) override {
|
/external/clang/include/clang/Parse/ |
H A D | Parser.h | 314 bool TryConsumeToken(tok::TokenKind Expected, SourceLocation &Loc) { argument 317 Loc = PrevTokLocation; 602 bool TryAltiVecToken(DeclSpec &DS, SourceLocation Loc, argument 611 return TryAltiVecTokenOutOfLine(DS, Loc, PrevSpec, DiagID, isInvalid); 624 bool TryAltiVecTokenOutOfLine(DeclSpec &DS, SourceLocation Loc, 816 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID); 823 void SuggestParentheses(SourceLocation Loc, unsigned DK, 927 SourceLocation Loc) 928 : Self(P), AttrName(Name), AttrNameLoc(Loc) {} 1515 SourceLocation Loc, boo 926 LateParsedAttribute(Parser *P, IdentifierInfo &Name, SourceLocation Loc) argument [all...] |
/external/clang/lib/Sema/ |
H A D | SemaTemplate.cpp | 445 /// declaration at location Loc. Returns true to indicate that this is 447 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) { argument 457 Diag(Loc, diag::err_template_param_shadow) 530 SourceLocation Loc, 533 S, Name, Loc, Sema::LookupOrdinaryName, Sema::ForRedeclaration); 535 SemaRef.DiagnoseTemplateParameterShadow(Loc, PrevDecl); 559 SourceLocation Loc = ParamNameLoc; local 561 Loc = KeyLoc; 566 KeyLoc, Loc, Depth, Position, ParamName, 596 if (DiagnoseUnexpandedParameterPack(Loc, DefaultTInf 529 maybeDiagnoseTemplateParameterShadow(Sema &SemaRef, Scope *S, SourceLocation Loc, IdentifierInfo *Name) argument 618 CheckNonTypeTemplateParameterType(QualType T, SourceLocation Loc) argument 3055 SourceLocation Loc = AL.getSourceRange().getBegin(); local 5162 BuildExpressionFromDeclTemplateArgument(const TemplateArgument &Arg, QualType ParamType, SourceLocation Loc) argument 5287 BuildExpressionFromIntegralTemplateArgument(const TemplateArgument &Arg, SourceLocation Loc) argument 5641 CheckTemplateSpecializationScope(Sema &S, NamedDecl *Specialized, NamedDecl *PrevDecl, SourceLocation Loc, bool IsPartialSpecialization) argument 7923 SourceLocation Loc = Using->getQualifierLoc().getBeginLoc(); local 7974 SourceLocation Loc; member in class:__anon18102::CurrentInstantiationRebuilder 7980 CurrentInstantiationRebuilder(Sema &SemaRef, SourceLocation Loc, DeclarationName Entity) argument 8004 setBase(SourceLocation Loc, DeclarationName Entity) argument 8042 RebuildTypeInCurrentInstantiation(TypeSourceInfo *T, SourceLocation Loc, DeclarationName Name) argument [all...] |
H A D | SemaDeclAttr.cpp | 269 IdentifierLoc *Loc = Attr.getArgAsIdent(ArgNum); local 270 Diag(Loc->Loc, diag::err_attribute_argument_type) 272 << FixItHint::CreateInsertion(Loc->Loc, "\"") 273 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(Loc->Loc), "\""); 274 Str = Loc->Ident->getName(); 276 *ArgLocation = Loc->Loc; 830 SourceLocation Loc; local 2291 SourceLocation Loc = E->getExprLoc(); local 4617 DeclClonePragmaWeak(NamedDecl *ND, IdentifierInfo *II, SourceLocation Loc) argument 4854 DoEmitAvailabilityWarning(Sema &S, DelayedDiagnostic::DDKind K, Decl *Ctx, const NamedDecl *D, StringRef Message, SourceLocation Loc, const ObjCInterfaceDecl *UnknownObjCClass, const ObjCPropertyDecl *ObjCProperty, bool ObjCPropertyAccess) argument 4934 EmitAvailabilityWarning(AvailabilityDiagnostic AD, NamedDecl *D, StringRef Message, SourceLocation Loc, const ObjCInterfaceDecl *UnknownObjCClass, const ObjCPropertyDecl *ObjCProperty, bool ObjCPropertyAccess) argument [all...] |
/external/clang/include/clang/Lex/ |
H A D | LiteralSupport.h | 163 SourceLocation Loc, Preprocessor &PP, 255 void DiagnoseLexingError(SourceLocation Loc);
|
/external/clang/lib/Frontend/ |
H A D | TextDiagnostic.cpp | 674 TextDiagnostic::emitDiagnosticMessage(SourceLocation Loc, 684 if (Loc.isValid()) 685 emitDiagnosticLoc(Loc, PLoc, Level, Ranges, *SM); 772 void TextDiagnostic::emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, 778 FileID FID = SM.getFileID(Loc); 825 SM.getFileID(SM.getExpansionLoc(Loc)); 873 void TextDiagnostic::emitIncludeLocation(SourceLocation Loc, 883 void TextDiagnostic::emitImportLocation(SourceLocation Loc, PresumedLoc PLoc, 893 void TextDiagnostic::emitBuildingModuleLocation(SourceLocation Loc, 1053 /// \param Loc Th [all...] |
H A D | VerifyDiagnosticConsumer.cpp | 64 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, argument 67 Verify.UpdateParsedFileStatus(SM, SM.getFileID(Loc), 127 SourceLocation Loc = Info.getLocation(); local 128 if (Loc.isValid()) { 131 Loc = SrcManager->getExpansionLoc(Loc); 132 FileID FID = SrcManager->getFileID(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/lib/StaticAnalyzer/Core/ |
H A D | SVals.cpp | 10 // This file defines SVal, Loc, and NonLoc, classes that represent 62 /// \brief If this SVal is a location (subclasses Loc) and wraps a symbol, 250 castAs<Loc>().dumpToStream(os); 308 void Loc::dumpToStream(raw_ostream &os) const { 311 os << castAs<loc::ConcreteInt>().getValue().getZExtValue() << " (Loc)"; 320 llvm_unreachable("Pretty-printing not implemented for this Loc.");
|
H A D | SymbolManager.cpp | 335 if (Loc::isLocType(T)) 502 if (!Loc) 505 return LCtx->getAnalysis<RelaxedLiveVariables>()->isLive(Loc, ExprVal); 520 if (!Loc) 523 if (LCtx->getAnalysis<RelaxedLiveVariables>()->isLive(Loc, VR->getDecl()))
|
H A D | ExprEngineC.cpp | 71 if (LeftV.getAs<Loc>() && 77 if (RightV.getAs<Loc>() && 425 Loc CLLoc = State->getLValue(CL, LCtx); 865 if (Optional<Loc> LV = V.getAs<Loc>()) { 866 Loc X = svalBuilder.makeNull(); 947 if (Loc::isLocType(U->getType())) {
|
/external/llvm/include/llvm/IR/ |
H A D | Instruction.h | 193 void setDebugLoc(const DebugLoc &Loc) { DbgLoc = Loc; } argument
|
/external/llvm/lib/Target/Sparc/AsmParser/ |
H A D | SparcAsmParser.cpp | 464 SMLoc Loc = getLexer().getLoc(); local 466 return Error(Loc, "unexpected token"); 470 SMLoc Loc = getLexer().getLoc(); local 472 return Error(Loc, "unexpected token"); 479 SMLoc Loc = getLexer().getLoc(); local 481 return Error(Loc, "unexpected token"); 486 SMLoc Loc = getLexer().getLoc(); local 488 return Error(Loc, "unexpected token");
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | Sink.cpp | 168 AliasAnalysis::Location Loc = AA->getLocation(L); local 171 if (AA->getModRefInfo(*I, Loc) & AliasAnalysis::Mod)
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 248 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); local 249 if (Loc.isValid()) { 269 llvm::errs() << ": " << Loc.getFilename(); 275 llvm::errs() << ' ' << "block(line:" << Loc.getLine() << ",col:" 276 << Loc.getColumn() << '\n';
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldChecker.cpp | 637 RuntimeDyldImpl::SymbolLoc Loc = pos->second; 638 uint8_t *SectionAddr = RTDyld.getSectionAddress(Loc.first); 639 return StringRef(reinterpret_cast<const char*>(SectionAddr) + Loc.second, 640 RTDyld.Sections[Loc.first].Size - Loc.second);
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMLoadStoreOptimizer.cpp | 665 MachineBasicBlock::iterator Loc = memOps[insertAfter].MBBI; local 666 ++Loc; 667 if (!MergeOps(MBB, Loc, Offset, Base, BaseKill, Opcode, 672 Merges.push_back(std::prev(Loc)); 717 MachineBasicBlock::iterator Loc = MemOps[SIndex].MBBI; local 718 DebugLoc dl = Loc->getDebugLoc(); 719 const MachineOperand &PMO = Loc->getOperand(0); 774 bool BaseKill = Loc->findRegisterUseOperandIdx(Base, true) != -1; 1317 MachineBasicBlock::iterator Loc = MemOps[0].MBBI; local 1322 Loc 1978 unsigned Loc = MI2LocMap[Op]; local 2117 unsigned Loc = 0; local [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | GCOVProfiling.cpp | 461 const DebugLoc &Loc = I->getDebugLoc(); local 462 if (Loc.isUnknown()) continue; 465 if (Loc.getLine() == 0) continue; 530 const DebugLoc &Loc = I->getDebugLoc(); local 531 if (Loc.isUnknown()) continue; 534 if (Loc.getLine() == 0) continue; 536 if (Line == Loc.getLine()) continue; 537 Line = Loc.getLine(); 538 if (SP != getDISubprogram(Loc.getScope(*Ctx))) continue; 541 Lines.addLine(Loc [all...] |
/external/clang/lib/Analysis/ |
H A D | ThreadSafety.cpp | 573 SourceLocation Loc; local 575 Loc = DeclExp->getExprLoc(); 578 if (Loc.isValid()) 579 Handler.handleInvalidLockExp(Kind, Loc); 1789 SourceLocation Loc = Exp->getExprLoc(); local 1791 addLock(Result, ExclusiveLockToAdd, LockData(Loc, LK_Exclusive), 1794 addLock(Result, SharedLockToAdd, LockData(Loc, LK_Shared), CapDiagKind); 1982 SourceLocation Loc = Exp->getExprLoc(); local 2013 LockData(Loc, LK_Exclusive, false, true), 2024 LockData(Loc, LK_Share 2398 SourceLocation Loc = D->getLocation(); local [all...] |
/external/bison/src/ |
H A D | parse-gram.c | 117 #define YY_LOCATION_PRINT(File, Loc) \ 118 location_print (File, Loc) 1007 # define YY_LOCATION_PRINT(File, Loc) \ 1009 fprintf (File, "%d.%d", (Loc).first_line, (Loc).first_column); \ 1010 if ((Loc).first_line < (Loc).last_line) \ 1011 fprintf (File, "-%d.%d", (Loc).last_line, (Loc).last_column - 1); \ 1012 else if ((Loc) [all...] |