|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Analysis/LazyCallGraph.h 1007 bool isLibFunction(Function &F) const { return LibFunctions.count(&F); }
include/llvm/CodeGen/MachinePipeliner.h 334 if (Nodes.count(Succ.getSUnit()))
346 unsigned count(SUnit *SU) const { return Nodes.count(SU); }
lib/Analysis/InlineCost.cpp 486 if (DeadBlocks.count(Pred))
1694 return (DeadBlocks.count(Pred) ||
1700 return (!DeadBlocks.count(BB) &&
1922 if (DeadBlocks.count(L->getHeader()))
lib/Analysis/LoopAccessAnalysis.cpp 724 bool IsWrite = Accesses.count(MemAccessInfo(Ptr, true));
876 S.count(MemAccessInfo(Ptr, false))) &&
lib/Analysis/MemorySSAUpdater.cpp 929 if (!AddedBlockSet.count(Pi))
1073 if (!PhisToFill.count(IDFPhi)) {
1346 if (!DeadBlocks.count(Succ))
lib/Analysis/TypeBasedAliasAnalysis.cpp 491 if (PathA.count(TA.getNode()))
500 if (PathB.count(TB.getNode()))
lib/CodeGen/CodeGenPrepare.cpp 3316 if (Matcher.count({ FirstPhi, SecondPhi }))
lib/CodeGen/MachineBlockPlacement.cpp 604 if (BlockFilter && !BlockFilter->count(Succ))
652 if (Succ->isEHPad() || (BlockFilter && !BlockFilter->count(Succ))) {
797 || (BlockFilter && !BlockFilter->count(SuccPred)))
916 if (SuccPred == BB || (BlockFilter && !BlockFilter->count(SuccPred)) ||
1008 if ((BlockFilter && !BlockFilter->count(SuccPred)) ||
1083 if (Pred == BB || (BlockFilter && !BlockFilter->count(Pred))
1421 (BlockFilter && !BlockFilter->count(Pred)) ||
1491 if (BB->isSuccessor(Succ) && (!BlockFilter || BlockFilter->count(Succ)) &&
1656 if (BlockFilter && !BlockFilter->count(&*I))
1684 if (BlockFilter && !BlockFilter->count(Pred))
1811 if (!LoopBlockSet.count(Pred) &&
1822 if (!LoopBlockSet.count(Succ) && (SuccProb > TopProb) &&
1878 if (!LoopBlockSet.count(Pred))
1896 if ((Succ == NewTop) || (Succ == BestPred) || !LoopBlockSet.count(Succ))
1960 if (!LoopBlockSet.count(*HeaderChain.begin()))
1969 if (!LoopBlockSet.count(Pred))
2060 if (!LoopBlockSet.count(*HeaderChain.begin()))
2101 if (LoopBlockSet.count(Succ)) {
2175 if (!LoopBlockSet.count(Pred) &&
2226 if (!LoopBlockSet.count(Succ) &&
2313 if (!LoopBlockSet.count(Pred) &&
2335 if (!LoopBlockSet.count(Succ) &&
2961 if (Pred == LPred || (BlockFilter && !BlockFilter->count(Pred))
2965 if (BlockFilter && !BlockFilter->count(NewSucc))
lib/CodeGen/MachinePipeliner.cpp 1457 if (NodeOrder.count(PI->getSUnit()) == 0)
1468 if (NodeOrder.count(IS->getSUnit()) == 0)
1490 if (NodeOrder.count(SI->getSUnit()) == 0)
1500 if (NodeOrder.count(PI->getSUnit()) == 0)
1515 if (Exclude.count(Cur) != 0)
1517 if (DestNodes.count(Cur) != 0)
1520 return Path.count(Cur) != 0;
1536 if (Set2.count(*I) == 0)
1728 if (NodesAdded.count(SU) == 0) {
1744 if (!SI.isArtificial() && NodesAdded.count(Successor) == 0)
1749 if (!PI.isArtificial() && NodesAdded.count(Predecessor) == 0)
1874 if (NodeOrder.count(I.getSUnit()) != 0)
1886 if (NodeOrder.count(I.getSUnit()) != 0)
1925 if (NodeOrder.count(I.getSUnit()) != 0)
1935 if (NodeOrder.count(I.getSUnit()) != 0)
lib/CodeGen/TailDuplicator.cpp 124 if (CheckExtra && !Preds.count(PHIBB)) {
lib/IR/SafepointIRVerifier.cpp 101 return DeadBlocks.count(BB);
111 return DeadEdges.count(U);
lib/MC/MCDwarf.cpp 1215 if (!context.getGenDwarfSectionSyms().count(MCOS->getCurrentSectionOnly()))
lib/MC/MCParser/AsmParser.cpp 2242 getContext().getGenDwarfSectionSyms().count(
lib/TableGen/SetTheory.cpp 57 if (!Sub.count(*I))
73 if (S2.count(*I))
lib/Target/AArch64/AArch64PBQPRegAlloc.cpp 247 if (Chains.count(Ra)) {
lib/Target/ARM/ARMCodeGenPrepare.cpp 917 if (CurrentVisited.count(V))
938 if (CurrentVisited.count(V))
lib/Target/ARM/MVETailPredication.cpp 459 if (!Predicate || Predicates.count(Predicate))
lib/Target/Hexagon/HexagonConstPropagation.cpp 1015 if (!Targets.count(SB))
lib/Target/Hexagon/HexagonExpandCondsets.cpp 400 if (Defs.count(B))
lib/Target/Hexagon/HexagonGenPredicate.cpp 530 return Processed.count(MI);
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp 1470 if (!SubNodes.count(U))
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 1135 if (Cycle.count(I))
1188 if (Early.count(TV) || Early.count(FV)) {
1188 if (Early.count(TV) || Early.count(FV)) {
1189 if (Late.count(TV) || Late.count(FV))
1189 if (Late.count(TV) || Late.count(FV))
1192 } else if (Late.count(TV) || Late.count(FV)) {
1192 } else if (Late.count(TV) || Late.count(FV)) {
1193 if (Early.count(TV) || Early.count(FV))
1193 if (Early.count(TV) || Early.count(FV))
1207 if (Early.count(&*I))
1209 else if (Late.count(&*I))
1339 if (T->getParent() != LoopB || RShifts.count(T) || isa<PHINode>(T))
1394 if (isa<PHINode>(I) || !Users.count(&*I))
1409 if (Users.count(Op))
1425 if (Late.count(&*I))
1454 if (!Users.count(U))
2336 if (!Worklist.count(&In) && In.mayHaveSideEffects())
lib/Target/Hexagon/HexagonRDFOpt.cpp 167 if (DFG.IsDef(RA) && DeadNodes.count(RA.Id))
168 if (!DeadInstrs.count(SA.Id))
253 return getDeadNodes().count(DA.Id);
lib/Target/Hexagon/RDFDeadCode.cpp 89 if (!LiveNodes.count(RA.Id))
98 if (!LiveNodes.count(UA.Id))
108 if (!LiveNodes.count(DA.Id))
152 if (LiveNodes.count(DA.Id))
160 if (!LiveNodes.count(RA.Id))
lib/Target/Hexagon/RDFLiveness.cpp 228 Defs.count(TA.Id);
lib/Target/WebAssembly/WebAssemblyCFGSort.cpp 393 assert(OnStack.count(RI.getRegionFor(&MBB)) &&
lib/Transforms/IPO/Attributor.cpp 1068 if (CB && !UnresolvedCalls.count(CB))
1133 if (!CB || UnresolvedCalls.count(CB))
2320 if (NoReturnCalls.count(PrevI))
lib/Transforms/IPO/ExtractGV.cpp 86 deleteStuff == (bool)Named.count(&*I) && !I->isDeclaration();
106 deleteStuff == (bool)Named.count(&F) && !F.isDeclaration();
127 bool Delete = deleteStuff == (bool)Named.count(&*CurI);
lib/Transforms/IPO/FunctionAttrs.cpp 141 SCCNodes.count(Call->getCalledFunction()))
371 if (!F || !F->hasExactDefinition() || !SCCNodes.count(F)) {
909 if (CS.getCalledFunction() && SCCNodes.count(CS.getCalledFunction()))
1019 if (Callee && SCCNodes.count(Callee)) {
1228 return CS && CS.isConvergent() && SCCNodes.count(CS.getCalledFunction()) == 0;
1240 if (SCCNodes.count(Callee) > 0)
1260 if (SCCNodes.count(Callee) > 0)
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp 45 if (!PromoteExtra.count(&ExportGV)) {
lib/Transforms/InstCombine/InstCombineCompares.cpp 542 if (Explored.count(V) != 0) {
558 if (Explored.count(CI->getOperand(0)) == 0)
570 if (Explored.count(GEP->getOperand(0)) == 0)
592 if (Explored.count(Op) == 0)
606 Explored.count(PHI) == 0)
lib/Transforms/Scalar/ConstantHoisting.cpp 208 assert(!BBs.count(Entry) && "Assume Entry is not in BBs");
234 } while (!BBs.count(Node));
268 bool NodeInBBs = BBs.count(Node);
318 if (BBs.count(Entry)) {
lib/Transforms/Scalar/DCE.cpp 128 if (!WorkList.count(I))
lib/Transforms/Scalar/DeadStoreElimination.cpp 791 if (!DeadStackObjects.count(Pointer)) {
lib/Transforms/Scalar/GVN.cpp 991 if (DeadBlocks.count(DepBB)) {
2149 if (DeadBlocks.count(BB))
2529 if (DeadBlocks.count(D))
2540 if (DeadBlocks.count(S))
2545 if (!DeadBlocks.count(P)) {
2569 if (DeadBlocks.count(B))
2576 if (!DeadBlocks.count(P))
2589 if (!DeadBlocks.count(P))
2627 if (DeadBlocks.count(DeadRoot))
lib/Transforms/Scalar/InferAddressSpaces.cpp 674 if (Worklist.count(User))
lib/Transforms/Scalar/LICM.cpp 1786 return PointerMustAliases.count(Ptr);
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 760 if (Tails.count(*it))
772 while (Tails.count(I) || Heads.count(I)) {
772 while (Tails.count(I) || Heads.count(I)) {
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 2062 assert(Info.LiveSet.count(AlternateRootPhi));
2736 assert(!Data.LiveSet[&BB].count(Kill) && "live set contains kill");
2834 if (!Updated.count(KVPair.first))
2842 assert(Updated.count(KVPair.first) && "record for non-live value");
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 1255 assert(ClonedLoopBlocks.count(Pred) && "Found a predecessor of the loop "
1283 if (ClonedLoopBlocks.count(Pred) &&
1494 if (!DeadBlockSet.count(BB) && !DT.isReachableFromEntry(BB)) {
1510 [&](BasicBlock *BB) { return DeadBlockSet.count(BB); });
1517 [&](BasicBlock *BB) { return DeadBlockSet.count(BB); });
1523 if (!DeadBlockSet.count(ChildL->getHeader()))
1528 return DeadBlockSet.count(ChildBB);
1954 assert(!UnswitchedSuccBBs.count(RetainedSuccBB) &&
lib/Transforms/Utils/CodeExtractor.cpp 129 if (!Result.count(UBB))
138 if (!Result.count(UBB))
141 if (!Result.count(const_cast<BasicBlock*>(HBB)))
151 if (!Result.count(const_cast<BasicBlock*>(CRI->getParent())))
162 if (!Result.count(const_cast<BasicBlock*>(CRI->getParent())))
168 if (!Result.count(UBB))
231 if (!Result.count(PBB)) {
269 if (Blocks.count(I->getParent()))
280 if (!Blocks.count(I->getParent()))
290 if (Blocks.count(Succ))
376 if (Blocks.count(&BB))
387 assert(!Blocks.count(CommonExitBlock) &&
390 if (!Blocks.count(Pred))
429 if (Blocks.count(Pred))
512 if (Blocks.count(BB))
589 if (Blocks.count(&BB))
606 if (!SinkCands.count(V) && definedInCaller(Blocks, V))
634 if (Blocks.count(PN->getIncomingBlock(i)))
664 if (Blocks.count(PN->getIncomingBlock(i))) {
684 if (Blocks.count(PN->getIncomingBlock(i))) {
707 if (Blocks.count(PN.getIncomingBlock(i)))
725 if (Blocks.count(PredBB))
947 if (Blocks.count(inst->getParent()))
969 !Blocks.count(I->getParent()))
995 if (SunkAllocas.count(Mem) || definedInRegion(Blocks, Mem))
1173 if (!Blocks.count(inst->getParent()))
1194 if (!Blocks.count(TI->getSuccessor(i))) {
1253 Blocks.count(InsertBefore->getParent())) &&
1401 if (Blocks.count(Pred))
1428 if (!Blocks.count(*SI)) {
1548 if (!Blocks.count(PN->getIncomingBlock(i)))
1557 if (!Blocks.count(PN.getIncomingBlock(i)))
lib/Transforms/Utils/FunctionImportUtils.cpp 24 if (!GlobalsToImport->count(const_cast<GlobalValue *>(SGV)))
51 assert((!GlobalsToImport->count(const_cast<GlobalValue *>(SGV)) ||
lib/Transforms/Utils/Local.cpp 627 if (!WorkList.count(I))
2242 if (!DeadBlockSet.count(Successor))
lib/Transforms/Vectorize/LoopVectorize.cpp 4410 if (Worklist.count(I))
4492 return !TheLoop->contains(J) || Worklist.count(J) ||
4519 return I == IndUpdate || !TheLoop->contains(I) || Worklist.count(I);
4529 return I == Ind || !TheLoop->contains(I) || Worklist.count(I);
4763 return Worklist.count(J) ||
4793 return I == IndUpdate || !TheLoop->contains(I) || Worklist.count(I) ||
4804 return I == Ind || !TheLoop->contains(I) || Worklist.count(I) ||
lib/Transforms/Vectorize/SLPVectorizer.cpp 5438 while ((Tails.count(I) || Heads.count(I)) && !VectorizedStores.count(I)) {
7063 if (!Candidates.count(GEPI))
tools/clang/lib/AST/VTableBuilder.cpp 1328 if (Bases.count(MD->getParent()))
2649 return Bases.count(Specifier->getType()->getAsCXXRecordDecl());
3409 return OtherPath.count(BSO) != 0;
tools/clang/lib/Analysis/CFG.cpp 1850 if (BuildOpts.AddScopes && DeclsWithEndedScope.count(*I)) {
1871 if (BuildOpts.AddScopes && DeclsWithEndedScope.count(*I))
tools/clang/lib/Frontend/CompilerInstance.cpp 1065 return HSOpts.ModulesIgnoreMacros.count(
tools/clang/lib/Frontend/CompilerInvocation.cpp 3594 if (hsOpts.ModulesIgnoreMacros.count(
tools/clang/lib/Sema/SemaLookup.cpp 3580 if (AssociatedClasses.count(RD) && isVisible(D)) {
tools/clang/lib/Sema/SemaStmt.cpp 1510 if (Decls.count(VD))
tools/clang/unittests/AST/ASTImporterTest.cpp 4414 EXPECT_EQ(Res.count(F0), 1u);
4415 EXPECT_EQ(Res.count(F2), 1u);
4436 EXPECT_EQ(ResPlus.count(FPlus), 1u);
4437 EXPECT_EQ(ResPlus.count(FMinus), 0u);
4441 EXPECT_EQ(ResMinus.count(FMinus), 1u);
4442 EXPECT_EQ(ResMinus.count(FPlus), 0u);
4551 EXPECT_EQ(Res.count(Alias), 1u);
4567 EXPECT_EQ(Res.count(F), 1u);
4568 EXPECT_EQ(Res.count(F->getTemplatedDecl()), 1u);
4590 EXPECT_EQ(Res.count(F), 1u);
4591 EXPECT_EQ(Res.count(F->getTemplatedDecl()), 1u);
4612 EXPECT_EQ(Res.count(F), 1u);
4613 EXPECT_EQ(Res.count(F->getTemplatedDecl()), 1u);
4614 EXPECT_EQ(Res.count(*F->spec_begin()), 1u);
4695 EXPECT_EQ(Res.count(F), 1u);
4696 EXPECT_EQ(Res.count(F->getTemplatedDecl()), 1u);
tools/llvm-extract/llvm-extract.cpp 309 if (CF->isDeclaration() || GVs.count(CF))
tools/polly/include/polly/ScopBuilder.h 698 return scop->getRequiredInvariantLoads().count(LI);
tools/polly/include/polly/ScopInfo.h 2116 bool isParam(const SCEV *Param) const { return Parameters.count(Param); }
2476 return DC.NonAffineSubRegionSet.count(R);
tools/polly/lib/Analysis/ScopBuilder.cpp 1585 if (!NewParams.count(Param))
1655 if (!ScopRIL.count(LInst))
1742 if (!ScopRIL.count(LInst))
1876 if (!ScopRIL.count(LInst))
2254 if (isa<LoadInst>(Inst) && RIL.count(cast<LoadInst>(&Inst)))
3000 if (!Values.count(AccInst))
3617 if (!RIL.count(Load))
tools/polly/lib/Analysis/ScopDetection.cpp 357 if (!ValidRegions.count(&DC.CurRegion))
403 if (!ValidRegions.count(&R))
464 if (Context.RequiredILS.count(Load))
1099 if (Context.BoxedLoopsSet.count(L))
1151 if (Load && InvariantLS.count(Load))
1155 if (VariantLS.count(Load))
1454 if (ValidRegions.count(SubRegion.get())) {
1502 if (!ValidRegions.count(CurrentRegion))
1587 if (Context.BoxedLoopsSet.count(L))
tools/polly/lib/Analysis/ScopInfo.cpp 1492 assert(Parameters.count(Parameter));
tools/polly/lib/Support/SCEVValidator.cpp 526 if (LI && ILS.count(LI) > 0)
tools/polly/lib/Support/ScopHelper.cpp 566 if (KnownInvariantLoads.count(DecidingLoad))
712 while (BoxedLoops.count(L))
tools/polly/lib/Support/VirtualInstruction.cpp 75 if (S->lookupInvariantEquivClass(Val) || RIL.count(dyn_cast<LoadInst>(Val)))
tools/polly/lib/Transform/ScopInliner.cpp 76 SD.ValidRegions.count(RI.getTopLevelRegion()) > 0;
utils/TableGen/CodeGenRegisters.cpp 2403 if (!Super->CoveredBySubRegs || Set.count(Super))
2410 if (!Set.count(I->second)) {