Lines Matching refs:DDI
299 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(I)) { in isInstructionTriviallyDead() local
300 if (DDI->getAddress()) in isInstructionTriviallyDead()
1062 bool llvm::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI, in ConvertDebugDeclareToDebugValue() argument
1064 auto *DIVar = DDI->getVariable(); in ConvertDebugDeclareToDebugValue()
1065 auto *DIExpr = DDI->getExpression(); in ConvertDebugDeclareToDebugValue()
1094 const DataLayout &DL = DDI->getModule()->getDataLayout(); in ConvertDebugDeclareToDebugValue()
1099 DDI->getDebugLoc(), SI); in ConvertDebugDeclareToDebugValue()
1102 DDI->getDebugLoc(), SI); in ConvertDebugDeclareToDebugValue()
1108 bool llvm::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI, in ConvertDebugDeclareToDebugValue() argument
1110 auto *DIVar = DDI->getVariable(); in ConvertDebugDeclareToDebugValue()
1111 auto *DIExpr = DDI->getExpression(); in ConvertDebugDeclareToDebugValue()
1122 LI, 0, DIVar, DIExpr, DDI->getDebugLoc(), (Instruction *)nullptr); in ConvertDebugDeclareToDebugValue()
1140 if (auto DDI = dyn_cast<DbgDeclareInst>(&BI)) in LowerDbgDeclare() local
1141 Dbgs.push_back(DDI); in LowerDbgDeclare()
1147 DbgDeclareInst *DDI = I; in LowerDbgDeclare() local
1148 AllocaInst *AI = dyn_cast_or_null<AllocaInst>(DDI->getAddress()); in LowerDbgDeclare()
1160 ConvertDebugDeclareToDebugValue(DDI, SI, DIB); in LowerDbgDeclare()
1162 ConvertDebugDeclareToDebugValue(DDI, LI, DIB); in LowerDbgDeclare()
1168 auto *DIExpr = DDI->getExpression(); in LowerDbgDeclare()
1171 DIB.insertDbgValueIntrinsic(AI, 0, DDI->getVariable(), in LowerDbgDeclare()
1173 DDI->getDebugLoc(), CI); in LowerDbgDeclare()
1176 DDI->eraseFromParent(); in LowerDbgDeclare()
1188 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(U)) in FindAllocaDbgDeclare() local
1189 return DDI; in FindAllocaDbgDeclare()
1229 DbgDeclareInst *DDI = FindAllocaDbgDeclare(Address); in replaceDbgDeclare() local
1230 if (!DDI) in replaceDbgDeclare()
1232 DebugLoc Loc = DDI->getDebugLoc(); in replaceDbgDeclare()
1233 auto *DIVar = DDI->getVariable(); in replaceDbgDeclare()
1234 auto *DIExpr = DDI->getExpression(); in replaceDbgDeclare()
1242 DDI->eraseFromParent(); in replaceDbgDeclare()