• Home
  • Raw
  • Download

Lines Matching refs:unionArray

725 	ConstantUnion* unionArray;  in addSwizzle()  local
728 unionArray = new ConstantUnion[1]; in addSwizzle()
729 unionArray->setIConst(fields.offsets[i]); in addSwizzle()
730 constIntNode = addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), line); in addSwizzle()
1265 float ComputeDeterminant(int size, ConstantUnion* unionArray) in ComputeDeterminant() argument
1270 return determinant2(unionArray[0].getFConst(), in ComputeDeterminant()
1271 unionArray[1].getFConst(), in ComputeDeterminant()
1272 unionArray[2].getFConst(), in ComputeDeterminant()
1273 unionArray[3].getFConst()); in ComputeDeterminant()
1275 return determinant3(unionArray[0].getFConst(), in ComputeDeterminant()
1276 unionArray[1].getFConst(), in ComputeDeterminant()
1277 unionArray[2].getFConst(), in ComputeDeterminant()
1278 unionArray[3].getFConst(), in ComputeDeterminant()
1279 unionArray[4].getFConst(), in ComputeDeterminant()
1280 unionArray[5].getFConst(), in ComputeDeterminant()
1281 unionArray[6].getFConst(), in ComputeDeterminant()
1282 unionArray[7].getFConst(), in ComputeDeterminant()
1283 unionArray[8].getFConst()); in ComputeDeterminant()
1285 return determinant4(unionArray[0].getFConst(), in ComputeDeterminant()
1286 unionArray[1].getFConst(), in ComputeDeterminant()
1287 unionArray[2].getFConst(), in ComputeDeterminant()
1288 unionArray[3].getFConst(), in ComputeDeterminant()
1289 unionArray[4].getFConst(), in ComputeDeterminant()
1290 unionArray[5].getFConst(), in ComputeDeterminant()
1291 unionArray[6].getFConst(), in ComputeDeterminant()
1292 unionArray[7].getFConst(), in ComputeDeterminant()
1293 unionArray[8].getFConst(), in ComputeDeterminant()
1294 unionArray[9].getFConst(), in ComputeDeterminant()
1295 unionArray[10].getFConst(), in ComputeDeterminant()
1296 unionArray[11].getFConst(), in ComputeDeterminant()
1297 unionArray[12].getFConst(), in ComputeDeterminant()
1298 unionArray[13].getFConst(), in ComputeDeterminant()
1299 unionArray[14].getFConst(), in ComputeDeterminant()
1300 unionArray[15].getFConst()); in ComputeDeterminant()
1307 ConstantUnion* CreateInverse(TIntermConstantUnion* node, ConstantUnion* unionArray) in CreateInverse() argument
1311 float determinant = ComputeDeterminant(size, unionArray); in CreateInverse()
1320 float m00 = unionArray[0].getFConst(); // Matrix is: in CreateInverse()
1321 float m01 = unionArray[1].getFConst(); // (m00, m01) in CreateInverse()
1322 float m10 = unionArray[2].getFConst(); // (m10, m11) in CreateInverse()
1323 float m11 = unionArray[3].getFConst(); in CreateInverse()
1332 float m00 = unionArray[0].getFConst(); // Matrix is: in CreateInverse()
1333 float m01 = unionArray[1].getFConst(); // (m00, m01, m02) in CreateInverse()
1334 float m02 = unionArray[2].getFConst(); // (m10, m11, m12) in CreateInverse()
1335 float m10 = unionArray[3].getFConst(); // (m20, m21, m22) in CreateInverse()
1336 float m11 = unionArray[4].getFConst(); in CreateInverse()
1337 float m12 = unionArray[5].getFConst(); in CreateInverse()
1338 float m20 = unionArray[6].getFConst(); in CreateInverse()
1339 float m21 = unionArray[7].getFConst(); in CreateInverse()
1340 float m22 = unionArray[8].getFConst(); in CreateInverse()
1354 float m00 = unionArray[0].getFConst(); // Matrix is: in CreateInverse()
1355 float m01 = unionArray[1].getFConst(); // (m00, m01, m02, m03) in CreateInverse()
1356 float m02 = unionArray[2].getFConst(); // (m10, m11, m12, m13) in CreateInverse()
1357 float m03 = unionArray[3].getFConst(); // (m20, m21, m22, m23) in CreateInverse()
1358 float m10 = unionArray[4].getFConst(); // (m30, m31, m32, m33) in CreateInverse()
1359 float m11 = unionArray[5].getFConst(); in CreateInverse()
1360 float m12 = unionArray[6].getFConst(); in CreateInverse()
1361 float m13 = unionArray[7].getFConst(); in CreateInverse()
1362 float m20 = unionArray[8].getFConst(); in CreateInverse()
1363 float m21 = unionArray[9].getFConst(); in CreateInverse()
1364 float m22 = unionArray[10].getFConst(); in CreateInverse()
1365 float m23 = unionArray[11].getFConst(); in CreateInverse()
1366 float m30 = unionArray[12].getFConst(); in CreateInverse()
1367 float m31 = unionArray[13].getFConst(); in CreateInverse()
1368 float m32 = unionArray[14].getFConst(); in CreateInverse()
1369 float m33 = unionArray[15].getFConst(); in CreateInverse()
1404 ConstantUnion *unionArray = getUnionArrayPointer(); in fold() local
1420 unionArray = new ConstantUnion[constantNode->getType().getObjectSize()]; in fold()
1422 unionArray[i] = *getUnionArrayPointer(); in fold()
1435 tempConstArray[i] = unionArray[i] + rightUnionArray[i]; in fold()
1442 tempConstArray[i] = unionArray[i] - rightUnionArray[i]; in fold()
1452 tempConstArray[i] = unionArray[i] * rightUnionArray[i]; in fold()
1477 …ow].setFConst(tempConstArray[tempNumRows * column + row].getFConst() + unionArray[i * leftNumRows … in fold()
1494 …tempConstArray[leftSize * column + row].setFConst(unionArray[row].getFConst() * rightUnionArray[co… in fold()
1558 tempConstArray[i].setFConst(unionArray[i].getFConst() / rightUnionArray[i].getFConst()); in fold()
1568 tempConstArray[i].setIConst(unionArray[i].getIConst() / rightUnionArray[i].getIConst()); in fold()
1571 tempConstArray[i].setIConst(unionArray[i].getIConst() % rightUnionArray[i].getIConst()); in fold()
1581 tempConstArray[i].setUConst(unionArray[i].getUConst() / rightUnionArray[i].getUConst()); in fold()
1584 tempConstArray[i].setUConst(unionArray[i].getUConst() % rightUnionArray[i].getUConst()); in fold()
1607 …tempConstArray[i].setFConst(tempConstArray[i].getFConst() + ((unionArray[j*rows + i].getFConst()) … in fold()
1628 …tempConstArray[i].setFConst(tempConstArray[i].getFConst() + ((unionArray[j].getFConst()) * rightUn… in fold()
1641 tempConstArray[i] = unionArray[i] && rightUnionArray[i]; in fold()
1649 tempConstArray[i] = unionArray[i] || rightUnionArray[i]; in fold()
1658 …case EbtBool: tempConstArray[i].setBConst((unionArray[i] == rightUnionArray[i]) ? false : true); b… in fold()
1667 tempConstArray[i] = unionArray[i] & rightUnionArray[i]; in fold()
1672 tempConstArray[i] = unionArray[i] ^ rightUnionArray[i]; in fold()
1677 tempConstArray[i] = unionArray[i] | rightUnionArray[i]; in fold()
1682 tempConstArray[i] = unionArray[i] << rightUnionArray[i]; in fold()
1687 tempConstArray[i] = unionArray[i] >> rightUnionArray[i]; in fold()
1693 tempConstArray[i].setBConst(unionArray[i] < rightUnionArray[i]); in fold()
1699 tempConstArray[i].setBConst(unionArray[i] > rightUnionArray[i]); in fold()
1705 tempConstArray[i].setBConst(unionArray[i] <= rightUnionArray[i]); in fold()
1711 tempConstArray[i].setBConst(unionArray[i] >= rightUnionArray[i]); in fold()
1718 …ConstArray->setBConst(CompareStructure(node->getType(), node->getUnionArrayPointer(), unionArray)); in fold()
1722 if (unionArray[i] != rightUnionArray[i]) { in fold()
1739 …onstArray->setBConst(!CompareStructure(node->getType(), node->getUnionArrayPointer(), unionArray)); in fold()
1743 if (unionArray[i] != rightUnionArray[i]) { in fold()
1759 tempConstArray[i] = unionArray[i] > rightUnionArray[i] ? unionArray[i] : rightUnionArray[i]; in fold()
1766 tempConstArray[i] = unionArray[i] < rightUnionArray[i] ? unionArray[i] : rightUnionArray[i]; in fold()
1788 case EbtFloat: tempConstArray[i].setFConst(-unionArray[i].getFConst()); break; in fold()
1789 case EbtInt: tempConstArray[i].setIConst(-unionArray[i].getIConst()); break; in fold()
1797 case EbtBool: tempConstArray[i].setBConst(!unionArray[i].getBConst()); break; in fold()
1805 case EbtInt: tempConstArray[i].setIConst(~unionArray[i].getIConst()); break; in fold()
1806 case EbtUInt: tempConstArray[i].setUConst(~unionArray[i].getUConst()); break; in fold()
1814 case EbtFloat: tempConstArray[i].setFConst(unionArray[i].getFConst() * 1.74532925e-2f); break; in fold()
1822 case EbtFloat: tempConstArray[i].setFConst(unionArray[i].getFConst() * 5.72957795e+1f); break; in fold()
1830 case EbtFloat: tempConstArray[i].setFConst(sinf(unionArray[i].getFConst())); break; in fold()
1838 case EbtFloat: tempConstArray[i].setFConst(cosf(unionArray[i].getFConst())); break; in fold()
1846 case EbtFloat: tempConstArray[i].setFConst(tanf(unionArray[i].getFConst())); break; in fold()
1854 case EbtFloat: tempConstArray[i].setFConst(asinf(unionArray[i].getFConst())); break; in fold()
1862 case EbtFloat: tempConstArray[i].setFConst(acosf(unionArray[i].getFConst())); break; in fold()
1870 case EbtFloat: tempConstArray[i].setFConst(atanf(unionArray[i].getFConst())); break; in fold()
1878 case EbtFloat: tempConstArray[i].setFConst(sinhf(unionArray[i].getFConst())); break; in fold()
1886 case EbtFloat: tempConstArray[i].setFConst(coshf(unionArray[i].getFConst())); break; in fold()
1894 case EbtFloat: tempConstArray[i].setFConst(tanhf(unionArray[i].getFConst())); break; in fold()
1902 case EbtFloat: tempConstArray[i].setFConst(asinhf(unionArray[i].getFConst())); break; in fold()
1910 case EbtFloat: tempConstArray[i].setFConst(acoshf(unionArray[i].getFConst())); break; in fold()
1918 case EbtFloat: tempConstArray[i].setFConst(atanhf(unionArray[i].getFConst())); break; in fold()
1926 case EbtFloat: tempConstArray[i].setFConst(logf(unionArray[i].getFConst())); break; in fold()
1934 case EbtFloat: tempConstArray[i].setFConst(sw::log2(unionArray[i].getFConst())); break; in fold()
1942 case EbtFloat: tempConstArray[i].setFConst(expf(unionArray[i].getFConst())); break; in fold()
1950 case EbtFloat: tempConstArray[i].setFConst(exp2f(unionArray[i].getFConst())); break; in fold()
1958 case EbtFloat: tempConstArray[i].setFConst(sqrtf(unionArray[i].getFConst())); break; in fold()
1966 case EbtFloat: tempConstArray[i].setFConst(1.0f / sqrtf(unionArray[i].getFConst())); break; in fold()
1975 tempConstArray[i].setIConst(sw::bit_cast<int>(unionArray[i].getFConst())); in fold()
1987 tempConstArray[i].setUConst(sw::bit_cast<unsigned int>(unionArray[i].getFConst())); in fold()
1998 tempConstArray[i].setFConst(sw::bit_cast<float>(unionArray[i].getIConst())); in fold()
2009 tempConstArray[i].setFConst(sw::bit_cast<float>(unionArray[i].getUConst())); in fold()