Lines Matching refs:Declare
77 if (DVR->getType() == DbgVariableRecord::LocationType::Declare) in findDVRDeclares()
2158 auto ProcessDeclare = [&](auto *Declare, auto &DeclareList) { in runOnFunction() argument
2162 if (Declare->getExpression()->getNumElements() != 0) in runOnFunction()
2164 if (!Declare->getAddress()) in runOnFunction()
2167 dyn_cast<AllocaInst>(Declare->getAddress()->stripPointerCasts())) { in runOnFunction()
2174 DeclareList[Alloca].insert(Declare); in runOnFunction()
2175 Vars[Alloca].insert(VarRecord(Declare)); in runOnFunction()
2203 for (auto *Declare : Declares) { in runOnFunction() local
2211 assert(llvm::any_of(Markers, [Declare](auto *Assign) { in runOnFunction()
2213 DebugVariableAggregate(Declare); in runOnFunction()
2217 Declare->eraseFromParent(); in runOnFunction()