Searched refs:setIConst (Results 1 – 7 of 7) 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() function257 case EbtInt: returnValue.setIConst(iConst + constant.iConst); break;271 case EbtInt: returnValue.setIConst(iConst - constant.iConst); break;285 case EbtInt: returnValue.setIConst(iConst * constant.iConst); break;299 case EbtInt: returnValue.setIConst(iConst % constant.iConst); break;[all …]
600 unionArray->setIConst(fields.offsets[i]); in addSwizzle()1425 tempConstArray[i].setIConst(INT_MAX); in fold()1428 tempConstArray[i].setIConst(unionArray[i].getIConst() / rightUnionArray[i].getIConst()); in fold()1431 tempConstArray[i].setIConst(unionArray[i].getIConst() % rightUnionArray[i].getIConst()); in fold()1644 case EbtInt: tempConstArray[i].setIConst(-unionArray[i].getIConst()); break; in fold()1660 case EbtInt: tempConstArray[i].setIConst(~unionArray[i].getIConst()); break; in fold()1867 leftUnionArray[i].setIConst(static_cast<int>(node->getIConst(i))); in promoteConstantUnion()1870 leftUnionArray[i].setIConst(static_cast<int>(node->getUConst(i))); in promoteConstantUnion()1873 leftUnionArray[i].setIConst(static_cast<int>(node->getBConst(i))); in promoteConstantUnion()1876 leftUnionArray[i].setIConst(static_cast<int>(node->getFConst(i))); in promoteConstantUnion()
2510 safeConstantUnion->setIConst(safeIndex); in addIndexExpression()2646 unionArray->setIConst(0); in addFieldSelectionExpression()2657 unionArray->setIConst(fields.col * baseExpression->getSecondarySize() + fields.row); in addFieldSelectionExpression()2706 unionArray->setIConst(i); in addFieldSelectionExpression()2744 unionArray->setIConst(i); in addFieldSelectionExpression()3516 unionArray->setIConst(arraySize); in addFunctionCallOrMethod()
364 constant->getConstPointer()->setIConst(value); in insertConstInt()
253 unionArray->setIConst($1.i);
2400 unionArray->setIConst((yyvsp[0].lex).i); in yyparse()
71 constants[0].setIConst(i); in Constant()