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

References

include/llvm/ADT/StringMap.h
  273     if (RHS.empty())
  315     if (!empty()) {
  451     if (empty()) return;
include/llvm/ExecutionEngine/Orc/SymbolStringPool.h
  146   assert(Pool.empty() && "Dangling references at pool destruction time");
  169   return Pool.empty();
include/llvm/IR/ValueSymbolTable.h
   78   inline bool empty() const { return vmap.empty(); }
include/llvm/ProfileData/SampleProf.h
  250   bool hasCalls() const { return !CallTargets.empty(); }
include/llvm/Support/StringPool.h
   70     inline bool empty() const { return InternTable.empty(); }
include/llvm/TableGen/StringToOffsetTable.h
   29   bool Empty() const { return StringOffset.empty(); }
lib/CodeGen/AsmPrinter/DwarfStringPool.cpp
   79   if (Pool.empty())
lib/CodeGen/AsmPrinter/DwarfStringPool.h
   49   bool empty() const { return Pool.empty(); }
lib/CodeGen/MIRParser/MIParser.cpp
  106   if (!Names2Regs.empty())
  134   if (!Names2InstrOpCodes.empty())
  153   if (!Names2RegMasks.empty())
  174   if (!Names2SubRegIndices.empty())
  191   if (!Names2TargetIndices.empty())
  210   if (!Names2DirectTargetFlags.empty())
  232   if (!Names2BitmaskTargetFlags.empty())
  254   if (!Names2MMOTargetFlags.empty())
  275   if (!Names2RegClasses.empty())
  287   if (!Names2RegBanks.empty())
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
 1072   while (!ExternalSymbolRelocations.empty()) {
lib/IR/ValueSymbolTable.cpp
   39   assert(vmap.empty() && "Values remain in symbol table!");
lib/LTO/LTO.cpp
  771   if (!M.getComdatSymbolTable().empty())
lib/LTO/LTOCodeGenerator.cpp
  479   if (ExternalSymbols.empty())
lib/Support/CommandLine.cpp
  302     return (!Sub.OptionsMap.empty() || !Sub.PositionalOpts.empty() ||
lib/Support/FileCheck.cpp
 1770   assert(GlobalVariableTable.empty() && GlobalNumericVariableTable.empty() &&
 1770   assert(GlobalVariableTable.empty() && GlobalNumericVariableTable.empty() &&
lib/Support/StringPool.cpp
   21   assert(InternTable.empty() && "PooledStringPtr leaked!");
lib/Transforms/IPO/Internalize.cpp
  158   if (!M.getComdatSymbolTable().empty()) {
lib/Transforms/IPO/SampleProfile.cpp
 1440           if (!T || T.get().empty())
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  320       assert(LinesByFile.empty());
tools/clang/include/clang/Lex/Pragma.h
  119   bool IsEmpty() const { return Handlers.empty(); }
tools/clang/lib/ARCMigrate/ObjCMT.cpp
  160     if (WhiteListFilenames.empty())
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 3608       ExistingProtocols.empty() && SelectorTable.empty())
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 3881          OffloadEntriesDeviceGlobalVar.empty();
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp
  454   if (!NameFileMap.empty())
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  224     if (LibDeviceMap.empty() && !NoCudaLib)
tools/clang/lib/Frontend/ModuleDependencyCollector.cpp
  131   if (Seen.empty())
tools/clang/lib/Sema/SemaLookup.cpp
 4324     if (DI->second.empty()) {
tools/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
   72   if (Classes.empty()) {
tools/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
  472   if (!FunctionSummaryMap.empty())
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
 2394   assert(StrBugTypes.empty() &&
tools/clang/lib/Tooling/Core/Diagnostic.cpp
   50    if (!D.Message.Fix.empty())
   53     return !D.Fix.empty();
tools/clang/lib/Tooling/FileMatchTrie.cpp
   69     if (Children.empty()) {
  108     if (Children.empty()) {
  146     if (Children.empty()) {
tools/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
  747   while (!Worklist.empty()) {
tools/clang/tools/extra/clangd/ClangdLSPServer.cpp
  695              (!R->ApplyEdits.empty() && "tweak has no effect"));
  704       if (R->ApplyEdits.empty())
tools/clang/tools/extra/clangd/HeaderSourceSwitch.cpp
  109   if (Candidates.empty())
tools/clang/tools/extra/clangd/unittests/TweakTesting.cpp
  111   if (Result->ApplyEdits.empty())
tools/dsymutil/DebugMap.h
  184   bool empty() const { return Symbols.empty(); }
tools/dsymutil/NonRelocatableStringpool.cpp
   15   if (S.empty() && !Strings.empty())
tools/lld/COFF/Writer.cpp
  852   if (!config->order.empty())
tools/lld/ELF/Driver.cpp
 1542   if (!config->sectionStartMap.empty())
tools/lldb/source/Utility/Log.cpp
  266   if (g_channel_map->empty()) {
tools/lldb/unittests/TestingSupport/MockTildeExpressionResolver.cpp
   78   return !Output.empty();
tools/llvm-cov/CodeCoverage.cpp
  234   if (!RemappedFilenames.empty()) {
tools/llvm-lipo/llvm-lipo.cpp
  798   if (!ReplacementSlices.empty())
tools/llvm-mca/CodeRegion.cpp
   33   if (ActiveRegions.empty()) {
   83     if (ActiveRegions.empty() && Regions.size() == 1 &&
tools/llvm-objcopy/COFF/COFFObjcopy.cpp
  201       !Config.SymbolsToKeepGlobal.empty() || !Config.SectionsToRename.empty() ||
  202       !Config.SetSectionAlignment.empty() || !Config.SetSectionFlags.empty() ||
  202       !Config.SetSectionAlignment.empty() || !Config.SetSectionFlags.empty() ||
  203       !Config.SymbolsToRename.empty() || Config.ExtractDWO ||
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  616   if (!Config.SectionsToRename.empty()) {
  673   if (!Config.SetSectionAlignment.empty()) {
  681   if (!Config.SetSectionFlags.empty()) {
tools/llvm-objcopy/MachO/MachOObjcopy.cpp
   44       !Config.SectionsToRename.empty() || !Config.SymbolsToRename.empty() ||
   44       !Config.SectionsToRename.empty() || !Config.SymbolsToRename.empty() ||
   46       !Config.SetSectionAlignment.empty() || !Config.SetSectionFlags.empty() ||
   46       !Config.SetSectionAlignment.empty() || !Config.SetSectionFlags.empty() ||
tools/llvm-objdump/llvm-objdump.cpp
 1285       if (!DisasmFuncsSet.empty() && !DisasmFuncsSet.count(SymbolName))
unittests/ADT/StringMapTest.cpp
   33     EXPECT_TRUE(testMap.empty());
   52     EXPECT_FALSE(testMap.empty());
   99   EXPECT_TRUE(constTestMap.empty());
  422   ASSERT_TRUE(A.empty());
  429   ASSERT_TRUE(B.empty());
utils/TableGen/CodeGenDAGPatterns.cpp
 2917   if (NamedNodes.empty())
 4339   if (DepVars.empty()) {
utils/TableGen/CodeGenDAGPatterns.h
  926     if (NamedNodes.empty())