Searched refs:DGV (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 89 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal() local 90 if (!DGV) in getLinkedToGlobal() 95 if (DGV->hasLocalLinkage()) in getLinkedToGlobal() 99 return DGV; in getLinkedToGlobal() 330 GlobalValue *DGV = getLinkedToGlobal(&GV); in linkIfNeeded() local 337 if (!DGV) in linkIfNeeded() 340 if (!DGV->isDeclaration()) in linkIfNeeded() 345 if (DGV && !GV.hasLocalLinkage() && !GV.hasAppendingLinkage()) { in linkIfNeeded() 346 auto *DGVar = dyn_cast<GlobalVariable>(DGV); in linkIfNeeded() 367 getMinVisibility(DGV->getVisibility(), GV.getVisibility()); in linkIfNeeded() [all …]
|
H A D | IRMover.cpp | 469 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal() local 470 if (!DGV) in getLinkedToGlobal() 475 if (DGV->hasLocalLinkage()) in getLinkedToGlobal() 480 if (auto *FDGV = dyn_cast<Function>(DGV)) in getLinkedToGlobal() 487 return DGV; in getLinkedToGlobal() 500 bool shouldLink(GlobalValue *DGV, GlobalValue &SGV); 792 GlobalValue *DGV = getLinkedToGlobal(&SGV); in computeTypeMapping() local 793 if (!DGV) in computeTypeMapping() 796 if (!DGV->hasAppendingLinkage() || !SGV.hasAppendingLinkage()) { in computeTypeMapping() 797 TypeMap.addTypeMapping(DGV->getType(), SGV.getType()); in computeTypeMapping() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | MetadataLoader.cpp | 519 if (auto *DGV = dyn_cast<DIGlobalVariable>(MD)) { in upgradeCUVariables() local 521 Context, DGV, DIExpression::get(Context, {})); in upgradeCUVariables() 2081 DIGlobalVariable *DGV = GET_OR_DISTINCT( in parseOneMetadata() local 2091 Context, DGV, Expr ? Expr : DIExpression::get(Context, {})); in parseOneMetadata() 2095 auto *MDNode = Expr ? cast<Metadata>(DGVE) : cast<Metadata>(DGV); in parseOneMetadata()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Core.cpp | 1466 if (const DIGlobalVariable *DGV = GVEs[0]->getVariable()) in LLVMGetDebugLocDirectory() local 1467 S = DGV->getDirectory(); in LLVMGetDebugLocDirectory() 1490 if (const DIGlobalVariable *DGV = GVEs[0]->getVariable()) in LLVMGetDebugLocFilename() local 1491 S = DGV->getFilename(); in LLVMGetDebugLocFilename() 1513 if (const DIGlobalVariable *DGV = GVEs[0]->getVariable()) in LLVMGetDebugLocLine() local 1514 L = DGV->getLine(); in LLVMGetDebugLocLine()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 1214 DIGlobalVariable *DGV = GVe->getVariable(); in TryToShrinkGlobalToBoolean() local 1236 DIGlobalVariableExpression::get(NewGV->getContext(), DGV, E); in TryToShrinkGlobalToBoolean()
|