Searched refs:shaped_ty (Results 1 – 2 of 2) sorted by relevance
98 ShapedType shaped_ty = ty.cast<ShapedType>(); in ConstantFoldFallbackHook() local99 Type element_ty = shaped_ty.getElementType(); in ConstantFoldFallbackHook()100 return shaped_ty.hasStaticShape() && shaped_ty.getNumElements() == 0 && in ConstantFoldFallbackHook()105 auto shaped_ty = ty.cast<ShapedType>(); in ConstantFoldFallbackHook() local107 DenseElementsAttr::get(shaped_ty, llvm::ArrayRef<Attribute>())); in ConstantFoldFallbackHook()
1140 auto shaped_ty = type.cast<ShapedType>(); in inferReturnTypes() local1141 if (!shaped_ty.hasRank()) { in inferReturnTypes()1145 for (auto it : llvm::enumerate(shaped_ty.getShape())) { in inferReturnTypes()