reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/VectorUtils.cpp
  917     Instruction *B = BI->first;
  918     StrideDescriptor DesB = BI->second;
  939       Instruction *A = AI->first;
  940       StrideDescriptor DesA = AI->second;
lib/Bitcode/Reader/BitcodeReader.cpp
 6392           if (!I->Strtab.empty())
 6394           I->Strtab = *Strtab;
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 1470       dbgs() << CurEntry->getValues().size() << " Values:\n";
 1471       for (auto &Value : CurEntry->getValues())
 1477     if (PrevEntry != DebugLoc.rend() && PrevEntry->MergeRanges(*CurEntry))
lib/CodeGen/WinEHPrepare.cpp
  584         Entry->Handler.get<const BasicBlock *>()->getFirstNonPHI();
  594       if (Entry->TryParentState != -1)
  671     Entry->TryParentState = UnwindDestState;
lib/Object/WindowsResource.cpp
  299   uint32_t LastLang = LastIt->first;
  300   TreeNode *LastNode = LastIt->second.get();
lib/Support/FileCheck.cpp
  774       Diags->rbegin()->MatchTy = MatchTy;
 1692           Diags->rbegin()->MatchTy = FileCheckDiag::MatchFoundButDiscarded;
 1716       StartPos = MatchRanges.rbegin()->End;
lib/TableGen/TGLexer.cpp
 1004     if (!I->IsDefined)
lib/Target/AMDGPU/GCNSchedStrategy.cpp
  509   auto *BB = I->first->getParent();
  511     auto *MI = &*skipDebugInstructionsForward(I->first, I->second);
  511     auto *MI = &*skipDebugInstructionsForward(I->first, I->second);
  515     } while (I != E && I->first->getParent() == BB);
lib/Target/AMDGPU/SIMachineScheduler.cpp
 1232       CurrentBlocks.push_back(BlockPtrs.rbegin()->get());
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 4269     if (J->first == Enc) {
 4273     if (J->first < Enc)
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
  700     return Range.begin() != Range.end() && Range.begin()->getParent() == Instr;
lib/Target/X86/X86FlagsCopyLowering.cpp
  494         DefIt->dump();
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
  382     if (I->first->use_empty())
  383       I->first->eraseFromParent();
lib/Transforms/Utils/PredicateInfo.cpp
  538     if (RevIter->Def)
tools/clang/include/clang/Analysis/CFG.h
 1383         if (Optional<CFGStmt> stmt = BI->getAs<CFGStmt>())
tools/clang/lib/AST/ASTContext.cpp
  473       CommentsInThisFile->rbegin()->second->isAttached())
