Searched refs:DGV (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Linker/ |
| H A D | LinkModules.cpp | 90 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 D | IRMover.cpp | 462 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 D | MetadataLoader.cpp | 516 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 D | Core.cpp | 1301 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 D | GlobalOpt.cpp | 1181 DIGlobalVariable *DGV = GVe->getVariable(); in TryToShrinkGlobalToBoolean() local 1203 DIGlobalVariableExpression::get(NewGV->getContext(), DGV, E); in TryToShrinkGlobalToBoolean()
|