#include "src/tint/lang/wgsl/writer/raise/value_to_let.h"
#include <utility>
#include "src/tint/lang/core/ir/transform/helper_test.h"
namespace tint::wgsl::writer::raise {
namespace {
usingnamespacetint::core::fluent_types;
usingnamespacetint::core::number_suffixes;
WgslWriter_ValueToLetTest;
TEST_F(WgslWriter_ValueToLetTest, Empty) { … }
TEST_F(WgslWriter_ValueToLetTest, LoadVar_ThenStoreVar_ThenUseLoad) { … }
TEST_F(WgslWriter_ValueToLetTest, BinaryOpUnsequencedLHSThenUnsequencedRHS) { … }
TEST_F(WgslWriter_ValueToLetTest, BinaryOpSequencedLHSThenUnsequencedRHS) { … }
TEST_F(WgslWriter_ValueToLetTest, BinaryOpUnsequencedLHSThenSequencedRHS) { … }
TEST_F(WgslWriter_ValueToLetTest, BinaryOpSequencedLHSThenSequencedRHS) { … }
TEST_F(WgslWriter_ValueToLetTest, BinaryOpUnsequencedRHSThenUnsequencedLHS) { … }
TEST_F(WgslWriter_ValueToLetTest, BinaryOpUnsequencedRHSThenSequencedLHS) { … }
TEST_F(WgslWriter_ValueToLetTest, BinaryOpSequencedRHSThenUnsequencedLHS) { … }
TEST_F(WgslWriter_ValueToLetTest, BinaryOpSequencedRHSThenSequencedLHS) { … }
TEST_F(WgslWriter_ValueToLetTest, CallSequencedXYZ) { … }
TEST_F(WgslWriter_ValueToLetTest, CallSequencedYXZ) { … }
TEST_F(WgslWriter_ValueToLetTest, CallSequencedXZY) { … }
TEST_F(WgslWriter_ValueToLetTest, CallSequencedZXY) { … }
TEST_F(WgslWriter_ValueToLetTest, CallSequencedYZX) { … }
TEST_F(WgslWriter_ValueToLetTest, CallSequencedZYX) { … }
TEST_F(WgslWriter_ValueToLetTest, LoadVar_ThenCallVoidFn_ThenUseLoad) { … }
TEST_F(WgslWriter_ValueToLetTest, LoadVar_ThenCallUnusedi32Fn_ThenUseLoad) { … }
TEST_F(WgslWriter_ValueToLetTest, LoadVar_ThenCalli32Fn_ThenUseLoadBeforeCall) { … }
TEST_F(WgslWriter_ValueToLetTest, LoadVar_ThenCalli32Fn_ThenUseCallBeforeLoad) { … }
TEST_F(WgslWriter_ValueToLetTest, Access_ArrayOfArrayOfArray_XYZ) { … }
TEST_F(WgslWriter_ValueToLetTest, Access_ArrayOfArrayOfArray_YXZ) { … }
TEST_F(WgslWriter_ValueToLetTest, Access_ArrayOfArrayOfArray_ZXY) { … }
TEST_F(WgslWriter_ValueToLetTest, Access_ArrayOfArrayOfArray_ZYX) { … }
TEST_F(WgslWriter_ValueToLetTest, Access_ArrayOfMat3x4f_XYZ) { … }
TEST_F(WgslWriter_ValueToLetTest, Access_ArrayOfMat3x4f_YXZ) { … }
TEST_F(WgslWriter_ValueToLetTest, Access_ArrayOfMat3x4f_ZXY) { … }
TEST_F(WgslWriter_ValueToLetTest, Access_ArrayOfMat3x4f_ZYX) { … }
TEST_F(WgslWriter_ValueToLetTest, UnsequencedOutsideIf) { … }
TEST_F(WgslWriter_ValueToLetTest, SequencedOutsideIf) { … }
TEST_F(WgslWriter_ValueToLetTest, UnsequencedUsedByIfCondition) { … }
TEST_F(WgslWriter_ValueToLetTest, SequencedUsedByIfCondition) { … }
TEST_F(WgslWriter_ValueToLetTest, LoadVar_ThenWriteToVarInIf_ThenUseLoad) { … }
TEST_F(WgslWriter_ValueToLetTest, UnsequencedOutsideSwitch) { … }
TEST_F(WgslWriter_ValueToLetTest, SequencedOutsideSwitch) { … }
TEST_F(WgslWriter_ValueToLetTest, UnsequencedUsedBySwitchCondition) { … }
TEST_F(WgslWriter_ValueToLetTest, SequencedUsedBySwitchCondition) { … }
TEST_F(WgslWriter_ValueToLetTest, LoadVar_ThenWriteToVarInSwitch_ThenUseLoad) { … }
TEST_F(WgslWriter_ValueToLetTest, UnsequencedOutsideLoopInitializer) { … }
TEST_F(WgslWriter_ValueToLetTest, SequencedOutsideLoopInitializer) { … }
TEST_F(WgslWriter_ValueToLetTest, LoadVar_ThenWriteToVarInLoopInitializer_ThenUseLoad) { … }
TEST_F(WgslWriter_ValueToLetTest, UnsequencedOutsideLoopBody) { … }
TEST_F(WgslWriter_ValueToLetTest, SequencedOutsideLoopBody) { … }
TEST_F(WgslWriter_ValueToLetTest, LoadVar_ThenWriteToVarInLoopBody_ThenUseLoad) { … }
TEST_F(WgslWriter_ValueToLetTest, UnsequencedOutsideLoopContinuing) { … }
TEST_F(WgslWriter_ValueToLetTest, SequencedOutsideLoopContinuing) { … }
TEST_F(WgslWriter_ValueToLetTest, LoadVar_ThenWriteToVarInLoopContinuing_ThenUseLoad) { … }
TEST_F(WgslWriter_ValueToLetTest, LoadVarInLoopInitializer_ThenReadAndWriteToVarInLoopBody) { … }
TEST_F(WgslWriter_ValueToLetTest, LoadVarInLoopInitializer_ThenReadAndWriteToVarInLoopContinuing) { … }
TEST_F(WgslWriter_ValueToLetTest, LoadVarInLoopBody_ThenReadAndWriteToVarInLoopContinuing) { … }
}
}