tools/clang/lib/AST/Interp/InterpFrame.cpp
   99     if (It->inArray()) {
  100       OS << "[" << It->expand().getIndex() << "]";
  103     if (auto Index = It->getIndex()) {
  108     printDesc(It->getFieldDesc());
tools/clang/lib/AST/RawCommentList.cpp
  296   const RawComment &C1 = *OrderedComments[CommentFile].rbegin()->second;
  319     *OrderedComments[CommentFile].rbegin()->second =
tools/clang/lib/Analysis/CFG.cpp
 5081         if (Optional<CFGStmt> SE = BI->getAs<CFGStmt>()) {
tools/clang/lib/Analysis/LiveVariables.cpp
  573         if (Optional<CFGStmt> cs = bi->getAs<CFGStmt>()) {
tools/clang/lib/Analysis/ReachableCode.cpp
  458     if (Optional<CFGStmt> CS = I->getAs<CFGStmt>()) {
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 7501     const Expr *AssocExpr = I->getAssociatedExpression();
 7518               dyn_cast_or_null<VarDecl>(I->getAssociatedDeclaration())) {
 7534           I->getAssociatedDeclaration()->getType().getNonReferenceType();
 7572         EncounteredME = dyn_cast<MemberExpr>(I->getAssociatedExpression());
 7588           isFinalArraySectionExpression(I->getAssociatedExpression());
 7594           dyn_cast<OMPArraySectionExpr>(I->getAssociatedExpression());
 7599           I->getAssociatedExpression()->getType()->isAnyPointerType();
 7605                 isa<MemberExpr>(Next->getAssociatedExpression()) ||
 7606                 isa<ArraySubscriptExpr>(Next->getAssociatedExpression()) ||
 7607                 isa<OMPArraySectionExpr>(Next->getAssociatedExpression())) &&
 7611             CGF.EmitOMPSharedLValue(I->getAssociatedExpression()).getAddress();
 7618             (dyn_cast<MemberExpr>(I->getAssociatedExpression()) ==
 7631               I->getAssociatedExpression()->getType());
 7683         llvm::Value *Size = getExprTypeSize(I->getAssociatedExpression());
 8323           if (CI->getAssociatedExpression()->getStmtClass() !=
 8324               SI->getAssociatedExpression()->getStmtClass())
 8327           if (CI->getAssociatedDeclaration() != SI->getAssociatedDeclaration())
 8327           if (CI->getAssociatedDeclaration() != SI->getAssociatedDeclaration())
 8366               if (CI->getAssociatedExpression()->getStmtClass() !=
 8367                   SI->getAssociatedExpression()->getStmtClass())
 8370               if (CI->getAssociatedDeclaration() !=
 8371                   SI->getAssociatedDeclaration())
 8383             const auto *FD1 = cast<FieldDecl>(CI->getAssociatedDeclaration());
 8384             const auto *FD2 = cast<FieldDecl>(SI->getAssociatedDeclaration());
tools/clang/lib/Driver/ToolChains/Arch/ARM.cpp
  488     if (CryptoIt->take_front() == "+") {
tools/clang/lib/Format/FormatToken.cpp
  296     if (I->TotalWidth <= RemainingCharacters || I->Columns == 1) {
  296     if (I->TotalWidth <= RemainingCharacters || I->Columns == 1) {
  297       if (BestFormat && I->LineCount > BestFormat->LineCount)
tools/clang/lib/Format/TokenAnalyzer.cpp
   73   assert(UnwrappedLines.rbegin()->empty());
tools/clang/lib/Sema/ScopeInfo.cpp
  216   ThisUse->markSafe();
tools/clang/lib/Sema/SemaAttr.cpp
  447         CurrentValue = I->Value;
  448         CurrentPragmaLocation = I->PragmaLocation;
tools/clang/lib/Sema/SemaInit.cpp
 3453     if (I->Kind == SK_BindReference)
 3455     if (I->Kind == SK_BindReferenceToTemporary)
 7309     if (It->Kind == IndirectLocalPathEntry::VarInit)
 7311     if (It->Kind == IndirectLocalPathEntry::AddressOf)
 7313     return It->Kind == IndirectLocalPathEntry::GslPointerInit;
tools/clang/lib/Sema/SemaLookup.cpp
 3672     ShadowMap::iterator Pos = SM->find(ND->getDeclName());
 3673     if (Pos == SM->end())
tools/clang/lib/Sema/SemaOpenMP.cpp
  750       auto MI = SI->MappedExprComponents.find(VD);
  751       if (MI != SI->MappedExprComponents.end())
  940   DVar.DKind = Iter->Directive;
  943   if (Iter->SharingMap.count(D)) {
  944     const DSAInfo &Data = Iter->SharingMap.lookup(D);
  948     DVar.ImplicitDSALoc = Iter->DefaultAttrLoc;
  956   switch (Iter->DefaultAttr) {
  959     DVar.ImplicitDSALoc = Iter->DefaultAttrLoc;
  968     DVar.ImplicitDSALoc = Iter->DefaultAttrLoc;
  997       } while (I != E && !isImplicitTaskingRegion(I->Directive));
 1183     const DSAInfo &Data = I->SharingMap.lookup(D);
 1184     if (Data.Attributes != OMPC_reduction || I->Directive != OMPD_taskgroup)
 1186     const ReductionData &ReductionData = I->ReductionMap.lookup(D);
 1192     assert(I->TaskgroupReductionRef && "taskgroup reduction reference "
 1195     TaskgroupDescriptor = I->TaskgroupReductionRef;
 1197                       Data.PrivateCopy, I->DefaultAttrLoc);
 1208     const DSAInfo &Data = I->SharingMap.lookup(D);
 1209     if (Data.Attributes != OMPC_reduction || I->Directive != OMPD_taskgroup)
 1211     const ReductionData &ReductionData = I->ReductionMap.lookup(D);
 1217     assert(I->TaskgroupReductionRef && "taskgroup reduction reference "
 1220     TaskgroupDescriptor = I->TaskgroupReductionRef;
 1222                       Data.PrivateCopy, I->DefaultAttrLoc);
 1230     if (isImplicitOrExplicitTaskingRegion(I->Directive) ||
 1231         isOpenMPTargetExecutionDirective(I->Directive)) {
 1232       Scope *TopScope = I->CurScope ? I->CurScope->getParent() : nullptr;
 1232       Scope *TopScope = I->CurScope ? I->CurScope->getParent() : nullptr;
 1342         auto DSAIter = IterTarget->SharingMap.find(D);
 1343         if (DSAIter != IterTarget->SharingMap.end() &&
 1355                                IterTarget->ConstructLoc);
 1380     auto It = I->SharingMap.find(D);
 1381     if (It != I->SharingMap.end()) {
 1386       DVar.ImplicitDSALoc = I->DefaultAttrLoc;
 1387       DVar.DKind = I->Directive;
 1426   auto It = I->SharingMap.find(D);
 1427   if (It != I->SharingMap.end()) {
 1432     DVar.ImplicitDSALoc = I->DefaultAttrLoc;
 1433     DVar.DKind = I->Directive;
 1466     if (!DPred(I->Directive) &&
 1467         !isImplicitOrExplicitTaskingRegion(I->Directive))
 1488   if (StartI == EndI || !DPred(StartI->Directive))
 1533     if (DPred(I->Directive, I->DirectiveName, I->ConstructLoc))
 1533     if (DPred(I->Directive, I->DirectiveName, I->ConstructLoc))
 1533     if (DPred(I->Directive, I->DirectiveName, I->ConstructLoc))
 1811           if (isa<DeclRefExpr>(EI->getAssociatedExpression()))
 1812             IsVariableUsedInMapClause |= EI->getAssociatedDeclaration() == D;
 1818           if (isa<ArraySubscriptExpr>(EI->getAssociatedExpression()) ||
 1819               isa<OMPArraySectionExpr>(EI->getAssociatedExpression()) ||
 1820               isa<MemberExpr>(EI->getAssociatedExpression())) {
 2999                   if (CCI->getAssociatedExpression()->getStmtClass() !=
 3004                               CCI->getAssociatedExpression())))
 3007                   const Decl *CCD = CCI->getAssociatedDeclaration();
14926               (isa<ArraySubscriptExpr>(CI->getAssociatedExpression()) ||
14927                isa<OMPArraySectionExpr>(CI->getAssociatedExpression())) &&
14928               (isa<ArraySubscriptExpr>(SI->getAssociatedExpression()) ||
14929                isa<OMPArraySectionExpr>(SI->getAssociatedExpression()))) {
14930             SemaRef.Diag(CI->getAssociatedExpression()->getExprLoc(),
14932                 << CI->getAssociatedExpression()->getSourceRange();
14933             SemaRef.Diag(SI->getAssociatedExpression()->getExprLoc(),
14935                 << SI->getAssociatedExpression()->getSourceRange();
14940           if (CI->getAssociatedExpression()->getStmtClass() !=
14941               SI->getAssociatedExpression()->getStmtClass())
14945           if (CI->getAssociatedDeclaration() != SI->getAssociatedDeclaration())
14945           if (CI->getAssociatedDeclaration() != SI->getAssociatedDeclaration())
14954                   dyn_cast<ArraySubscriptExpr>(SI->getAssociatedExpression())) {
14957                          SI->getAssociatedExpression())) {
14964                   SemaRef, SI->getAssociatedExpression(), Type))
14994             std::prev(CI)->getAssociatedDeclaration()->getType();
14996             std::prev(CI)->getAssociatedExpression()->getExprLoc();
15024           if (CI->getAssociatedExpression()->getStmtClass() !=
15025                          SI->getAssociatedExpression()->getStmtClass() ||
15026                      CI->getAssociatedDeclaration()->getCanonicalDecl() ==
15027                          SI->getAssociatedDeclaration()->getCanonicalDecl()) {
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
  483         Diags.Report(Active->PointOfInstantiation,
  490     switch (Active->Kind) {
  492       Decl *D = Active->Entity;
  497         Diags.Report(Active->PointOfInstantiation, DiagID)
  498           << Record << Active->InstantiationRange;
  505         Diags.Report(Active->PointOfInstantiation, DiagID)
  507           << Active->InstantiationRange;
  509         Diags.Report(Active->PointOfInstantiation,
  514           << Active->InstantiationRange;
  516         Diags.Report(Active->PointOfInstantiation,
  519           << Active->InstantiationRange;
  521         Diags.Report(Active->PointOfInstantiation,
  523             << FD << Active->InstantiationRange;
  525         Diags.Report(Active->PointOfInstantiation,
  528           << Active->InstantiationRange;
  534       TemplateDecl *Template = cast<TemplateDecl>(Active->Template);
  538       printTemplateArgumentList(OS, Active->template_arguments(),
  540       Diags.Report(Active->PointOfInstantiation,
  543         << Active->InstantiationRange;
  548       FunctionTemplateDecl *FnTmpl = cast<FunctionTemplateDecl>(Active->Entity);
  549       Diags.Report(Active->PointOfInstantiation,
  553                                            Active->TemplateArgs,
  554                                            Active->NumTemplateArgs)
  555         << Active->InstantiationRange;
  561               dyn_cast<FunctionTemplateDecl>(Active->Entity)) {
  562         Diags.Report(Active->PointOfInstantiation,
  566                                              Active->TemplateArgs,
  567                                              Active->NumTemplateArgs)
  568           << Active->InstantiationRange;
  570         bool IsVar = isa<VarTemplateDecl>(Active->Entity) ||
  571                      isa<VarTemplateSpecializationDecl>(Active->Entity);
  574         if (auto *D = dyn_cast<TemplateDecl>(Active->Entity)) {
  578                        Active->Entity)) {
  581                        Active->Entity)) {
  587         Diags.Report(Active->PointOfInstantiation,
  589           << IsVar << IsTemplate << cast<NamedDecl>(Active->Entity)
  590           << getTemplateArgumentBindingsText(Params, Active->TemplateArgs,
  591                                              Active->NumTemplateArgs)
  592           << Active->InstantiationRange;
  598       ParmVarDecl *Param = cast<ParmVarDecl>(Active->Entity);
  604       printTemplateArgumentList(OS, Active->template_arguments(),
  606       Diags.Report(Active->PointOfInstantiation,
  609         << Active->InstantiationRange;
  614       NamedDecl *Parm = cast<NamedDecl>(Active->Entity);
  620       if (TemplateDecl *Template = dyn_cast<TemplateDecl>(Active->Template))
  624           cast<ClassTemplatePartialSpecializationDecl>(Active->Template)
  626       Diags.Report(Active->PointOfInstantiation,
  631                                            Active->TemplateArgs,
  632                                            Active->NumTemplateArgs)
  633         << Active->InstantiationRange;
  639       if (TemplateDecl *Template = dyn_cast<TemplateDecl>(Active->Template))
  643           cast<ClassTemplatePartialSpecializationDecl>(Active->Template)
  646       Diags.Report(Active->PointOfInstantiation,
  649                                            Active->TemplateArgs,
  650                                            Active->NumTemplateArgs)
  651         << Active->InstantiationRange;
  656       Diags.Report(Active->PointOfInstantiation,
  658           << cast<FunctionDecl>(Active->Entity);
  662       Diags.Report(Active->PointOfInstantiation,
  664         << cast<FunctionDecl>(Active->Entity)
  665         << Active->InstantiationRange;
  669       Diags.Report(Active->PointOfInstantiation,
  671         << cast<CXXRecordDecl>(Active->Entity) << Active->SpecialMember;
  671         << cast<CXXRecordDecl>(Active->Entity) << Active->SpecialMember;
  676       auto *MD = dyn_cast<CXXMethodDecl>(Active->Entity);
  679         Diags.Report(Active->PointOfInstantiation,
  687       Diags.Report(Active->Entity->getLocation(),
  695       if (auto *CD = dyn_cast<ConceptDecl>(Active->Entity)) {
  699         printTemplateArgumentList(OS, Active->template_arguments(),
  701         Diags.Report(Active->PointOfInstantiation,
  704           << Active->InstantiationRange;
  713       Diags.Report(Active->PointOfInstantiation,
  715           << Active->InstantiationRange;
  731     switch (Active->Kind) {
  735       if (isa<TypeAliasTemplateDecl>(Active->Entity))
  758       assert(Active->DeductionInfo && "Missing deduction info pointer");
  759       return Active->DeductionInfo;
  780     if (Active->SavedInNonInstantiationSFINAEContext)
tools/clang/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp
  310       if (Optional<CFGStmt> CS = bi->getAs<CFGStmt>()) {
tools/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
  202     if (Optional<CFGStmt> S = I->getAs<CFGStmt>()) {
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
 3019         PathDiagnosticNotePiece *Piece = I->get();
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  679     const auto &Piece = *I->get();
  700     const auto &Piece = *I->get();
tools/clang/lib/Tooling/Core/Replacement.cpp
  570     if (I->isApplicable()) {
  571       Result = I->apply(Rewrite) && Result;
  598     Replacement Replace("<stdin>", I->getOffset(), I->getLength(),
  598     Replacement Replace("<stdin>", I->getOffset(), I->getLength(),
  599                         I->getReplacementText());
tools/clang/tools/extra/clang-doc/Serialize.cpp
   49     llvm::sys::path::append(Path, R->Name);
tools/clang/tools/extra/clang-tidy/tool/ClangTidyMain.cpp
  380         if (It->first.Checks && GlobList(*It->first.Checks).contains(Check)) {
  380         if (It->first.Checks && GlobList(*It->first.Checks).contains(Check)) {
  381           llvm::outs() << "'" << Check << "' is enabled in the " << It->second
tools/clang/unittests/AST/ASTImporterFixtures.cpp
   31       OFS->overlays_begin()->get());
tools/lldb/source/Expression/IRMemoryMap.cpp
   89     lldb::addr_t addr = back->first;
   90     size_t alloc_size = back->second.m_size;
  156     lldb::addr_t addr = back->first;
  157     size_t alloc_size = back->second.m_size;
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.cpp
   32           if (pos->name == nullptr) {
   33             if (pos->tag == DW_TAG_namespace)
   35             else if (pos->tag == DW_TAG_class_type)
   37             else if (pos->tag == DW_TAG_structure_type)
   39             else if (pos->tag == DW_TAG_union_type)
   44             m_qualified_name.append(pos->name);
tools/lldb/source/Target/SectionLoadHistory.cpp
   32     return m_stop_id_to_section_load_list.rbegin()->first;
   49         return rpos->second.get();
   83           new SectionLoadList(*rpos->second));
tools/lldb/source/Target/SectionLoadList.cpp
  233       if (load_addr >= rpos->first) {
  234         addr_t offset = load_addr - rpos->first;
  236             rpos->second->GetByteSize() + (allow_section_end ? 1 : 0)) {
  239           return rpos->second->ResolveContainedAddress(offset, so_addr,
tools/polly/lib/Analysis/ScopBuilder.cpp
 1259   LoopData->NumBlocksProcessed += getNumBlocksInRegionNode(RN);
 1264     LoopData->Schedule = combineInSequence(LoopData->Schedule, StmtSchedule);
 1264     LoopData->Schedule = combineInSequence(LoopData->Schedule, StmtSchedule);
 1277   while (LoopData->L &&
 1278          LoopData->NumBlocksProcessed == getNumBlocksInLoop(LoopData->L)) {
 1278          LoopData->NumBlocksProcessed == getNumBlocksInLoop(LoopData->L)) {
 1279     isl::schedule Schedule = LoopData->Schedule;
 1280     auto NumBlocksProcessed = LoopData->NumBlocksProcessed;
 1290       LoopData->Schedule = combineInSequence(LoopData->Schedule, Schedule);
 1290       LoopData->Schedule = combineInSequence(LoopData->Schedule, Schedule);
 1293     LoopData->NumBlocksProcessed += NumBlocksProcessed;
unittests/ADT/SmallVectorTest.cpp
  387   EXPECT_EQ(2, rit->getValue());
  390   EXPECT_EQ(1, rit->getValue());
  395   EXPECT_EQ(1, rit->getValue());
  398   EXPECT_EQ(2, rit->getValue());
utils/TableGen/CodeGenRegisters.cpp
  965       RC.SubClasses.set(I2->EnumValue);
utils/TableGen/FastISelEmitter.cpp
  643     const InstructionMemo &Memo = PI->second;
utils/TableGen/GlobalISelEmitter.cpp
 5583   const int64_t UpperBound = Values.rbegin()->getRawValue() + 1;
utils/unittest/googlemock/include/gmock/gmock-spec-builders.h
 1724           static_cast<TypedExpectation<F>*>(it->get());