#include "src/tint/lang/core/intrinsic/table.h"
#include <utility>
#include "gmock/gmock.h"
#include "src/tint/lang/core/intrinsic/dialect.h"
#include "src/tint/lang/core/intrinsic/table_data.h"
#include "src/tint/lang/core/type/atomic.h"
#include "src/tint/lang/core/type/depth_multisampled_texture.h"
#include "src/tint/lang/core/type/depth_texture.h"
#include "src/tint/lang/core/type/external_texture.h"
#include "src/tint/lang/core/type/helper_test.h"
#include "src/tint/lang/core/type/multisampled_texture.h"
#include "src/tint/lang/core/type/sampled_texture.h"
#include "src/tint/lang/core/type/storage_texture.h"
#include "src/tint/lang/core/type/texture_dimension.h"
#include "src/tint/utils/containers/vector.h"
namespace tint::core::intrinsic {
namespace {
HasSubstr;
class CoreIntrinsicTableTest : public testing::Test, public ProgramBuilder { … };
TEST_F(CoreIntrinsicTableTest, MatchF32) { … }
TEST_F(CoreIntrinsicTableTest, MismatchF32) { … }
TEST_F(CoreIntrinsicTableTest, MatchU32) { … }
TEST_F(CoreIntrinsicTableTest, MismatchU32) { … }
TEST_F(CoreIntrinsicTableTest, MatchI32) { … }
TEST_F(CoreIntrinsicTableTest, MismatchI32) { … }
TEST_F(CoreIntrinsicTableTest, MatchIU32AsI32) { … }
TEST_F(CoreIntrinsicTableTest, MatchIU32AsU32) { … }
TEST_F(CoreIntrinsicTableTest, MismatchIU32) { … }
TEST_F(CoreIntrinsicTableTest, MatchFIU32AsI32) { … }
TEST_F(CoreIntrinsicTableTest, MatchFIU32AsU32) { … }
TEST_F(CoreIntrinsicTableTest, MatchFIU32AsF32) { … }
TEST_F(CoreIntrinsicTableTest, MismatchFIU32) { … }
TEST_F(CoreIntrinsicTableTest, MatchBool) { … }
TEST_F(CoreIntrinsicTableTest, MismatchBool) { … }
TEST_F(CoreIntrinsicTableTest, MatchPointer) { … }
TEST_F(CoreIntrinsicTableTest, MismatchPointer) { … }
TEST_F(CoreIntrinsicTableTest, MatchArray) { … }
TEST_F(CoreIntrinsicTableTest, MismatchArray) { … }
TEST_F(CoreIntrinsicTableTest, MatchSampler) { … }
TEST_F(CoreIntrinsicTableTest, MismatchSampler) { … }
TEST_F(CoreIntrinsicTableTest, MatchSampledTexture) { … }
TEST_F(CoreIntrinsicTableTest, MatchMultisampledTexture) { … }
TEST_F(CoreIntrinsicTableTest, MatchDepthTexture) { … }
TEST_F(CoreIntrinsicTableTest, MatchDepthMultisampledTexture) { … }
TEST_F(CoreIntrinsicTableTest, MatchExternalTexture) { … }
TEST_F(CoreIntrinsicTableTest, MatchWOStorageTexture) { … }
TEST_F(CoreIntrinsicTableTest, MismatchTexture) { … }
TEST_F(CoreIntrinsicTableTest, MatchTemplateType) { … }
TEST_F(CoreIntrinsicTableTest, MismatchTemplateType) { … }
TEST_F(CoreIntrinsicTableTest, MatchOpenSizeVector) { … }
TEST_F(CoreIntrinsicTableTest, MismatchOpenSizeVector) { … }
TEST_F(CoreIntrinsicTableTest, MatchOpenSizeMatrix) { … }
TEST_F(CoreIntrinsicTableTest, MismatchOpenSizeMatrix) { … }
TEST_F(CoreIntrinsicTableTest, MatchDifferentArgsElementType_Builtin_ConstantEval) { … }
TEST_F(CoreIntrinsicTableTest, MatchDifferentArgsElementType_Builtin_RuntimeEval) { … }
TEST_F(CoreIntrinsicTableTest, MatchDifferentArgsElementType_Binary_ConstantEval) { … }
TEST_F(CoreIntrinsicTableTest, MatchDifferentArgsElementType_Binary_RuntimeEval) { … }
TEST_F(CoreIntrinsicTableTest, OverloadOrderByNumberOfParameters) { … }
TEST_F(CoreIntrinsicTableTest, OverloadOrderByMatchingParameter) { … }
TEST_F(CoreIntrinsicTableTest, MatchUnaryOp) { … }
TEST_F(CoreIntrinsicTableTest, MismatchUnaryOp) { … }
TEST_F(CoreIntrinsicTableTest, MatchUnaryOp_Constant) { … }
TEST_F(CoreIntrinsicTableTest, MatchUnaryOp_Runtime) { … }
TEST_F(CoreIntrinsicTableTest, MatchBinaryOp) { … }
TEST_F(CoreIntrinsicTableTest, MismatchBinaryOp) { … }
TEST_F(CoreIntrinsicTableTest, MatchCompoundOp) { … }
TEST_F(CoreIntrinsicTableTest, MismatchCompoundOp) { … }
TEST_F(CoreIntrinsicTableTest, MatchTypeInitializer) { … }
TEST_F(CoreIntrinsicTableTest, MismatchTypeInitializer) { … }
TEST_F(CoreIntrinsicTableTest, MatchTypeInitializer_ConstantEval) { … }
TEST_F(CoreIntrinsicTableTest, MatchTypeInitializer_RuntimeEval) { … }
TEST_F(CoreIntrinsicTableTest, MatchTypeConversion) { … }
TEST_F(CoreIntrinsicTableTest, MismatchTypeConversion) { … }
TEST_F(CoreIntrinsicTableTest, MatchTypeConversion_ConstantEval) { … }
TEST_F(CoreIntrinsicTableTest, MatchTypeConversion_RuntimeEval) { … }
TEST_F(CoreIntrinsicTableTest, Err257Arguments) { … }
TEST_F(CoreIntrinsicTableTest, MemberFunctionDoesNotMatchNonMemberFunction) { … }
}
}