Home
last modified time | relevance | path

Searched refs:leftExpr (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/sksl/
DSkSLConstantFolder.cpp323 const Expression& leftExpr, in Simplify() argument
331 left = GetConstantValueForVariable(leftExpr); in Simplify()
334 left = &leftExpr; in Simplify()
387 return BoolLiteral::Make(context, leftExpr.fOffset, /*value=*/true); in Simplify()
393 return BoolLiteral::Make(context, leftExpr.fOffset, /*value=*/false); in Simplify()
/external/llvm-project/flang/lib/Evaluate/
Dfold-implementation.h1031 auto &leftExpr{operation.left()};
1032 leftExpr = Fold(context, std::move(leftExpr));
1035 if (leftExpr.Rank() > 0) {
1036 if (std::optional<Shape> leftShape{GetShape(context, leftExpr)}) {
1037 if (auto left{AsFlatArrayConstructor(leftExpr)}) {
1058 } else if (rightExpr.Rank() > 0 && IsExpandableScalar(leftExpr)) {
1062 context, std::move(f), *shape, leftExpr, std::move(*right));