#include "src/tint/lang/core/constant/eval_test.h"
#include "src/tint/lang/core/constant/scalar.h"
usingnamespacetint::core::number_suffixes;
namespace tint::core::constant::test {
namespace {
class ConstEvalRuntimeSemanticsTest : public ConstEvalTest { … };
TEST_F(ConstEvalRuntimeSemanticsTest, Add_AInt_Overflow) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Add_AFloat_Overflow) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Add_F32_Overflow) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Sub_AInt_Overflow) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Sub_AFloat_Overflow) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Sub_F32_Overflow) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Mul_AInt_Overflow) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Mul_AFloat_Overflow) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Mul_F32_Overflow) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Div_AInt_ZeroDenominator) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Div_I32_ZeroDenominator) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Div_U32_ZeroDenominator) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Div_AFloat_ZeroDenominator) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Div_F32_ZeroDenominator) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Div_I32_MostNegativeByMinInt) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Mod_AInt_ZeroDenominator) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Mod_I32_ZeroDenominator) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Mod_U32_ZeroDenominator) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Mod_AFloat_ZeroDenominator) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Mod_F32_ZeroDenominator) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Mod_I32_MostNegativeByMinInt) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, ShiftLeft_AInt_SignChange) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, ShiftLeft_I32_SignChange) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, ShiftLeft_I32_MoreThanBitWidth) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, ShiftLeft_U32_MoreThanBitWidth) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, ShiftRight_I32_MoreThanBitWidth) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, ShiftRight_U32_MoreThanBitWidth) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Acos_F32_OutOfRange) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Acosh_F32_OutOfRange) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Asin_F32_OutOfRange) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Atanh_F32_OutOfRange) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Exp_F32_Overflow) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Exp2_F32_Overflow) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, ExtractBits_I32_TooManyBits) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, ExtractBits_U32_TooManyBits) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, InsertBits_I32_TooManyBits) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, InsertBits_U32_TooManyBits) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, InverseSqrt_F32_OutOfRange) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, LDExpr_F32_OutOfRange) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Log_F32_OutOfRange) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Log2_F32_OutOfRange) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Normalize_ZeroLength) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Pack2x16Float_OutOfRange) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Pow_F32_Overflow) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Unpack2x16Float_OutOfRange) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, QuantizeToF16_OutOfRange) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Sqrt_F32_OutOfRange) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Clamp_F32_LowGreaterThanHigh) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Bitcast_Infinity) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Bitcast_NaN) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Convert_F32_TooHigh) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Convert_F32_TooLow) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Convert_F16_TooHigh) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Convert_F16_TooLow) { … }
TEST_F(ConstEvalRuntimeSemanticsTest, Vec_Overflow_SingleComponent) { … }
}
}