Lines Matching defs:constant
94 const analysis::Constant* constant = const_mrg->GetConstantFromInst(inst);
96 EXPECT_TRUE((constant->AsIntConstant() != nullptr) ||
97 ((constant->AsFloatConstant() != nullptr) &&
98 (constant->type()->AsFloat()->width() == 16)));
4082 // Test case 7: fold constant extract.
4090 // Test case 8: constant struct has OpUndef
4230 // Test case 4: Fold construct with constants to constant.
7636 // Test case 16: Don't fold when type cannot be deduced to a constant.
8751 // Test case 6: OpImageGather with constant Offset
8756 // Test case 7: OpImageWrite with constant Offset
8761 // Test case 8: OpImageFetch with zero constant Offset