OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SGV
(Results
1 - 2
of
2
) sorted by null
/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
...]
/external/llvm/lib/Linker/
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
...]
Completed in 233 milliseconds