Home
last modified time | relevance | path

Searched refs:Comdat (Results 1 – 25 of 50) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DComdat.cpp22 Comdat::Comdat(Comdat &&C) : Name(C.Name), SK(C.SK) {} in Comdat() function in Comdat
24 Comdat::Comdat() = default;
26 StringRef Comdat::getName() const { return Name->first(); } in getName()
44 case Comdat::Any: in LLVMGetComdatSelectionKind()
46 case Comdat::ExactMatch: in LLVMGetComdatSelectionKind()
48 case Comdat::Largest: in LLVMGetComdatSelectionKind()
50 case Comdat::NoDuplicates: in LLVMGetComdatSelectionKind()
52 case Comdat::SameSize: in LLVMGetComdatSelectionKind()
59 Comdat *Cd = unwrap(C); in LLVMSetComdatSelectionKind()
62 Cd->setSelectionKind(Comdat::Any); in LLVMSetComdatSelectionKind()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DLinkModules.cpp67 Comdat::SelectionKind Src,
68 Comdat::SelectionKind Dst,
69 Comdat::SelectionKind &Result,
71 std::map<const Comdat *, std::pair<Comdat::SelectionKind, bool>>
73 bool getComdatResult(const Comdat *SrcC, Comdat::SelectionKind &SK,
76 DenseMap<const Comdat *, std::vector<GlobalValue *>> LazyComdatMembers;
104 const DenseSet<const Comdat *> &ReplacedDstComdats);
151 Comdat::SelectionKind Src, in computeResultingSelectionKind()
152 Comdat::SelectionKind Dst, in computeResultingSelectionKind()
153 Comdat::SelectionKind &Result, in computeResultingSelectionKind()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DComdat.h31 class Comdat {
41 Comdat(const Comdat &) = delete;
42 Comdat(Comdat &&C);
53 Comdat();
56 StringMapEntry<Comdat> *Name = nullptr;
61 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(Comdat, LLVMComdatRef)
63 inline raw_ostream &operator<<(raw_ostream &OS, const Comdat &C) {
DGlobalObject.h26 class Comdat; variable
54 Comdat *ObjComdat;
120 const Comdat *getComdat() const { return ObjComdat; } in getComdat()
121 Comdat *getComdat() { return ObjComdat; } in getComdat()
122 void setComdat(Comdat *C) { ObjComdat = C; } in setComdat()
DGlobalValue.h34 class Comdat; variable
230 const Comdat *getComdat() const;
231 Comdat *getComdat() { in getComdat()
232 return const_cast<Comdat *>( in getComdat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DGlobalObject.h26 class Comdat; variable
41 Comdat *ObjComdat;
74 const Comdat *getComdat() const { return ObjComdat; } in getComdat()
75 Comdat *getComdat() { return ObjComdat; } in getComdat()
76 void setComdat(Comdat *C) { ObjComdat = C; } in setComdat()
DGlobalValue.h35 class Comdat; variable
207 Comdat *getComdat();
208 const Comdat *getComdat() const { in getComdat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrumentation.cpp76 Comdat *llvm::GetOrCreateFunctionComdat(Function &F, Triple &T, in GetOrCreateFunctionComdat()
78 if (auto Comdat = F.getComdat()) return Comdat; in GetOrCreateFunctionComdat() local
96 Comdat *C = M->getOrInsertComdat(Name); in GetOrCreateFunctionComdat()
98 C->setSelectionKind(Comdat::NoDuplicates); in GetOrCreateFunctionComdat()
DPGOInstrumentation.cpp528 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers;
569 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers, in FuncPGOInstrumentation() argument
650 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers) { in canRenameComdat() argument
661 Comdat *C = F.getComdat(); in canRenameComdat()
683 Comdat *NewComdat; in renameComdatFunction()
697 Comdat *OrigComdat = F.getComdat(); in renameComdatFunction()
806 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers, in instrumentOneFunc() argument
957 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers, in PGOUseFunc() argument
1448 std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers) { in collectComdatMembers() argument
1452 if (Comdat *C = F.getComdat()) in collectComdatMembers()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DIRSymtab.cpp80 DenseMap<const Comdat *, int> ComdatMap;
84 std::vector<storage::Comdat> Comdats;
107 Expected<int> getComdatIndex(const Comdat *C, const Module *M);
166 Expected<int> Builder::getComdatIndex(const Comdat *C, const Module *M) { in getComdatIndex()
187 storage::Comdat Comdat; in getComdatIndex() local
188 setStr(Comdat.Name, Saver.save(Name)); in getComdatIndex()
189 Comdats.push_back(Comdat); in getComdatIndex()
276 if (const Comdat *C = Base->getComdat()) { in addSymbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DInternalize.cpp114 GlobalValue &GV, const DenseSet<const Comdat *> &ExternalComdats) { in maybeInternalize()
115 if (Comdat *C = GV.getComdat()) { in maybeInternalize()
141 GlobalValue &GV, DenseSet<const Comdat *> &ExternalComdats) { in checkComdatVisibility()
142 Comdat *C = GV.getComdat(); in checkComdatVisibility()
158 DenseSet<const Comdat *> ExternalComdats; in internalizeModule()
DGlobalDCE.cpp152 if (Comdat *C = GV.getComdat()) { in MarkLive()
296 if (Comdat *C = F.getComdat()) in run()
299 if (Comdat *C = GV.getComdat()) in run()
302 if (Comdat *C = GA.getComdat()) in run()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DModuleUtils.cpp195 SmallDenseMap<Comdat *, int, 16> ComdatEntriesCovered; in filterDeadComdatFunctions()
197 Comdat *C = F->getComdat(); in filterDeadComdatFunctions()
202 auto CheckComdat = [&](Comdat &C) { in filterDeadComdatFunctions()
221 if (Comdat *C = F.getComdat()) { in filterDeadComdatFunctions()
227 if (Comdat *C = GV.getComdat()) { in filterDeadComdatFunctions()
233 if (Comdat *C = GA.getComdat()) { in filterDeadComdatFunctions()
DSplitModule.cpp56 using ComdatMembersType = DenseMap<const Comdat *, const GlobalValue *>;
119 if (const Comdat *C = GV.getComdat()) { in findPartitions()
234 if (const Comdat *C = GV->getComdat()) in isInPartition()
DCloneModule.cpp22 const Comdat *SC = Src->getComdat(); in copyComdat()
25 Comdat *DC = Dst->getParent()->getOrInsertComdat(SC->getName()); in copyComdat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp503 static const Comdat *getELFComdat(const GlobalValue *GV) { in getELFComdat()
504 const Comdat *C = GV->getComdat(); in getELFComdat()
508 if (C->getSelectionKind() != Comdat::Any) in getELFComdat()
587 if (const Comdat *C = getELFComdat(GO)) { in getExplicitSectionGlobal()
636 if (const Comdat *C = getELFComdat(GO)) { in selectELFSectionForGlobal()
716 const Comdat *C = F.getComdat(); in getSectionForJumpTable()
929 const Comdat *C = GV->getComdat(); in checkMachOComdat()
1258 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF()
1275 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF()
1281 case Comdat::Any: in getSelectionForCOFF()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DInternalize.h47 const DenseSet<const Comdat *> &ExternalComdats);
51 DenseSet<const Comdat *> &ExternalComdats);
DGlobalDCE.h44 std::unordered_multimap<Comdat *, GlobalValue *> ComdatMembers;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DFunctionImportUtils.h49 DenseMap<const Comdat *, Comdat *> RenamedComdats;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DWasmYAML.h172 struct Comdat { struct
235 std::vector<Comdat> Comdats;
420 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::WasmYAML::Comdat) in LLVM_YAML_IS_SEQUENCE_VECTOR()
542 template <> struct MappingTraits<WasmYAML::Comdat> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
543 static void mapping(IO &IO, WasmYAML::Comdat &Comdat); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DValueEnumerator.h31 class Comdat; variable
66 using ComdatSetType = UniqueVector<const Comdat *>;
226 unsigned getComdatID(const Comdat *C) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/
DInstrumentation.h30 class Comdat; variable
48 Comdat *GetOrCreateFunctionComdat(Function &F, Triple &T,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DIRSymtab.h80 struct Comdat { struct
143 Range<Comdat> Comdats;
235 ArrayRef<storage::Comdat> Comdats;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DWasmYAML.cpp477 void MappingTraits<WasmYAML::Comdat>::mapping(IO &IO, in mapping()
478 WasmYAML::Comdat &Comdat) { in mapping() argument
479 IO.mapRequired("Name", Comdat.Name); in mapping()
480 IO.mapRequired("Entries", Comdat.Entries); in mapping()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DWasm.h137 uint32_t Comdat; // from the "comdat info" section member
148 uint32_t Comdat; // from the "comdat info" section member

12