/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/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()
|
D | GlobalValue.h | 28 class Comdat; variable 190 Comdat *getComdat(); 191 const Comdat *getComdat() const { in getComdat()
|
D | Module.h | 85 typedef StringMap<Comdat> ComdatSymTabType; 427 Comdat *getOrInsertComdat(StringRef Name);
|
/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()
|
D | CMakeLists.txt | 10 Comdat.cpp
|
D | Module.cpp | 480 Comdat *Module::getOrInsertComdat(StringRef Name) { in getOrInsertComdat() 481 auto &Entry = *ComdatSymTab.insert(std::make_pair(Name, Comdat())).first; in getOrInsertComdat()
|
D | AsmWriter.cpp | 2063 SetVector<const Comdat *> Comdats; 2095 void printComdat(const Comdat *C); 2131 if (const Comdat *C = GO.getComdat()) in AssemblyWriter() 2275 for (const Comdat *C : Comdats) { in printModule() 2441 const Comdat *C = GO.getComdat(); in maybePrintComdat() 2541 void AssemblyWriter::printComdat(const Comdat *C) { in printComdat() 3338 void Comdat::print(raw_ostream &ROS, bool /*IsForDebug*/) const { in print() 3343 case Comdat::Any: in print() 3346 case Comdat::ExactMatch: in print() 3349 case Comdat::Largest: in print() [all …]
|
/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()
|
D | GlobalValue.h | 35 class Comdat; variable 207 Comdat *getComdat(); 208 const Comdat *getComdat() const { in getComdat()
|
/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()
|
D | Inliner.cpp | 578 SmallDenseMap<const Comdat *, int, 16> ComdatEntriesAlive; in removeDeadFunctions() 619 if (const Comdat *C = F->getComdat()) { in removeDeadFunctions() 630 auto ComdatGroupReferenced = [&](const Comdat *C) { in removeDeadFunctions() 636 if (const Comdat *C = F.getComdat()) in removeDeadFunctions() 639 if (const Comdat *C = GV.getComdat()) in removeDeadFunctions() 642 if (const Comdat *C = GA.getComdat()) in removeDeadFunctions() 646 const Comdat *C = F->getComdat(); in removeDeadFunctions()
|
D | GlobalDCE.cpp | 89 if (Comdat *C = F.getComdat()) in run() 92 if (Comdat *C = GV.getComdat()) in run() 95 if (Comdat *C = GA.getComdat()) in run() 222 if (Comdat *C = G->getComdat()) { in GlobalIsNeeded()
|
D | GlobalOpt.cpp | 1651 SmallSet<const Comdat *, 8> &NotDiscardableComdats) { in deleteIfDead() argument 1657 if (const Comdat *C = GV.getComdat()) in deleteIfDead() 2025 SmallSet<const Comdat *, 8> &NotDiscardableComdats) { in OptimizeFunctions() argument 2069 SmallSet<const Comdat *, 8> &NotDiscardableComdats) { in OptimizeGlobalVars() argument 2335 SmallSet<const Comdat *, 8> &NotDiscardableComdats) { in OptimizeGlobalAliases() argument 2515 SmallSet<const Comdat *, 8> NotDiscardableComdats; in optimizeGlobalsInModule() 2523 if (const Comdat *C = GV.getComdat()) in optimizeGlobalsInModule() 2527 if (const Comdat *C = F.getComdat()) in optimizeGlobalsInModule() 2531 if (const Comdat *C = GA.getComdat()) in optimizeGlobalsInModule()
|
/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/llvm/include/llvm/Transforms/IPO/ |
D | Internalize.h | 48 const std::set<const Comdat *> &ExternalComdats); 52 std::set<const Comdat *> &ExternalComdats);
|
D | GlobalDCE.h | 35 std::unordered_multimap<Comdat *, GlobalValue *> ComdatMembers;
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.h | 31 class Comdat; variable 62 typedef UniqueVector<const Comdat *> ComdatSetType; 217 unsigned getComdatID(const Comdat *C) const;
|
/external/llvm/lib/Transforms/Utils/ |
D | SplitModule.cpp | 39 typedef DenseMap<const Comdat *, const GlobalValue *> ComdatMembersType; 100 if (const Comdat *C = GV.getComdat()) { in findPartitions() 213 if (const Comdat *C = GV->getComdat()) in isInPartition()
|
D | SymbolRewriter.cpp | 83 if (Comdat *CD = GO->getComdat()) { in rewriteComdat() 86 Comdat *C = M.getOrInsertComdat(Target); in rewriteComdat()
|
/external/llvm/test/Verifier/ |
D | comdat-decl2.ll | 5 ; CHECK: Declaration may not be in a Comdat!
|
D | comdat-decl1.ll | 5 ; CHECK: Declaration may not be in a Comdat!
|
D | comdat.ll | 5 ; CHECK: 'common' global may not be in a Comdat!
|
/external/llvm/lib/AsmParser/ |
D | LLParser.h | 37 class Comdat; variable 177 Comdat *getComdat(const std::string &N, LocTy Loc); 415 bool parseOptionalComdat(StringRef GlobalName, Comdat *&C);
|