Home
last modified time | relevance | path

Searched refs:cst (Results 1 – 7 of 7) sorted by relevance

/art/libartbase/base/
Dbit_struct_test.cc98 TestTwoCustom cst{}; in TEST() local
101 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()
/art/compiler/optimizing/
Dinstruction_simplifier_x86_shared.cc126 HConstant* cst = add->GetConstantRight(); in AreLeastSetBitInputs() local
127 return cst != nullptr && cst->IsMinusOne() && other == add->GetLeastConstantLeft(); in AreLeastSetBitInputs()
131 HConstant* cst = sub->GetConstantRight(); in AreLeastSetBitInputs() local
132 return cst != nullptr && cst->IsOne() && other == sub->GetLeastConstantLeft(); in AreLeastSetBitInputs()
Dinstruction_simplifier.cc356 int64_t cst = Int64FromConstant(shift_amount->AsConstant()); in VisitShift() local
357 int64_t masked_cst = cst & implicit_mask; in VisitShift()
367 } else if (masked_cst != cst) { in VisitShift()
Dcode_generator_arm64.cc1290 HConstant* cst = constant.GetConstant(); in CoherentConstantAndType() local
1291 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()
Dcode_generator_arm_vixl.cc4855 int32_t cst = Int32ConstantFrom(second); in HandleShift() local
4856 uint32_t shift_value = cst & kMaxIntShiftDistance; in HandleShift()
4940 int32_t cst = Int32ConstantFrom(second); in HandleShift() local
4941 uint32_t shift_value = cst & kMaxLongShiftDistance; in HandleShift()
Dcode_generator_mips64.cc3667 void InstructionCodeGeneratorMIPS64::VisitDoubleConstant(HDoubleConstant* cst ATTRIBUTE_UNUSED) { in VisitDoubleConstant()
Dcode_generator_mips.cc4336 void InstructionCodeGeneratorMIPS::VisitDoubleConstant(HDoubleConstant* cst ATTRIBUTE_UNUSED) { in VisitDoubleConstant()