Home
last modified time | relevance | path

Searched refs:getConstantValue (Results 1 – 25 of 65) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DOutputTree.cpp281 const TConstantUnion *constantUnion = intermConstantUnion->getConstantValue(); in visitBinary()
569 switch (node->getConstantValue()[i].getType()) in visitConstantUnion()
572 if (node->getConstantValue()[i].getBConst()) in visitConstantUnion()
583 mOut << node->getConstantValue()[i].getFConst(); in visitConstantUnion()
587 mOut << node->getConstantValue()[i].getIConst(); in visitConstantUnion()
591 mOut << node->getConstantValue()[i].getUConst(); in visitConstantUnion()
596 node->getConstantValue()[i].getYuvCscStandardEXTConst()); in visitConstantUnion()
DIntermNode.cpp493 const TConstantUnion *TIntermSymbol::getConstantValue() const in getConstantValue() function in sh::TIntermSymbol
705 const TConstantUnion *TIntermAggregate::getConstantValue() const in getConstantValue() function in sh::TIntermAggregate
724 constructorArg->getAsTyped()->getConstantValue(); in getConstantValue()
744 const TConstantUnion *argumentConstantValue = argumentTyped->getConstantValue(); in getConstantValue()
816 const TConstantUnion *argumentConstantValue = argumentTyped->getConstantValue(); in getConstantValue()
988 const TConstantUnion *TIntermTyped::getConstantValue() const in getConstantValue() function in sh::TIntermTyped
1703 const TConstantUnion *TIntermConstantUnion::getConstantValue() const in getConstantValue() function in sh::TIntermConstantUnion
1768 operandConstant->getType(), operandConstant->getConstantValue(), mSwizzleOffsets.at(i)); in fold()
1775 const TConstantUnion *rightConstant = mRight->getConstantValue(); in fold()
1810 const TConstantUnion *constantValue = getConstantValue(); in fold()
[all …]
DIntermNode.h144 virtual const TConstantUnion *getConstantValue() const;
256 const TConstantUnion *getConstantValue() const override;
316 const TConstantUnion *getConstantValue() const override;
461 const TConstantUnion *getConstantValue() const override;
593 const TConstantUnion *getConstantValue() const override;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DOutputTree.cpp282 const TConstantUnion *constantUnion = intermConstantUnion->getConstantValue(); in visitBinary()
593 switch (node->getConstantValue()[i].getType()) in visitConstantUnion()
596 if (node->getConstantValue()[i].getBConst()) in visitConstantUnion()
607 mOut << node->getConstantValue()[i].getFConst(); in visitConstantUnion()
611 mOut << node->getConstantValue()[i].getIConst(); in visitConstantUnion()
615 mOut << node->getConstantValue()[i].getUConst(); in visitConstantUnion()
620 node->getConstantValue()[i].getYuvCscStandardEXTConst()); in visitConstantUnion()
DIntermNode.cpp572 const TConstantUnion *TIntermSymbol::getConstantValue() const in getConstantValue() function in sh::TIntermSymbol
832 const TConstantUnion *TIntermAggregate::getConstantValue() const in getConstantValue() function in sh::TIntermAggregate
851 constructorArg->getAsTyped()->getConstantValue(); in getConstantValue()
871 const TConstantUnion *argumentConstantValue = argumentTyped->getConstantValue(); in getConstantValue()
943 const TConstantUnion *argumentConstantValue = argumentTyped->getConstantValue(); in getConstantValue()
1130 const TConstantUnion *TIntermTyped::getConstantValue() const in getConstantValue() function in sh::TIntermTyped
2054 const TConstantUnion *TIntermConstantUnion::getConstantValue() const in getConstantValue() function in sh::TIntermConstantUnion
2119 operandConstant->getType(), operandConstant->getConstantValue(), mSwizzleOffsets.at(i)); in fold()
2126 const TConstantUnion *rightConstant = mRight->getConstantValue(); in fold()
2161 const TConstantUnion *constantValue = getConstantValue(); in fold()
[all …]
DIntermNode.h150 virtual const TConstantUnion *getConstantValue() const;
290 const TConstantUnion *getConstantValue() const override;
351 const TConstantUnion *getConstantValue() const override;
500 const TConstantUnion *getConstantValue() const override;
631 const TConstantUnion *getConstantValue() const override;
DValidateClipCullDistance.cpp107 const TConstantUnion *constIdx = node->getRight()->getConstantValue(); in visitBinary()
/third_party/skia/src/sksl/ir/
DSkSLConstructor.cpp176 skstd::optional<double> AnyConstructor::getConstantValue(int n) const { in getConstantValue() function in SkSL::AnyConstructor
181 return arg->getConstantValue(n); in getConstantValue()
200 skstd::optional<double> left = this->getConstantValue(n); in compareConstant()
204 skstd::optional<double> right = other.getConstantValue(n); in compareConstant()
DSkSLConstructorDiagonalMatrix.cpp32 skstd::optional<double> ConstructorDiagonalMatrix::getConstantValue(int n) const { in getConstantValue() function in SkSL::ConstructorDiagonalMatrix
42 return (col == row) ? this->argument()->getConstantValue(0) : 0.0; in getConstantValue()
DSkSLConstructorMatrixResize.cpp31 skstd::optional<double> ConstructorMatrixResize::getConstantValue(int n) const { in getConstantValue() function in SkSL::ConstructorMatrixResize
51 return this->argument()->getConstantValue(n); in getConstantValue()
DSkSLConstructorSplat.h51 skstd::optional<double> getConstantValue(int n) const override { in getConstantValue() function
53 return this->argument()->getConstantValue(0); in getConstantValue()
DSkSLFunctionCall.cpp107 skstd::optional<double> arg0Value = arg0->getConstantValue(arg0Index); in coalesce_n_way_vector()
113 arg1Value = arg1->getConstantValue(arg1Index); in coalesce_n_way_vector()
182 skstd::optional<double> leftValue = left->getConstantValue(index); in optimize_comparison()
183 skstd::optional<double> rightValue = right->getConstantValue(index); in optimize_comparison()
219 skstd::optional<double> arg0Value = arg0->getConstantValue(arg0Index); in evaluate_n_way_intrinsic()
225 arg1Value = arg1->getConstantValue(arg1Index); in evaluate_n_way_intrinsic()
232 arg2Value = arg2->getConstantValue(arg2Index); in evaluate_n_way_intrinsic()
429 mat[index] = *expr->getConstantValue(index); in extract_matrix()
445 return *arguments[idx]->getConstantValue(col); in optimize_intrinsic_call()
610 SKSL_INT x = *arguments[0]->getConstantValue(0); in optimize_intrinsic_call()
DSkSLConstructorMatrixResize.h44 skstd::optional<double> getConstantValue(int n) const override;
DSkSLConstructorDiagonalMatrix.h44 skstd::optional<double> getConstantValue(int n) const override;
DSkSLConstructorCompoundCast.cpp55 skstd::optional<double> slotVal = constCtor->getConstantValue(index); in cast_constant_composite()
DSkSLExpression.h202 virtual skstd::optional<double> getConstantValue(int n) const { in getConstantValue() function
DSkSLConstructor.h71 skstd::optional<double> getConstantValue(int n) const override;
DSkSLLiteral.h135 skstd::optional<double> getConstantValue(int n) const override { in getConstantValue() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp594 GenericValue ExecutionEngine::getConstantValue(const Constant *C) { in getConstantValue() function in ExecutionEngine
621 Result.AggregateVal[i] = getConstantValue(ElemUndef); in getConstantValue()
648 GenericValue Result = getConstantValue(Op0); in getConstantValue()
657 GenericValue GV = getConstantValue(Op0); in getConstantValue()
663 GenericValue GV = getConstantValue(Op0); in getConstantValue()
669 GenericValue GV = getConstantValue(Op0); in getConstantValue()
676 GenericValue GV = getConstantValue(Op0); in getConstantValue()
682 GenericValue GV = getConstantValue(Op0); in getConstantValue()
687 GenericValue GV = getConstantValue(Op0); in getConstantValue()
702 GenericValue GV = getConstantValue(Op0); in getConstantValue()
[all …]
/third_party/skia/src/sksl/
DSkSLConstantFolder.cpp121 double value = foldFn(*left.getConstantValue(i), *right.getConstantValue(i)); in simplify_vector()
160 skstd::optional<double> slotVal = expr.getConstantValue(index); in contains_constant_zero()
171 skstd::optional<double> slotVal = expr.getConstantValue(index); in is_constant_value()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DExpandIntegerPowExpressions.cpp82 float exponentValue = constantExponent->getConstantValue()->getFConst(); in visitAggregate()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DExpandIntegerPowExpressions.cpp89 float exponentValue = constantExponent->getConstantValue()->getFConst(); in visitAggregate()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DRewriteSampleMaskVariable.cpp82 const TConstantUnion *constIdx = node->getRight()->getConstantValue(); in visitBinary()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DConstantFoldingTest.h57 if (!isEqual(node->getConstantValue()[i], mConstantVector[i])) in visitConstantUnion()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DConstantFoldingTest.h57 if (!isEqual(node->getConstantValue()[i], mConstantVector[i])) in visitConstantUnion()

123