Lines Matching defs:entity
180 /// Generate an entity yielded by an ordered assignment tree region, and
182 /// should be done after using the entity. Like, generateYieldedScalarValue,
210 /// Generate a masked entity. This can only be called when whereLoopNest was
279 /// Map of temporary storage to keep track of saved entity once the run
398 /// Convert an entity to the type of a given mold.
399 /// This is intended to help with cases where hlfir entity is a value while
436 // An entity may have have been saved without descriptor while the original
692 // Get the value for the yielded entity, it may be the result of an operation
760 // This is a vector subscripted entity. The address of elements must
919 mlir::Value entity = mlir::cast<hlfir::YieldOp>(terminator).getEntity();
921 entity.getDefiningOp());
967 // If the operation that produced the yielded entity is elemental, it was not
972 mlir::Value entity = mlir::cast<hlfir::YieldOp>(terminator).getEntity();
973 if (auto elemental = entity.getDefiningOp<hlfir::ElementalOp>())
975 // Otherwise, the whole entity was cloned, and the shape can be generated
977 hlfir::Entity clonedEntity{mapper.lookupOrDefault(entity)};
1001 // entity was produced by an hlfir.elemental.
1002 mlir::Value entity = mlir::cast<hlfir::YieldOp>(terminator).getEntity();
1003 elemental = entity.getDefiningOp<hlfir::ElementalOp>();
1005 // The yielded entity was not produced by an elemental operation,
1007 hlfir::Entity clonedEntity{mapper.lookupOrDefault(entity)};
1146 hlfir::Entity entity{clonedValue};
1147 entity = hlfir::loadTrivialScalar(loc, builder, entity);
1148 mlir::Type entityType = entity.getType();
1157 region, fir::factory::SimpleCopy(loc, builder, entity, tempName));
1160 // Create temporary storage outside of the loop nest given the entity
1192 temp->pushValue(loc, builder, entity);
1195 // Delay the clean-up if the entity will be used in the same run (i.e., the
1202 !mlir::isa<hlfir::ExprType>(entity.getType()))) {
1204 savedInCurrentRunBeforeUse.try_emplace(®ion, entity, oldYield);
1205 assert(inserted.second && "entity must have been emplaced");
1242 // Vector subscripted entity for which the shape must also be saved on top