/external/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 | AsmWriter.h | 30 class Comdat; 75 SetVector<const Comdat *> Comdats; 107 void printComdat(const Comdat *C);
|
H A D | Android.mk | 8 Comdat.cpp \
|
H A D | Module.cpp | 457 Comdat *Module::getOrInsertComdat(StringRef Name) { 458 Comdat C; 459 StringMapEntry<Comdat> &Entry =
|
H A D | AsmWriter.cpp | 1174 if (const Comdat *C = F.getComdat()) 1177 if (const Comdat *C = GV.getComdat()) 1323 for (const Comdat *C : Comdats) { 1535 void AssemblyWriter::printComdat(const Comdat *C) { 2191 void Comdat::print(raw_ostream &ROS) const { 2196 case Comdat::Any: 2199 case Comdat::ExactMatch: 2202 case Comdat::Largest: 2205 case Comdat::NoDuplicates: 2208 case Comdat [all...] |
H A D | Globals.cpp | 101 Comdat *GlobalValue::getComdat() {
|
H A D | Verifier.cpp | 110 void WriteComdat(const Comdat *C) { 148 void CheckFailed(const Twine &Message, const Comdat *C) { 245 for (const StringMapEntry<Comdat> &SMEC : M.getComdatSymbolTable()) 264 void visitComdat(const Comdat &C); 406 Assert1(!GV.hasComdat(), "'common' global may not be in a Comdat!", &GV); 600 void Verifier::visitComdat(const Comdat &C) { 601 // All Comdat::SelectionKind values other than Comdat::Any require a 602 // GlobalValue with the same name as the Comdat. 604 if (C.getSelectionKind() != Comdat [all...] |
/external/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; 37 Comdat *ObjComdat; 49 const Comdat *getComdat() const { return ObjComdat; } 50 Comdat *getComdat() { return ObjComdat; } 51 void setComdat(Comdat *C) { ObjComdat = C; }
|
H A D | GlobalValue.h | 26 class Comdat; 115 Comdat *getComdat(); 116 const Comdat *getComdat() const {
|
H A D | Module.h | 19 #include "llvm/IR/Comdat.h" 128 typedef StringMap<Comdat> ComdatSymTabType; 411 /// @name Comdat Accessors 414 /// Return the Comdat in the module with the specified name. It is created 416 Comdat *getOrInsertComdat(StringRef Name);
|
/external/llvm/include/llvm/Linker/ |
H A D | Linker.h | 18 class Comdat;
|
/external/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 433 Comdat::SelectionKind Src, 434 Comdat::SelectionKind Dst, 435 Comdat::SelectionKind &Result, 437 std::map<const Comdat *, std::pair<Comdat::SelectionKind, bool>> 439 bool getComdatResult(const Comdat *SrcC, Comdat::SelectionKind &SK, 571 Comdat::SelectionKind Src, 572 Comdat::SelectionKind Dst, 573 Comdat [all...] |
/external/llvm/lib/Bitcode/Writer/ |
H A D | ValueEnumerator.h | 29 class Comdat; 54 typedef UniqueVector<const Comdat *> ComdatSetType; 149 unsigned getComdatID(const Comdat *C) const;
|
H A D | ValueEnumerator.cpp | 120 unsigned ValueEnumerator::getComdatID(const Comdat *C) const { 122 assert(ComdatID && "Comdat not found!"); 317 if (const Comdat *C = GO->getComdat())
|
H A D | BitcodeWriter.cpp | 527 static unsigned getEncodedComdatSelectionKind(const Comdat &C) { 529 case Comdat::Any: 531 case Comdat::ExactMatch: 533 case Comdat::Largest: 535 case Comdat::NoDuplicates: 537 case Comdat::SameSize: 545 for (const Comdat *C : VE.getComdats()) {
|
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalDCE.cpp | 80 typedef std::multimap<const Comdat *, GlobalValue *> ComdatGVPairsTy; 90 else if (const Comdat *C = I->getComdat()) 103 else if (const Comdat *C = I->getComdat()) 114 } else if (const Comdat *C = I->getComdat()) {
|
H A D | GlobalOpt.cpp | 1946 SmallSet<const Comdat *, 8> NotDiscardableComdats; 1948 if (const Comdat *C = GV.getComdat()) 1967 if (const Comdat *C = GV->getComdat())
|
/external/llvm/lib/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.cpp | 195 static const Comdat *getELFComdat(const GlobalValue *GV) { 196 const Comdat *C = GV->getComdat(); 200 if (C->getSelectionKind() != Comdat::Any) 217 if (const Comdat *C = getELFComdat(GV)) { 268 if (const Comdat *C = getELFComdat(GV)) 506 const Comdat *C = GV->getComdat(); 764 const Comdat *C = GV->getComdat(); 765 assert(C && "expected GV to have a Comdat!"); 781 if (const Comdat *C = GV->getComdat()) { 787 case Comdat [all...] |
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.h | 29 class Comdat; 139 std::vector<Comdat *> ComdatList;
|
H A D | BitcodeReader.cpp | 46 std::vector<Comdat *>().swap(ComdatList); 207 static Comdat::SelectionKind getDecodedComdatSelectionKind(unsigned Val) { 211 return Comdat::Any; 213 return Comdat::ExactMatch; 215 return Comdat::Largest; 217 return Comdat::NoDuplicates; 219 return Comdat::SameSize; 1861 Comdat::SelectionKind SK = getDecodedComdatSelectionKind(Record[0]); 1867 Comdat *C = TheModule->getOrInsertComdat(ComdatName);
|
/external/llvm/lib/AsmParser/ |
H A D | LLParser.h | 37 class Comdat; 126 // Comdat forward reference information. 161 /// Get a Comdat with the specified name, creating a forward reference 163 Comdat *getComdat(const std::string &N, LocTy Loc); 370 bool parseOptionalComdat(Comdat *&C);
|
H A D | LLParser.cpp | 534 Comdat::SelectionKind SK; 539 SK = Comdat::Any; 542 SK = Comdat::ExactMatch; 545 SK = Comdat::Largest; 548 SK = Comdat::NoDuplicates; 551 SK = Comdat::SameSize; 562 Comdat *C; 897 Comdat *C; 1162 // Comdat Reference/Resolution Routines. 1165 Comdat *LLParse [all...] |
/external/clang/lib/CodeGen/ |
H A D | MicrosoftCXXABI.cpp | 1327 // executable. No need to stick the alias in a Comdat. 1331 // in a Comdat. 1334 // The alias is going to be dropped into a Comdat, no need to make it 1337 llvm::Comdat *C = 1344 C->setSelectionKind(llvm::Comdat::Largest);
|