Home
last modified time | relevance | path

Searched refs:getSelectionKind (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DComdat.h46 SelectionKind getSelectionKind() const { return SK; } in getSelectionKind() function
/llvm-project-15.0.7/llvm/lib/IR/
H A DComdat.cpp49 switch (unwrap(C)->getSelectionKind()) { in LLVMGetComdatSelectionKind()
H A DGlobals.cpp114 return C && C->getSelectionKind() != Comdat::NoDeduplicate; in canBenefitFromLocalAlias()
H A DAsmWriter.cpp4539 switch (getSelectionKind()) { in print()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp49 to->getComdat()->setSelectionKind(from->getComdat()->getSelectionKind()); in copyLinkageVisibility()
H A DTargetLoweringObjectFileImpl.cpp545 if (C->getSelectionKind() != Comdat::Any && in getELFComdat()
546 C->getSelectionKind() != Comdat::NoDeduplicate) in getELFComdat()
779 IsComdat = C->getSelectionKind() == Comdat::Any; in selectExplicitSectionGlobal()
834 IsComdat = C->getSelectionKind() == Comdat::Any; in selectELFSectionForGlobal()
953 IsComdat = C->getSelectionKind() == Comdat::Any; in getSectionForLSDA()
1597 switch (C->getSelectionKind()) { in getSelectionForCOFF()
2047 if (C->getSelectionKind() != Comdat::Any) in getWasmComdat()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp29 DC->setSelectionKind(SC->getSelectionKind()); in copyComdat()
H A DSymbolRewriter.cpp102 C->setSelectionKind(CD->getSelectionKind()); in rewriteComdat()
/llvm-project-15.0.7/llvm/lib/Linker/
H A DLinkModules.cpp223 Comdat::SelectionKind SSK = SrcC->getSelectionKind(); in getComdatResult()
236 Comdat::SelectionKind DSK = DstC->getSelectionKind(); in getComdatResult()
H A DIRMover.cpp1060 DC->setSelectionKind(SC->getSelectionKind()); in linkGlobalValueProto()
/llvm-project-15.0.7/llvm/lib/Object/
H A DIRSymtab.cpp211 Comdat.SelectionKind = C->getSelectionKind(); in getComdatIndex()
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DCloningTest.cpp1085 EXPECT_EQ(Comdat::ExactMatch, CD->getSelectionKind()); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp696 NewComdat->setSelectionKind(OrigComdat->getSelectionKind()); in renameComdatFunction()
H A DAddressSanitizer.cpp1763 switch (C->getSelectionKind()) { in shouldInstrumentGlobal()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp1235 NewC->setSelectionKind(C->getSelectionKind()); in trySingleImplDevirt()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp874 switch (C.getSelectionKind()) { in getEncodedComdatSelectionKind()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1147 switch (C.getSelectionKind()) { in getEncodedComdatSelectionKind()