• Home
  • Raw
  • Download

Lines Matching refs:TConstantUnion

41 TConstantUnion *Vectorize(const TConstantUnion &constant, size_t size)  in Vectorize()
43 TConstantUnion *constUnion = new TConstantUnion[size]; in Vectorize()
54 TConstantUnion *result) in UndefinedConstantFoldingError()
78 float VectorLength(const TConstantUnion *paramArray, size_t paramArraySize) in VectorLength()
89 float VectorDotProduct(const TConstantUnion *paramArray1, in VectorDotProduct()
90 const TConstantUnion *paramArray2, in VectorDotProduct()
99 TIntermTyped *CreateFoldedNode(const TConstantUnion *constArray, const TIntermTyped *originalNode) in CreateFoldedNode()
109 angle::Matrix<float> GetMatrix(const TConstantUnion *paramArray, in GetMatrix()
122 angle::Matrix<float> GetMatrix(const TConstantUnion *paramArray, const unsigned int size) in GetMatrix()
132 void SetUnionArrayFromMatrix(const angle::Matrix<float> &m, TConstantUnion *resultArray) in SetUnionArrayFromMatrix()
558 const TConstantUnion *TIntermSymbol::getConstantValue() const in getConstantValue()
788 const TConstantUnion *TIntermAggregate::getConstantValue() const in getConstantValue()
797 TConstantUnion *constArray = nullptr; in getConstantValue()
801 constArray = new TConstantUnion[elementSize * getOutermostArraySize()]; in getConstantValue()
806 const TConstantUnion *elementConstArray = in getConstantValue()
809 size_t elementSizeBytes = sizeof(TConstantUnion) * elementSize; in getConstantValue()
818 constArray = new TConstantUnion[resultSize]; in getConstantValue()
827 const TConstantUnion *argumentConstantValue = argumentTyped->getConstantValue(); in getConstantValue()
899 const TConstantUnion *argumentConstantValue = argumentTyped->getConstantValue(); in getConstantValue()
1082 const TConstantUnion *TIntermTyped::getConstantValue() const in getConstantValue()
1841 const TConstantUnion *TIntermConstantUnion::getConstantValue() const in getConstantValue()
1846 const TConstantUnion *TIntermConstantUnion::FoldIndexing(const TType &type, in FoldIndexing()
1847 const TConstantUnion *constArray, in FoldIndexing()
1902 TConstantUnion *constArray = new TConstantUnion[mSwizzleOffsets.size()]; in fold()
1913 const TConstantUnion *rightConstant = mRight->getConstantValue(); in fold()
1948 const TConstantUnion *constantValue = getConstantValue(); in fold()
1968 const TConstantUnion *leftConstant = mLeft->getConstantValue(); in fold()
1973 const TConstantUnion *constArray = in fold()
2004 const TConstantUnion *TIntermBinary::getConstantValue() const in getConstantValue()
2011 const TConstantUnion *leftConstantValue = mLeft->getConstantValue(); in getConstantValue()
2013 const TConstantUnion *constIndexingResult = nullptr; in getConstantValue()
2047 TConstantUnion *constArray = nullptr; in fold()
2056 constArray = new TConstantUnion[1]; in fold()
2109 const TConstantUnion *constArray = nullptr; in fold()
2124 const TConstantUnion *argValue = typedArg->getConstantValue(); in fold()
2160 const TConstantUnion *TIntermConstantUnion::FoldBinary(TOperator op, in FoldBinary()
2161 const TConstantUnion *leftArray, in FoldBinary()
2163 const TConstantUnion *rightArray, in FoldBinary()
2184 TConstantUnion *resultArray = nullptr; in FoldBinary()
2189 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
2192 TConstantUnion::add(leftArray[i], rightArray[i], diagnostics, line); in FoldBinary()
2195 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
2198 TConstantUnion::sub(leftArray[i], rightArray[i], diagnostics, line); in FoldBinary()
2204 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
2207 TConstantUnion::mul(leftArray[i], rightArray[i], diagnostics, line); in FoldBinary()
2222 resultArray = new TConstantUnion[resultCols * resultRows]; in FoldBinary()
2243 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
2391 resultArray = new TConstantUnion[matrixRows]; in FoldBinary()
2415 resultArray = new TConstantUnion[matrixCols]; in FoldBinary()
2433 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
2443 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
2454 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
2463 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
2468 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
2473 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
2478 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
2481 TConstantUnion::lshift(leftArray[i], rightArray[i], diagnostics, line); in FoldBinary()
2484 resultArray = new TConstantUnion[objectSize]; in FoldBinary()
2487 TConstantUnion::rshift(leftArray[i], rightArray[i], diagnostics, line); in FoldBinary()
2492 resultArray = new TConstantUnion[1]; in FoldBinary()
2498 resultArray = new TConstantUnion[1]; in FoldBinary()
2504 resultArray = new TConstantUnion[1]; in FoldBinary()
2510 resultArray = new TConstantUnion[1]; in FoldBinary()
2517 resultArray = new TConstantUnion[1]; in FoldBinary()
2547 TConstantUnion *TIntermConstantUnion::foldUnaryNonComponentWise(TOperator op) in foldUnaryNonComponentWise()
2552 const TConstantUnion *operandArray = getConstantValue(); in foldUnaryNonComponentWise()
2556 TConstantUnion *resultArray = nullptr; in foldUnaryNonComponentWise()
2561 resultArray = new TConstantUnion(); in foldUnaryNonComponentWise()
2575 resultArray = new TConstantUnion(); in foldUnaryNonComponentWise()
2589 resultArray = new TConstantUnion(); in foldUnaryNonComponentWise()
2596 resultArray = new TConstantUnion[objectSize]; in foldUnaryNonComponentWise()
2608 resultArray = new TConstantUnion(); in foldUnaryNonComponentWise()
2618 resultArray = new TConstantUnion[objectSize]; in foldUnaryNonComponentWise()
2627 resultArray = new TConstantUnion(); in foldUnaryNonComponentWise()
2635 resultArray = new TConstantUnion[2]; in foldUnaryNonComponentWise()
2646 resultArray = new TConstantUnion(); in foldUnaryNonComponentWise()
2654 resultArray = new TConstantUnion[2]; in foldUnaryNonComponentWise()
2665 resultArray = new TConstantUnion(); in foldUnaryNonComponentWise()
2673 resultArray = new TConstantUnion[2]; in foldUnaryNonComponentWise()
2684 resultArray = new TConstantUnion(); in foldUnaryNonComponentWise()
2693 resultArray = new TConstantUnion(); in foldUnaryNonComponentWise()
2702 resultArray = new TConstantUnion[4]; in foldUnaryNonComponentWise()
2714 resultArray = new TConstantUnion[4]; in foldUnaryNonComponentWise()
2732 TConstantUnion *TIntermConstantUnion::foldUnaryComponentWise(TOperator op, in foldUnaryComponentWise()
2740 const TConstantUnion *operandArray = getConstantValue(); in foldUnaryComponentWise()
2745 TConstantUnion *resultArray = new TConstantUnion[objectSize]; in foldUnaryComponentWise()
3187 void TIntermConstantUnion::foldFloatTypeUnary(const TConstantUnion &parameter, in foldFloatTypeUnary()
3189 TConstantUnion *result) const in foldFloatTypeUnary()
3198 TConstantUnion *TIntermConstantUnion::FoldAggregateBuiltIn(TIntermAggregate *aggregate, in FoldAggregateBuiltIn()
3205 std::vector<const TConstantUnion *> unionArrays(argsCount); in FoldAggregateBuiltIn()
3233 TConstantUnion *resultArray = nullptr; in FoldAggregateBuiltIn()
3240 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3258 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3280 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3292 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3319 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3347 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3356 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3383 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3410 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3436 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3463 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3494 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3526 TConstantUnion *distanceArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3527 resultArray = new TConstantUnion(); in FoldAggregateBuiltIn()
3540 resultArray = new TConstantUnion(); in FoldAggregateBuiltIn()
3547 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3567 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3583 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3598 resultArray = new TConstantUnion[numRows * numCols]; in FoldAggregateBuiltIn()
3608 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3663 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3728 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3754 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3769 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3792 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3816 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3833 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3885 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()
3939 resultArray = new TConstantUnion[maxObjectSize]; in FoldAggregateBuiltIn()