Lines Matching refs:HasSubstr
35 using ::testing::HasSubstr;
208 HasSubstr("OpMemberName Type <id> '1[%uint]' is not a struct type.")); in TEST_F()
219 HasSubstr("OpMemberName Member <id> '1[%_struct_1]' index is larger " in TEST_F()
242 HasSubstr("OpLine Target <id> '1[%uint]' is not an OpString.")); in TEST_F()
259 HasSubstr("forward referenced IDs have not been defined")); in TEST_F()
277 HasSubstr("OpMemberDecorate Structure type <id> '1[%uint]' is " in TEST_F()
288 HasSubstr("Index 3 provided in OpMemberDecorate for struct <id> " in TEST_F()
315 HasSubstr("Result id of OpDecorationGroup can only " in TEST_F()
331 HasSubstr("OpGroupDecorate Decoration group <id> '1[%1]' is not " in TEST_F()
344 HasSubstr("forward referenced IDs have not been defined")); in TEST_F()
357 HasSubstr("OpGroupMemberDecorate Decoration group <id> '1[%1]' " in TEST_F()
368 HasSubstr("OpGroupMemberDecorate Structure type <id> '2[%uint]' " in TEST_F()
382 HasSubstr("Index 3 provided in OpGroupMemberDecorate for struct " in TEST_F()
409 HasSubstr("OpEntryPoint Entry Point <id> '1[%void]' is not a " in TEST_F()
424 HasSubstr("OpEntryPoint Entry Point <id> '1[%1]'s function " in TEST_F()
440 HasSubstr("OpEntryPoint Entry Point <id> '1[%1]'s function " in TEST_F()
466 HasSubstr("Interfaces passed to OpEntryPoint must be of type " in TEST_F()
493 HasSubstr("OpEntryPoint interfaces must be OpVariables with " in TEST_F()
524 HasSubstr("OpExecutionMode Entry Point <id> '1[%1]' is not the " in TEST_F()
543 HasSubstr("OpExecutionMode Entry Point <id> '2[%2]' is not the " in TEST_F()
588 HasSubstr("OpTypeVector Component Type <id> " in TEST_F()
600 HasSubstr("Illegal number of components (1) for TypeVector\n %v1float = " in TEST_F()
612 HasSubstr("Illegal number of components (5) for TypeVector\n %v5float = " in TEST_F()
625 HasSubstr("Having 8 components for TypeVector requires the Vector16 " in TEST_F()
639 HasSubstr("Having 16 components for TypeVector requires the Vector16 " in TEST_F()
677 HasSubstr("olumns in a matrix must be of type vector.\n %mat3float = " in TEST_F()
690 HasSubstr("Matrix types can only be parameterized with floating-point " in TEST_F()
703 HasSubstr("Matrix types can only be parameterized as having only 2, 3, " in TEST_F()
716 HasSubstr("Matrix types can only be parameterized as having only 2, 3, " in TEST_F()
745 HasSubstr("OpTypeArray Element Type <id> '2[%uint_1]' is not a " in TEST_F()
870 HasSubstr( in TEST_F()
910 HasSubstr("OpTypeRuntimeArray Element Type <id> '2[%uint_0]' is not a " in TEST_F()
934 HasSubstr("OpTypeStruct Member Type <id> '3[%double_0]' is not " in TEST_F()
953 HasSubstr("OpTypePointer Type <id> '2[%uint_0]' is not a " in TEST_F()
972 HasSubstr("OpTypeFunction Return Type <id> '2[%uint_0]' is not " in TEST_F()
985 HasSubstr("OpTypeFunction Parameter Type <id> '3[%uint_0]' is not a " in TEST_F()
997 HasSubstr("OpTypeFunction Parameter Type <id> '1[%void]' cannot " in TEST_F()
1025 HasSubstr("OpConstantTrue Result Type <id> '1[%void]' is not a boolean " in TEST_F()
1044 HasSubstr("OpConstantFalse Result Type <id> '1[%void]' is not a boolean " in TEST_F()
1095 HasSubstr("OpConstantComposite Result Type <id> '1[%float]' is not a " in TEST_F()
1110 HasSubstr("OpConstantComposite Constituent <id> '5[%uint_42]'s type " in TEST_F()
1127 HasSubstr("OpConstantComposite Constituent <id> '5[%5]'s type does not " in TEST_F()
1176 HasSubstr("OpConstantComposite Constituent <id> '10[%10]' vector " in TEST_F()
1197 HasSubstr("OpConstantComposite Constituent <id> '10[%10]' vector " in TEST_F()
1229 EXPECT_THAT(getDiagnosticString(), HasSubstr("Operand 1[%uint] cannot be a " in TEST_F()
1243 HasSubstr("OpConstantComposite Constituent <id> '5[%5]' is not a " in TEST_F()
1257 HasSubstr("OpConstantComposite Constituent <id> " in TEST_F()
1273 HasSubstr("OpConstantComposite Constituent <id> " in TEST_F()
1311 HasSubstr("OpConstantComposite Constituent <id> " in TEST_F()
1327 HasSubstr("OpConstantComposite Constituent <id> '5[%5]' type " in TEST_F()
1348 HasSubstr( in TEST_F()
1397 HasSubstr("OpConstantNull Result Type <id> '1[%void]' cannot have a null " in TEST_F()
1412 HasSubstr( in TEST_F()
1425 HasSubstr("OpConstantNull Result Type <id> '2[%_struct_2]' " in TEST_F()
1438 HasSubstr( in TEST_F()
1457 HasSubstr("Specialization constant must be a boolean type.")); in TEST_F()
1474 HasSubstr("Specialization constant must be a boolean type.")); in TEST_F()
1494 HasSubstr("Type Id 1 is not a scalar numeric type")); in TEST_F()
1531 EXPECT_THAT(getDiagnosticString(), HasSubstr("is not a composite type")); in TEST_F()
1546 HasSubstr("OpSpecConstantComposite Constituent <id> " in TEST_F()
1565 HasSubstr("OpSpecConstantComposite Constituent <id> '6[%6]' is " in TEST_F()
1582 HasSubstr("OpSpecConstantComposite Constituent <id> '5[%5]'s " in TEST_F()
1598 HasSubstr("OpSpecConstantComposite Constituent <id> count does " in TEST_F()
1654 HasSubstr("OpSpecConstantComposite Constituent <id> '10[%10]' " in TEST_F()
1675 HasSubstr("OpSpecConstantComposite Constituent <id> count does " in TEST_F()
1695 HasSubstr("OpSpecConstantComposite Constituent <id> '7[%7]' is " in TEST_F()
1715 HasSubstr("OpSpecConstantComposite Constituent <id> '8[%8]' type " in TEST_F()
1738 HasSubstr("OpSpecConstantComposite Constituent <id> '10[%10]' " in TEST_F()
1759 HasSubstr("OpSpecConstantComposite Constituent <id> '8[%8]' " in TEST_F()
1788 HasSubstr("OpSpecConstantComposite Constituent count does not " in TEST_F()
1817 HasSubstr("OpSpecConstantComposite Constituent <id> '5[%5]' is " in TEST_F()
1833 HasSubstr("OpSpecConstantComposite Constituent <id> '5[%5]'s " in TEST_F()
1851 HasSubstr("OpSpecConstantComposite Constituent <id> '5[%5]'s " in TEST_F()
1881 HasSubstr("OpSpecConstantComposite Constituent <id> " in TEST_F()
1913 HasSubstr("OpSpecConstantComposite Constituent <id> '7[%7]' is " in TEST_F()
1930 HasSubstr("OpSpecConstantComposite Constituent <id> '5[%5]' type " in TEST_F()
1947 HasSubstr("OpSpecConstantComposite Constituent <id> '5[%5]' type " in TEST_F()
1991 HasSubstr("OpVariable Result Type <id> '1[%uint]' is not a pointer " in TEST_F()
2001 EXPECT_THAT(getDiagnosticString(), HasSubstr("Operand 2[%_ptr_Input_uint] " in TEST_F()
2022 HasSubstr("OpVariable Initializer <id> '8[%8]' is not a constant " in TEST_F()
2062 HasSubstr("If OpTypeBool is stored in conjunction with OpVariable" in TEST_F()
2128 HasSubstr( in TEST_F()
2219 HasSubstr("In Logical addressing with variable pointers, " in TEST_F()
2328 EXPECT_THAT(getDiagnosticString(), HasSubstr("is not a logical pointer.")); in TEST_F()
2378 HasSubstr("Using pointers with OpPhi requires capability " in TEST_F()
2416 HasSubstr("OpLoad Result Type <id> " in TEST_F()
2437 EXPECT_THAT(getDiagnosticString(), HasSubstr("ID 8[%8] has not been " in TEST_F()
2464 HasSubstr("OpLoad Pointer <id> '9' is not a logical pointer.")); in TEST_F()
2500 HasSubstr("OpStore Pointer <id> '7[%uint_0]' is not a logical " in TEST_F()
2524 HasSubstr("OpStore Pointer <id> '10' is not a logical pointer.")); in TEST_F()
2544 EXPECT_THAT(getDiagnosticString(), HasSubstr("is not a logical pointer.")); in TEST_F()
2581 HasSubstr("OpStore Object <id> '9[%9]'s type is void.")); in TEST_F()
2600 HasSubstr("OpStore Pointer <id> '7[%7]'s type does not match " in TEST_F()
2633 HasSubstr("OpStore Pointer <id> '8[%8]'s type does not match " in TEST_F()
2764 HasSubstr("OpStore Pointer <id> '13[%13]'s layout does not match Object " in TEST_F()
2804 HasSubstr("OpStore Pointer <id> '13[%13]'s layout does not match Object " in TEST_F()
2866 HasSubstr("OpStore Object <id> '8[%8]'s type is void.")); in TEST_F()
2884 HasSubstr("OpStore Object <id> '7[%7]' is not an object.")); in TEST_F()
2940 EXPECT_THAT(getDiagnosticString(), HasSubstr("storage class is read-only")); in TEST_F()
2981 HasSubstr("Target operand <id> '6[%6]' is not a pointer.")); in TEST_F()
3002 HasSubstr("Source operand <id> '6[%6]' is not a pointer.")); in TEST_F()
3025 HasSubstr("Target <id> '5[%5]'s type does not match " in TEST_F()
3048 HasSubstr("Target operand <id> '7[%7]' cannot be a void " in TEST_F()
3071 HasSubstr("Source operand <id> '7[%7]' cannot be a void " in TEST_F()
3110 HasSubstr("Target operand <id> '9[%9]' is not a pointer.")); in TEST_F()
3129 HasSubstr("Source operand <id> '5[%uint_4]' is not a pointer.")); in TEST_F()
3150 HasSubstr("Size operand <id> '6[%6]' must be a scalar integer type.")); in TEST_F()
3173 HasSubstr("Size operand <id> '9[%float_1]' must be a scalar integer " in TEST_F()
3198 HasSubstr("Size operand <id> '3[%3]' cannot be a constant " in TEST_F()
3223 HasSubstr("Size operand <id> '3[%uint_0]' cannot be a constant " in TEST_F()
3248 HasSubstr("Size operand <id> '3[%ulong_0]' cannot be a constant " in TEST_F()
3274 HasSubstr("Size operand <id> '3[%int_n1]' cannot have the sign bit set " in TEST_F()
3300 HasSubstr("Size operand <id> '3[%long_n1]' cannot have the sign bit set " in TEST_F()
3445 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P()
3461 EXPECT_THAT(getDiagnosticString(), HasSubstr("Operand 1[%void] cannot be a " in TEST_P()
3480 HasSubstr("Operand 8[%_ptr_Private_float] cannot be a type")); in TEST_P()
3500 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P()
3521 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P()
3556 HasSubstr("result type (OpTypeMatrix) does not match the type that " in TEST_P()
3620 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P()
3688 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P()
3707 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P()
3727 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P()
3748 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P()
3767 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P()
3787 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P()
3851 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P()
3871 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P()
3892 EXPECT_THAT(getDiagnosticString(), HasSubstr(expected_err)); in TEST_P()
3930 HasSubstr("OpFunction Result Type <id> '2[%uint]' does not " in TEST_F()
3947 HasSubstr("OpReturnValue Value <id> '3[%float_0]'s type does " in TEST_F()
3962 HasSubstr("OpFunction Function Type <id> '2[%uint]' is not a function " in TEST_F()
3979 HasSubstr("Invalid use of function result id 3[%3].")); in TEST_F()
4023 HasSubstr("OpFunctionParameter Result Type <id> '1[%void]' does not " in TEST_F()
4072 HasSubstr("OpFunctionCall Result Type <id> '1[%void]'s type " in TEST_F()
4092 HasSubstr("OpFunctionCall Function <id> '5[%uint_42]' is not a " in TEST_F()
4121 HasSubstr("OpFunctionCall Argument <id> '7[%float_3_1400001]'s " in TEST_F()
4152 HasSubstr("All OpSampledImage instructions must be in the same block in " in TEST_F()
4175 HasSubstr("Result <id> from OpSampledImage instruction must not " in TEST_F()
4334 HasSubstr("Result Type of OpVectorShuffle must be OpTypeVector.")); in TEST_F()
4358 HasSubstr("OpVectorShuffle component literals count does not match " in TEST_F()
4380 HasSubstr("The type of Vector 1 must be OpTypeVector.")); in TEST_F()
4402 HasSubstr("The type of Vector 2 must be OpTypeVector.")); in TEST_F()
4434 HasSubstr("The Component Type of Vector 1 must be the same as " in TEST_F()
4467 HasSubstr("The Component Type of Vector 2 must be the same as " in TEST_F()
4497 HasSubstr( in TEST_F()
4531 HasSubstr("Component literal at operand 3 cannot be 0xFFFFFFFF in" in TEST_F()
4636 EXPECT_THAT(getDiagnosticString(), HasSubstr("ID 3[%true] is not a type " in TEST_F()
4677 HasSubstr("OpPhi does not have an equal number of incoming " in TEST_F()
4699 HasSubstr("OpPhi's number of incoming blocks (0) does not match " in TEST_F()
4723 HasSubstr("OpPhi's number of incoming blocks (2) does not match " in TEST_F()
4749 HasSubstr("OpPhi's result type <id> 2[%bool] does not match " in TEST_F()
4776 HasSubstr("OpPhi's incoming basic block <id> 3[%true] is not an " in TEST_F()
4802 HasSubstr("OpPhi's incoming basic block <id> 9[%9] is not a " in TEST_F()
4838 HasSubstr( in TEST_F()
4851 HasSubstr("The 'True Label' operand for OpBranchConditional must " in TEST_F()
4864 HasSubstr("The 'False Label' operand for OpBranchConditional " in TEST_F()
4879 HasSubstr("OpBranchConditional requires either 3 or 5 parameters")); in TEST_F()
4893 HasSubstr("OpBranchConditional requires either 3 or 5 parameters")); in TEST_F()
4903 EXPECT_THAT(getDiagnosticString(), HasSubstr("Operand 3[%bool] cannot be a " in TEST_F()
4966 EXPECT_THAT(getDiagnosticString(), HasSubstr("Operand 1[%void] cannot be a " in TEST_F()
4982 HasSubstr("OpReturnValue Value <id> '5[%5]' does not represent a " in TEST_F()
5000 HasSubstr("OpReturnValue value's type <id> '1[%void]' is missing or " in TEST_F()
5037 HasSubstr("OpReturnValue value's type <id> " in TEST_F()
5067 HasSubstr("OpReturnValue value's type <id> '7' is a pointer, " in TEST_F()
5093 HasSubstr("Forward reference operands in an OpTypeStruct must " in TEST_F()
5111 EXPECT_THAT(getDiagnosticString(), HasSubstr("ID 7[%7] has not been " in TEST_F()
5129 EXPECT_THAT(getDiagnosticString(), HasSubstr("ID 7[%7] has not been " in TEST_F()
5265 HasSubstr("OpLoad type for pointer <id> '11[%11]' is not a pointer " in TEST_F()
5306 HasSubstr("OpStore type for pointer <id> '11[%11]' is not a pointer " in TEST_F()
5333 HasSubstr( in TEST_F()
5353 HasSubstr("OpDecorate SpecId decoration target <id> " in TEST_F()
5375 HasSubstr("OpDecorate SpecId decoration target <id> '1[%1]' is " in TEST_F()
5395 HasSubstr("OpDecorate SpecId decoration target <id> '1[%1]' is " in TEST_F()
5441 HasSubstr( in TEST_F()
5456 HasSubstr("Structures cannot contain a void type.")); in TEST_F()
5472 HasSubstr("Invalid use of function type result id 2[%2].")); in TEST_F()
5490 EXPECT_THAT(getDiagnosticString(), HasSubstr("ID 4[%float_0] is not a type " in TEST_F()
5542 HasSubstr("NonPrivatePointerKHR must be specified if " in TEST_F()
5570 HasSubstr("NonPrivatePointerKHR requires a pointer in Uniform, " in TEST_F()
5599 HasSubstr("MakePointerAvailableKHR cannot be used with OpLoad")); in TEST_F()
5650 HasSubstr("NonPrivatePointerKHR must be specified if " in TEST_F()
5678 HasSubstr("NonPrivatePointerKHR requires a pointer in Uniform, " in TEST_F()
5707 HasSubstr("MakePointerVisibleKHR cannot be used with OpStore.")); in TEST_F()
5818 HasSubstr("NonPrivatePointerKHR must be specified if " in TEST_F()
5849 HasSubstr("NonPrivatePointerKHR must be specified if " in TEST_F()
5880 HasSubstr("NonPrivatePointerKHR requires a pointer in Uniform, " in TEST_F()
5912 HasSubstr("NonPrivatePointerKHR requires a pointer in Uniform, " in TEST_F()
6030 HasSubstr("NonPrivatePointerKHR must be specified if " in TEST_F()
6062 HasSubstr("NonPrivatePointerKHR must be specified if " in TEST_F()
6094 HasSubstr("NonPrivatePointerKHR requires a pointer in Uniform, " in TEST_F()
6127 HasSubstr("NonPrivatePointerKHR requires a pointer in Uniform, " in TEST_F()
6152 HasSubstr("ID 7[%7] defined in block 6[%6] does not dominate its " in TEST_F()
6178 HasSubstr("ID 8[%8] defined in block 7[%7] does not dominate its " in TEST_F()
6204 HasSubstr("ID 8[%8] defined in block 7[%7] does not dominate its " in TEST_F()
6271 HasSubstr("ID 9[%9] defined in block 8[%8] does not dominate its " in TEST_F()
6323 HasSubstr("In OpPhi instruction 14[%14], ID 13[%13] definition does not " in TEST_F()
6347 HasSubstr("Pointer type in OpTypeForwardPointer is not a pointer " in TEST_F()
6373 HasSubstr("Storage class in OpTypeForwardPointer does not match the " in TEST_F()