Lines Matching refs:Declare
77 if (DPV->getType() == DPValue::LocationType::Declare) in findDPVDeclares()
2231 auto ProcessDeclare = [&](auto *Declare, auto &DeclareList) { in runOnFunction() argument
2235 if (Declare->getExpression()->getNumElements() != 0) in runOnFunction()
2237 if (!Declare->getAddress()) in runOnFunction()
2240 dyn_cast<AllocaInst>(Declare->getAddress()->stripPointerCasts())) { in runOnFunction()
2247 DeclareList[Alloca].insert(Declare); in runOnFunction()
2248 Vars[Alloca].insert(VarRecord(Declare)); in runOnFunction()
2276 for (auto *Declare : Declares) { in runOnFunction() local
2284 assert(llvm::any_of(Markers, [Declare](auto *Assign) { in runOnFunction()
2286 DebugVariableAggregate(Declare); in runOnFunction()
2290 Declare->eraseFromParent(); in runOnFunction()