Searched refs:getUConst (Results 1 – 13 of 13) sorted by relevance
41 case EbtUInt: setFConst(static_cast<float>(constant.getUConst())); break; in cast()51 case EbtUInt: setIConst(static_cast<int>(constant.getUConst())); break; in cast()61 case EbtUInt: setUConst(static_cast<unsigned int>(constant.getUConst())); break; in cast()71 case EbtUInt: setBConst(constant.getUConst() != 0); break; in cast()81 case EbtUInt: setUConst(constant.getUConst()); break; in cast()100 unsigned int getUConst() const { return uConst; } in getUConst() function
1583 tempConstArray[i].setUConst(unionArray[i].getUConst() / rightUnionArray[i].getUConst()); in fold()1586 tempConstArray[i].setUConst(unionArray[i].getUConst() % rightUnionArray[i].getUConst()); in fold()1808 case EbtUInt: tempConstArray[i].setUConst(~unionArray[i].getUConst()); break; in fold()2011 tempConstArray[i].setFConst(sw::bit_cast<float>(unionArray[i].getUConst())); in fold()2043 leftUnionArray[i].setFConst(static_cast<float>(node->getUConst(i))); in promoteConstantUnion()2062 leftUnionArray[i].setIConst(static_cast<int>(node->getUConst(i))); in promoteConstantUnion()2081 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getUConst(i))); in promoteConstantUnion()2100 leftUnionArray[i].setBConst(node->getUConst(i) != 0); in promoteConstantUnion()
144 unsigned int uConst = condition->getUConst(0); in visitCase()
440 …int getUConst(int index) const { return unionArrayPointer ? unionArrayPointer[index].getUConst() :… in getUConst() function
397 out << node->getUnionArrayPointer()[i].getUConst(); in visitConstantUnion()
819 unsigned int uintSize = constant->getUConst(0); in arraySizeErrorCheck()
237 … newConstArray[i].setUConst(leftUnionArray[i].getUConst() / rightUnionArray[i].getUConst()); in fold()537 …rray[i].setUConst(static_cast<unsigned int>(-static_cast<int>(unionArray[i].getUConst()))); break; in fold()685 newConstArray[i].setBConst(unionArray[i].getUConst() != 0); break; in fold()819 newConstArray[i].setI8Const((signed char)unionArray[i].getUConst()); break; in fold()821 newConstArray[i].setI16Const((signed short)unionArray[i].getUConst()); break; in fold()823 newConstArray[i].setIConst(unionArray[i].getUConst()); break; in fold()825 newConstArray[i].setI64Const(unionArray[i].getUConst()); break; in fold()827 newConstArray[i].setU8Const((unsigned char)unionArray[i].getUConst()); break; in fold()829 newConstArray[i].setU16Const((unsigned short)unionArray[i].getUConst()); break; in fold()831 newConstArray[i].setU64Const(unionArray[i].getUConst()); break; in fold()[all …]
3623 leftUnionArray[i].setDConst(static_cast<double>(rightUnionArray[i].getUConst())); in promoteConstantUnion()3649 leftUnionArray[i].setDConst(static_cast<double>(rightUnionArray[i].getUConst())); in promoteConstantUnion()3675 leftUnionArray[i].setDConst(static_cast<double>(rightUnionArray[i].getUConst())); in promoteConstantUnion()3701 leftUnionArray[i].setIConst(static_cast<int>(rightUnionArray[i].getUConst())); in promoteConstantUnion()3753 leftUnionArray[i].setBConst(rightUnionArray[i].getUConst() != 0); in promoteConstantUnion()3779 … leftUnionArray[i].setI64Const(static_cast<long long>(rightUnionArray[i].getUConst())); in promoteConstantUnion()3805 … leftUnionArray[i].setU64Const(static_cast<unsigned long long>(rightUnionArray[i].getUConst())); in promoteConstantUnion()
135 unsigned struct_dereference_index = node->getAsConstantUnion()->getConstArray()[0].getUConst(); in getStructIndexFromConstantUnion()
1810 offset[0] = (*argp)[1]->getAsConstantUnion()->getConstArray()[0].getUConst(); in builtInOpCheck()1811 offset[1] = (*argp)[1]->getAsConstantUnion()->getConstArray()[1].getUConst(); in builtInOpCheck()1812 offset[2] = (*argp)[1]->getAsConstantUnion()->getConstArray()[2].getUConst(); in builtInOpCheck()1813 offset[3] = (*argp)[1]->getAsConstantUnion()->getConstArray()[3].getUConst(); in builtInOpCheck()1827 mask[0] = (*argp)[1]->getAsConstantUnion()->getConstArray()[0].getUConst(); in builtInOpCheck()1828 mask[1] = (*argp)[1]->getAsConstantUnion()->getConstArray()[1].getUConst(); in builtInOpCheck()1829 mask[2] = (*argp)[1]->getAsConstantUnion()->getConstArray()[2].getUConst(); in builtInOpCheck()1988 … unsigned vertexIdx = (*argp)[1]->getAsConstantUnion()->getConstArray()[0].getUConst(); in builtInOpCheck()
1247 snprintf(buf, maxSize, "%u (%s)", constUnion[i].getUConst(), "const uint"); in OutputConstantUnion()
123 unsigned int getUConst() const { return uConst; } in getUConst() function
1875 …>getOperand()->getAsBinaryNode()->getRight()->getAsConstantUnion()->getConstArray()[0].getUConst(); in visitUnary()7513 … spvConsts.push_back(builder.makeUintConstant(zero ? 0 : consts[nextConst].getUConst()));7560 … scalar = builder.makeUintConstant(zero ? 0 : consts[nextConst].getUConst(), specConstant);