Home
last modified time | relevance | path

Searched refs:DIG (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp335 for (auto *DIG : DIC->getGlobalVariables()) { in stripDeadDebugInfoImpl() local
336 if (DIG->getExpression() && DIG->getExpression()->isConstant()) in stripDeadDebugInfoImpl()
337 LiveGVs.insert(DIG); in stripDeadDebugInfoImpl()
340 if (!VisitedSet.insert(DIG).second) in stripDeadDebugInfoImpl()
344 if (LiveGVs.count(DIG)) in stripDeadDebugInfoImpl()
345 LiveGlobalVariables.push_back(DIG); in stripDeadDebugInfoImpl()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDebugInfo.h113 bool addGlobalVariable(DIGlobalVariableExpression *DIG);
/llvm-project-15.0.7/llvm/lib/IR/
H A DDebugInfo.cpp164 for (auto DIG : CU->getGlobalVariables()) { in processCompileUnit() local
165 if (!addGlobalVariable(DIG)) in processCompileUnit()
167 auto *GV = DIG->getVariable(); in processCompileUnit()
317 bool DebugInfoFinder::addGlobalVariable(DIGlobalVariableExpression *DIG) { in addGlobalVariable() argument
318 if (!NodesSeen.insert(DIG).second) in addGlobalVariable()
321 GVs.push_back(DIG); in addGlobalVariable()