Searched refs:cst (Results 1 – 3 of 3) sorted by relevance
98 TestTwoCustom cst{}; in TEST() local101 cst.f4_a = CustomBitStruct(0b0110); in TEST()102 cst.f4_b = CustomBitStruct(0b0101); in TEST()104 int8_t read_out = static_cast<CustomBitStruct>(cst.f4_a).data; in TEST()105 int8_t read_out_b = static_cast<CustomBitStruct>(cst.f4_b).data; in TEST()110 EXPECT_EQ(AsUint(cst), 0b01010110u); in TEST()113 cst.f4_a = CustomBitStruct(0); in TEST()115 read_out = static_cast<CustomBitStruct>(cst.f4_a).data; in TEST()116 read_out_b = static_cast<CustomBitStruct>(cst.f4_b).data; in TEST()121 EXPECT_EQ(AsUint(cst), 0b01010000u); in TEST()
126 HConstant* cst = add->GetConstantRight(); in AreLeastSetBitInputs() local127 return cst != nullptr && cst->IsMinusOne() && other == add->GetLeastConstantLeft(); in AreLeastSetBitInputs()131 HConstant* cst = sub->GetConstantRight(); in AreLeastSetBitInputs() local132 return cst != nullptr && cst->IsOne() && other == sub->GetLeastConstantLeft(); in AreLeastSetBitInputs()
346 int64_t cst = Int64FromConstant(shift_amount->AsConstant()); in VisitShift() local347 int64_t masked_cst = cst & implicit_mask; in VisitShift()357 } else if (masked_cst != cst) { in VisitShift()