Home
last modified time | relevance | path

Searched refs:FloatLiteral (Results 1 – 23 of 23) sorted by relevance

/third_party/flutter/skia/src/sksl/ir/
DSkSLFloatLiteral.h19 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
DSkSLPrefixExpression.h40 return std::unique_ptr<Expression>(new FloatLiteral( in constantPropagate()
43 -((FloatLiteral&) *fOperand).fValue)); in constantPropagate()
DSkSLVariableReference.cpp63 return std::unique_ptr<Expression>(new FloatLiteral( in copy_constant()
66 ((FloatLiteral*) expr)->fValue)); in copy_constant()
DSkSLSwizzle.h124 return std::unique_ptr<Expression>(new FloatLiteral(irGenerator.fContext, in constantPropagate()
DSkSLProgram.h69 return std::unique_ptr<Expression>(new FloatLiteral(context, in literal()
DSkSLConstructor.h39 return std::unique_ptr<Expression>(new FloatLiteral(irGenerator.fContext, in constantPropagate()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgExpression.hpp106 class FloatLiteral : public Expression class
109 FloatLiteral (GeneratorState& state, ConstValueRangeAccess valueRange);
110 FloatLiteral (float customValue);
111 virtual ~FloatLiteral (void) {} in ~FloatLiteral()
DrsgBinaryOps.cpp246 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()
DrsgExpression.cpp283 { 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()
/third_party/flutter/skia/src/sksl/
DSkSLGLSLCodeGenerator.h176 void writeFloatLiteral(const FloatLiteral& f);
DSkSLByteCodeGenerator.h221 void writeFloatLiteral(const FloatLiteral& f);
DSkSLIRGenerator.cpp708 children.push_back(std::unique_ptr<Expression>(new FloatLiteral(fContext, -1, 0.0))); in getNormalizeSkPositionCode()
1119 return std::unique_ptr<Expression>(new FloatLiteral(fContext, expr.fOffset, in convertExpression()
1575 double leftVal = ((FloatLiteral&) left).fValue; in constantFold()
1576 double rightVal = ((FloatLiteral&) right).fValue; in constantFold()
1603 args.emplace_back(new FloatLiteral(fContext, -1, value)); \ in constantFold()
1625 args.emplace_back(new FloatLiteral(fContext, -1, value)); in constantFold()
1906 double value = ((FloatLiteral&) *args[0]).fValue; in convertNumberConstructor()
1907 return std::unique_ptr<Expression>(new FloatLiteral(offset, value, &type)); in convertNumberConstructor()
1911 return std::unique_ptr<Expression>(new FloatLiteral(offset, (double) value, &type)); in convertNumberConstructor()
2046 double value = -((FloatLiteral&) *base).fValue; in convertPrefixExpression()
[all …]
DSkSLSPIRVCodeGenerator.cpp669 return this->writeFloatLiteral(((FloatLiteral&) expr)); in writeExpression()
851 args.emplace_back(new FloatLiteral(fContext, -1, 0.0)); in writeSpecialIntrinsic()
852 args.emplace_back(new FloatLiteral(fContext, -1, 0.0)); in writeSpecialIntrinsic()
917 FloatLiteral lodBias(fContext, -1, -0.5); in writeSpecialIntrinsic()
998 finalArgs.emplace_back(new FloatLiteral(fContext, -1, 0)); in writeSpecialIntrinsic()
999 finalArgs.emplace_back(new FloatLiteral(fContext, -1, 1)); in writeSpecialIntrinsic()
1153 FloatLiteral zero(fContext, -1, 0); in writeUniformScaleMatrix()
1192 FloatLiteral zero(fContext, -1, 0.0); in writeMatrixCopy()
1870 FloatLiteral zero(fContext, -1, 0.0); in writeVariableReference()
1872 FloatLiteral one(fContext, -1, 1.0); in writeVariableReference()
[all …]
DSkSLMetalCodeGenerator.h220 void writeFloatLiteral(const FloatLiteral& f);
DSkSLJIT.h227 bool compileVectorFloatLiteral(LLVMBuilderRef builder, const FloatLiteral& f,
DSkSLSPIRVCodeGenerator.h301 SpvId writeFloatLiteral(const FloatLiteral& f);
DSkSLGLSLCodeGenerator.cpp209 this->writeFloatLiteral(((FloatLiteral&) expr)); in writeExpression()
1033 void GLSLCodeGenerator::writeFloatLiteral(const FloatLiteral& f) { in writeFunctionCall()
DSkSLJIT.cpp1040 return LLVMConstReal(this->getType(expr.fType), ((FloatLiteral&) expr).fValue); in compileExpression()
1582 const FloatLiteral& f, in compileVectorFloatLiteral()
1625 return this->compileVectorFloatLiteral(builder, (const FloatLiteral&) expr, out); in compileVectorExpression()
DSkSLByteCodeGenerator.cpp861 void ByteCodeGenerator::writeFloatLiteral(const FloatLiteral& f) { in writeFloatLiteral()
1157 this->writeFloatLiteral((FloatLiteral&) e); in writeExpression()
DSkSLMetalCodeGenerator.cpp134 this->writeFloatLiteral(((FloatLiteral&) expr)); in writeExpression()
769 void MetalCodeGenerator::writeFloatLiteral(const FloatLiteral& f) { in writeFloatLiteral()
DSkSLCompiler.cpp537 return ((FloatLiteral&) expr).fValue == value; in is_constant()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DReactor.hpp273 struct FloatLiteral struct
279 struct FloatLiteral<Float> struct
296 RValue(typename FloatLiteral<T>::type f);
2785 RValue<T>::RValue(typename FloatLiteral<T>::type f) in RValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DItaniumDemangle.h103 X(FloatLiteral) \
2143 using FloatLiteral = FloatLiteralImpl<float>; variable