Lines Matching defs:Declare
77 if (DVR->getType() == DbgVariableRecord::LocationType::Declare)
2158 auto ProcessDeclare = [&](auto *Declare, auto &DeclareList) {
2162 if (Declare->getExpression()->getNumElements() != 0)
2164 if (!Declare->getAddress())
2167 dyn_cast<AllocaInst>(Declare->getAddress()->stripPointerCasts())) {
2174 DeclareList[Alloca].insert(Declare);
2175 Vars[Alloca].insert(VarRecord(Declare));
2203 for (auto *Declare : Declares) {
2204 // Assert that the alloca that Declare uses is now linked to a dbg.assign
2211 assert(llvm::any_of(Markers, [Declare](auto *Assign) {
2213 DebugVariableAggregate(Declare);
2215 // Delete Declare because the variable location is now tracked using
2217 Declare->eraseFromParent();