OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SGV
(Results
1 - 3
of
3
) sorted by null
/external/llvm/lib/Linker/
LinkModules.cpp
69
bool doPromoteLocalToGlobal(const GlobalValue *
SGV
);
125
/// import
SGV
as a definition, otherwise import as a declaration.
126
bool doImportAsDefinition(const GlobalValue *
SGV
);
128
/// Get the name for
SGV
that should be used in the linked destination
131
std::string getName(const GlobalValue *
SGV
);
140
/// Get the new linkage for
SGV
that should be used in the linked destination
143
GlobalValue::LinkageTypes getLinkage(const GlobalValue *
SGV
);
169
bool ModuleLinker::doImportAsDefinition(const GlobalValue *
SGV
) {
172
auto *GA = dyn_cast<GlobalAlias>(
SGV
);
188
if (isa<GlobalVariable>(
SGV
) && !SGV->isDeclaration() &
[
all
...]
IRMover.cpp
432
GlobalValue *copyGlobalValueProto(const GlobalValue *
SGV
, bool ForDefinition);
480
bool shouldLink(GlobalValue *DGV, GlobalValue &
SGV
);
614
auto *
SGV
= dyn_cast<GlobalValue>(V);
615
if (!
SGV
)
618
return linkGlobalValueProto(
SGV
, ForAlias);
733
GlobalValue *IRLinker::copyGlobalValueProto(const GlobalValue *
SGV
,
736
if (auto *SGVar = dyn_cast<GlobalVariable>(
SGV
)) {
738
} else if (auto *SF = dyn_cast<Function>(
SGV
)) {
742
NewGV = copyGlobalAliasProto(cast<GlobalAlias>(
SGV
));
745
DstM, TypeMap.get(
SGV
->getType()->getElementType())
[
all
...]
/external/llvm/lib/Transforms/IPO/
FunctionImport.cpp
209
GlobalValue *
SGV
= SrcModule.getNamedValue(CalledFunctionName);
211
if (!
SGV
) {
219
SGV
= SrcModule.getNamedValue(Split.first);
220
assert(
SGV
&& "Can't find function to import in source module");
222
if (!
SGV
) {
228
Function *F = dyn_cast<Function>(
SGV
);
229
if (!F && isa<GlobalAlias>(
SGV
)) {
230
auto *SGA = dyn_cast<GlobalAlias>(
SGV
);
239
if (
SGV
->hasWeakAnyLinkage()) {
242
<< (isa<Function>(
SGV
) ? "function " : "alias "
[
all
...]
Completed in 127 milliseconds