Searched refs:getI16Const (Results 1 – 5 of 5) sorted by relevance
229 …else if (rightUnionArray[i].getI16Const() == (signed short)-1 && leftUnionArray[i].getI16Const() =… in fold()232 … newConstArray[i].setI16Const(leftUnionArray[i].getI16Const() / rightUnionArray[i].getI16Const()); in fold()537 case EbtInt16: newConstArray[i].setI16Const(-unionArray[i].getI16Const()); break; in fold()723 newConstArray[i].setBConst(unionArray[i].getI16Const() != 0); break; in fold()790 … newConstArray[i].setI8Const(static_cast<signed char>(unionArray[i].getI16Const())); break; in fold()792 newConstArray[i].setIConst(unionArray[i].getI16Const()); break; in fold()794 newConstArray[i].setI64Const(unionArray[i].getI16Const()); break; in fold()796 … newConstArray[i].setU8Const(static_cast<unsigned char>(unionArray[i].getI16Const())); break; in fold()798 newConstArray[i].setU16Const(unionArray[i].getI16Const()); break; in fold()800 newConstArray[i].setUConst(unionArray[i].getI16Const()); break; in fold()[all …]
1282 snprintf(buf, maxSize, "%d (%s)", constUnion[i].getI16Const(), "const int16_t"); in OutputConstantUnion()
3890 case EbtInt16: TO_ALL(getI16Const); break; in promoteConstantUnion()
120 signed short getI16Const() const { return i16Const; } in getI16Const() function
8624 … spvConsts.push_back(builder.makeInt16Constant(zero ? 0 : consts[nextConst].getI16Const())); in createSpvConstantFromConstUnionArray()8673 … scalar = builder.makeInt16Constant(zero ? 0 : consts[nextConst].getI16Const(), specConstant); in createSpvConstantFromConstUnionArray()