|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/SmallPtrSet.h 91 LLVM_NODISCARD bool empty() const { return size() == 0; }
99 if (size() * 4 < CurArraySize && CurArraySize > 32)
include/llvm/Analysis/LoopInfoImpl.h 336 if (VisitedBBs.size() != getNumBlocks()) {
671 assert(BlocksSet.size() == OtherBlocksSet.size() &&
671 assert(BlocksSet.size() == OtherBlocksSet.size() &&
include/llvm/CodeGen/BasicTTIImpl.h 364 if (TLI->isSuitableForBitTests(Dests.size(), N, MinCaseVal, MaxCaseVal,
include/llvm/CodeGen/SelectionDAGNodes.h 922 if (MaxSteps != 0 && Visited.size() >= MaxSteps)
928 if (MaxSteps != 0 && Visited.size() >= MaxSteps)
lib/Analysis/BasicAliasAnalysis.cpp 1646 if (PhiValueSet.size() > MaxLookupSearchDepth)
1924 if (VisitedPhiBBs.size() > MaxNumPhiBBsValueReachabilityCheck)
lib/Analysis/MemorySSAUpdater.cpp 1256 assert(PredsSet.size() == Preds.size() &&
lib/CodeGen/CodeGenPrepare.cpp 3050 unsigned countNewSelectNodes() const { return AllSelectNodes.size(); }
3373 PhiNotMatchedCount += WillNotMatch.size();
lib/CodeGen/InlineSpiller.cpp 1302 assert(Orders.size() == WorkSet.size() &&
1400 BranchProbability MarginProb = (SpillsInSubTree.size() > 1)
lib/CodeGen/MachineBlockPlacement.cpp 693 if (BB.succ_size() != Successors.size())
998 if (Successors.size() != 2 || ViableSuccs.size() != 2)
1087 if (Successors.size() > 1 && hasSameSuccessors(*Pred, Successors))
lib/CodeGen/MachineVerifier.cpp 591 if (MInfo.Preds.size() != MBB.pred_size())
595 if (MInfo.Succs.size() != MBB.succ_size())
664 if (LandingPadSuccs.size() > 1 &&
686 } else if (MBB->succ_size() == LandingPadSuccs.size()) {
690 } else if (MBB->succ_size() != 1+LandingPadSuccs.size()) {
710 if (MBB->succ_size() != 1+LandingPadSuccs.size() &&
711 (MBB->succ_size() != 1 || LandingPadSuccs.size() != 1 ||
lib/CodeGen/OptimizePHIs.cpp 107 if (PHIsInCycle.size() == 16)
153 if (PHIsInCycle.size() == 16)
lib/CodeGen/PHIEliminationUtils.cpp 45 } else if (DefUsesInMBB.size() == 1) {
lib/CodeGen/SelectionDAG/DAGCombiner.cpp15448 unsigned int Max = 1024 + Visited.size();
15473 if (Visited.size() >= Max) {
lib/Support/CommandLine.cpp 2333 if (GlobalParser->RegisteredOptionCategories.size() > 1) {
lib/Support/SmallPtrSet.cpp 29 unsigned Size = size();
41 if (LLVM_UNLIKELY(size() * 4 >= CurArraySize * 3)) {
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp 1051 assert(ExitBlkSet.size() == 1);
lib/Target/ARM/ARMISelLowering.cpp 2892 if (Copies.size() > 2)
lib/Target/Hexagon/HexagonGenInsert.cpp 1309 unsigned C = UIs.size();
lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp 282 if (MutualLoopEntries.size() > 1) {
325 assert(Entries.size() >= 2);
lib/Target/X86/X86FloatingPoint.cpp 377 if (MF.size() != Processed.size())
lib/Transforms/Coroutines/CoroElide.cpp 187 return ReferencedCoroBegins.size() == CoroBegins.size();
lib/Transforms/IPO/Attributor.cpp 4548 dbgs() << "\n[Attributor] Finalized " << Visited.size()
4600 << ToBeDeletedFunctions.size() << " functions and "
4601 << ToBeDeletedBlocks.size() << " blocks and "
4602 << ToBeDeletedInsts.size() << " instructions\n");
4609 if (unsigned NumDeadBlocks = ToBeDeletedBlocks.size()) {
lib/Transforms/IPO/HotColdSplitting.cpp 285 LLVM_DEBUG(dbgs() << "Applying penalty for: " << SuccsOutsideRegion.size()
287 Penalty += (SuccsOutsideRegion.size() - 1) * TargetTransformInfo::TCC_Basic;
lib/Transforms/InstCombine/InstCombinePHI.cpp 842 if (PotentiallyDeadPHIs.size() == 16)
861 if (ValueEqualPHIs.size() == 16)
lib/Transforms/ObjCARC/ObjCARCContract.cpp 173 if (DependingInstructions.size() != 1) {
lib/Transforms/ObjCARC/ObjCARCOpts.cpp 1000 if (DependingInstructions.size() == 1 &&
2076 if (DepInsts.size() != 1)
2101 if (DepInsts.size() != 1)
2126 if (DepInsts.size() != 1)
lib/Transforms/ObjCARC/PtrState.cpp 117 bool Partial = ReverseInsertPts.size() != Other.ReverseInsertPts.size();
117 bool Partial = ReverseInsertPts.size() != Other.ReverseInsertPts.size();
lib/Transforms/Scalar/JumpThreading.cpp 1429 if (PredsScanned.size() != AvailablePreds.size() &&
1438 if (PredsScanned.size() == AvailablePreds.size()+1 &&
1441 } else if (PredsScanned.size() != AvailablePreds.size()) {
lib/Transforms/Scalar/LICM.cpp 621 if (TrueDestSucc.size() == 1)
661 if (PredecessorBlocks.size() != pred_size(BB))
lib/Transforms/Scalar/LoopFuse.cpp 469 size_t size() const { return LoopsOnLevel.size() - RemovedLoops.size(); }
lib/Transforms/Scalar/LoopSimplifyCFG.cpp 258 assert(L.getNumBlocks() == LiveLoopBlocks.size() + DeadLoopBlocks.size() &&
308 assert(BlocksInLoopAfterFolding.size() <= LiveLoopBlocks.size() &&
308 assert(BlocksInLoopAfterFolding.size() <= LiveLoopBlocks.size() &&
565 if (BlocksInLoopAfterFolding.size() + DeadLoopBlocks.size() !=
lib/Transforms/Scalar/LoopSink.cpp 87 if (BBs.size() > 1)
124 if (UseBBs.size() == 0)
143 if (BBsDominatedByColdestBB.size() == 0)
195 if (BBs.size() > MaxNumberOfUseBBsForSinking)
205 if (BBsToSinkInto.size() > 1) {
lib/Transforms/Scalar/NewGVN.cpp 336 unsigned size() const { return Members.size(); }
345 unsigned memory_size() const { return MemoryMembers.size(); }
387 if (Members.size() != Other->Members.size())
387 if (Members.size() != Other->Members.size())
1719 if (SCC.size() == 1)
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp 1297 ClonedL->reserveBlocks(BlocksInClonedLoop.size());
2721 int SuccessorsCount = isGuard(&TI) ? 2 : Visited.size();
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp 437 PNUserCountMap[PN] = UserSet.size();
lib/Transforms/Scalar/SpeculativeExecution.cpp 276 if (NotHoisted.size() > SpecExecMaxNotHoisted)
lib/Transforms/Utils/BasicBlockUtils.cpp 98 assert(Dead.size() == BBs.size() && "Duplicating blocks?");
lib/Transforms/Utils/BypassSlowDivision.cpp 212 if (Visited.size() >= 16)
lib/Transforms/Utils/CodeExtractor.cpp 1438 NumExitBlocks = ExitBlocks.size();
lib/Transforms/Utils/Local.cpp 2220 if (Reachable.size() == F.size())
2223 assert(Reachable.size() < F.size());
2224 NumRemoved += F.size() - Reachable.size();
lib/Transforms/Utils/LoopUnrollAndJam.cpp 762 if (AftBlocks.size() != 1) {
lib/Transforms/Utils/SimplifyIndVar.cpp 891 assert(N <= Simplified.size() && "runaway iteration");
lib/Transforms/Vectorize/LoopVectorize.cpp 5451 << OpenIntervals.size() << '\n');
lib/Transforms/Vectorize/SLPVectorizer.cpp 3382 dbgs() << "SLP: #LV: " << LiveValues.size();
tools/bugpoint/CrashDebugger.cpp 453 unsigned NumPrint = Blocks.size();
458 if (NumPrint < Blocks.size())
459 outs() << "... <" << Blocks.size() << " total>";
573 unsigned NumPrint = Blocks.size();
578 if (NumPrint < Blocks.size())
579 outs() << "... <" << Blocks.size() << " total>";
676 unsigned NumPrint = Blocks.size();
681 if (NumPrint < Blocks.size())
682 outs() << "... <" << Blocks.size() << " total>";
769 outs() << "Checking for crash with only " << Instructions.size();
770 if (Instructions.size() == 1)
907 outs() << "Checking for crash with only " << OldMDNodeOps.size();
908 if (OldMDNodeOps.size() == 1)
tools/clang/lib/CodeGen/CGCleanup.h 416 return (ExtInfo->BranchAfters.size() != ExtInfo->Branches.size());
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 4373 if (ImportedBlockDecls.size()) {
4378 ImportedBlockDecls.size() > 0);
5377 if (ImportedBlockDecls.size()) {
5866 ProtocolExprDecls.size()) {
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 3582 if (ImportedBlockDecls.size()) {
3587 ImportedBlockDecls.size() > 0);
4513 if (ImportedBlockDecls.size()) {
4925 ProtocolExprDecls.size()) {
5590 if (ProtocolExprDecls.size()) {
tools/clang/lib/Sema/SemaExceptionSpec.cpp 591 if (Success && OldTypes.size() == NewTypes.size())
591 if (Success && OldTypes.size() == NewTypes.size())
tools/clang/lib/Serialization/ASTWriter.cpp 1550 Record.push_back(AdditionalModMaps->size());
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp 116 if (AllDeclRefExprs.size() == 1) {
tools/clang/tools/extra/clang-tidy/utils/ExceptionAnalyzer.cpp 24 if (Exceptions.size() == 0)
103 if (ThrownExceptions.size() == 0)
tools/polly/lib/Analysis/ScopBuilder.cpp 3452 if (ReadOnlyAccesses.empty() && ReadWriteArrays.size() <= 1)
3492 if (MinMaxAccessesReadWrite.size() + ReadOnlyArrays.size() >
tools/polly/lib/Transform/MaximalStaticExpansion.cpp 451 assert(AllWrites.size() == 1 || SAI->isValueKind());
unittests/ADT/DirectedGraphTest.cpp 279 if (SCC.size() > 1)
281 EXPECT_TRUE(SCC.size() == 1);
285 if (SCC.size() <= 1)
287 EXPECT_TRUE(SCC.size() == 3);
unittests/ADT/SmallPtrSetTest.cpp 33 EXPECT_EQ(4U, s1.size());
63 EXPECT_EQ(4U, s.size());
85 EXPECT_EQ(4U, s.size());
97 EXPECT_EQ(8U, s.size());
114 EXPECT_EQ(4U, s1.size());
122 EXPECT_EQ(4U, s2.size());
130 EXPECT_EQ(4U, s1.size());
131 EXPECT_EQ(4U, s2.size());
139 EXPECT_EQ(4U, s3.size());
154 EXPECT_EQ(8U, s1.size());
161 EXPECT_EQ(8U, s3.size());
162 EXPECT_EQ(8U, s1.size());
177 EXPECT_EQ(2U, a.size());
178 EXPECT_EQ(1U, b.size());
190 EXPECT_EQ(1U, a.size());
191 EXPECT_EQ(2U, b.size());
204 EXPECT_EQ(3U, a.size());
205 EXPECT_EQ(1U, b.size());
217 EXPECT_EQ(1U, a.size());
218 EXPECT_EQ(3U, b.size());
234 EXPECT_EQ(3U, a.size());
235 EXPECT_EQ(4U, b.size());
unittests/Analysis/PhiValuesTest.cpp 57 EXPECT_EQ(Vals.size(), 2u);
61 EXPECT_EQ(Vals.size(), 2u);
69 EXPECT_EQ(Vals.size(), 2u);
73 EXPECT_EQ(Vals.size(), 2u);
81 EXPECT_EQ(Vals.size(), 2u);
133 EXPECT_EQ(Vals.size(), 2u);
137 EXPECT_EQ(Vals.size(), 2u);
141 EXPECT_EQ(Vals.size(), 3u);
150 EXPECT_EQ(Vals.size(), 2u);
154 EXPECT_EQ(Vals.size(), 2u);
158 EXPECT_EQ(Vals.size(), 3u);
167 EXPECT_EQ(Vals.size(), 2u);
171 EXPECT_EQ(Vals.size(), 2u);
175 EXPECT_EQ(Vals.size(), 2u);
183 EXPECT_EQ(Vals.size(), 2u);
187 EXPECT_EQ(Vals.size(), 2u);
191 EXPECT_EQ(Vals.size(), 3u);
202 EXPECT_EQ(Vals.size(), 2u);
206 EXPECT_EQ(Vals.size(), 2u);