Home
last modified time | relevance | path

Searched refs:AccessModeTemplate (Results 1 – 11 of 11) sorted by relevance

/art/runtime/mirror/
Dvar_handle.cc97 int32_t GetNumberOfParameters(VarHandle::AccessModeTemplate access_mode_template, in GetNumberOfParameters()
146 return VarHandle::GetAccessModeTemplate(access_mode) == VarHandle::AccessModeTemplate::kGet; in IsReadOnlyAccessMode()
154 VarHandle::AccessModeTemplate access_mode_template, in BuildParameterArray()
171 case VarHandle::AccessModeTemplate::kCompareAndExchange: in BuildParameterArray()
172 case VarHandle::AccessModeTemplate::kCompareAndSet: in BuildParameterArray()
176 case VarHandle::AccessModeTemplate::kGet: in BuildParameterArray()
178 case VarHandle::AccessModeTemplate::kGetAndUpdate: in BuildParameterArray()
179 case VarHandle::AccessModeTemplate::kSet: in BuildParameterArray()
188 static ObjPtr<Class> GetReturnType(VarHandle::AccessModeTemplate access_mode_template, in GetReturnType()
193 case VarHandle::AccessModeTemplate::kCompareAndSet: in GetReturnType()
[all …]
Dvar_handle_test.cc424 TEST_F(VarHandleTest, AccessModeTemplate) { in TEST_F() argument
425 EXPECT_EQ(VarHandle::AccessModeTemplate::kGet, in TEST_F()
427 EXPECT_EQ(VarHandle::AccessModeTemplate::kSet, in TEST_F()
429 EXPECT_EQ(VarHandle::AccessModeTemplate::kGet, in TEST_F()
431 EXPECT_EQ(VarHandle::AccessModeTemplate::kSet, in TEST_F()
433 EXPECT_EQ(VarHandle::AccessModeTemplate::kGet, in TEST_F()
435 EXPECT_EQ(VarHandle::AccessModeTemplate::kSet, in TEST_F()
437 EXPECT_EQ(VarHandle::AccessModeTemplate::kGet, in TEST_F()
439 EXPECT_EQ(VarHandle::AccessModeTemplate::kSet, in TEST_F()
441 EXPECT_EQ(VarHandle::AccessModeTemplate::kCompareAndSet, in TEST_F()
[all …]
Dvar_handle.h109 enum class AccessModeTemplate : uint32_t { enum
178 static AccessModeTemplate GetAccessModeTemplate(AccessMode access_mode);
181 static AccessModeTemplate GetAccessModeTemplateByIntrinsic(Intrinsics ordinal);
184 static int32_t GetNumberOfVarTypeParameters(AccessModeTemplate access_mode_template);
/art/compiler/optimizing/
Dintrinsics_utils.h105 mirror::VarHandle::AccessModeTemplate access_mode_template = in GetExpectedVarHandleCoordinatesCount()
151 mirror::VarHandle::AccessModeTemplate access_mode = in IsVarHandleGet()
153 return access_mode == mirror::VarHandle::AccessModeTemplate::kGet; in IsVarHandleGet()
191 mirror::VarHandle::AccessModeTemplate access_mode = in IsVarHandleCASFamily()
193 return access_mode == mirror::VarHandle::AccessModeTemplate::kCompareAndSet || in IsVarHandleCASFamily()
194 access_mode == mirror::VarHandle::AccessModeTemplate::kGetAndUpdate || in IsVarHandleCASFamily()
195 access_mode == mirror::VarHandle::AccessModeTemplate::kCompareAndExchange; in IsVarHandleCASFamily()
Dinstruction_builder.cc1183 mirror::VarHandle::AccessModeTemplate access_mode_template = in VarHandleAccessorNeedsReturnTypeCheck()
1187 case mirror::VarHandle::AccessModeTemplate::kGet: in VarHandleAccessorNeedsReturnTypeCheck()
1188 case mirror::VarHandle::AccessModeTemplate::kGetAndUpdate: in VarHandleAccessorNeedsReturnTypeCheck()
1189 case mirror::VarHandle::AccessModeTemplate::kCompareAndExchange: in VarHandleAccessorNeedsReturnTypeCheck()
1191 case mirror::VarHandle::AccessModeTemplate::kSet: in VarHandleAccessorNeedsReturnTypeCheck()
1192 case mirror::VarHandle::AccessModeTemplate::kCompareAndSet: in VarHandleAccessorNeedsReturnTypeCheck()
1273 mirror::VarHandle::AccessModeTemplate access_mode_template = in DecideVarHandleIntrinsic()
1276 case mirror::VarHandle::AccessModeTemplate::kGet: in DecideVarHandleIntrinsic()
1283 case mirror::VarHandle::AccessModeTemplate::kSet: in DecideVarHandleIntrinsic()
1289 case mirror::VarHandle::AccessModeTemplate::kCompareAndSet: { in DecideVarHandleIntrinsic()
[all …]
Dintrinsics_arm_vixl.cc4044 DCHECK(GetAccessModeTemplate() == mirror::VarHandle::AccessModeTemplate::kGet || in SetAtomic()
4045 GetAccessModeTemplate() == mirror::VarHandle::AccessModeTemplate::kSet); in SetAtomic()
4051 DCHECK(GetAccessModeTemplate() == mirror::VarHandle::AccessModeTemplate::kCompareAndSet); in SetCompareAndSetOrExchangeArgs()
4053 DCHECK(GetAccessModeTemplate() == mirror::VarHandle::AccessModeTemplate::kCompareAndExchange); in SetCompareAndSetOrExchangeArgs()
4060 DCHECK(GetAccessModeTemplate() == mirror::VarHandle::AccessModeTemplate::kGetAndUpdate); in SetGetAndUpdateOp()
4076 mirror::VarHandle::AccessModeTemplate GetAccessModeTemplate() const { in GetAccessModeTemplate()
5533 mirror::VarHandle::AccessModeTemplate access_mode_template = GetAccessModeTemplate(); in EmitByteArrayViewCode()
5597 if (access_mode_template == mirror::VarHandle::AccessModeTemplate::kSet) { in EmitByteArrayViewCode()
5612 case mirror::VarHandle::AccessModeTemplate::kGet: in EmitByteArrayViewCode()
5615 case mirror::VarHandle::AccessModeTemplate::kSet: in EmitByteArrayViewCode()
[all …]
Dintrinsics_riscv64.cc3047 DCHECK(GetAccessModeTemplate() == mirror::VarHandle::AccessModeTemplate::kCompareAndSet); in SetCompareAndSetOrExchangeArgs()
3049 DCHECK(GetAccessModeTemplate() == mirror::VarHandle::AccessModeTemplate::kCompareAndExchange); in SetCompareAndSetOrExchangeArgs()
3056 DCHECK(GetAccessModeTemplate() == mirror::VarHandle::AccessModeTemplate::kGetAndUpdate); in SetGetAndUpdateOp()
3072 mirror::VarHandle::AccessModeTemplate GetAccessModeTemplate() const { in GetAccessModeTemplate()
4636 mirror::VarHandle::AccessModeTemplate access_mode_template = GetAccessModeTemplate(); in EmitByteArrayViewCode()
4683 if (access_mode_template == mirror::VarHandle::AccessModeTemplate::kSet && in EmitByteArrayViewCode()
4695 case mirror::VarHandle::AccessModeTemplate::kGet: in EmitByteArrayViewCode()
4698 case mirror::VarHandle::AccessModeTemplate::kSet: in EmitByteArrayViewCode()
4701 case mirror::VarHandle::AccessModeTemplate::kCompareAndSet: in EmitByteArrayViewCode()
4702 case mirror::VarHandle::AccessModeTemplate::kCompareAndExchange: in EmitByteArrayViewCode()
[all …]
Dintrinsics_arm64.cc4338 DCHECK(GetAccessModeTemplate() == mirror::VarHandle::AccessModeTemplate::kCompareAndSet); in SetCompareAndSetOrExchangeArgs()
4340 DCHECK(GetAccessModeTemplate() == mirror::VarHandle::AccessModeTemplate::kCompareAndExchange); in SetCompareAndSetOrExchangeArgs()
4347 DCHECK(GetAccessModeTemplate() == mirror::VarHandle::AccessModeTemplate::kGetAndUpdate); in SetGetAndUpdateOp()
4363 mirror::VarHandle::AccessModeTemplate GetAccessModeTemplate() const { in GetAccessModeTemplate()
5678 mirror::VarHandle::AccessModeTemplate access_mode_template = GetAccessModeTemplate(); in EmitByteArrayViewCode()
5729 if (access_mode_template == mirror::VarHandle::AccessModeTemplate::kSet && in EmitByteArrayViewCode()
5741 case mirror::VarHandle::AccessModeTemplate::kGet: in EmitByteArrayViewCode()
5744 case mirror::VarHandle::AccessModeTemplate::kSet: in EmitByteArrayViewCode()
5747 case mirror::VarHandle::AccessModeTemplate::kCompareAndSet: in EmitByteArrayViewCode()
5748 case mirror::VarHandle::AccessModeTemplate::kCompareAndExchange: in EmitByteArrayViewCode()
[all …]
Dintrinsics_x86.cc3823 mirror::VarHandle::AccessModeTemplate access_mode_template = in GenerateVarHandleCommonChecks()
3828 case mirror::VarHandle::AccessModeTemplate::kGet: in GenerateVarHandleCommonChecks()
3833 case mirror::VarHandle::AccessModeTemplate::kSet: in GenerateVarHandleCommonChecks()
3834 case mirror::VarHandle::AccessModeTemplate::kGetAndUpdate: { in GenerateVarHandleCommonChecks()
3852 case mirror::VarHandle::AccessModeTemplate::kCompareAndSet: in GenerateVarHandleCommonChecks()
3853 case mirror::VarHandle::AccessModeTemplate::kCompareAndExchange: { in GenerateVarHandleCommonChecks()
4441 mirror::VarHandle::AccessModeTemplate access_mode_template = in CreateVarHandleCompareAndSetOrExchangeLocations()
4444 if (access_mode_template == mirror::VarHandle::AccessModeTemplate::kCompareAndExchange && in CreateVarHandleCompareAndSetOrExchangeLocations()
4490 mirror::VarHandle::AccessModeTemplate access_mode_template = in GenerateVarHandleCompareAndSetOrExchange()
4493 access_mode_template == mirror::VarHandle::AccessModeTemplate::kCompareAndExchange; in GenerateVarHandleCompareAndSetOrExchange()
Dintrinsics_x86_64.cc3549 mirror::VarHandle::AccessModeTemplate GetAccessModeTemplate() const { in GetAccessModeTemplate()
5070 mirror::VarHandle::AccessModeTemplate access_mode_template = GetAccessModeTemplate(); in EmitByteArrayViewCode()
5117 if (access_mode_template == mirror::VarHandle::AccessModeTemplate::kSet && in EmitByteArrayViewCode()
5128 case mirror::VarHandle::AccessModeTemplate::kGet: in EmitByteArrayViewCode()
5131 case mirror::VarHandle::AccessModeTemplate::kSet: in EmitByteArrayViewCode()
5134 case mirror::VarHandle::AccessModeTemplate::kCompareAndSet: in EmitByteArrayViewCode()
5138 case mirror::VarHandle::AccessModeTemplate::kCompareAndExchange: in EmitByteArrayViewCode()
5142 case mirror::VarHandle::AccessModeTemplate::kGetAndUpdate: in EmitByteArrayViewCode()
Dinstruction_simplifier.cc3109 mirror::VarHandle::AccessModeTemplate access_mode_template = in CanUseKnownImageVarHandle()
3113 DataType::Type type = (access_mode_template == mirror::VarHandle::AccessModeTemplate::kGet) in CanUseKnownImageVarHandle()