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

Declarations

include/llvm/IR/Module.h
  466   Comdat *getOrInsertComdat(StringRef Name);

References

lib/AsmParser/LLParser.cpp
  658     C = M->getOrInsertComdat(Name);
 1473   Comdat *C = M->getOrInsertComdat(Name);
lib/Bitcode/Reader/BitcodeReader.cpp
 2027         GO->setComdat(TheModule->getOrInsertComdat(V->getName()));
 3073   Comdat *C = TheModule->getOrInsertComdat(Name);
lib/CodeGen/LowerEmuTLS.cpp
   46       to->setComdat(M.getOrInsertComdat(to->getName()));
lib/IR/Comdat.cpp
   29   return wrap(unwrap(M)->getOrInsertComdat(Name));
lib/Linker/IRMover.cpp
 1013         Comdat *DC = DstM.getOrInsertComdat(SC->getName());
lib/ProfileData/InstrProf.cpp
 1146     IRLevelVersionVariable->setComdat(M.getOrInsertComdat(VarName));
 1162     ProfileNameVar->setComdat(M.getOrInsertComdat(
lib/Target/X86/X86RetpolineThunks.cpp
  204   F->setComdat(M.getOrInsertComdat(Name));
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
   60         RenamedComdats.try_emplace(C, ExportM.getOrInsertComdat(NewName));
lib/Transforms/IPO/WholeProgramDevirt.cpp
  949         Comdat *NewC = M.getOrInsertComdat(NewName);
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1995       C = M.getOrInsertComdat(Name);
 1997       C = M.getOrInsertComdat(G->getName());
 2454     AsanCtorFunction->setComdat(M.getOrInsertComdat(kAsanModuleCtorName));
 2457       AsanDtorFunction->setComdat(M.getOrInsertComdat(kAsanModuleDtorName));
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  403               Comdat *CtorComdat = M.getOrInsertComdat(kHwasanModuleCtorName);
 1348   Comdat *NoteComdat = M.getOrInsertComdat(kHwasanNoteName);
 1477       ThunkFn->setComdat(M.getOrInsertComdat(ThunkName));
lib/Transforms/Instrumentation/InstrProfiling.cpp
  773       GV->setComdat(M->getOrInsertComdat(GV->getName()));
 1005     User->setComdat(M->getOrInsertComdat(User->getName()));
lib/Transforms/Instrumentation/Instrumentation.cpp
   96   Comdat *C = M->getOrInsertComdat(Name);
lib/Transforms/Instrumentation/MemorySanitizer.cpp
  604         Comdat *MsanCtorComdat = M.getOrInsertComdat(kMsanModuleCtorName);
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  689     NewComdat = M->getOrInsertComdat(StringRef(NewFuncName));
  699   NewComdat = M->getOrInsertComdat(StringRef(NewComdatName));
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  339     CtorFunc->setComdat(M.getOrInsertComdat(CtorName));
lib/Transforms/Utils/CloneModule.cpp
   25   Comdat *DC = Dst->getParent()->getOrInsertComdat(SC->getName());
lib/Transforms/Utils/FunctionImportUtils.cpp
  273         RenamedComdats.try_emplace(C, M.getOrInsertComdat(GV.getName()));
lib/Transforms/Utils/SymbolRewriter.cpp
  101     Comdat *C = M.getOrInsertComdat(Target);
tools/clang/lib/CodeGen/CGBlocks.cpp
  278       global->setComdat(CGM.getModule().getOrInsertComdat(descName));
 2023     Fn->setComdat(CGM.getModule().getOrInsertComdat(FuncName));
 2216     Fn->setComdat(CGM.getModule().getOrInsertComdat(FuncName));
tools/clang/lib/CodeGen/CGDecl.cpp
  256     GV->setComdat(TheModule.getOrInsertComdat(GV->getName()));
tools/clang/lib/CodeGen/CGObjCGNU.cpp
  223       GV->setComdat(TheModule.getOrInsertComdat(name));
 1101       ObjCStrGV->setComdat(TheModule.getOrInsertComdat(StringName));
 1319       GV->setComdat(TheModule.getOrInsertComdat(RefName));
 1409     GV->setComdat(TheModule.getOrInsertComdat(SymName));
 1441       GV->setComdat(TheModule.getOrInsertComdat(TypesVarName));
 1468     GV->setComdat(TheModule.getOrInsertComdat(SelVarName));
 1498         Sym->setComdat(TheModule.getOrInsertComdat((Prefix +
 1526     LoadFunction->setComdat(TheModule.getOrInsertComdat(".objcv2_load_function"));
 1544     InitStruct->setComdat(TheModule.getOrInsertComdat(".objc_init"));
 1574     InitVar->setComdat(TheModule.getOrInsertComdat(".objc_ctor"));
 1589       GV->setComdat(TheModule.getOrInsertComdat(Name));
tools/clang/lib/CodeGen/CGObjCMac.cpp
 6531     PTGV->setComdat(CGM.getModule().getOrInsertComdat(ProtocolName));
 6878       Entry->setComdat(CGM.getModule().getOrInsertComdat(Protocol));
 6969       Entry->setComdat(CGM.getModule().getOrInsertComdat(symbolName));
 6987     PTGV->setComdat(CGM.getModule().getOrInsertComdat(ProtocolRef));
tools/clang/lib/CodeGen/CGVTT.cpp
   99     VTT->setComdat(CGM.getModule().getOrInsertComdat(VTT->getName()));
tools/clang/lib/CodeGen/CGVTables.cpp
   55     ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName()));
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2378     GV->setComdat(TheModule.getOrInsertComdat(GV->getName()));
 2898           getModule().getOrInsertComdat(ResolverFunc->getName()));
 2941         getModule().getOrInsertComdat(ResolverFunc->getName()));
 3650     GV->setComdat(TheModule.getOrInsertComdat(GV->getName()));
 3853   GO.setComdat(TheModule.getOrInsertComdat(GO.getName()));
 4900     GV->setComdat(M.getOrInsertComdat(GV->getName()));
 5087     GV->setComdat(TheModule.getOrInsertComdat(GV->getName()));
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 1655     VTable->setComdat(CGM.getModule().getOrInsertComdat(VTable->getName()));
 2248       guard->setComdat(CGM.getModule().getOrInsertComdat(guard->getName()));
 3513     GV->setComdat(M.getOrInsertComdat(GV->getName()));
 4012     llvm::Comdat *C = CGM.getModule().getOrInsertComdat(Out.str());
 4331       fn->setComdat(CGM.getModule().getOrInsertComdat(fn->getName()));
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 1816     C = CGM.getModule().getOrInsertComdat(VFTableName.str());
 1993     ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName()));
 2436     F->setComdat(CGM.getModule().getOrInsertComdat(F->getName()));
 2504           CGM.getModule().getOrInsertComdat(GuardVar->getName()));
 3599     CHD->setComdat(CGM.getModule().getOrInsertComdat(CHD->getName()));
 3637     BCA->setComdat(CGM.getModule().getOrInsertComdat(BCA->getName()));
 3679     BCD->setComdat(CGM.getModule().getOrInsertComdat(BCD->getName()));
 3740     COL->setComdat(CGM.getModule().getOrInsertComdat(COL->getName()));
 3842     Var->setComdat(CGM.getModule().getOrInsertComdat(Var->getName()));
 3880     Fn->setComdat(CGM.getModule().getOrInsertComdat(Fn->getName()));
 3907     ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName()));
 4081     GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName()));
 4199     CTA->setComdat(CGM.getModule().getOrInsertComdat(CTA->getName()));
 4268     GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName()));
unittests/Transforms/Utils/CloningTest.cpp
  722     auto *CD = OldM->getOrInsertComdat("comdat");