/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Comdat.cpp | 22 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 …]
|
/external/llvm-project/llvm/lib/IR/ |
D | Comdat.cpp | 22 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 …]
|
/external/llvm-project/llvm/lib/Linker/ |
D | LinkModules.cpp | 67 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 …]
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 70 Comdat::SelectionKind Src, 71 Comdat::SelectionKind Dst, 72 Comdat::SelectionKind &Result, 74 std::map<const Comdat *, std::pair<Comdat::SelectionKind, bool>> 76 bool getComdatResult(const Comdat *SrcC, Comdat::SelectionKind &SK, 79 DenseMap<const Comdat *, std::vector<GlobalValue *>> LazyComdatMembers; 107 const DenseSet<const Comdat *> &ReplacedDstComdats); 168 Comdat::SelectionKind Src, in computeResultingSelectionKind() 169 Comdat::SelectionKind Dst, in computeResultingSelectionKind() 170 Comdat::SelectionKind &Result, in computeResultingSelectionKind() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/ |
D | LinkModules.cpp | 67 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Comdat.h | 31 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) {
|
D | GlobalObject.h | 26 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()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Comdat.h | 31 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) {
|
D | GlobalObject.h | 26 class Comdat; variable 54 Comdat *ObjComdat; 125 const Comdat *getComdat() const { return ObjComdat; } in getComdat() 126 Comdat *getComdat() { return ObjComdat; } in getComdat() 127 void setComdat(Comdat *C) { ObjComdat = C; } in setComdat()
|
/external/llvm/lib/IR/ |
D | Comdat.cpp | 18 Comdat::Comdat(Comdat &&C) : Name(C.Name), SK(C.SK) {} in Comdat() function in Comdat 20 Comdat::Comdat() : Name(nullptr), SK(Comdat::Any) {} in Comdat() function in Comdat 22 StringRef Comdat::getName() const { return Name->first(); } in getName()
|
/external/llvm/include/llvm/IR/ |
D | Comdat.h | 29 class Comdat { 39 Comdat(Comdat &&C); 48 Comdat(); 49 Comdat(const Comdat &) = delete; 52 StringMapEntry<Comdat> *Name; 56 inline raw_ostream &operator<<(raw_ostream &OS, const Comdat &C) {
|
D | GlobalObject.h | 22 class Comdat; variable 40 Comdat *ObjComdat; 71 const Comdat *getComdat() const { return ObjComdat; } in getComdat() 72 Comdat *getComdat() { return ObjComdat; } in getComdat() 73 void setComdat(Comdat *C) { ObjComdat = C; } in setComdat()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | GlobalObject.h | 26 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | Instrumentation.cpp | 76 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()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | Instrumentation.cpp | 76 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()
|
/external/llvm-project/llvm/test/Transforms/PGOProfile/ |
D | comdat_rename.ll | 6 ; Rename Comdat group and its function. 13 ; Not rename Comdat with an alias (an alias is an address-taken user). 21 ; Not rename Comdat with right linkage. 28 ; Not rename Comdat with variable members. 39 ; Not rename Comdat with multiple functions.
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | Internalize.cpp | 114 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | Internalize.cpp | 114 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()
|
/external/llvm/lib/Transforms/IPO/ |
D | Internalize.cpp | 117 GlobalValue &GV, const std::set<const Comdat *> &ExternalComdats) { in maybeInternalize() 118 if (Comdat *C = GV.getComdat()) { in maybeInternalize() 144 GlobalValue &GV, std::set<const Comdat *> &ExternalComdats) { in checkComdatVisibility() 145 Comdat *C = GV.getComdat(); in checkComdatVisibility() 161 std::set<const Comdat *> ExternalComdats; in internalizeModule()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | IRSymtab.cpp | 80 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()
|
/external/llvm-project/llvm/lib/Object/ |
D | IRSymtab.cpp | 80 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() 280 if (const Comdat *C = Base->getComdat()) { in addSymbol()
|
/external/llvm/lib/CodeGen/ |
D | TargetLoweringObjectFileImpl.cpp | 195 static const Comdat *getELFComdat(const GlobalValue *GV) { in getELFComdat() 196 const Comdat *C = GV->getComdat(); in getELFComdat() 200 if (C->getSelectionKind() != Comdat::Any) in getELFComdat() 217 if (const Comdat *C = getELFComdat(GV)) { in getExplicitSectionGlobal() 274 if (const Comdat *C = getELFComdat(GV)) { in selectELFSectionForGlobal() 336 const Comdat *C = F.getComdat(); in getSectionForJumpTable() 536 const Comdat *C = GV->getComdat(); in checkMachOComdat() 847 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF() 864 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF() 870 case Comdat::Any: in getSelectionForCOFF() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | ModuleUtils.cpp | 195 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()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | ModuleUtils.cpp | 203 SmallDenseMap<Comdat *, int, 16> ComdatEntriesCovered; in filterDeadComdatFunctions() 205 Comdat *C = F->getComdat(); in filterDeadComdatFunctions() 210 auto CheckComdat = [&](Comdat &C) { in filterDeadComdatFunctions() 229 if (Comdat *C = F.getComdat()) { in filterDeadComdatFunctions() 235 if (Comdat *C = GV.getComdat()) { in filterDeadComdatFunctions() 241 if (Comdat *C = GA.getComdat()) { in filterDeadComdatFunctions()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/ |
D | Internalize.h | 47 const DenseSet<const Comdat *> &ExternalComdats); 51 DenseSet<const Comdat *> &ExternalComdats);
|