Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DLinkModules.cpp88 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal() local
89 if (!DGV) in getLinkedToGlobal()
94 if (DGV->hasLocalLinkage()) in getLinkedToGlobal()
98 return DGV; in getLinkedToGlobal()
329 GlobalValue *DGV = getLinkedToGlobal(&GV); in linkIfNeeded() local
336 if (!DGV) in linkIfNeeded()
339 if (!DGV->isDeclaration()) in linkIfNeeded()
344 if (DGV && !GV.hasLocalLinkage() && !GV.hasAppendingLinkage()) { in linkIfNeeded()
345 auto *DGVar = dyn_cast<GlobalVariable>(DGV); in linkIfNeeded()
362 getMinVisibility(DGV->getVisibility(), GV.getVisibility()); in linkIfNeeded()
[all …]
DIRMover.cpp459 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal() local
460 if (!DGV) in getLinkedToGlobal()
465 if (DGV->hasLocalLinkage()) in getLinkedToGlobal()
469 return DGV; in getLinkedToGlobal()
482 bool shouldLink(GlobalValue *DGV, GlobalValue &SGV);
746 GlobalValue *DGV = getLinkedToGlobal(&SGV); in computeTypeMapping() local
747 if (!DGV) in computeTypeMapping()
750 if (!DGV->hasAppendingLinkage() || !SGV.hasAppendingLinkage()) { in computeTypeMapping()
751 TypeMap.addTypeMapping(DGV->getType(), SGV.getType()); in computeTypeMapping()
756 ArrayType *DAT = cast<ArrayType>(DGV->getValueType()); in computeTypeMapping()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DMetadataLoader.cpp518 if (auto *DGV = dyn_cast<DIGlobalVariable>(MD)) { in upgradeCUVariables() local
520 Context, DGV, DIExpression::get(Context, {})); in upgradeCUVariables()
1750 DIGlobalVariable *DGV = GET_OR_DISTINCT( in parseOneMetadata() local
1760 Context, DGV, Expr ? Expr : DIExpression::get(Context, {})); in parseOneMetadata()
1764 auto *MDNode = Expr ? cast<Metadata>(DGVE) : cast<Metadata>(DGV); in parseOneMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp1229 if (const DIGlobalVariable *DGV = GVEs[0]->getVariable()) in LLVMGetDebugLocDirectory() local
1230 S = DGV->getDirectory(); in LLVMGetDebugLocDirectory()
1253 if (const DIGlobalVariable *DGV = GVEs[0]->getVariable()) in LLVMGetDebugLocFilename() local
1254 S = DGV->getFilename(); in LLVMGetDebugLocFilename()
1276 if (const DIGlobalVariable *DGV = GVEs[0]->getVariable()) in LLVMGetDebugLocLine() local
1277 L = DGV->getLine(); in LLVMGetDebugLocLine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1673 DIGlobalVariable *DGV = GVe->getVariable(); in TryToShrinkGlobalToBoolean() local
1695 DIGlobalVariableExpression::get(NewGV->getContext(), DGV, E); in TryToShrinkGlobalToBoolean()