/external/skqp/src/sksl/ir/ |
D | SkSLFloatLiteral.h | 19 struct FloatLiteral : public Expression { struct 20 FloatLiteral(const Context& context, int offset, double value) in FloatLiteral() argument 24 FloatLiteral(int offset, double value, const Type* type) in FloatLiteral() argument 41 FloatLiteral& f = (FloatLiteral&) other; in compareConstant() argument 50 return std::unique_ptr<Expression>(new FloatLiteral(fOffset, fValue, &fType)); in clone() argument
|
D | SkSLPrefixExpression.h | 39 return std::unique_ptr<Expression>(new FloatLiteral( in constantPropagate() 42 -((FloatLiteral&) *fOperand).fValue)); in constantPropagate()
|
D | SkSLVariableReference.cpp | 63 return std::unique_ptr<Expression>(new FloatLiteral( in copy_constant() 66 ((FloatLiteral*) expr)->fValue)); in copy_constant()
|
D | SkSLConstructor.h | 39 return std::unique_ptr<Expression>(new FloatLiteral(irGenerator.fContext, in constantPropagate() 107 const FloatLiteral fzero(context, -1, 0); in compareConstant()
|
D | SkSLSwizzle.h | 118 return std::unique_ptr<Expression>(new FloatLiteral(irGenerator.fContext, in constantPropagate()
|
/external/skia/src/sksl/ir/ |
D | SkSLFloatLiteral.h | 19 struct FloatLiteral : public Expression { struct 20 FloatLiteral(const Context& context, int offset, double value) in FloatLiteral() argument 24 FloatLiteral(int offset, double value, const Type* type) in FloatLiteral() function 48 FloatLiteral& f = (FloatLiteral&) other; in compareConstant() argument 57 return std::unique_ptr<Expression>(new FloatLiteral(fOffset, fValue, &fType)); in clone() argument
|
D | SkSLPrefixExpression.h | 39 return std::unique_ptr<Expression>(new FloatLiteral( in constantPropagate() 42 -((FloatLiteral&) *fOperand).fValue)); in constantPropagate()
|
D | SkSLVariableReference.cpp | 63 return std::unique_ptr<Expression>(new FloatLiteral( in copy_constant() 66 ((FloatLiteral*) expr)->fValue)); in copy_constant()
|
D | SkSLConstructor.h | 38 return std::unique_ptr<Expression>(new FloatLiteral(irGenerator.fContext, in constantPropagate() 105 const FloatLiteral fzero(context, -1, 0); in compareConstant()
|
D | SkSLSwizzle.h | 124 return std::unique_ptr<Expression>(new FloatLiteral(irGenerator.fContext, in constantPropagate()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | fake_quantize_ops.cc | 54 XlaHelpers::FloatLiteral( in XlaNudge() 57 XlaHelpers::FloatLiteral(b, data_type, quant_min_value); in XlaNudge() 60 XlaHelpers::FloatLiteral(b, data_type, quant_max_value); in XlaNudge() 74 xla::XlaOp one = XlaHelpers::FloatLiteral(b, data_type, 1.0f); in Quantize() 76 xla::XlaOp half = XlaHelpers::FloatLiteral(b, data_type, 0.5f); in Quantize() 113 XlaHelpers::FloatLiteral(b, data_type, nudged_input_min_); in Compile() 115 XlaHelpers::FloatLiteral(b, data_type, nudged_input_max_); in Compile() 117 XlaHelpers::FloatLiteral(b, data_type, input_scale_); in Compile() 163 XlaHelpers::FloatLiteral(b, data_type, nudged_input_min_); in Compile() 165 XlaHelpers::FloatLiteral(b, data_type, nudged_input_max_); in Compile()
|
D | elu_op.cc | 69 const auto scale = XlaHelpers::FloatLiteral(b, input_type(0), in Compile() 71 const auto scale_alpha = XlaHelpers::FloatLiteral(b, input_type(0), in Compile() 88 const auto scale = XlaHelpers::FloatLiteral(b, input_type(0), in Compile() 90 const auto scale_alpha = XlaHelpers::FloatLiteral(b, input_type(0), in Compile()
|
D | image_ops.cc | 53 auto norm = xla::Div(XlaHelpers::FloatLiteral(b, dtype, 1.0 / 6.0), range); in RGBToHSV() 58 XlaHelpers::FloatLiteral(b, dtype, 2.0 / 6.0)), in RGBToHSV() 60 XlaHelpers::FloatLiteral(b, dtype, 4.0 / 6.0))); in RGBToHSV() 76 auto one = XlaHelpers::FloatLiteral(b, dtype, 1.0); in HSVToRGB() 77 auto two = XlaHelpers::FloatLiteral(b, dtype, 2.0); in HSVToRGB() 78 auto three = XlaHelpers::FloatLiteral(b, dtype, 3.0); in HSVToRGB() 79 auto four = XlaHelpers::FloatLiteral(b, dtype, 4.0); in HSVToRGB() 80 auto six = XlaHelpers::FloatLiteral(b, dtype, 6.0); in HSVToRGB() 202 reduce, XlaHelpers::FloatLiteral(b, accumulation_type, height * width)); in Compile()
|
D | quantize_and_dequantize_op.cc | 86 const xla::XlaOp two = XlaHelpers::FloatLiteral(b, data_type, 2.0); in Compile() 87 const xla::XlaOp half = XlaHelpers::FloatLiteral(b, data_type, 0.5); in Compile()
|
/external/deqp/framework/randomshaders/ |
D | rsgExpression.hpp | 106 class FloatLiteral : public Expression class 109 FloatLiteral (GeneratorState& state, ConstValueRangeAccess valueRange); 110 FloatLiteral (float customValue); 111 virtual ~FloatLiteral (void) {} in ~FloatLiteral()
|
D | rsgBinaryOps.cpp | 246 FloatLiteral* epsilonLiteral = new FloatLiteral(0.001f); in createNextChild() 266 FloatLiteral* epsilonLiteral = new FloatLiteral(0.001f); in createNextChild() 299 FloatLiteral* epsilonLiteral = new FloatLiteral(0.001f); in createNextChild()
|
D | rsgExpression.cpp | 283 { getWeight<FloatLiteral>, create<FloatLiteral> }, 359 FloatLiteral::FloatLiteral (GeneratorState& state, ConstValueRangeAccess valueRange) in FloatLiteral() function in rsg::FloatLiteral 387 FloatLiteral::FloatLiteral (float customValue) in FloatLiteral() function in rsg::FloatLiteral 399 float FloatLiteral::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) in getWeight() 423 void FloatLiteral::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | xla_helpers.cc | 56 xla::XlaOp XlaHelpers::FloatLiteral(xla::XlaBuilder* b, DataType data_type, in FloatLiteral() function in tensorflow::XlaHelpers 60 return ::tensorflow::FloatLiteral(b, type, value); in FloatLiteral()
|
D | xla_helpers.h | 47 static xla::XlaOp FloatLiteral(xla::XlaBuilder* b, DataType data_type,
|
/external/tensorflow/tensorflow/compiler/tf2xla/lib/ |
D | util.h | 28 xla::XlaOp FloatLiteral(xla::XlaBuilder* builder, xla::PrimitiveType type,
|
D | util.cc | 39 xla::XlaOp FloatLiteral(xla::XlaBuilder* builder, xla::PrimitiveType type, in FloatLiteral() function
|
/external/skia/src/sksl/ |
D | SkSLIRGenerator.cpp | 663 children.push_back(std::unique_ptr<Expression>(new FloatLiteral(fContext, -1, 0.0))); in getNormalizeSkPositionCode() 1032 return std::unique_ptr<Expression>(new FloatLiteral(fContext, expr.fOffset, in convertExpression() 1437 double leftVal = ((FloatLiteral&) left).fValue; in constantFold() 1438 double rightVal = ((FloatLiteral&) right).fValue; in constantFold() 1467 args.emplace_back(new FloatLiteral(fContext, -1, value)); \ in constantFold() 1732 double value = ((FloatLiteral&) *args[0]).fValue; in convertNumberConstructor() 1733 return std::unique_ptr<Expression>(new FloatLiteral(offset, value, &type)); in convertNumberConstructor() 1737 return std::unique_ptr<Expression>(new FloatLiteral(offset, (double) value, &type)); in convertNumberConstructor() 1872 double value = -((FloatLiteral&) *base).fValue; in convertPrefixExpression() 1873 return std::unique_ptr<Expression>(new FloatLiteral(fContext, base->fOffset, in convertPrefixExpression()
|
D | SkSLGLSLCodeGenerator.h | 176 void writeFloatLiteral(const FloatLiteral& f);
|
/external/skqp/src/sksl/ |
D | SkSLIRGenerator.cpp | 657 children.push_back(std::unique_ptr<Expression>(new FloatLiteral(fContext, -1, 0.0))); in getNormalizeSkPositionCode() 997 return std::unique_ptr<Expression>(new FloatLiteral(fContext, expr.fOffset, in convertExpression() 1387 double leftVal = ((FloatLiteral&) left).fValue; in constantFold() 1388 double rightVal = ((FloatLiteral&) right).fValue; in constantFold() 1418 args.emplace_back(new FloatLiteral(fContext, -1, value)); \ in constantFold() 1683 double value = ((FloatLiteral&) *args[0]).fValue; in convertNumberConstructor() 1684 return std::unique_ptr<Expression>(new FloatLiteral(offset, value, &type)); in convertNumberConstructor() 1688 return std::unique_ptr<Expression>(new FloatLiteral(offset, (double) value, &type)); in convertNumberConstructor() 1827 double value = -((FloatLiteral&) *base).fValue; in convertPrefixExpression() 1828 return std::unique_ptr<Expression>(new FloatLiteral(fContext, base->fOffset, in convertPrefixExpression()
|
D | SkSLGLSLCodeGenerator.h | 176 void writeFloatLiteral(const FloatLiteral& f);
|