Searched refs:setIConst (Results 1 – 10 of 10) sorted by relevance
50 case EbtInt: setIConst(static_cast<int>(constant.getIConst())); break; in cast()51 case EbtUInt: setIConst(static_cast<int>(constant.getUConst())); break; in cast()52 case EbtBool: setIConst(static_cast<int>(constant.getBConst())); break; in cast()53 case EbtFloat: setIConst(static_cast<int>(constant.getFConst())); break; in cast()80 case EbtInt: setIConst(constant.getIConst()); break; in cast()94 void setIConst(int i) {iConst = i; type = EbtInt; } in setIConst() function247 case EbtInt: returnValue.setIConst(iConst + constant.iConst); break;261 case EbtInt: returnValue.setIConst(iConst - constant.iConst); break;275 case EbtInt: returnValue.setIConst(iConst * constant.iConst); break;289 case EbtInt: returnValue.setIConst(iConst % constant.iConst); break;[all …]
731 unionArray->setIConst(fields.offsets[i]); in addSwizzle()795 u[0].setIConst(index); in CreateIndexNode()1567 tempConstArray[i].setIConst(INT_MAX); in fold()1570 tempConstArray[i].setIConst(unionArray[i].getIConst() / rightUnionArray[i].getIConst()); in fold()1573 tempConstArray[i].setIConst(unionArray[i].getIConst() % rightUnionArray[i].getIConst()); in fold()1791 case EbtInt: tempConstArray[i].setIConst(-unionArray[i].getIConst()); break; in fold()1807 case EbtInt: tempConstArray[i].setIConst(~unionArray[i].getIConst()); break; in fold()1977 tempConstArray[i].setIConst(sw::bit_cast<int>(unionArray[i].getFConst())); in fold()2059 leftUnionArray[i].setIConst(static_cast<int>(node->getIConst(i))); in promoteConstantUnion()2062 leftUnionArray[i].setIConst(static_cast<int>(node->getUConst(i))); in promoteConstantUnion()[all …]
349 constant->getConstPointer()->setIConst(value); in insertConstInt()
2562 safeConstantUnion->setIConst(safeIndex); in addIndexExpression()2755 unionArray->setIConst(i); in addFieldSelectionExpression()3554 unionArray->setIConst(arraySize); in addFunctionCallOrMethod()
254 unionArray->setIConst($1.i);
2403 unionArray->setIConst((yyvsp[0].lex).i); in yyparse()
254 constants[0].setIConst(i); in Constant()
76 void setIConst(int i) in setIConst() function445 case EbtInt: returnValue.setIConst(iConst + constant.iConst); break;465 case EbtInt: returnValue.setIConst(iConst - constant.iConst); break;485 case EbtInt: returnValue.setIConst(iConst * constant.iConst); break;505 case EbtInt: returnValue.setIConst(iConst % constant.iConst); break;575 case EbtInt8: returnValue.setIConst(iConst >> constant.i8Const); break;576 case EbtUint8: returnValue.setIConst(iConst >> constant.u8Const); break;577 case EbtInt16: returnValue.setIConst(iConst >> constant.i16Const); break;578 case EbtUint16: returnValue.setIConst(iConst >> constant.u16Const); break;579 case EbtInt: returnValue.setIConst(iConst >> constant.iConst); break;[all …]
226 newConstArray[i].setIConst(0x7FFFFFFF); in fold()228 newConstArray[i].setIConst((int)-0x80000000ll); in fold()230 … newConstArray[i].setIConst(leftUnionArray[i].getIConst() / rightUnionArray[i].getIConst()); in fold()292 newConstArray[i].setIConst(0); in fold()304 newConstArray[i].setIConst(0); in fold()536 case EbtInt: newConstArray[i].setIConst(-unionArray[i].getIConst()); break; in fold()622 newConstArray[i].setIConst(abs(unionArray[i].getIConst())); in fold()631 newConstArray[i].setIConst(SIGN(unionArray[i].getIConst())); in fold()706 newConstArray[i].setIConst(unionArray[i].getBConst()); break; in fold()723 newConstArray[i].setIConst(unionArray[i].getI8Const()); break; in fold()[all …]
2420 unionArray[0].setIConst(i); in addConstantUnion()3701 leftUnionArray[i].setIConst(static_cast<int>(rightUnionArray[i].getUConst())); in promoteConstantUnion()3704 leftUnionArray[i].setIConst(static_cast<int>(rightUnionArray[i].getI64Const())); in promoteConstantUnion()3707 leftUnionArray[i].setIConst(static_cast<int>(rightUnionArray[i].getU64Const())); in promoteConstantUnion()3710 leftUnionArray[i].setIConst(static_cast<int>(rightUnionArray[i].getBConst())); in promoteConstantUnion()3715 leftUnionArray[i].setIConst(static_cast<int>(rightUnionArray[i].getDConst())); in promoteConstantUnion()