Lines Matching refs:specConstant
1555 Id Builder::makeBoolConstant(bool b, bool specConstant)
1559 Op opcode = specConstant ? (b ? OpSpecConstantTrue : OpSpecConstantFalse) : (b ? OpConstantTrue : OpConstantFalse);
1563 if (! specConstant) {
1584 Id Builder::makeIntConstant(Id typeId, unsigned value, bool specConstant)
1586 Op opcode = specConstant ? OpSpecConstant : OpConstant;
1590 if (! specConstant) {
1605 Id Builder::makeInt64Constant(Id typeId, unsigned long long value, bool specConstant)
1607 Op opcode = specConstant ? OpSpecConstant : OpConstant;
1614 if (! specConstant) {
1630 Id Builder::makeFloatConstant(float f, bool specConstant)
1632 Op opcode = specConstant ? OpSpecConstant : OpConstant;
1640 if (! specConstant) {
1655 Id Builder::makeDoubleConstant(double d, bool specConstant)
1657 Op opcode = specConstant ? OpSpecConstant : OpConstant;
1667 if (! specConstant) {
1683 Id Builder::makeFloat16Constant(float f16, bool specConstant)
1685 Op opcode = specConstant ? OpSpecConstant : OpConstant;
1696 if (!specConstant) {
1711 Id Builder::makeFpConstant(Id type, double d, bool specConstant)
1719 return makeFloat16Constant((float)d, specConstant);
1721 return makeFloatConstant((float)d, specConstant);
1723 return makeDoubleConstant(d, specConstant);
1797 Id Builder::makeCompositeConstant(Id typeId, const std::vector<Id>& members, bool specConstant)
1799 Op opcode = specConstant ? OpSpecConstantComposite : OpConstantComposite;
1809 if (! specConstant) {
1816 if (! specConstant) {
2854 // as 'specConstant' and we are in spec-constant-op mode.