Lines Matching refs:result
56 << match_result.message() << "\nChecking result:\n"
62 InstructionFoldingCase(const std::string& tb, uint32_t id, ResultType result)
63 : test_body(tb), id_to_fold(id), expected_result(result) {}
99 const analysis::ScalarConstant* result =
101 EXPECT_NE(result, nullptr);
102 if (result != nullptr) {
103 EXPECT_EQ(result->GetU32BitValue(), tc.expected_result);
960 const analysis::Constant* result = const_mrg->GetConstantFromInst(inst);
961 EXPECT_NE(result, nullptr);
962 if (result != nullptr) {
964 result->AsVectorConstant()->GetComponents();
1069 const analysis::Constant* result = const_mrg->GetConstantFromInst(inst);
1070 EXPECT_NE(result, nullptr);
1071 if (result != nullptr) {
1073 result->AsVectorConstant()->GetComponents();
1145 const analysis::Constant* result = const_mrg->GetConstantFromInst(inst);
1146 EXPECT_NE(result, nullptr);
1147 if (result != nullptr) {
1149 result->AsVectorConstant()->GetComponents();
1270 const analysis::Constant* result = const_mrg->GetConstantFromInst(inst);
1271 EXPECT_NE(result, nullptr);
1272 if (result != nullptr) {
1274 result->AsVectorConstant()->GetComponents();
1410 const analysis::Constant* result = const_mgr->GetConstantFromInst(inst);
1411 EXPECT_NE(result, nullptr);
1412 if (result != nullptr) {
1414 result->AsMatrixConstant()->GetComponents();
1489 const analysis::BoolConstant* result =
1491 EXPECT_NE(result, nullptr);
1492 if (result != nullptr) {
1493 EXPECT_EQ(result->value(), tc.expected_result);
2099 const analysis::FloatConstant* result =
2101 EXPECT_NE(result, nullptr);
2102 if (result != nullptr) {
2104 EXPECT_EQ(result->GetFloatValue(), tc.expected_result);
2106 EXPECT_TRUE(std::isnan(result->GetFloatValue()));
2532 const analysis::FloatConstant* result =
2534 EXPECT_NE(result, nullptr);
2535 if (result != nullptr) {
2537 EXPECT_EQ(result->GetDoubleValue(), tc.expected_result);
2539 EXPECT_TRUE(std::isnan(result->GetDoubleValue()));
3384 ResultType result,
3386 : test_body(tb), id_to_fold(id), expected_result(result), id_map(map) {}
3417 const analysis::IntConstant* result =
3419 EXPECT_NE(result, nullptr);
3420 if (result != nullptr) {
3421 EXPECT_EQ(result->GetU32BitValue(), tc.expected_result);
3467 const analysis::BoolConstant* result =
3469 EXPECT_NE(result, nullptr);
3470 if (result != nullptr) {
3471 EXPECT_EQ(result->value(), tc.expected_result);
4120 // Test case 11: Extracting from result of vector shuffle (first input)
4131 // Test case 12: Extracting from result of vector shuffle (second input)
4164 // Don't fold extract fed by construct with vector result if the index is
7359 // Test case 0: Extracting from result of consecutive shuffles of differing
7375 // Test case 1: Extracting from result of vector shuffle of differing
7376 // input and result sizes.
7390 // Test case 2: Extracting from result of vector shuffle of differing
7391 // input and result sizes.
8043 // Test folding instructions that do not have a result. The instruction
8760 , 0 /* No result-id */, true),