Home
last modified time | relevance | path

Searched refs:DGV (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Linker/
H A DLinkModules.cpp90 if (!DGV) in getLinkedToGlobal()
95 if (DGV->hasLocalLinkage()) in getLinkedToGlobal()
99 return DGV; in getLinkedToGlobal()
337 if (!DGV) in linkIfNeeded()
340 if (!DGV->isDeclaration()) in linkIfNeeded()
364 DGV->setVisibility(Visibility); in linkIfNeeded()
369 DGV->setUnnamedAddr(UnnamedAddr); in linkIfNeeded()
373 if (!DGV && !shouldOverrideFromSrc() && in linkIfNeeded()
389 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, GV)) in linkIfNeeded()
414 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in addLazyFor()
[all …]
H A DIRMover.cpp462 if (!DGV) in getLinkedToGlobal()
479 return DGV; in getLinkedToGlobal()
777 if (!DGV) in computeTypeMapping()
985 if (DGV && !DGV->isDeclarationForLinker()) in shouldLink()
1020 DGV = nullptr; in linkGlobalValueProto()
1023 if (SGV->hasAppendingLinkage() || (DGV && DGV->hasAppendingLinkage())) in linkGlobalValueProto()
1029 if (DGV && !ShouldLink) { in linkGlobalValueProto()
1030 NewGV = DGV; in linkGlobalValueProto()
1075 if (DGV && NewGV != SGV) { in linkGlobalValueProto()
1080 if (DGV && NewGV != DGV) { in linkGlobalValueProto()
[all …]
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp516 if (auto *DGV = dyn_cast<DIGlobalVariable>(MD)) { in upgradeCUVariables() local
518 Context, DGV, DIExpression::get(Context, {})); in upgradeCUVariables()
1945 DIGlobalVariable *DGV = GET_OR_DISTINCT( in parseOneMetadata() local
1955 Context, DGV, Expr ? Expr : DIExpression::get(Context, {})); in parseOneMetadata()
1959 auto *MDNode = Expr ? cast<Metadata>(DGVE) : cast<Metadata>(DGV); in parseOneMetadata()
/llvm-project-15.0.7/llvm/lib/IR/
H A DCore.cpp1301 if (const DIGlobalVariable *DGV = GVEs[0]->getVariable()) in LLVMGetDebugLocDirectory() local
1302 S = DGV->getDirectory(); in LLVMGetDebugLocDirectory()
1325 if (const DIGlobalVariable *DGV = GVEs[0]->getVariable()) in LLVMGetDebugLocFilename() local
1326 S = DGV->getFilename(); in LLVMGetDebugLocFilename()
1348 if (const DIGlobalVariable *DGV = GVEs[0]->getVariable()) in LLVMGetDebugLocLine() local
1349 L = DGV->getLine(); in LLVMGetDebugLocLine()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1181 DIGlobalVariable *DGV = GVe->getVariable(); in TryToShrinkGlobalToBoolean() local
1203 DIGlobalVariableExpression::get(NewGV->getContext(), DGV, E); in TryToShrinkGlobalToBoolean()