Home | History | Annotate | Download | only in Utils

Lines Matching defs:DDI

298   if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(I)) {
299 if (DDI->getAddress())
1038 bool llvm::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI,
1040 auto *DIVar = DDI->getVariable();
1041 auto *DIExpr = DDI->getExpression();
1056 DDI->getDebugLoc(), SI);
1059 DDI->getDebugLoc(), SI);
1065 bool llvm::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI,
1067 auto *DIVar = DDI->getVariable();
1068 auto *DIExpr = DDI->getExpression();
1079 LI, 0, DIVar, DIExpr, DDI->getDebugLoc(), (Instruction *)nullptr);
1097 if (auto DDI = dyn_cast<DbgDeclareInst>(&BI))
1098 Dbgs.push_back(DDI);
1104 DbgDeclareInst *DDI = I;
1105 AllocaInst *AI = dyn_cast_or_null<AllocaInst>(DDI->getAddress());
1115 ConvertDebugDeclareToDebugValue(DDI, SI, DIB);
1117 ConvertDebugDeclareToDebugValue(DDI, LI, DIB);
1123 auto *DIExpr = DDI->getExpression();
1126 DIB.insertDbgValueIntrinsic(AI, 0, DDI->getVariable(),
1128 DDI->getDebugLoc(), CI);
1130 DDI->eraseFromParent();
1142 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(U))
1143 return DDI;
1151 DbgDeclareInst *DDI = FindAllocaDbgDeclare(Address);
1152 if (!DDI)
1154 DebugLoc Loc = DDI->getDebugLoc();
1155 auto *DIVar = DDI->getVariable();
1156 auto *DIExpr = DDI->getExpression();
1182 DDI->eraseFromParent();