Home
last modified time | relevance | path

Searched refs:cst (Results 1 – 3 of 3) 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.cc346 int64_t cst = Int64FromConstant(shift_amount->AsConstant()); in VisitShift() local
347 int64_t masked_cst = cst & implicit_mask; in VisitShift()
357 } else if (masked_cst != cst) { in VisitShift()