Searched refs:cst (Results 1 – 7 of 7) 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()
356 int64_t cst = Int64FromConstant(shift_amount->AsConstant()); in VisitShift() local357 int64_t masked_cst = cst & implicit_mask; in VisitShift()367 } else if (masked_cst != cst) { in VisitShift()
1290 HConstant* cst = constant.GetConstant(); in CoherentConstantAndType() local1291 return (cst->IsIntConstant() && type == DataType::Type::kInt32) || in CoherentConstantAndType()1293 (cst->IsNullConstant() && type == DataType::Type::kInt32) || in CoherentConstantAndType()1294 (cst->IsLongConstant() && type == DataType::Type::kInt64) || in CoherentConstantAndType()1295 (cst->IsFloatConstant() && type == DataType::Type::kFloat32) || in CoherentConstantAndType()1296 (cst->IsDoubleConstant() && type == DataType::Type::kFloat64); in CoherentConstantAndType()
4855 int32_t cst = Int32ConstantFrom(second); in HandleShift() local4856 uint32_t shift_value = cst & kMaxIntShiftDistance; in HandleShift()4940 int32_t cst = Int32ConstantFrom(second); in HandleShift() local4941 uint32_t shift_value = cst & kMaxLongShiftDistance; in HandleShift()
3667 void InstructionCodeGeneratorMIPS64::VisitDoubleConstant(HDoubleConstant* cst ATTRIBUTE_UNUSED) { in VisitDoubleConstant()
4336 void InstructionCodeGeneratorMIPS::VisitDoubleConstant(HDoubleConstant* cst ATTRIBUTE_UNUSED) { in VisitDoubleConstant()