|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/DenseMap.h 76 if (empty())
86 if (empty())
include/llvm/ADT/DenseSet.h 74 bool empty() const { return TheMap.empty(); }
include/llvm/ADT/ScopedHashTable.h 174 assert(!CurScope && TopLevelMap.empty() && "Scope imbalance!");
include/llvm/Analysis/LoopInfoImpl.h 727 if (!OtherLoopHeaders.empty()) {
include/llvm/CodeGen/FunctionLoweringInfo.h 214 assert(VirtReg2Value.empty());
include/llvm/CodeGen/GlobalISel/GISelWorkList.h 42 bool empty() const { return WorklistMap.empty(); }
66 assert(WorklistMap.empty() && "Expecting empty worklistmap");
86 assert((Finalized || WorklistMap.empty()) && "Neither finalized nor empty");
include/llvm/CodeGen/TargetLowering.h 378 bool isSlowDivBypassed() const { return !BypassSlowDivWidths.empty(); }
include/llvm/ExecutionEngine/Orc/Speculation.h 186 assert(!IRNames.empty() && "No IRNames received to Intern?");
include/llvm/IR/Metadata.h 293 assert(UseMap.empty() && "Cannot destroy in-use replaceable metadata");
include/llvm/IR/PassManager.h 736 assert(AnalysisResults.empty() == AnalysisResultLists.empty() &&
736 assert(AnalysisResults.empty() == AnalysisResultLists.empty() &&
739 return AnalysisResults.empty();
900 if (!IsResultInvalidated.empty()) {
include/llvm/IR/ValueMap.h 140 bool empty() const { return Map.empty(); }
include/llvm/Support/JSON.h 112 bool empty() const { return M.empty(); }
include/llvm/Transforms/InstCombine/InstCombineWorklist.h 98 assert(WorklistMap.empty() && "Worklist empty, but map not?");
include/llvm/XRay/Graph.h 291 bool empty() const { return G.Vertices.empty(); }
328 bool empty() const { return G.Edges.empty(); }
lib/Analysis/CallGraphSCCPass.cpp 378 assert(Calls.empty() && "Dangling pointers found in call sites map");
lib/Analysis/DependenceGraphBuilder.cpp 40 assert(IMap.empty() && "Expected empty instruction map at start");
lib/Analysis/InlineCost.cpp 335 if (SROAArgValues.empty() || SROAArgCosts.empty())
335 if (SROAArgValues.empty() || SROAArgCosts.empty())
lib/Analysis/LazyCallGraph.cpp 1477 assert(SCCMap.empty() &&
1484 assert(SCCMap.empty() &&
1514 if (SCCMap.empty()) {
1668 assert(RC.SCCIndices.empty() && "Already mapped SCC indices!");
1705 assert(RefSCCIndices.empty() && "Already mapped RefSCC indices!");
lib/Analysis/MemoryDependenceAnalysis.cpp 1178 if (!Visited.empty()) {
1485 if (!NonLocalDefsCache.empty()) {
lib/Bitcode/Reader/BitcodeReader.cpp 891 assert(BasicBlockFwdRefs.empty() && "Function missing from queue");
5311 if (!BasicBlockFwdRefs.empty())
lib/CodeGen/AsmPrinter/AddressPool.h 47 bool isEmpty() { return Pool.empty(); }
lib/CodeGen/AsmPrinter/DwarfDebug.cpp 1845 assert(InfoHolder.getScopeVariables().empty());
lib/CodeGen/BranchFolding.cpp 646 if (!EHScopeMembership.empty()) {
1400 if (!EHScopeMembership.empty() && FallThrough != MF.end()) {
lib/CodeGen/CodeGenPrepare.cpp 484 if (EnableTypePromotionMerge && !ValToSExtendedUses.empty())
1061 if (RelocateInstMap.empty())
lib/CodeGen/FuncletLayout.cpp 48 if (FuncletMembership.empty())
lib/CodeGen/InlineSpiller.cpp 1502 if (!SpillsToIns.empty() || !SpillsToRm.empty())
lib/CodeGen/LiveDebugValues.cpp 442 assert(Vars.empty() == VarLocs.empty() && "open ranges are inconsistent");
lib/CodeGen/MIRParser/MIParser.cpp 2984 if (Slots2BasicBlocks.empty())
3020 if (Slots2Values.empty())
lib/CodeGen/MachineBlockPlacement.cpp 2996 assert(BlockToChain.empty() &&
2998 assert(ComputedEdges.empty() &&
lib/CodeGen/MachineCopyPropagation.cpp 140 return !Copies.empty();
lib/CodeGen/MachineModuleInfo.cpp 87 assert(DeletedAddrLabelsNeedingEmission.empty() &&
lib/CodeGen/MachinePipeliner.cpp 551 assert(NewInstrChanges.empty() &&
558 if (ExperimentalCodeGen && NewInstrChanges.empty()) {
lib/CodeGen/SafeStackColoring.cpp 116 if (BlockMarkerSet.empty()) {
lib/CodeGen/SelectionDAG/FastISel.cpp 131 assert(LocalValueMap.empty() &&
274 if (OrderMap.Orders.empty())
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp 531 if (VirtReg2Value.empty()) {
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp 368 assert(Interferences.empty() && LRegsMap.empty() && "stale Interferences");
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 9908 if (!DbgDeclareInfo.empty() && !ArgCopyElisionFrameIndexMap.empty()) {
lib/CodeGen/SlotIndexes.cpp 60 assert(mi2iMap.empty() &&
lib/CodeGen/StackProtector.cpp 549 if (Layout.empty())
lib/CodeGen/WinEHPrepare.cpp 448 if (!FuncInfo.EHPadStateMap.empty())
479 if (!FuncInfo.EHPadStateMap.empty())
lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp 41 if (SegBlocks.empty())
lib/ExecutionEngine/Orc/Core.cpp 254 assert(!this->Symbols->empty() && "Can not fail to resolve an empty set");
327 assert(QueryRegistrations.empty() && ResolvedSymbols.empty() &&
327 assert(QueryRegistrations.empty() && ResolvedSymbols.empty() &&
363 assert(!this->SymbolFlags.empty() && "Materializing nothing?");
367 assert(SymbolFlags.empty() &&
552 if (!Aliases.empty()) {
577 while (!RequestedAliases.empty()) {
616 if (Deps.empty())
1085 DependantMI.UnemittedDependencies.empty()) {
1086 assert(DependantMI.Dependants.empty() &&
1107 if (MI.UnemittedDependencies.empty()) {
1203 assert(DependantMI.Dependants.empty() &&
1237 assert(MI.Dependants.empty() &&
1239 assert(MI.UnemittedDependencies.empty() &&
1672 if (!MaterializingInfos.empty())
1999 if (RegisterDependencies && !Q->QueryRegistrations.empty())
lib/ExecutionEngine/Orc/ExecutionUtils.cpp 224 if (!NewSymbols.empty())
lib/ExecutionEngine/Orc/LazyReexports.cpp 152 if (!CallableAliases.empty())
173 if (AliaseeTable != nullptr && !RequestedAliases.empty())
lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp 127 if (!ExtraSymbolsToClaim.empty())
lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp 180 if (!ExtraSymbolsToClaim.empty())
lib/IR/AsmWriter.cpp 524 return NamedTypes.empty() && Type2Number.empty();
768 bool mdn_empty() const { return mdnMap.empty(); }
776 bool as_empty() const { return asMap.empty(); }
lib/IR/LLVMContextImpl.cpp 54 assert(InstructionMetadata.empty() &&
lib/IR/LegacyPassManager.cpp 922 assert(!AvailableAnalysis.empty());
lib/IR/Metadata.cpp 233 if (UseMap.empty())
277 assert(UseMap.empty() && "Expected all uses to be replaced");
281 if (UseMap.empty())
lib/LTO/LTOBackend.cpp 517 if (!DefinedGlobals.empty())
lib/MC/MCRegisterInfo.cpp 116 if (L2CVRegs.empty())
lib/Target/AArch64/AArch64PromoteConstant.cpp 491 assert(!InsertPts.empty() && "Empty uses does not need a definition");
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp 351 if (Replacements.empty())
lib/Target/AMDGPU/R600ISelLowering.cpp 1690 assert(RemapSwizzle.empty());
1739 assert(RemapSwizzle.empty());
lib/Target/ARM/ARMISelLowering.cpp 7182 if (!Value.getNode() && !ValueCounts.empty())
7185 if (ValueCounts.empty())
lib/Target/Hexagon/HexagonGenInsert.cpp 1566 if (IFMap.empty())
1579 if (IFMap.empty())
1607 if (IFMap.empty())
lib/Target/PowerPC/PPCExpandISEL.cpp 166 return !ISELInstructions.empty();
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp 960 if (UnwindDestToTryRanges.empty())
lib/Target/X86/X86OptimizeLEAs.cpp 493 assert(!LEAs.empty());
694 if (LEAs.empty())
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp 72 if (!RenamedComdats.empty())
lib/Transforms/IPO/WholeProgramDevirt.cpp 1807 if (TypeIdMap.empty())
lib/Transforms/Instrumentation/AddressSanitizer.cpp 661 assert(Pass->ProcessedAllocas.empty() &&
2588 assert(ProcessedAllocas.empty() && "must process localescape before allocas");
lib/Transforms/Instrumentation/ControlHeightReduction.cpp 276 assert(HoistStopMap.empty() && "MapHoistStops must be empty");
1367 assert(Scope->HoistStopMap.empty() && Scope->CHRRegions.empty() &&
lib/Transforms/Instrumentation/GCOVProfiling.cpp 420 if (Blocks.empty()) return;
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 1210 if (!AllocaToPaddedAllocaMap.empty()) {
lib/Transforms/ObjCARC/BlotMapVector.h 110 assert(Map.empty() == Vector.empty());
111 return Map.empty();
lib/Transforms/ObjCARC/ObjCARCContract.cpp 324 if (!BlockColors.empty()) {
lib/Transforms/ObjCARC/ObjCARCOpts.cpp 731 if (!BlockColors.empty()) {
lib/Transforms/Scalar/JumpThreading.cpp 1545 if (DestPopularity.empty())
lib/Transforms/Scalar/LICM.cpp 1342 if (!BlockColors.empty() &&
1378 if (!BlockColors.empty()) {
1480 if (!SafetyInfo->getBlockColors().empty() && BB->getFirstNonPHI()->isEHPad())
1547 if (!BlockColors.empty())
lib/Transforms/Scalar/SCCP.cpp 1134 if (TrackedGlobals.empty() || !isa<GlobalVariable>(SI.getOperand(1)))
1175 if (!TrackedGlobals.empty()) {
lib/Transforms/Scalar/StructurizeCFG.cpp 637 assert(DeletedPhis.empty());
lib/Transforms/Utils/FunctionImportUtils.cpp 301 if (!RenamedComdats.empty())
lib/Transforms/Utils/ModuleUtils.cpp 222 if (ComdatEntriesCovered.empty())
228 if (ComdatEntriesCovered.empty())
234 if (ComdatEntriesCovered.empty())
240 if (ComdatEntriesCovered.empty()) {
lib/Transforms/Utils/PromoteMemoryToRegister.cpp 585 if (BBNumbers.empty()) {
lib/Transforms/Utils/ValueMapper.cpp 626 assert(G.Info.empty() && "Expected a fresh traversal");
lib/Transforms/Vectorize/LoopVectorize.cpp 4843 if (!Legal->getLAI()->getSymbolicStrides().empty()) {
5235 if (VF > 1 && !Legal->getReductionVars()->empty()) {
5266 if (!Legal->getReductionVars()->empty() && TheLoop->getLoopDepth() > 1) {
5286 bool HasReductions = !Legal->getReductionVars()->empty();
lib/Transforms/Vectorize/VPlan.cpp 509 if (!Plan.Value2VPValue.empty() || Plan.BackedgeTakenCount) {
tools/clang/include/clang/AST/ASTContext.h 2706 return !ObjCImpls.empty();
tools/clang/lib/ARCMigrate/FileRemapper.cpp 35 assert(ToFromMappings.empty());
57 assert(FromToMappings.empty() &&
tools/clang/lib/AST/RawCommentList.cpp 336 bool RawCommentList::empty() const { return OrderedComments.empty(); }
tools/clang/lib/AST/RecordLayoutBuilder.cpp 2830 if (FieldOffsets.empty() && Bases.empty())
tools/clang/lib/AST/VTableBuilder.cpp 1667 assert(MethodVTableIndices.empty());
2090 if (!Thunks.empty()) {
2500 assert(MethodVFTableLocations.empty());
3174 if (!Thunks.empty()) {
tools/clang/lib/Analysis/CFG.cpp 1602 assert(ConstructionContextMap.empty() &&
tools/clang/lib/CodeGen/CGBuiltin.cpp 1408 if (Types.empty()) {
tools/clang/lib/CodeGen/CGObjCGNU.cpp 3608 ExistingProtocols.empty() && SelectorTable.empty())
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 3880 return OffloadEntriesTargetRegion.empty() &&
8345 if (!OverlappedData.empty()) {
8413 bool IsFirstComponentList = OverlappedData.empty();
10002 if (!Info.CaptureDeviceAddrMap.empty())
10042 if (!Info.CaptureDeviceAddrMap.empty()) {
10061 if (Info.CaptureDeviceAddrMap.empty()) {
tools/clang/lib/CodeGen/CodeGenFunction.cpp 372 if (!EscapedLocals.empty()) {
tools/clang/lib/CodeGen/CodeGenFunction.h 338 return !LabelMap.empty();
832 assert(SavedLocals.empty() && "Did not restored original addresses.");
869 return !SavedLocals.empty();
874 if (!SavedLocals.empty()) {
tools/clang/lib/CodeGen/CodeGenModule.cpp 5622 if (LocalDeclMap.empty()) return;
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp 1050 if (!UnparsedFiles.empty()) {
tools/clang/lib/Lex/ModuleMap.cpp 406 if (UmbrellaDirs.empty())
tools/clang/lib/Parse/ParseExpr.cpp 884 if (RevertibleTypeTraits.empty()) {
tools/clang/lib/Sema/Sema.cpp 2218 if (!OpenCLDeclExtMap.empty())
2225 if (!OpenCLTypeExtMap.empty())
tools/clang/lib/Sema/SemaAttr.cpp 743 if (!Rules.empty()) {
tools/clang/lib/Sema/SemaDecl.cpp 7022 } else if (!ExtnameUndeclaredIdentifiers.empty()) {
7397 if (!getLangOpts().CPlusPlus || ShadowingDecls.empty())
8927 } else if (!ExtnameUndeclaredIdentifiers.empty()) {
tools/clang/lib/Sema/SemaDeclObjC.cpp 1753 if (MethodMap.empty())
tools/clang/lib/Sema/SemaObjCProperty.cpp 1839 if (PropMap.empty())
2038 if (PropMap.empty())
tools/clang/lib/Serialization/ASTReader.cpp 9952 assert(PendingFakeDefinitionData.empty() &&
10063 if (PendingOdrMergeFailures.empty() && PendingOdrMergeChecks.empty() &&
10064 PendingFunctionOdrMergeFailures.empty() &&
10065 PendingEnumOdrMergeFailures.empty())
10193 if (OdrMergeFailures.empty() && FunctionOdrMergeFailures.empty() &&
10193 if (OdrMergeFailures.empty() && FunctionOdrMergeFailures.empty() &&
10194 EnumOdrMergeFailures.empty())
tools/clang/lib/Serialization/ASTWriter.cpp 3448 if (SemaRef.MethodPool.empty() && SelectorIDs.empty())
4267 if (!Map || Map->empty())
4290 if (!Map || Map->empty())
tools/clang/lib/Serialization/ASTWriterStmt.cpp 2441 assert(Writer->SubStmtEntries.empty() && "unexpected entries in sub-stmt map");
tools/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp 238 if (StringSelectors.empty()) {
tools/clang/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp 137 if (IvarToPropMap.empty())
tools/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp 416 if (Ivars.empty())
454 if (Ivars.empty())
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp 153 if (!UIMethods.empty())
tools/clang/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp 129 if (M.empty())
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp 3218 if (Out->empty())
tools/clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp 249 if (!Entry->getPPSkippedRangeMapping().empty() && PPSkipMappings)
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertUtils.h 62 if (StmtAncestors.empty())
tools/clang/tools/extra/clangd/XRefs.cpp 310 if (Index && !ResultIndex.empty()) {
tools/clang/tools/extra/unittests/clang-apply-replacements/ApplyReplacementsTest.cpp 49 EXPECT_TRUE(ReplacementsMap.empty());
tools/lld/COFF/SymbolTable.cpp 318 if (undefs.empty() && (!localImports || localImports->empty()))
tools/lld/ELF/Writer.cpp 1367 if (!order.empty())
tools/lld/lib/ReaderWriter/MachO/ShimPass.cpp 67 if (_targetToShim.empty())
tools/lld/lib/ReaderWriter/MachO/StubsPass.cpp 246 if (_targetToUses.empty())
tools/lldb/source/Host/common/MainLoop.cpp 387 while (!m_terminate_request && (!m_read_fds.empty() || !m_signals.empty())) {
387 while (!m_terminate_request && (!m_read_fds.empty() || !m_signals.empty())) {
tools/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp 2086 if (!layout_info.field_offsets.empty() ||
2087 !layout_info.base_offsets.empty() ||
2088 !layout_info.vbase_offsets.empty()) {
tools/lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp 902 if (m_public_names.empty())
tools/lldb/source/Symbol/CompileUnit.cpp 105 if (!m_functions_by_uid.empty()) {
tools/llvm-diff/DiffConsumer.cpp 41 assert(!Numbering.empty() && "asked for numbering but numbering was no-op");
78 if (ctxt.LNumbering.empty())
83 if (ctxt.RNumbering.empty())
tools/llvm-xray/xray-stacks.cpp 448 bool isEmpty() const { return Roots.empty(); }
unittests/ADT/DenseMapTest.cpp 114 EXPECT_TRUE(this->Map.empty());
130 EXPECT_TRUE(ConstMap.empty());
141 EXPECT_FALSE(this->Map.empty());
163 EXPECT_TRUE(this->Map.empty());
173 EXPECT_TRUE(this->Map.empty());
183 EXPECT_TRUE(this->Map.empty());
218 EXPECT_TRUE(copyMap.empty());
228 EXPECT_TRUE(copyMap.empty());
268 EXPECT_TRUE(this->Map.empty());
274 EXPECT_TRUE(otherMap.empty());
284 EXPECT_TRUE(this->Map.empty());
291 EXPECT_TRUE(otherMap.empty());
utils/TableGen/CodeGenTarget.h 142 if (Instructions.empty()) ReadInstructions();
148 if (Instructions.empty()) ReadInstructions();
utils/TableGen/GlobalISelEmitter.cpp 3398 assert(NodeEquivs.empty());
3402 assert(ComplexPatternEquivs.empty());
3410 assert(SDNodeXFormEquivs.empty());
utils/unittest/googlemock/include/gmock/gmock-more-matchers.h 51 if (arg.empty()) {