Home
last modified time | relevance | path

Searched refs:lhsRank (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/mlir/lib/Conversion/ShapeToStandard/
DConvertShapeConstraints.cpp41 Value lhsRank = rewriter.create<DimOp>(loc, op.lhs(), zero); in matchAndRewrite() local
44 rewriter.create<CmpIOp>(loc, CmpIPredicate::ule, lhsRank, rhsRank); in matchAndRewrite()
47 rewriter.create<SelectOp>(loc, lhsRankULE, lhsRank, rhsRank); in matchAndRewrite()
49 rewriter.create<SelectOp>(loc, lhsRankULE, rhsRank, lhsRank); in matchAndRewrite()
DShapeToStandard.cpp93 Value lhsRank = rewriter.create<DimOp>(loc, op.lhs(), zero); in matchAndRewrite() local
96 rewriter.create<CmpIOp>(loc, CmpIPredicate::ule, lhsRank, rhsRank); in matchAndRewrite()
99 rewriter.create<SelectOp>(loc, lhsRankULE, lhsRank, rhsRank); in matchAndRewrite()
101 rewriter.create<SelectOp>(loc, lhsRankULE, rhsRank, lhsRank); in matchAndRewrite()
236 Value lhsRank = rewriter.create<DimOp>(loc, transformed.lhs(), zero); in matchAndRewrite() local
239 rewriter.create<CmpIOp>(loc, CmpIPredicate::ule, lhsRank, rhsRank); in matchAndRewrite()
242 rewriter.create<SelectOp>(loc, lhsRankULE, lhsRank, rhsRank); in matchAndRewrite()
244 rewriter.create<SelectOp>(loc, lhsRankULE, rhsRank, lhsRank); in matchAndRewrite()
453 Value lhsRank = rewriter.create<DimOp>(loc, indexTy, transformed.lhs(), zero); in matchAndRewrite() local
456 rewriter.create<CmpIOp>(loc, CmpIPredicate::eq, lhsRank, rhsRank); in matchAndRewrite()
[all …]
/external/llvm-project/flang/lib/Semantics/
Dpointer-assignment.cpp228 int lhsRank{evaluate::GetRank(lhsType_->shape())}; in Check() local
230 if (lhsRank != rhsRank) { in Check()
232 "Pointer has rank %d but target has rank %d"_err_en_US, lhsRank, in Check()
Dtools.cpp83 const std::optional<evaluate::DynamicType> &lhsType, int lhsRank, in IsDefinedAssignment() argument
90 if (rhsRank > 0 && lhsRank != rhsRank) { in IsDefinedAssignment()
Dexpression.cpp3019 int lhsRank{lhs.Rank()}; in TryDefinedAssignment() local
3022 semantics::IsDefinedAssignment(lhsType, lhsRank, rhsType, rhsRank)}; in TryDefinedAssignment()
3035 if (!lhsType || !rhsType || (lhsRank != rhsRank && rhsRank != 0) || in TryDefinedAssignment()
/external/llvm-project/flang/include/flang/Semantics/
Dtools.h63 const std::optional<evaluate::DynamicType> &lhsType, int lhsRank,