Searched refs:allocaOp (Results 1 – 3 of 3) sorted by relevance
24 if (auto allocaOp = mlir::dyn_cast<cir::AllocaOp>(*op)) in getBaseType() local25 return allocaOp.getAllocaType(); in getBaseType()
159 auto allocaOp = dyn_cast_or_null<cir::AllocaOp>(val.getDefiningOp()); in emitAutoVarInit() local160 assert(allocaOp && "Address should come straight out of the alloca"); in emitAutoVarInit()162 if (!allocaOp.use_empty()) in emitAutoVarInit()163 allocaOp.setInitAttr(mlir::UnitAttr::get(&getMLIRContext())); in emitAutoVarInit()
219 auto allocaOp = cast<cir::AllocaOp>(addrVal.getDefiningOp()); in declare() local221 allocaOp.setInitAttr(mlir::UnitAttr::get(&getMLIRContext())); in declare()223 allocaOp.setConstantAttr(mlir::UnitAttr::get(&getMLIRContext())); in declare()