Searched refs:setUConst (Results 1 – 18 of 18) sorted by relevance
60 case EbtInt: setUConst(static_cast<unsigned int>(constant.getIConst())); break; in cast()61 case EbtUInt: setUConst(static_cast<unsigned int>(constant.getUConst())); break; in cast()62 case EbtBool: setUConst(static_cast<unsigned int>(constant.getBConst())); break; in cast()63 case EbtFloat: setUConst(static_cast<unsigned int>(constant.getFConst())); break; in cast()81 case EbtUInt: setUConst(constant.getUConst()); break; in cast()95 void setUConst(unsigned int u) { uConst = u; type = EbtUInt; } in setUConst() function248 case EbtUInt: returnValue.setUConst(uConst + constant.uConst); break;262 case EbtUInt: returnValue.setUConst(uConst - constant.uConst); break;276 case EbtUInt: returnValue.setUConst(uConst * constant.uConst); break;290 case EbtUInt: returnValue.setUConst(uConst % constant.uConst); break;[all …]
1578 tempConstArray[i].setUConst(UINT_MAX); 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()1806 case EbtUInt: tempConstArray[i].setUConst(~unionArray[i].getUConst()); break; in fold()1987 tempConstArray[i].setUConst(sw::bit_cast<unsigned int>(unionArray[i].getFConst())); in fold()2076 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getIConst(i))); in promoteConstantUnion()2079 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getUConst(i))); in promoteConstantUnion()2082 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getBConst(i))); in promoteConstantUnion()2085 leftUnionArray[i].setUConst(static_cast<unsigned int>(node->getFConst(i))); in promoteConstantUnion()
259 unionArray->setUConst($1.u);
2413 unionArray->setUConst((yyvsp[0].lex).u); in yyparse()
181 setUConst(static_cast<unsigned int>(constant.getIConst())); in cast()184 setUConst(static_cast<unsigned int>(constant.getUConst())); in cast()187 setUConst(static_cast<unsigned int>(constant.getBConst())); in cast()193 setUConst( in cast()198 setUConst(static_cast<unsigned int>(constant.getFConst())); in cast()231 setUConst(constant.getUConst()); in cast()422 returnValue.setUConst(gl::WrappingSum<unsigned int>(lhs.uConst, rhs.uConst)); in add()457 returnValue.setUConst(gl::WrappingDiff<unsigned int>(lhs.uConst, rhs.uConst)); in sub()494 returnValue.setUConst(lhs.uConst * rhs.uConst); in mul()522 returnValue.setUConst(uConst % constant.uConst); in operator %()[all …]
68 result->setUConst(0u); in UndefinedConstantFoldingError()2356 resultArray[i].setUConst(UINT_MAX); in FoldBinary()2362 resultArray[i].setUConst(leftArray[i].getUConst() / in FoldBinary()2368 resultArray[i].setUConst(leftArray[i].getUConst() % in FoldBinary()2628 resultArray->setUConst( in foldUnaryNonComponentWise()2647 resultArray->setUConst( in foldUnaryNonComponentWise()2666 resultArray->setUConst( in foldUnaryNonComponentWise()2685 resultArray->setUConst( in foldUnaryNonComponentWise()2694 resultArray->setUConst( in foldUnaryNonComponentWise()2774 resultArray[i].setUConst(0x80000000u); in foldUnaryComponentWise()[all …]
35 void setUConst(unsigned int u) in setUConst() function
278 unionArray->setUConst($1.u);
2400 unionArray->setUConst((yyvsp[0].lex).u); in yyparse()
2220 constArray[i].setUConst(static_cast<unsigned int>(workGroupSize[i])); in parseVariableIdentifier()
82 void setUConst(unsigned int u) in setUConst() function450 case EbtUint: returnValue.setUConst(uConst + constant.uConst); break;472 case EbtUint: returnValue.setUConst(uConst - constant.uConst); break;494 case EbtUint: returnValue.setUConst(uConst * constant.uConst); break;516 case EbtUint: returnValue.setUConst(uConst % constant.uConst); break;606 case EbtInt: returnValue.setUConst(uConst >> constant.iConst); break;607 case EbtUint: returnValue.setUConst(uConst >> constant.uConst); break;609 case EbtInt8: returnValue.setUConst(uConst >> constant.i8Const); break;610 case EbtUint8: returnValue.setUConst(uConst >> constant.u8Const); break;611 case EbtInt16: returnValue.setUConst(uConst >> constant.i16Const); break;[all …]
204 newConstArray[i].setUConst(0xFFFFFFFFu); in fold()206 … newConstArray[i].setUConst(leftUnionArray[i].getUConst() / rightUnionArray[i].getUConst()); in fold()533 …case EbtUint: newConstArray[i].setUConst(static_cast<unsigned int>(-static_cast<int>(unionArray[i… in fold()683 newConstArray[i].setUConst(unionArray[i].getBConst()); break; in fold()685 newConstArray[i].setUConst(unionArray[i].getIConst()); break; in fold()711 newConstArray[i].setUConst(static_cast<unsigned int>(unionArray[i].getDConst())); break; in fold()759 newConstArray[i].setUConst(unionArray[i].getI8Const()); break; in fold()773 newConstArray[i].setUConst(unionArray[i].getU8Const()); break; in fold()800 newConstArray[i].setUConst(unionArray[i].getI16Const()); break; in fold()815 newConstArray[i].setUConst(unionArray[i].getU16Const()); break; in fold()[all …]
2557 unionArray[0].setUConst(u8); in addConstantUnion()2589 unionArray[0].setUConst(u); in addConstantUnion()3858 case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \ in promoteConstantUnion()3874 case EbtUint: PROMOTE(setUConst, unsigned int, Get); break; \ in promoteConstantUnion()
8498 … workGroupSize->getWritableConstArray()[i].setUConst(intermediate.getLocalSize(i)); in updateStandaloneQualifierDefaults()
92 one->setUConst(1u); in visitUnary()
68 u[i].setUConst(0u); in CreateZeroNode()137 u[0].setUConst(value); in CreateUIntNode()
43 numberOfViewsUnsignedConstant->setUConst(numberOfViews); in InitializeViewIDAndInstanceID()
9196 workGroupSize->getWritableConstArray()[i].setUConst(intermediate.getLocalSize(i)); in updateStandaloneQualifierDefaults()