Searched refs:SGV (Results 1 - 3 of 3) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | FunctionImportUtils.cpp | 19 /// Checks if we should import SGV as a definition, otherwise import as a 22 const GlobalValue *SGV) { 27 if (!GlobalsToImport->count(const_cast<GlobalValue *>(SGV))) 30 assert(!isa<GlobalAlias>(SGV) && 38 const GlobalValue *SGV, ValueInfo VI) { 39 assert(SGV->hasLocalLinkage()); 46 assert((!GlobalsToImport->count(const_cast<GlobalValue *>(SGV)) || 47 !isNonRenamableLocal(*SGV)) && 63 VI, SGV->getParent()->getModuleIdentifier()); 67 assert(!isNonRenamableLocal(*SGV) 21 doImportAsDefinition( const GlobalValue *SGV) argument 37 shouldPromoteLocalToGlobal( const GlobalValue *SGV, ValueInfo VI) argument 90 getPromotedName(const GlobalValue *SGV) argument 101 getLinkage(const GlobalValue *SGV, bool DoPromote) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | FunctionImportUtils.h | 65 bool shouldPromoteLocalToGlobal(const GlobalValue *SGV, ValueInfo VI); 80 /// import SGV as a definition, otherwise import as a declaration. 81 bool doImportAsDefinition(const GlobalValue *SGV); 83 /// Get the name for a local SGV that should be promoted and renamed to global 85 std::string getPromotedName(const GlobalValue *SGV); 94 /// Get the new linkage for SGV that should be used in the linked destination 98 GlobalValue::LinkageTypes getLinkage(const GlobalValue *SGV, bool DoPromote);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Linker/ |
H A D | IRMover.cpp | 448 GlobalValue *copyGlobalValueProto(const GlobalValue *SGV, bool ForDefinition); 481 /// Given the GlobaValue \p SGV in the source module, and the matching 482 /// GlobalValue \p DGV (if any), return true if the linker will pull \p SGV 486 bool shouldLink(GlobalValue *DGV, GlobalValue &SGV); 569 Value *GlobalValueMaterializer::materialize(Value *SGV) { argument 570 return TheIRLinker.materialize(SGV, false); 573 Value *LocalValueMaterializer::materialize(Value *SGV) { argument 574 return TheIRLinker.materialize(SGV, true); 578 auto *SGV = dyn_cast<GlobalValue>(V); local 579 if (!SGV) 689 copyGlobalValueProto(const GlobalValue *SGV, bool ForDefinition) argument 947 shouldLink(GlobalValue *DGV, GlobalValue &SGV) argument 967 linkGlobalValueProto(GlobalValue *SGV, bool ForIndirectSymbol) argument [all...] |
Completed in 151 milliseconds