Home
last modified time | relevance | path

Searched refs:mutableProperties (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/
H A DBoxValue.h342 MutableProperties mutableProperties) in MutableBoxValue() argument
345 mutableProperties{mutableProperties} {
362 return {newBox, lenParams, mutableProperties}; in clone()
374 bool isDescribedByVariables() const { return !mutableProperties.isEmpty(); } in isDescribedByVariables()
377 return mutableProperties; in getMutableProperties()
390 MutableProperties mutableProperties; variable
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DMutableBox.cpp125 const auto &mutableProperties = box.getMutableProperties(); in readShape() local
126 auto lb = builder.create<fir::LoadOp>(loc, mutableProperties.lbounds[dim]); in readShape()
127 auto ext = builder.create<fir::LoadOp>(loc, mutableProperties.extents[dim]); in readShape()
285 const auto &mutableProperties = box.getMutableProperties(); in updateMutableProperties() local
286 castAndStore(addr, mutableProperties.addr); in updateMutableProperties()
288 llvm::zip(extents, mutableProperties.extents)) in updateMutableProperties()
290 if (!mutableProperties.lbounds.empty()) { in updateMutableProperties()
294 for (auto lboundVar : mutableProperties.lbounds) in updateMutableProperties()
298 llvm::zip(lbounds, mutableProperties.lbounds)) in updateMutableProperties()
307 llvm::zip(lengths, mutableProperties.deferredParams)) in updateMutableProperties()
H A DBoxValue.cpp152 const auto &properties = box.mutableProperties; in operator <<()
/llvm-project-15.0.7/flang/lib/Lower/
H A DAllocatable.cpp613 fir::MutableProperties mutableProperties; in createMutableProperties() local
620 mutableProperties.addr = in createMutableProperties()
633 mutableProperties.lbounds.emplace_back(lboundVar); in createMutableProperties()
634 mutableProperties.extents.emplace_back(extentVar); in createMutableProperties()
651 mutableProperties.deferredParams.emplace_back(lenVar); in createMutableProperties()
653 return mutableProperties; in createMutableProperties()
661 fir::MutableProperties mutableProperties = in createMutableBox() local
663 fir::MutableBoxValue box(boxAddr, nonDeferredParams, mutableProperties); in createMutableBox()