Searched refs:SizeShift (Results 1 – 11 of 11) sorted by relevance
/art/compiler/optimizing/ |
D | instruction_simplifier_shared.cc | 254 size_t component_shift = DataType::SizeShift(packed_type); in TryExtractVecArrayAccessAddress() 265 size_t another_component_shift = DataType::SizeShift(another_packed_type); in TryExtractVecArrayAccessAddress()
|
D | data_type.h | 51 static constexpr size_t SizeShift(Type type) { in SizeShift() function
|
D | loop_optimization.cc | 267 DCHECK_GE(DataType::SizeShift(other_type), DataType::SizeShift(vector_type)); in GetOtherVL() 268 return vl >> (DataType::SizeShift(other_type) - DataType::SizeShift(vector_type)); in GetOtherVL() 1241 : ((desired_alignment - offset) >> DataType::SizeShift(i->type)); in CanVectorizeDataFlow() 1416 uint32_t shift = DataType::SizeShift(vector_dynamic_peeling_candidate_->type); in VectorizeTraditional()
|
D | code_generator_arm64.cc | 677 __ Lsl(index_reg, index_reg, DataType::SizeShift(type)); in EmitNativeCode() 2721 offset += index << DataType::SizeShift(DataType::Type::kReference); in VisitArrayGet() 2772 offset += Int64FromLocation(index) << DataType::SizeShift(type); in VisitArrayGet() 2823 offset += Int64FromLocation(index) << DataType::SizeShift(type); in VisitArrayGet() 2853 source = HeapOperand(temp, XRegisterFrom(index), LSL, DataType::SizeShift(type)); in VisitArrayGet() 2941 offset += Int64FromLocation(index) << DataType::SizeShift(value_type); in VisitArraySet() 2960 DataType::SizeShift(value_type)); in VisitArraySet() 3081 offset += Int64FromLocation(index) << DataType::SizeShift(value_type); in VisitArraySet() 3089 DataType::SizeShift(value_type)); in VisitArraySet() 6982 size_t scale_factor = DataType::SizeShift(DataType::Type::kReference); in GenerateArrayLoadWithBakerReadBarrier()
|
D | code_generator_riscv64.cc | 1027 DCHECK_EQ(DataType::SizeShift(type), 0u); in ShNAdd() 1032 DCHECK_EQ(DataType::SizeShift(type), 1u); in ShNAdd() 1038 DCHECK_EQ(DataType::SizeShift(type), 2u); in ShNAdd() 1043 DCHECK_EQ(DataType::SizeShift(type), 3u); in ShNAdd() 2846 static constexpr size_t shift = DataType::SizeShift(DataType::Type::kReference); in VisitArrayGet() 2865 int32_t offset = data_offset + (const_index << DataType::SizeShift(type)); in VisitArrayGet() 3038 int32_t offset = data_offset + (const_index << DataType::SizeShift(value_type)); in VisitArraySet()
|
D | load_store_elimination_test.cc | 1579 cls, n, /*dex_pc=*/ 0u, DataType::SizeShift(DataType::Type::kInt32)); in TEST_F() 1673 cls, n, /*dex_pc=*/ 0u, DataType::SizeShift(DataType::Type::kInt32)); in TEST_F()
|
D | code_generator_arm_vixl.cc | 6495 uint32_t shift_count = DataType::SizeShift(type); in LoadFromShiftedRegOffset() 6531 uint32_t shift_count = DataType::SizeShift(type); in StoreToShiftedRegOffset() 6589 offset += index << DataType::SizeShift(DataType::Type::kReference); in VisitArrayGet() 6656 uint32_t full_offset = data_offset + (const_index << DataType::SizeShift(type)); in VisitArrayGet() 6723 data_offset += Int32ConstantFrom(index) << DataType::SizeShift(type); in VisitArrayGet() 6900 data_offset + (const_index << DataType::SizeShift(value_type)); in VisitArraySet()
|
D | intrinsics_arm64.cc | 2849 __ Add(dest, base, Operand(XRegisterFrom(pos), LSL, DataType::SizeShift(type))); in GenArrayAddress() 3515 temp, out.X(), LSL, DataType::SizeShift(DataType::Type::kReference)); in BOXED_TYPES() 4717 size_t size_shift = DataType::SizeShift(value_type); in GenerateVarHandleTarget()
|
D | intrinsics_arm_vixl.cc | 1210 __ Add(dest, base, Operand(RegisterFrom(pos), LSL, DataType::SizeShift(type))); in GenArrayAddress() 4438 uint32_t size_shift = DataType::SizeShift(value_type); in GenerateVarHandleTarget()
|
D | intrinsics_x86.cc | 84 const ScaleFactor scale_factor = static_cast<ScaleFactor>(DataType::SizeShift(type)); in GenArrayAddress()
|
D | intrinsics_x86_64.cc | 81 const ScaleFactor scale_factor = static_cast<ScaleFactor>(DataType::SizeShift(type)); in GenArrayAddress()
|