| /NextBSD/contrib/llvm/lib/IR/ |
| HD | Comdat.cpp | 18 Comdat::Comdat(SelectionKind SK, StringMapEntry<Comdat> *Name) in Comdat() function in Comdat 21 Comdat::Comdat(Comdat &&C) : Name(C.Name), SK(C.SK) {} in Comdat() function in Comdat 23 Comdat::Comdat() : Name(nullptr), SK(Comdat::Any) {} in Comdat() function in Comdat 25 StringRef Comdat::getName() const { return Name->first(); } in getName()
|
| HD | AsmWriter.cpp | 2000 SetVector<const Comdat *> Comdats; 2035 void printComdat(const Comdat *C); 2068 if (const Comdat *C = F.getComdat()) in init() 2071 if (const Comdat *C = GV.getComdat()) in init() 2213 for (const Comdat *C : Comdats) { in printModule() 2353 const Comdat *C = GO.getComdat(); in maybePrintComdat() 2438 void AssemblyWriter::printComdat(const Comdat *C) { in printComdat() 3163 void Comdat::print(raw_ostream &ROS) const { in print() 3168 case Comdat::Any: in print() 3171 case Comdat::ExactMatch: in print() [all …]
|
| HD | Module.cpp | 465 Comdat *Module::getOrInsertComdat(StringRef Name) { in getOrInsertComdat() 466 auto &Entry = *ComdatSymTab.insert(std::make_pair(Name, Comdat())).first; in getOrInsertComdat()
|
| HD | Globals.cpp | 116 Comdat *GlobalValue::getComdat() { in getComdat()
|
| HD | Verifier.cpp | 133 void Write(const Comdat *C) { in Write() 267 for (const StringMapEntry<Comdat> &SMEC : M.getComdatSymbolTable()) in verify() 291 void visitComdat(const Comdat &C); 1107 void Verifier::visitComdat(const Comdat &C) { in visitComdat()
|
| /NextBSD/contrib/llvm/include/llvm/IR/ |
| HD | Comdat.h | 31 class Comdat { 41 Comdat(Comdat &&C); 50 Comdat(); 51 Comdat(SelectionKind SK, StringMapEntry<Comdat> *Name); 52 Comdat(const Comdat &) = delete; 55 StringMapEntry<Comdat> *Name; 59 inline raw_ostream &operator<<(raw_ostream &OS, const Comdat &C) {
|
| HD | GlobalObject.h | 23 class Comdat; variable 37 Comdat *ObjComdat; 61 const Comdat *getComdat() const { return ObjComdat; } in getComdat() 62 Comdat *getComdat() { return ObjComdat; } in getComdat() 63 void setComdat(Comdat *C) { ObjComdat = C; } in setComdat()
|
| HD | GlobalValue.h | 27 class Comdat; variable 134 Comdat *getComdat(); 135 const Comdat *getComdat() const { in getComdat()
|
| HD | Module.h | 127 typedef StringMap<Comdat> ComdatSymTabType; 440 Comdat *getOrInsertComdat(StringRef Name);
|
| /NextBSD/contrib/llvm/lib/Linker/ |
| HD | LinkModules.cpp | 458 Comdat::SelectionKind Src, 459 Comdat::SelectionKind Dst, 460 Comdat::SelectionKind &Result, 462 std::map<const Comdat *, std::pair<Comdat::SelectionKind, bool>> 464 bool getComdatResult(const Comdat *SrcC, Comdat::SelectionKind &SK, 608 if (Comdat *SC = SGV->getComdat()) { in materializeValueFor() 610 Comdat *DC = DstM->getOrInsertComdat(SC->getName()); in materializeValueFor() 640 Comdat::SelectionKind Src, in computeResultingSelectionKind() 641 Comdat::SelectionKind Dst, in computeResultingSelectionKind() 642 Comdat::SelectionKind &Result, in computeResultingSelectionKind() [all …]
|
| /NextBSD/contrib/llvm/lib/CodeGen/ |
| HD | TargetLoweringObjectFileImpl.cpp | 191 static const Comdat *getELFComdat(const GlobalValue *GV) { in getELFComdat() 192 const Comdat *C = GV->getComdat(); in getELFComdat() 196 if (C->getSelectionKind() != Comdat::Any) in getELFComdat() 213 if (const Comdat *C = getELFComdat(GV)) { in getExplicitSectionGlobal() 274 if (const Comdat *C = getELFComdat(GV)) { in selectELFSectionForGlobal() 334 const Comdat *C = F.getComdat(); in getSectionForJumpTable() 520 const Comdat *C = GV->getComdat(); in checkMachOComdat() 806 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF() 823 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF() 829 case Comdat::Any: in getSelectionForCOFF() [all …]
|
| /NextBSD/contrib/llvm/lib/Transforms/IPO/ |
| HD | GlobalDCE.cpp | 51 std::unordered_multimap<Comdat *, GlobalValue *> ComdatMembers; 85 if (Comdat *C = F.getComdat()) in runOnModule() 88 if (Comdat *C = GV.getComdat()) in runOnModule() 91 if (Comdat *C = GA.getComdat()) in runOnModule() 205 if (Comdat *C = G->getComdat()) { in GlobalIsNeeded()
|
| HD | Inliner.cpp | 633 SmallDenseMap<const Comdat *, int, 16> ComdatEntriesAlive; in removeDeadFunctions() 674 if (const Comdat *C = F->getComdat()) { in removeDeadFunctions() 685 auto ComdatGroupReferenced = [&](const Comdat *C) { in removeDeadFunctions() 691 if (const Comdat *C = F.getComdat()) in removeDeadFunctions() 694 if (const Comdat *C = GV.getComdat()) in removeDeadFunctions() 697 if (const Comdat *C = GA.getComdat()) in removeDeadFunctions() 701 const Comdat *C = F->getComdat(); in removeDeadFunctions()
|
| HD | GlobalOpt.cpp | 90 SmallSet<const Comdat *, 8> NotDiscardableComdats; 1906 const Comdat *C = F->getComdat(); in OptimizeFunctions() 1957 if (const Comdat *C = GV->getComdat()) in OptimizeGlobalVars() 3044 if (const Comdat *C = GV.getComdat()) in runOnModule() 3048 if (const Comdat *C = F.getComdat()) in runOnModule() 3052 if (const Comdat *C = GA.getComdat()) in runOnModule()
|
| /NextBSD/contrib/llvm/lib/Bitcode/Writer/ |
| HD | ValueEnumerator.h | 30 class Comdat; variable 60 typedef UniqueVector<const Comdat *> ComdatSetType; 176 unsigned getComdatID(const Comdat *C) const;
|
| HD | ValueEnumerator.cpp | 406 unsigned ValueEnumerator::getComdatID(const Comdat *C) const { in getComdatID() 597 if (const Comdat *C = GO->getComdat()) in EnumerateValue()
|
| HD | BitcodeWriter.cpp | 545 static unsigned getEncodedComdatSelectionKind(const Comdat &C) { in getEncodedComdatSelectionKind() 547 case Comdat::Any: in getEncodedComdatSelectionKind() 549 case Comdat::ExactMatch: in getEncodedComdatSelectionKind() 551 case Comdat::Largest: in getEncodedComdatSelectionKind() 553 case Comdat::NoDuplicates: in getEncodedComdatSelectionKind() 555 case Comdat::SameSize: in getEncodedComdatSelectionKind() 563 for (const Comdat *C : VE.getComdats()) { in writeComdats()
|
| /NextBSD/lib/clang/libllvmcore/ |
| HD | Makefile | 12 Comdat.cpp \
|
| /NextBSD/contrib/llvm/lib/AsmParser/ |
| HD | LLParser.h | 37 class Comdat; variable 165 Comdat *getComdat(const std::string &N, LocTy Loc); 389 bool parseOptionalComdat(StringRef GlobalName, Comdat *&C);
|
| HD | LLParser.cpp | 482 Comdat::SelectionKind SK; in parseComdat() 487 SK = Comdat::Any; in parseComdat() 490 SK = Comdat::ExactMatch; in parseComdat() 493 SK = Comdat::Largest; in parseComdat() 496 SK = Comdat::NoDuplicates; in parseComdat() 499 SK = Comdat::SameSize; in parseComdat() 510 Comdat *C; in parseComdat() 826 Comdat *C; in ParseGlobal() 1107 Comdat *LLParser::getComdat(const std::string &Name, LocTy Loc) { in getComdat() 1115 Comdat *C = M->getOrInsertComdat(Name); in getComdat() [all …]
|
| /NextBSD/contrib/llvm/lib/Transforms/Utils/ |
| HD | SymbolRewriter.cpp | 85 if (Comdat *CD = GO->getComdat()) { in rewriteComdat() 88 Comdat *C = M.getOrInsertComdat(Target); in rewriteComdat()
|
| /NextBSD/contrib/llvm/lib/Bitcode/Reader/ |
| HD | BitcodeReader.cpp | 145 std::vector<Comdat *> ComdatList; 476 std::vector<Comdat *>().swap(ComdatList); in freeState() 684 static Comdat::SelectionKind getDecodedComdatSelectionKind(unsigned Val) { in getDecodedComdatSelectionKind() 688 return Comdat::Any; in getDecodedComdatSelectionKind() 690 return Comdat::ExactMatch; in getDecodedComdatSelectionKind() 692 return Comdat::Largest; in getDecodedComdatSelectionKind() 694 return Comdat::NoDuplicates; in getDecodedComdatSelectionKind() 696 return Comdat::SameSize; in getDecodedComdatSelectionKind() 1566 if (GO->getComdat() == reinterpret_cast<Comdat *>(1)) { in parseValueSymbolTable() 2908 Comdat::SelectionKind SK = getDecodedComdatSelectionKind(Record[0]); in parseModule() [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CGDeclCXX.cpp | 298 if (llvm::Comdat *C = GV->getComdat()) in EmitPointerToInitFunc()
|
| HD | CGException.cpp | 1556 if (llvm::Comdat *C = ParentFn->getComdat()) { in startOutlinedSEHHelper() 1559 llvm::Comdat *C = CGM.getModule().getOrInsertComdat(ParentFn->getName()); in startOutlinedSEHHelper()
|
| HD | MicrosoftCXXABI.cpp | 1659 llvm::Comdat *C = nullptr; in getAddrOfVTable() 1679 C->setSelectionKind(llvm::Comdat::Largest); in getAddrOfVTable() 2159 if (llvm::Comdat *C = GV->getComdat()) in EmitThreadLocalInitFuncs()
|