• Home
  • Raw
  • Download

Lines Matching refs:operandArray

2552     const TConstantUnion *operandArray = getConstantValue();  in foldUnaryNonComponentWise()  local
2553 ASSERT(operandArray); in foldUnaryNonComponentWise()
2565 if (operandArray[i].getBConst()) in foldUnaryNonComponentWise()
2579 if (!operandArray[i].getBConst()) in foldUnaryNonComponentWise()
2590 resultArray->setFConst(VectorLength(operandArray, objectSize)); in foldUnaryNonComponentWise()
2598 GetMatrix(operandArray, getType().getRows(), getType().getCols()).transpose(); in foldUnaryNonComponentWise()
2609 resultArray->setFConst(GetMatrix(operandArray, size).determinant()); in foldUnaryNonComponentWise()
2619 angle::Matrix<float> result = GetMatrix(operandArray, size).inverse(); in foldUnaryNonComponentWise()
2629 gl::packSnorm2x16(operandArray[0].getFConst(), operandArray[1].getFConst())); in foldUnaryNonComponentWise()
2637 gl::unpackSnorm2x16(operandArray[0].getUConst(), &f1, &f2); in foldUnaryNonComponentWise()
2648 gl::packUnorm2x16(operandArray[0].getFConst(), operandArray[1].getFConst())); in foldUnaryNonComponentWise()
2656 gl::unpackUnorm2x16(operandArray[0].getUConst(), &f1, &f2); in foldUnaryNonComponentWise()
2667 gl::packHalf2x16(operandArray[0].getFConst(), operandArray[1].getFConst())); in foldUnaryNonComponentWise()
2675 gl::unpackHalf2x16(operandArray[0].getUConst(), &f1, &f2); in foldUnaryNonComponentWise()
2686 gl::PackUnorm4x8(operandArray[0].getFConst(), operandArray[1].getFConst(), in foldUnaryNonComponentWise()
2687 operandArray[2].getFConst(), operandArray[3].getFConst())); in foldUnaryNonComponentWise()
2695 gl::PackSnorm4x8(operandArray[0].getFConst(), operandArray[1].getFConst(), in foldUnaryNonComponentWise()
2696 operandArray[2].getFConst(), operandArray[3].getFConst())); in foldUnaryNonComponentWise()
2704 gl::UnpackUnorm4x8(operandArray[0].getUConst(), f); in foldUnaryNonComponentWise()
2716 gl::UnpackSnorm4x8(operandArray[0].getUConst(), f); in foldUnaryNonComponentWise()
2740 const TConstantUnion *operandArray = getConstantValue(); in foldUnaryComponentWise() local
2741 ASSERT(operandArray); in foldUnaryComponentWise()
2754 resultArray[i].setFConst(-operandArray[i].getFConst()); in foldUnaryComponentWise()
2757 if (operandArray[i] == std::numeric_limits<int>::min()) in foldUnaryComponentWise()
2768 resultArray[i].setIConst(-operandArray[i].getIConst()); in foldUnaryComponentWise()
2772 if (operandArray[i] == 0x80000000u) in foldUnaryComponentWise()
2779 -static_cast<int>(operandArray[i].getUConst()))); in foldUnaryComponentWise()
2792 resultArray[i].setFConst(operandArray[i].getFConst()); in foldUnaryComponentWise()
2795 resultArray[i].setIConst(operandArray[i].getIConst()); in foldUnaryComponentWise()
2799 static_cast<int>(operandArray[i].getUConst()))); in foldUnaryComponentWise()
2811 resultArray[i].setBConst(!operandArray[i].getBConst()); in foldUnaryComponentWise()
2823 resultArray[i].setIConst(~operandArray[i].getIConst()); in foldUnaryComponentWise()
2826 resultArray[i].setUConst(~operandArray[i].getUConst()); in foldUnaryComponentWise()
2836 resultArray[i].setFConst(kDegreesToRadiansMultiplier * operandArray[i].getFConst()); in foldUnaryComponentWise()
2841 resultArray[i].setFConst(kRadiansToDegreesMultiplier * operandArray[i].getFConst()); in foldUnaryComponentWise()
2845 foldFloatTypeUnary(operandArray[i], &sinf, &resultArray[i]); in foldUnaryComponentWise()
2849 foldFloatTypeUnary(operandArray[i], &cosf, &resultArray[i]); in foldUnaryComponentWise()
2853 foldFloatTypeUnary(operandArray[i], &tanf, &resultArray[i]); in foldUnaryComponentWise()
2859 if (fabsf(operandArray[i].getFConst()) > 1.0f) in foldUnaryComponentWise()
2863 foldFloatTypeUnary(operandArray[i], &asinf, &resultArray[i]); in foldUnaryComponentWise()
2869 if (fabsf(operandArray[i].getFConst()) > 1.0f) in foldUnaryComponentWise()
2873 foldFloatTypeUnary(operandArray[i], &acosf, &resultArray[i]); in foldUnaryComponentWise()
2877 foldFloatTypeUnary(operandArray[i], &atanf, &resultArray[i]); in foldUnaryComponentWise()
2881 foldFloatTypeUnary(operandArray[i], &sinhf, &resultArray[i]); in foldUnaryComponentWise()
2885 foldFloatTypeUnary(operandArray[i], &coshf, &resultArray[i]); in foldUnaryComponentWise()
2889 foldFloatTypeUnary(operandArray[i], &tanhf, &resultArray[i]); in foldUnaryComponentWise()
2893 foldFloatTypeUnary(operandArray[i], &asinhf, &resultArray[i]); in foldUnaryComponentWise()
2898 if (operandArray[i].getFConst() < 1.0f) in foldUnaryComponentWise()
2902 foldFloatTypeUnary(operandArray[i], &acoshf, &resultArray[i]); in foldUnaryComponentWise()
2908 if (fabsf(operandArray[i].getFConst()) >= 1.0f) in foldUnaryComponentWise()
2912 foldFloatTypeUnary(operandArray[i], &atanhf, &resultArray[i]); in foldUnaryComponentWise()
2919 resultArray[i].setFConst(fabsf(operandArray[i].getFConst())); in foldUnaryComponentWise()
2922 resultArray[i].setIConst(abs(operandArray[i].getIConst())); in foldUnaryComponentWise()
2935 float fConst = operandArray[i].getFConst(); in foldUnaryComponentWise()
2946 int iConst = operandArray[i].getIConst(); in foldUnaryComponentWise()
2962 foldFloatTypeUnary(operandArray[i], &floorf, &resultArray[i]); in foldUnaryComponentWise()
2966 foldFloatTypeUnary(operandArray[i], &truncf, &resultArray[i]); in foldUnaryComponentWise()
2970 foldFloatTypeUnary(operandArray[i], &roundf, &resultArray[i]); in foldUnaryComponentWise()
2976 float x = operandArray[i].getFConst(); in foldUnaryComponentWise()
2988 foldFloatTypeUnary(operandArray[i], &ceilf, &resultArray[i]); in foldUnaryComponentWise()
2994 float x = operandArray[i].getFConst(); in foldUnaryComponentWise()
3001 resultArray[i].setBConst(gl::isNaN(operandArray[0].getFConst())); in foldUnaryComponentWise()
3006 resultArray[i].setBConst(gl::isInf(operandArray[0].getFConst())); in foldUnaryComponentWise()
3011 resultArray[i].setIConst(gl::bitCast<int32_t>(operandArray[0].getFConst())); in foldUnaryComponentWise()
3016 resultArray[i].setUConst(gl::bitCast<uint32_t>(operandArray[0].getFConst())); in foldUnaryComponentWise()
3021 resultArray[i].setFConst(gl::bitCast<float>(operandArray[0].getIConst())); in foldUnaryComponentWise()
3026 resultArray[i].setFConst(gl::bitCast<float>(operandArray[0].getUConst())); in foldUnaryComponentWise()
3030 foldFloatTypeUnary(operandArray[i], &expf, &resultArray[i]); in foldUnaryComponentWise()
3035 if (operandArray[i].getFConst() <= 0.0f) in foldUnaryComponentWise()
3039 foldFloatTypeUnary(operandArray[i], &logf, &resultArray[i]); in foldUnaryComponentWise()
3043 foldFloatTypeUnary(operandArray[i], &exp2f, &resultArray[i]); in foldUnaryComponentWise()
3050 if (operandArray[i].getFConst() <= 0.0f) in foldUnaryComponentWise()
3055 foldFloatTypeUnary(operandArray[i], &logf, &resultArray[i]); in foldUnaryComponentWise()
3062 if (operandArray[i].getFConst() < 0.0f) in foldUnaryComponentWise()
3066 foldFloatTypeUnary(operandArray[i], &sqrtf, &resultArray[i]); in foldUnaryComponentWise()
3075 if (operandArray[i].getFConst() <= 0.0f) in foldUnaryComponentWise()
3080 foldFloatTypeUnary(operandArray[i], &sqrtf, &resultArray[i]); in foldUnaryComponentWise()
3087 resultArray[i].setBConst(!operandArray[i].getBConst()); in foldUnaryComponentWise()
3093 float x = operandArray[i].getFConst(); in foldUnaryComponentWise()
3094 float length = VectorLength(operandArray, objectSize); in foldUnaryComponentWise()
3107 value = static_cast<uint32_t>(operandArray[i].getIConst()); in foldUnaryComponentWise()
3112 value = operandArray[i].getUConst(); in foldUnaryComponentWise()
3130 value = static_cast<uint32_t>(operandArray[i].getIConst()); in foldUnaryComponentWise()
3135 value = operandArray[i].getUConst(); in foldUnaryComponentWise()
3146 value = static_cast<uint32_t>(operandArray[i].getIConst()); in foldUnaryComponentWise()
3151 value = operandArray[i].getUConst(); in foldUnaryComponentWise()
3161 int intValue = operandArray[i].getIConst(); in foldUnaryComponentWise()
3173 value = operandArray[i].getUConst(); in foldUnaryComponentWise()