Searched refs:SGV (Results 1 - 3 of 3) sorted by relevance

/freebsd-11.0-release/contrib/llvm/lib/Linker/
H A DLinkModules.cpp121 /// import SGV as a definition, otherwise import as a declaration.
122 bool doImportAsDefinition(const GlobalValue *SGV);
172 bool doPromoteLocalToGlobal(const GlobalValue *SGV);
180 /// import SGV as a definition, otherwise import as a declaration.
181 bool doImportAsDefinition(const GlobalValue *SGV);
183 /// Get the name for SGV that should be used in the linked destination
186 std::string getName(const GlobalValue *SGV);
195 /// Get the new linkage for SGV that should be used in the linked destination
198 GlobalValue::LinkageTypes getLinkage(const GlobalValue *SGV);
220 /// Checks if we should import SGV a
223 doImportAsDefinitionImpl(const GlobalValue *SGV, DenseSet<const GlobalValue *> *FunctionsToImport) argument
252 doImportAsDefinition(const GlobalValue *SGV) argument
258 doImportAsDefinition(const GlobalValue *SGV) argument
264 doPromoteLocalToGlobal(const GlobalValue *SGV) argument
288 getName(const GlobalValue *SGV) argument
303 getLinkage(const GlobalValue *SGV) argument
[all...]
H A DIRMover.cpp432 GlobalValue *copyGlobalValueProto(const GlobalValue *SGV, bool ForDefinition);
480 bool shouldLink(GlobalValue *DGV, GlobalValue &SGV);
631 auto *SGV = dyn_cast<GlobalValue>(V); local
632 if (!SGV)
635 return linkGlobalValueProto(SGV, ForAlias);
750 GlobalValue *IRLinker::copyGlobalValueProto(const GlobalValue *SGV, argument
753 if (auto *SGVar = dyn_cast<GlobalVariable>(SGV)) {
755 } else if (auto *SF = dyn_cast<Function>(SGV)) {
759 NewGV = copyGlobalAliasProto(cast<GlobalAlias>(SGV));
762 DstM, TypeMap.get(SGV
1008 useExistingDest(GlobalValue &SGV, GlobalValue *DGV, bool ShouldLink) argument
1025 shouldLink(GlobalValue *DGV, GlobalValue &SGV) argument
1053 linkGlobalValueProto(GlobalValue *SGV, bool ForAlias) argument
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp212 GlobalValue *SGV = SrcModule.getNamedValue(CalledFunctionName); local
214 if (!SGV) {
222 SGV = SrcModule.getNamedValue(Split.first);
223 assert(SGV && "Can't find function to import in source module");
225 if (!SGV) {
231 Function *F = dyn_cast<Function>(SGV);
232 if (!F && isa<GlobalAlias>(SGV)) {
233 auto *SGA = dyn_cast<GlobalAlias>(SGV);
242 if (SGV->hasWeakAnyLinkage()) {
245 << (isa<Function>(SGV)
[all...]

Completed in 40 milliseconds