| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | 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()
|
| H A D | AsmWriter.h | 31 class Comdat; variable 76 SetVector<const Comdat *> Comdats; 109 void printComdat(const Comdat *C);
|
| H A D | CMakeLists.txt | 6 Comdat.cpp
|
| H A D | AsmWriter.cpp | 1448 if (const Comdat *C = F.getComdat()) in init() 1451 if (const Comdat *C = GV.getComdat()) in init() 1600 for (const Comdat *C : Comdats) { in printModule() 1741 const Comdat *C = GO.getComdat(); in maybePrintComdat() 1830 void AssemblyWriter::printComdat(const Comdat *C) { in printComdat() 2538 void Comdat::print(raw_ostream &ROS) const { in print() 2543 case Comdat::Any: in print() 2546 case Comdat::ExactMatch: in print() 2549 case Comdat::Largest: in print() 2552 case Comdat::NoDuplicates: in print() [all …]
|
| H A D | Module.cpp | 479 Comdat *Module::getOrInsertComdat(StringRef Name) { in getOrInsertComdat() 480 auto &Entry = *ComdatSymTab.insert(std::make_pair(Name, Comdat())).first; in getOrInsertComdat()
|
| H A D | Globals.cpp | 116 Comdat *GlobalValue::getComdat() { in getComdat()
|
| H A D | Verifier.cpp | 118 void WriteComdat(const Comdat *C) { in WriteComdat() 174 void CheckFailed(const Twine &Message, const Comdat *C) { in CheckFailed() 275 for (const StringMapEntry<Comdat> &SMEC : M.getComdatSymbolTable()) in verify() 296 void visitComdat(const Comdat &C); 666 void Verifier::visitComdat(const Comdat &C) { in visitComdat() 670 if (C.getSelectionKind() != Comdat::Any) in visitComdat()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Comdat.h | 31 class Comdat { 41 Comdat(Comdat &&C); 50 Comdat(); 51 Comdat(SelectionKind SK, StringMapEntry<Comdat> *Name); 52 Comdat(const Comdat &) LLVM_DELETED_FUNCTION; 55 StringMapEntry<Comdat> *Name; 59 inline raw_ostream &operator<<(raw_ostream &OS, const Comdat &C) {
|
| H A D | 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()
|
| H A D | GlobalValue.h | 27 class Comdat; variable 117 Comdat *getComdat(); 118 const Comdat *getComdat() const { in getComdat()
|
| H A D | Module.h | 127 typedef StringMap<Comdat> ComdatSymTabType; 444 Comdat *getOrInsertComdat(StringRef Name);
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Linker/ |
| H A D | LinkModules.cpp | 451 Comdat::SelectionKind Src, 452 Comdat::SelectionKind Dst, 453 Comdat::SelectionKind &Result, 455 std::map<const Comdat *, std::pair<Comdat::SelectionKind, bool>> 457 bool getComdatResult(const Comdat *SrcC, Comdat::SelectionKind &SK, 602 if (Comdat *SC = SGV->getComdat()) { in materializeValueFor() 604 Comdat *DC = DstM->getOrInsertComdat(SC->getName()); in materializeValueFor() 634 Comdat::SelectionKind Src, in computeResultingSelectionKind() 635 Comdat::SelectionKind Dst, in computeResultingSelectionKind() 636 Comdat::SelectionKind &Result, in computeResultingSelectionKind() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 197 static const Comdat *getELFComdat(const GlobalValue *GV) { in getELFComdat() 198 const Comdat *C = GV->getComdat(); in getELFComdat() 202 if (C->getSelectionKind() != Comdat::Any) in getELFComdat() 219 if (const Comdat *C = getELFComdat(GV)) { in getExplicitSectionGlobal() 270 if (const Comdat *C = getELFComdat(GV)) in SelectSectionForGlobal() 526 const Comdat *C = GV->getComdat(); in checkMachOComdat() 754 const Comdat *C = GV->getComdat(); in getComdatGVForCOFF() 771 if (const Comdat *C = GV->getComdat()) { in getSelectionForCOFF() 777 case Comdat::Any: in getSelectionForCOFF() 779 case Comdat::ExactMatch: in getSelectionForCOFF() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Bitcode/Writer/ |
| H A D | ValueEnumerator.h | 30 class Comdat; variable 60 typedef UniqueVector<const Comdat *> ComdatSetType; 164 unsigned getComdatID(const Comdat *C) const;
|
| H A D | BitcodeWriter.cpp | 535 static unsigned getEncodedComdatSelectionKind(const Comdat &C) { in getEncodedComdatSelectionKind() 537 case Comdat::Any: in getEncodedComdatSelectionKind() 539 case Comdat::ExactMatch: in getEncodedComdatSelectionKind() 541 case Comdat::Largest: in getEncodedComdatSelectionKind() 543 case Comdat::NoDuplicates: in getEncodedComdatSelectionKind() 545 case Comdat::SameSize: in getEncodedComdatSelectionKind() 553 for (const Comdat *C : VE.getComdats()) { in writeComdats()
|
| H A D | ValueEnumerator.cpp | 394 unsigned ValueEnumerator::getComdatID(const Comdat *C) const { in getComdatID() 590 if (const Comdat *C = GO->getComdat()) in EnumerateValue()
|
| /minix3/external/bsd/llvm/dist/llvm/test/Verifier/ |
| H A D | comdat.ll | 5 ; CHECK: 'common' global may not be in a Comdat!
|
| /minix3/external/bsd/llvm/lib/libLLVMIR/ |
| H A D | Makefile | 13 Comdat.cpp \
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.h | 32 class Comdat; variable 149 std::vector<Comdat *> ComdatList;
|
| H A D | BitcodeReader.cpp | 130 std::vector<Comdat *>().swap(ComdatList); in FreeState() 307 static Comdat::SelectionKind getDecodedComdatSelectionKind(unsigned Val) { in getDecodedComdatSelectionKind() 311 return Comdat::Any; in getDecodedComdatSelectionKind() 313 return Comdat::ExactMatch; in getDecodedComdatSelectionKind() 315 return Comdat::Largest; in getDecodedComdatSelectionKind() 317 return Comdat::NoDuplicates; in getDecodedComdatSelectionKind() 319 return Comdat::SameSize; in getDecodedComdatSelectionKind() 2129 Comdat::SelectionKind SK = getDecodedComdatSelectionKind(Record[0]); in ParseModule() 2135 Comdat *C = TheModule->getOrInsertComdat(ComdatName); in ParseModule()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/AsmParser/ |
| H A D | LLParser.h | 37 class Comdat; variable 187 Comdat *getComdat(const std::string &N, LocTy Loc); 411 bool parseOptionalComdat(StringRef GlobalName, Comdat *&C);
|
| H A D | LLParser.cpp | 471 Comdat::SelectionKind SK; in parseComdat() 476 SK = Comdat::Any; in parseComdat() 479 SK = Comdat::ExactMatch; in parseComdat() 482 SK = Comdat::Largest; in parseComdat() 485 SK = Comdat::NoDuplicates; in parseComdat() 488 SK = Comdat::SameSize; in parseComdat() 499 Comdat *C; in parseComdat() 824 Comdat *C; in ParseGlobal() 1095 Comdat *LLParser::getComdat(const std::string &Name, LocTy Loc) { in getComdat() 1103 Comdat *C = M->getOrInsertComdat(Name); in getComdat() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A D | SymbolRewriter.cpp | 84 if (Comdat *CD = GO->getComdat()) { in rewriteComdat() 87 Comdat *C = M.getOrInsertComdat(Target); in rewriteComdat()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | GlobalDCE.cpp | 192 if (Comdat *C = G->getComdat()) { in GlobalIsNeeded()
|
| H A D | GlobalOpt.cpp | 91 SmallSet<const Comdat *, 8> NotDiscardableComdats; 1913 const Comdat *C = F->getComdat(); in OptimizeFunctions() 1963 if (const Comdat *C = GV->getComdat()) in OptimizeGlobalVars() 3053 if (const Comdat *C = GV.getComdat()) in runOnModule() 3057 if (const Comdat *C = F.getComdat()) in runOnModule() 3061 if (const Comdat *C = GA.getComdat()) in runOnModule()
|