Searched refs:getI16Const (Results 1 – 4 of 4) sorted by relevance
211 …else if (rightUnionArray[i].getI16Const() == (signed short)-1 && leftUnionArray[i].getI16Const() =… in fold()214 … newConstArray[i].setI16Const(leftUnionArray[i].getI16Const() / rightUnionArray[i].getI16Const()); in fold()534 case EbtInt16: newConstArray[i].setI16Const(-unionArray[i].getI16Const()); break; in fold()679 newConstArray[i].setBConst(unionArray[i].getI16Const() != 0); break; in fold()762 … newConstArray[i].setI8Const(static_cast<signed char>(unionArray[i].getI16Const())); break; in fold()764 newConstArray[i].setIConst(unionArray[i].getI16Const()); break; in fold()766 newConstArray[i].setI64Const(unionArray[i].getI16Const()); break; in fold()768 … newConstArray[i].setU8Const(static_cast<unsigned char>(unionArray[i].getI16Const())); break; in fold()770 newConstArray[i].setU16Const(unionArray[i].getI16Const()); break; in fold()772 newConstArray[i].setUConst(unionArray[i].getI16Const()); break; in fold()[all …]
1220 snprintf(buf, maxSize, "%d (%s)", constUnion[i].getI16Const(), "const int16_t"); in OutputConstantUnion()
120 signed short getI16Const() const { return i16Const; } in getI16Const() function
7504 … spvConsts.push_back(builder.makeInt16Constant(zero ? 0 : consts[nextConst].getI16Const()));7551 … scalar = builder.makeInt16Constant(zero ? 0 : consts[nextConst].getI16Const(), specConstant);