Home
last modified time | relevance | path

Searched refs:coercionCost (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/sksl/ir/
DSkSLType.cpp13 int Type::coercionCost(const Type& other) const { in coercionCost() function in SkSL::Type
18 int result = this->componentType().coercionCost(other); in coercionCost()
29 return this->componentType().coercionCost(other.componentType()); in coercionCost()
35 return this->componentType().coercionCost(other.componentType()); in coercionCost()
DSkSLFloatLiteral.h40 int coercionCost(const Type& target) const override { in coercionCost() function
44 return INHERITED::coercionCost(target); in coercionCost()
DSkSLIntLiteral.h47 int coercionCost(const Type& target) const override { in coercionCost() function
51 return INHERITED::coercionCost(target); in coercionCost()
DSkSLExpression.h106 virtual int coercionCost(const Type& target) const { in coercionCost() function
107 return fType.coercionCost(target); in coercionCost()
DSkSLType.h288 return coercionCost(other) != INT_MAX; in canCoerceTo()
296 int coercionCost(const Type& other) const;
/external/skqp/src/sksl/ir/
DSkSLIntLiteral.h47 int coercionCost(const Type& target) const override { in coercionCost() function
51 return INHERITED::coercionCost(target); in coercionCost()
DSkSLType.cpp13 int Type::coercionCost(const Type& other) const { in coercionCost() function in SkSL::Type
19 return this->componentType().coercionCost(other.componentType()); in coercionCost()
25 return this->componentType().coercionCost(other.componentType()); in coercionCost()
DSkSLExpression.h105 virtual int coercionCost(const Type& target) const { in coercionCost() function
106 return fType.coercionCost(target); in coercionCost()
DSkSLType.h266 return coercionCost(other) != INT_MAX; in canCoerceTo()
274 int coercionCost(const Type& other) const;
/external/skqp/src/sksl/
DSkSLIRGenerator.h120 int coercionCost(const Expression& expr, const Type& type);
DSkSLIRGenerator.cpp1096 if (expr->coercionCost(type) == INT_MAX) { in coerce()
1618 int cost = arguments[i]->coercionCost(*types[i]); in callCost()
/external/skia/src/sksl/
DSkSLIRGenerator.h120 int coercionCost(const Expression& expr, const Type& type);
DSkSLIRGenerator.cpp1133 if (expr->coercionCost(type) == INT_MAX) { in coerce()
1667 int cost = arguments[i]->coercionCost(*types[i]); in callCost()