Home
last modified time | relevance | path

Searched refs:allocaOp (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/OpenACC/
H A DCIROpenACCTypeInterfaces.cpp24 if (auto allocaOp = mlir::dyn_cast<cir::AllocaOp>(*op)) in getBaseType() local
25 return allocaOp.getAllocaType(); in getBaseType()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenDecl.cpp159 auto allocaOp = dyn_cast_or_null<cir::AllocaOp>(val.getDefiningOp()); in emitAutoVarInit() local
160 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()
H A DCIRGenFunction.cpp219 auto allocaOp = cast<cir::AllocaOp>(addrVal.getDefiningOp()); in declare() local
221 allocaOp.setInitAttr(mlir::UnitAttr::get(&getMLIRContext())); in declare()
223 allocaOp.setConstantAttr(mlir::UnitAttr::get(&getMLIRContext())); in declare()