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

References

lib/AsmParser/LLParser.cpp
 1136         GV->setComdat(C);
 5499   Fn->setComdat(C);
lib/Bitcode/Reader/BitcodeReader.cpp
 2027         GO->setComdat(TheModule->getOrInsertComdat(V->getName()));
 2029         GO->setComdat(nullptr);
 3169       NewGV->setComdat(ComdatList[ComdatID - 1]);
 3172     NewGV->setComdat(reinterpret_cast<Comdat *>(1));
 3280       Func->setComdat(ComdatList[ComdatID - 1]);
 3283     Func->setComdat(reinterpret_cast<Comdat *>(1));
lib/CodeGen/LowerEmuTLS.cpp
   46       to->setComdat(M.getOrInsertComdat(to->getName()));
lib/IR/Comdat.cpp
   39   G->setComdat(unwrap(C));
lib/LTO/LTO.cpp
  655     GO->setComdat(nullptr);
  746         cast<GlobalObject>(GV)->setComdat(nullptr);
lib/Linker/IRMover.cpp
 1015         GO->setComdat(DC);
lib/ProfileData/InstrProf.cpp
 1146     IRLevelVersionVariable->setComdat(M.getOrInsertComdat(VarName));
 1162     ProfileNameVar->setComdat(M.getOrInsertComdat(
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
  367   NewFunc->setComdat(F.getComdat());
lib/Target/X86/X86RetpolineThunks.cpp
  204   F->setComdat(M.getOrInsertComdat(Name));
lib/Target/X86/X86WinEHState.cpp
  407     Trampoline->setComdat(C);
lib/Transforms/IPO/DeadArgumentElimination.cpp
  168   NF->setComdat(Fn.getComdat());
  867   NF->setComdat(F->getComdat());
lib/Transforms/IPO/ExtractGV.cpp
   99           I->setComdat(nullptr);
  117           F.setComdat(nullptr);
lib/Transforms/IPO/FunctionImport.cpp
  916     F->setComdat(nullptr);
  921     V->setComdat(nullptr);
  996       GO->setComdat(nullptr);
lib/Transforms/IPO/Internalize.cpp
  120       GO->setComdat(nullptr);
lib/Transforms/IPO/LowerTypeTests.cpp
 1915           F->setComdat(nullptr);
lib/Transforms/IPO/MergeFunctions.cpp
  699     NewG->setComdat(G->getComdat());
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
   77           GO.setComdat(Replacement->second);
  294       F.setComdat(nullptr);
lib/Transforms/IPO/WholeProgramDevirt.cpp
  953             GO.setComdat(NewC);
 1516   NewGV->setComdat(B.GV->getComdat());
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 2008     G->setComdat(C);
 2012   Metadata->setComdat(G->getComdat());
 2293     NewGlobal->setComdat(G->getComdat());
 2454     AsanCtorFunction->setComdat(M.getOrInsertComdat(kAsanModuleCtorName));
 2457       AsanDtorFunction->setComdat(M.getOrInsertComdat(kAsanModuleDtorName));
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  404               Ctor->setComdat(CtorComdat);
 1302     Descriptor->setComdat(NewGV->getComdat());
 1372   Note->setComdat(NoteComdat);
 1397   Dummy->setComdat(NoteComdat);
 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
   99   F.setComdat(C);
lib/Transforms/Instrumentation/MemorySanitizer.cpp
  605         Ctor->setComdat(MsanCtorComdat);
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  691     F.setComdat(NewComdat);
  714     CF->setComdat(NewComdat);
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  339     CtorFunc->setComdat(M.getOrInsertComdat(CtorName));
  653       Array->setComdat(Comdat);
lib/Transforms/Utils/CloneModule.cpp
   27   Dst->setComdat(DC);
lib/Transforms/Utils/FunctionImportUtils.cpp
  287     GO->setComdat(nullptr);
  306           GO.setComdat(Replacement->second);
lib/Transforms/Utils/SymbolRewriter.cpp
  103     GO->setComdat(C);
tools/bugpoint/CrashDebugger.cpp
  169       I.setComdat(nullptr);
  963       GV.setComdat(nullptr);
tools/bugpoint/ExtractFunction.cpp
  210   GV->setComdat(nullptr);
  219   F->setComdat(nullptr);
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()));
  348     GV->setComdat(OldGV->getComdat());
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  427     PtrArray->setComdat(C);
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()));
 2897       ResolverFunc->setComdat(
 2940     ResolverFunc->setComdat(
 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()));
 2241       guard->setComdat(C);
 2246         CGF.CurFn->setComdat(C);
 2248       guard->setComdat(CGM.getModule().getOrInsertComdat(guard->getName()));
 3513     GV->setComdat(M.getOrInsertComdat(GV->getName()));
 4013     Fn->setComdat(C);
 4331       fn->setComdat(CGM.getModule().getOrInsertComdat(fn->getName()));
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 1847     VTable->setComdat(C);
 1993     ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName()));
 2324       AddToXDU(F)->setComdat(C);
 2436     F->setComdat(CGM.getModule().getOrInsertComdat(F->getName()));
 2503       GuardVar->setComdat(
 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
  729     GV->setComdat(CD);
  740     F->setComdat(CD);