Lines Matching refs:DDI
232 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(I)) { in isInstructionTriviallyDead() local
233 if (DDI->getAddress()) in isInstructionTriviallyDead()
781 bool llvm::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI, in ConvertDebugDeclareToDebugValue() argument
783 DIVariable DIVar(DDI->getVariable()); in ConvertDebugDeclareToDebugValue()
806 DbgVal->setDebugLoc(DDI->getDebugLoc()); in ConvertDebugDeclareToDebugValue()
812 bool llvm::ConvertDebugDeclareToDebugValue(DbgDeclareInst *DDI, in ConvertDebugDeclareToDebugValue() argument
814 DIVariable DIVar(DDI->getVariable()); in ConvertDebugDeclareToDebugValue()
828 DbgVal->setDebugLoc(DDI->getDebugLoc()); in ConvertDebugDeclareToDebugValue()
839 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(BI)) in LowerDbgDeclare() local
840 Dbgs.push_back(DDI); in LowerDbgDeclare()
847 DbgDeclareInst *DDI = *I; in LowerDbgDeclare() local
848 if (AllocaInst *AI = dyn_cast_or_null<AllocaInst>(DDI->getAddress())) { in LowerDbgDeclare()
853 ConvertDebugDeclareToDebugValue(DDI, SI, DIB); in LowerDbgDeclare()
855 ConvertDebugDeclareToDebugValue(DDI, LI, DIB); in LowerDbgDeclare()
859 DDI->eraseFromParent(); in LowerDbgDeclare()
871 if (DbgDeclareInst *DDI = dyn_cast<DbgDeclareInst>(*UI)) in FindAllocaDbgDeclare() local
872 return DDI; in FindAllocaDbgDeclare()