/freebsd-11.0-release/contrib/llvm/lib/IR/ |
H A D | Comdat.cpp | 1 //===-- Comdat.cpp - Implement Metadata classes --------------------------===// 10 // This file implements the Comdat class. 14 #include "llvm/IR/Comdat.h" 18 Comdat::Comdat(SelectionKind SK, StringMapEntry<Comdat> *Name) function in class:Comdat 21 Comdat::Comdat(Comdat &&C) : Name(C.Name), SK(C.SK) {} function in class:Comdat 23 Comdat function in class:Comdat [all...] |
H A D | Module.cpp | 457 Comdat *Module::getOrInsertComdat(StringRef Name) { 458 auto &Entry = *ComdatSymTab.insert(std::make_pair(Name, Comdat())).first;
|
H A D | Globals.cpp | 112 Comdat *GlobalValue::getComdat() {
|
H A D | AsmWriter.cpp | 2009 SetVector<const Comdat *> Comdats; 2041 void printComdat(const Comdat *C); 2077 if (const Comdat *C = F.getComdat()) 2080 if (const Comdat *C = GV.getComdat()) 2242 for (const Comdat *C : Comdats) { 2382 const Comdat *C = GO.getComdat(); 2471 void AssemblyWriter::printComdat(const Comdat *C) { 3234 void Comdat::print(raw_ostream &ROS, bool /*IsForDebug*/) const { 3239 case Comdat::Any: 3242 case Comdat [all...] |
/freebsd-11.0-release/contrib/llvm/include/llvm/IR/ |
H A D | Comdat.h | 1 //===-- llvm/IR/Comdat.h - Comdat definitions -------------------*- C++ -*-===// 11 /// This file contains the declaration of the Comdat class, which represents a 31 class Comdat { class in namespace:llvm 41 Comdat(Comdat &&C); 50 Comdat(); 51 Comdat(SelectionKind SK, StringMapEntry<Comdat> *Name); 52 Comdat(cons [all...] |
H A D | GlobalObject.h | 23 class Comdat; 39 Comdat *ObjComdat; 63 const Comdat *getComdat() const { return ObjComdat; } 64 Comdat *getComdat() { return ObjComdat; } 65 void setComdat(Comdat *C) { ObjComdat = C; }
|
H A D | GlobalValue.h | 27 class Comdat; 135 Comdat *getComdat(); 136 const Comdat *getComdat() const {
|
H A D | Module.h | 20 #include "llvm/IR/Comdat.h" 81 typedef StringMap<Comdat> ComdatSymTabType; 394 /// @name Comdat Accessors 397 /// Return the Comdat in the module with the specified name. It is created 399 Comdat *getOrInsertComdat(StringRef Name);
|
/freebsd-11.0-release/contrib/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 80 Comdat::SelectionKind Src, 81 Comdat::SelectionKind Dst, 82 Comdat::SelectionKind &Result, 84 std::map<const Comdat *, std::pair<Comdat::SelectionKind, bool>> 86 bool getComdatResult(const Comdat *SrcC, Comdat::SelectionKind &SK, 89 DenseMap<const Comdat *, std::vector<GlobalValue *>> ComdatMembers; 431 Comdat::SelectionKind Src, 432 Comdat [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Transforms/IPO/ |
H A D | Internalize.cpp | 64 const std::set<const Comdat *> &ExternalComdats); 66 std::set<const Comdat *> &ExternalComdats); 136 GlobalValue &GV, const std::set<const Comdat *> &ExternalComdats) { 137 if (Comdat *C = GV.getComdat()) { 163 GlobalValue &GV, std::set<const Comdat *> &ExternalComdats) { 164 Comdat *C = GV.getComdat(); 181 std::set<const Comdat *> ExternalComdats;
|
H A D | GlobalDCE.cpp | 51 std::unordered_multimap<Comdat *, GlobalValue *> ComdatMembers; 85 if (Comdat *C = F.getComdat()) 88 if (Comdat *C = GV.getComdat()) 91 if (Comdat *C = GA.getComdat()) 198 if (Comdat *C = G->getComdat()) {
|
H A D | Inliner.cpp | 643 SmallDenseMap<const Comdat *, int, 16> ComdatEntriesAlive; 684 if (const Comdat *C = F->getComdat()) { 695 auto ComdatGroupReferenced = [&](const Comdat *C) { 701 if (const Comdat *C = F.getComdat()) 704 if (const Comdat *C = GV.getComdat()) 707 if (const Comdat *C = GA.getComdat()) 711 const Comdat *C = F->getComdat();
|
H A D | GlobalOpt.cpp | 94 SmallSet<const Comdat *, 8> NotDiscardableComdats; 1688 if (const Comdat *C = GV.getComdat()) 3194 if (const Comdat *C = GV.getComdat()) 3198 if (const Comdat *C = F.getComdat()) 3202 if (const Comdat *C = GA.getComdat())
|
/freebsd-11.0-release/contrib/llvm/lib/Bitcode/Writer/ |
H A D | ValueEnumerator.h | 30 class Comdat; 60 typedef UniqueVector<const Comdat *> ComdatSetType; 177 unsigned getComdatID(const Comdat *C) const;
|
H A D | ValueEnumerator.cpp | 386 unsigned ValueEnumerator::getComdatID(const Comdat *C) const { 388 assert(ComdatID && "Comdat not found!"); 575 if (const Comdat *C = GO->getComdat())
|
H A D | BitcodeWriter.cpp | 556 static unsigned getEncodedComdatSelectionKind(const Comdat &C) { 558 case Comdat::Any: 560 case Comdat::ExactMatch: 562 case Comdat::Largest: 564 case Comdat::NoDuplicates: 566 case Comdat::SameSize: 574 for (const Comdat *C : VE.getComdats()) {
|
/freebsd-11.0-release/lib/clang/libllvmcore/ |
H A D | Makefile | 12 Comdat.cpp \
|
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | SplitModule.cpp | 48 if (const Comdat *C = GV->getComdat())
|
H A D | SymbolRewriter.cpp | 84 if (Comdat *CD = GO->getComdat()) { 87 Comdat *C = M.getOrInsertComdat(Target);
|
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.cpp | 192 static const Comdat *getELFComdat(const GlobalValue *GV) { 193 const Comdat *C = GV->getComdat(); 197 if (C->getSelectionKind() != Comdat::Any) 214 if (const Comdat *C = getELFComdat(GV)) { 269 if (const Comdat *C = getELFComdat(GV)) { 329 const Comdat *C = F.getComdat(); 513 const Comdat *C = GV->getComdat(); 823 const Comdat *C = GV->getComdat(); 824 assert(C && "expected GV to have a Comdat!"); 840 if (const Comdat * [all...] |
/freebsd-11.0-release/contrib/llvm/lib/AsmParser/ |
H A D | LLParser.h | 37 class Comdat; 126 // Comdat forward reference information. 172 /// Get a Comdat with the specified name, creating a forward reference 174 Comdat *getComdat(const std::string &N, LocTy Loc); 409 bool parseOptionalComdat(StringRef GlobalName, Comdat *&C);
|
H A D | LLParser.cpp | 513 Comdat::SelectionKind SK; 518 SK = Comdat::Any; 521 SK = Comdat::ExactMatch; 524 SK = Comdat::Largest; 527 SK = Comdat::NoDuplicates; 530 SK = Comdat::SameSize; 541 Comdat *C; 876 Comdat *C; 1148 // Comdat Reference/Resolution Routines. 1151 Comdat *LLParse [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Instrumentation/ |
H A D | InstrProfiling.cpp | 268 static inline Comdat *getOrCreateProfileComdat(Module &M, 296 Comdat *ProfileVarsComdat = nullptr;
|
/freebsd-11.0-release/contrib/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 156 std::vector<Comdat *> ComdatList; 605 std::vector<Comdat *>().swap(ComdatList); 813 static Comdat::SelectionKind getDecodedComdatSelectionKind(unsigned Val) { 817 return Comdat::Any; 819 return Comdat::ExactMatch; 821 return Comdat::Largest; 823 return Comdat::NoDuplicates; 825 return Comdat::SameSize; 1720 if (GO->getComdat() == reinterpret_cast<Comdat *>(1)) { 3445 Comdat [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGDeclCXX.cpp | 299 if (llvm::Comdat *C = GV->getComdat())
|