Home
last modified time | relevance | path

Searched refs:coerceExpression (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/src/sksl/ir/
DSkSLTernaryExpression.cpp23 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert()
50 ifTrue = trueType->coerceExpression(std::move(ifTrue), context); in Convert()
54 ifFalse = falseType->coerceExpression(std::move(ifFalse), context); in Convert()
DSkSLDoStatement.cpp24 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert()
DSkSLBinaryExpression.cpp127 left = leftType->coerceExpression(std::move(left), context); in Convert()
128 right = rightType->coerceExpression(std::move(right), context); in Convert()
DSkSLSwitchStatement.cpp176 value = context.fTypes.fInt->coerceExpression(std::move(value), context); in Convert()
189 caseValue = value->type().coerceExpression(std::move(caseValues[i]), context); in Convert()
DSkSLConstructorStruct.cpp36 argument = field.fType->coerceExpression(std::move(argument), context); in Convert()
DSkSLConstructorArray.cpp54 argument = baseType.coerceExpression(std::move(argument), context); in Convert()
DSkSLIfStatement.cpp42 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert()
DSkSLIndexExpression.cpp74 index = context.fTypes.fInt->coerceExpression(std::move(index), context); in Convert()
DSkSLForStatement.cpp96 test = context.fTypes.fBool->coerceExpression(std::move(test), context); in Convert()
DSkSLFunctionDefinition.cpp178 returnStmt.setExpression(fFunction.returnType().coerceExpression( in Convert()
DSkSLPrefixExpression.cpp208 base = baseType.scalarTypeForLiteral().coerceExpression(std::move(base), context); in Convert()
DSkSLType.h509 std::unique_ptr<Expression> coerceExpression(std::unique_ptr<Expression> expr,
DSkSLVarDeclarations.cpp124 value = var.type().coerceExpression(std::move(value), context); in ErrorCheckAndCoerce()
DSkSLType.cpp746 std::unique_ptr<Expression> Type::coerceExpression(std::unique_ptr<Expression> expr, in coerceExpression() function in SkSL::Type
852 size = context.fTypes.fInt->coerceExpression(std::move(size), context); in convertArraySize()
DSkSLSwizzle.cpp358 base = baseType.scalarTypeForLiteral().coerceExpression(std::move(base), context); in Convert()
DSkSLFunctionCall.cpp879 arguments[i] = types[i]->coerceExpression(std::move(arguments[i]), context); in Convert()
975 arguments[i] = types[i]->coerceExpression(std::move(arguments[i]), context); in Convert()