Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Conversion/ShapeToStandard/
DConvertShapeConstraints.cpp42 Value rhsRank = rewriter.create<DimOp>(loc, op.rhs(), 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.cpp94 Value rhsRank = rewriter.create<DimOp>(loc, op.rhs(), 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()
237 Value rhsRank = rewriter.create<DimOp>(loc, transformed.rhs(), 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()
454 Value rhsRank = rewriter.create<DimOp>(loc, indexTy, transformed.rhs(), zero); in matchAndRewrite() local
456 rewriter.create<CmpIOp>(loc, CmpIPredicate::eq, lhsRank, rhsRank); in matchAndRewrite()
/external/llvm-project/flang/lib/Semantics/
Dpointer-assignment.cpp229 int rhsRank{evaluate::GetRank(rhsType->shape())}; in Check() local
230 if (lhsRank != rhsRank) { in Check()
233 rhsRank}; in Check()
Dtools.cpp84 const std::optional<evaluate::DynamicType> &rhsType, int rhsRank) { in IsDefinedAssignment() argument
90 if (rhsRank > 0 && lhsRank != rhsRank) { in IsDefinedAssignment()
Dexpression.cpp3020 int rhsRank{rhs.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.h64 const std::optional<evaluate::DynamicType> &rhsType, int rhsRank);