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 | 364 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal() local 365 if (!DGV) in getLinkedToGlobal() 370 if (DGV->hasLocalLinkage()) in getLinkedToGlobal() 375 if (auto *FDGV = dyn_cast<Function>(DGV)) in getLinkedToGlobal() 382 return DGV; in getLinkedToGlobal() 395 bool shouldLink(GlobalValue *DGV, GlobalValue &SGV); 690 GlobalValue *DGV = getLinkedToGlobal(&SGV); in computeTypeMapping() local 691 if (!DGV) in computeTypeMapping() 694 if (!DGV->hasAppendingLinkage() || !SGV.hasAppendingLinkage()) { in computeTypeMapping() 695 TypeMap.addTypeMapping(DGV->getType(), SGV.getType()); in computeTypeMapping() [all …]
|
| /freebsd/contrib/llvm-project/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() 2185 DIGlobalVariable *DGV = GET_OR_DISTINCT( in parseOneMetadata() local 2195 Context, DGV, Expr ? Expr : DIExpression::get(Context, {})); in parseOneMetadata() 2199 auto *MDNode = Expr ? cast<Metadata>(DGVE) : cast<Metadata>(DGV); in parseOneMetadata()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Core.cpp | 1469 if (const DIGlobalVariable *DGV = GVEs[0]->getVariable()) in LLVMGetDebugLocDirectory() local 1470 S = DGV->getDirectory(); in LLVMGetDebugLocDirectory() 1493 if (const DIGlobalVariable *DGV = GVEs[0]->getVariable()) in LLVMGetDebugLocFilename() local 1494 S = DGV->getFilename(); in LLVMGetDebugLocFilename() 1516 if (const DIGlobalVariable *DGV = GVEs[0]->getVariable()) in LLVMGetDebugLocLine() local 1517 L = DGV->getLine(); in LLVMGetDebugLocLine()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 1226 DIGlobalVariable *DGV = GVe->getVariable(); in TryToShrinkGlobalToBoolean() local 1248 DIGlobalVariableExpression::get(NewGV->getContext(), DGV, E); in TryToShrinkGlobalToBoolean()
|