OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SGVar
(Results
1 - 2
of
2
) sorted by null
/external/llvm/lib/Linker/
LinkModules.cpp
577
auto *
SGVar
= dyn_cast<GlobalVariable>(&GV);
578
if (DGVar &&
SGVar
) {
579
if (DGVar->isDeclaration() &&
SGVar
->isDeclaration() &&
580
(!DGVar->isConstant() || !
SGVar
->isConstant())) {
582
SGVar
->setConstant(false);
584
if (DGVar->hasCommonLinkage() &&
SGVar
->hasCommonLinkage()) {
585
unsigned Align = std::max(DGVar->getAlignment(),
SGVar
->getAlignment());
586
SGVar
->setAlignment(Align);
IRMover.cpp
492
GlobalVariable *copyGlobalVariableProto(const GlobalVariable *
SGVar
);
700
GlobalVariable *IRLinker::copyGlobalVariableProto(const GlobalVariable *
SGVar
) {
705
new GlobalVariable(DstM, TypeMap.get(
SGVar
->getType()->getElementType()),
706
SGVar
->isConstant(), GlobalValue::ExternalLinkage,
707
/*init*/ nullptr,
SGVar
->getName(),
708
/*insertbefore*/ nullptr,
SGVar
->getThreadLocalMode(),
709
SGVar
->getType()->getAddressSpace());
710
NewDGV->setAlignment(
SGVar
->getAlignment());
736
if (auto *
SGVar
= dyn_cast<GlobalVariable>(SGV)) {
737
NewGV = copyGlobalVariableProto(
SGVar
);
[
all
...]
Completed in 1026 milliseconds