Home
last modified time | relevance | path

Searched refs:lhsType (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransforms.cpp543 VectorType lhsType = op.getOperandVectorTypeLHS(); in matchAndRewrite() local
1405 int64_t lhsRows = lhsType.getDimSize(0); in matchAndRewrite()
1406 int64_t lhsColumns = lhsType.getDimSize(1); in matchAndRewrite()
1410 VectorType::get(lhsType.getNumElements(), lhsType.getElementType()); in matchAndRewrite()
1587 VectorType lhsType; member
1825 VectorType lhsType = op.getLhsType(); in matchAndRewrite() local
1867 VectorType lhsType = op.getLhsType(); in lowerParallel() local
1881 dimSize = lhsType.getDimSize(lhsIndex); in lowerParallel()
1933 VectorType lhsType = op.getLhsType(); in lowerReduction() local
1955 int64_t dimSize = lhsType.getDimSize(lhsIndex); in lowerReduction()
[all …]
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dtools.cpp115 const std::optional<evaluate::DynamicType> &lhsType, in MightBeSameDerivedType() argument
117 return lhsType && rhsType && lhsType->IsTkCompatibleWith(*rhsType); in MightBeSameDerivedType()
121 const std::optional<evaluate::DynamicType> &lhsType, int lhsRank, in IsDefinedAssignment() argument
123 if (!lhsType || !rhsType) { in IsDefinedAssignment()
126 if (lhsType->IsUnlimitedPolymorphic()) { in IsDefinedAssignment()
132 TypeCategory lhsCat{lhsType->category()}; in IsDefinedAssignment()
139 } else if (MightBeSameDerivedType(lhsType, rhsType)) { in IsDefinedAssignment()
H A Dpointer-assignment.cpp88 std::optional<TypeAndShape> &&lhsType) { in set_lhsType() argument
89 lhsType_ = std::move(lhsType); in set_lhsType()
H A Dexpression.cpp179 const DynamicType &lhsType, const DynamicType &rhsType);
3570 std::optional<DynamicType> lhsType{lhs.GetType()}; in TryDefinedAssignment() local
3575 semantics::IsDefinedAssignment(lhsType, lhsRank, rhsType, rhsRank)}; in TryDefinedAssignment()
3577 if (lhsType && rhsType) { in TryDefinedAssignment()
3578 AddAssignmentConversion(*lhsType, *rhsType); in TryDefinedAssignment()
3593 if (!lhsType || !rhsType || (lhsRank != rhsRank && rhsRank != 0) || in TryDefinedAssignment()
3749 const DynamicType &lhsType, const DynamicType &rhsType) { in AddAssignmentConversion() argument
3750 if (lhsType.category() == rhsType.category() && in AddAssignmentConversion()
3751 (lhsType.category() == TypeCategory::Derived || in AddAssignmentConversion()
3752 lhsType.kind() == rhsType.kind())) { in AddAssignmentConversion()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp591 auto lhsType = types[0].cast<VectorType>(); in parse() local
623 static bool verifyDimMap(VectorType lhsType, VectorType rhsType, in verifyDimMap() argument
626 if (dimPair.first < 0 || dimPair.first >= lhsType.getRank() || in verifyDimMap()
651 for (int64_t i = 0, e = lhsType.getRank(); i < e; ++i) { in verifyOutputShape()
654 expectedResultDims.push_back(lhsType.getDimSize(i)); in verifyOutputShape()
725 auto lhsType = getLhsType(); in verify() local
767 if (!verifyDimMap(lhsType, rhsType, contractingDimMap)) in verify()
771 if (!verifyDimMap(lhsType, rhsType, batchDimMap)) in verify()
1858 auto lhsType = lhs.getType().cast<VectorType>(); in fold() local
1861 if (lhsType.getRank() != 1) in fold()
[all …]
/llvm-project-15.0.7/flang/lib/Lower/
H A DBridge.cpp2204 std::optional<Fortran::evaluate::DynamicType> lhsType = in genAssignment() local
2206 assert(lhsType && "lhs cannot be typeless"); in genAssignment()
2209 if (lhsType->IsPolymorphic() && in genAssignment()
2227 isNumericScalarCategory(lhsType->category()); in genAssignment()
2273 } else if (isCharacterCategory(lhsType->category())) { in genAssignment()
2277 } else if (isDerivedCategory(lhsType->category())) { in genAssignment()
2307 std::optional<Fortran::evaluate::DynamicType> lhsType = in genAssignment() local
2312 if ((lhsType && lhsType->IsPolymorphic()) || in genAssignment()
2335 std::optional<Fortran::evaluate::DynamicType> lhsType = in genAssignment() local
2340 if ((lhsType && lhsType->IsPolymorphic()) || in genAssignment()
H A DConvertExpr.cpp3411 mlir::Type lhsType = func.getFunctionType().getInput(0); in genScalarUserDefinedAssignmentCall() local
3413 mlir::Value lhsArg = prepareUserDefinedArg(builder, loc, lhs, lhsType); in genScalarUserDefinedAssignmentCall()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DFIRBuilder.cpp1010 auto lhsType = lbaseType.dyn_cast<fir::RecordType>(); in genComponentByComponentAssignment() local
1011 assert(lhsType && "lhs must be a scalar record type"); in genComponentByComponentAssignment()
1015 auto fieldIndexType = fir::FieldType::get(lhsType.getContext()); in genComponentByComponentAssignment()
1017 llvm::zip(lhsType.getTypeList(), rhsType.getTypeList())) { in genComponentByComponentAssignment()
1027 loc, fieldIndexType, lFieldName, lhsType, fir::getTypeParams(lhs)); in genComponentByComponentAssignment()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DVectorization.cpp1402 VectorType lhsType = VectorType::get( in conv() local
1416 loc, lhsType, lhsShaped, ValueRange{zero, zero, zero}); in conv()
1526 VectorType lhsType = VectorType::get( in depthwiseConv() local
1539 loc, lhsType, lhsShaped, ValueRange{zero, zero, zero}); in depthwiseConv()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaObjCProperty.cpp1387 QualType lhsType =Context.getCanonicalType(PropertyIvarType).getUnqualifiedType(); in ActOnPropertyImplDecl() local
1389 if (lhsType != rhsType && in ActOnPropertyImplDecl()
1390 lhsType->isArithmeticType()) { in ActOnPropertyImplDecl()
1734 QualType lhsType = Context.getCanonicalType(PropertyRValueType); in DiagnosePropertyAccessorMismatch() local
1736 if (lhsType != rhsType && lhsType->isArithmeticType()) in DiagnosePropertyAccessorMismatch()
H A DSemaChecking.cpp11847 Sema::CheckReturnValExpr(Expr *RetValExp, QualType lhsType, in CheckReturnValExpr() argument
11854 (!isObjCMethod && isNonNullType(Context, lhsType))) && in CheckReturnValExpr()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Vector/
H A DTestVectorTransforms.cpp319 Type lhsType = contractOp.getLhsType().getElementType(); in runOnOperation() local
320 nativeShape[nativeShape.size() - 1] = lhsType.isF16() ? 4 : 2; in runOnOperation()
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dtools.h70 const std::optional<evaluate::DynamicType> &lhsType, int lhsRank,
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h13232 void CheckReturnValExpr(Expr *RetValExp, QualType lhsType,