Home
last modified time | relevance | path

Searched refs:Intrinsics (Results 1 – 25 of 29) sorted by relevance

12

/art/runtime/
Dhidden_api.h278 switch (static_cast<Intrinsics>(method->GetIntrinsic())) { in GetRuntimeFlags()
279 case Intrinsics::kSystemArrayCopyChar: in GetRuntimeFlags()
280 case Intrinsics::kStringGetCharsNoCheck: in GetRuntimeFlags()
281 case Intrinsics::kReferenceGetReferent: in GetRuntimeFlags()
282 case Intrinsics::kMemoryPeekByte: in GetRuntimeFlags()
283 case Intrinsics::kMemoryPokeByte: in GetRuntimeFlags()
284 case Intrinsics::kUnsafeCASInt: in GetRuntimeFlags()
285 case Intrinsics::kUnsafeCASLong: in GetRuntimeFlags()
286 case Intrinsics::kUnsafeCASObject: in GetRuntimeFlags()
287 case Intrinsics::kUnsafeGet: in GetRuntimeFlags()
[all …]
Dintrinsics_enum.h22 enum class Intrinsics { enum
31 std::ostream& operator<<(std::ostream& os, const Intrinsics& intrinsic);
Druntime_intrinsics.cc35 Intrinsics intrinsic, in InitializeIntrinsic()
72 Intrinsics::k##Name, \ in InitializeIntrinsics()
Dmethod_handles.cc1047 mirror::VarHandle::GetAccessModeByIntrinsic(static_cast<Intrinsics>(intrinsic_index)); in DoVarHandleInvokeTranslation()
/art/compiler/optimizing/
Dinstruction_simplifier.cc2323 invoke->SetIntrinsic(Intrinsics::kDoubleDoubleToRawLongBits, in SimplifyFP2Int()
2330 invoke->SetIntrinsic(Intrinsics::kFloatFloatToRawIntBits, in SimplifyFP2Int()
2376 if (invoke->GetIntrinsic() == Intrinsics::kStringIsEmpty) { in SimplifyStringIsEmptyOrLength()
2383 DCHECK_EQ(invoke->GetIntrinsic(), Intrinsics::kStringLength); in SimplifyStringIsEmptyOrLength()
2390 DCHECK(invoke->GetIntrinsic() == Intrinsics::kStringIndexOf || in SimplifyStringIndexOf()
2391 invoke->GetIntrinsic() == Intrinsics::kStringIndexOfAfter); in SimplifyStringIndexOf()
2404 if (utf16_length == 1 && invoke->GetIntrinsic() == Intrinsics::kStringIndexOf) { in SimplifyStringIndexOf()
2454 case Intrinsics::kStringBufferLength: in NoEscapeForStringBufferReference()
2455 case Intrinsics::kStringBufferToString: in NoEscapeForStringBufferReference()
2458 case Intrinsics::kStringBufferAppend: in NoEscapeForStringBufferReference()
[all …]
Dintrinsics.h44 case Intrinsics::kNone: in Dispatch()
47 case Intrinsics::k ## Name: \ in Dispatch()
330 if (invoke->GetIntrinsic() != Intrinsics::kNone) { in IsCallFreeIntrinsic()
Dpc_relative_fixups_x86.cc229 case Intrinsics::kIntegerValueOf: in HandleInvoke()
236 case Intrinsics::kMathRoundFloat: in HandleInvoke()
Dintrinsics.cc36 std::ostream& operator<<(std::ostream& os, const Intrinsics& intrinsic) { in operator <<()
38 case Intrinsics::kNone: in operator <<()
42 case Intrinsics::k ## Name: \ in operator <<()
Dnodes.cc2880 void HInvoke::SetIntrinsic(Intrinsics intrinsic, in SetIntrinsic()
3189 static_cast<uint32_t>(Intrinsics::k ## Name) <= (kAccIntrinsicBits >> CTZ(kAccIntrinsicBits)), \
3197 static inline IntrinsicNeedsEnvironmentOrCache NeedsEnvironmentOrCacheIntrinsic(Intrinsics i) { in INTRINSICS_LIST()
3199 case Intrinsics::kNone: in INTRINSICS_LIST()
3202 case Intrinsics::k ## Name: \ in INTRINSICS_LIST()
3213 static inline IntrinsicSideEffects GetSideEffectsIntrinsic(Intrinsics i) { in GetSideEffectsIntrinsic()
3215 case Intrinsics::kNone: in GetSideEffectsIntrinsic()
3218 case Intrinsics::k ## Name: \ in GetSideEffectsIntrinsic()
3229 static inline IntrinsicExceptions GetExceptionsIntrinsic(Intrinsics i) { in GetExceptionsIntrinsic()
3231 case Intrinsics::kNone: in GetExceptionsIntrinsic()
[all …]
Dnodes.h4316 Intrinsics GetIntrinsic() const { in GetIntrinsic()
4320 void SetIntrinsic(Intrinsics intrinsic,
4340 return intrinsic_ != Intrinsics::kNone && intrinsic_ == other->AsInvoke()->intrinsic_; in InstructionDataEquals()
4351 bool IsIntrinsic() const { return intrinsic_ != Intrinsics::kNone; } in IsIntrinsic()
4387 intrinsic_(Intrinsics::kNone), in HInvoke()
4401 Intrinsics intrinsic_;
4775 case Intrinsics::kThreadCurrentThread: in CanBeNull()
4776 case Intrinsics::kStringBufferAppend: in CanBeNull()
4777 case Intrinsics::kStringBufferToString: in CanBeNull()
4778 case Intrinsics::kStringBuilderAppend: in CanBeNull()
[all …]
Dregister_allocation_resolver.cc354 DCHECK(use.GetUser()->AsInvoke()->GetIntrinsic() != Intrinsics::kNone); in ConnectSiblings()
Dintrinsics_x86_64.cc91 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode()
1894 (invoke->GetIntrinsic() == Intrinsics::kUnsafeGetObject || in CreateIntIntIntToIntLocations()
1895 invoke->GetIntrinsic() == Intrinsics::kUnsafeGetObjectVolatile); in CreateIntIntIntToIntLocations()
2066 (invoke->GetIntrinsic() == Intrinsics::kUnsafeCASObject); in CreateIntIntIntIntIntToInt()
Dintrinsics_mips64.cc844 (invoke->GetIntrinsic() == Intrinsics::kUnsafeGetObject || in CreateIntIntIntToIntLocations()
845 invoke->GetIntrinsic() == Intrinsics::kUnsafeGetObjectVolatile); in CreateIntIntIntToIntLocations()
1182 (invoke->GetIntrinsic() == Intrinsics::kUnsafeCASObject); in CreateIntIntIntIntIntToIntPlusTemps()
Dintrinsics_arm_vixl.cc185 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode()
693 (invoke->GetIntrinsic() == Intrinsics::kUnsafeGetObject || in CreateIntIntIntToIntLocations()
694 invoke->GetIntrinsic() == Intrinsics::kUnsafeGetObjectVolatile); in CreateIntIntIntToIntLocations()
942 (invoke->GetIntrinsic() == Intrinsics::kUnsafeCASObject); in CreateIntIntIntIntIntToIntPlusTemps()
Dintrinsics_arm64.cc174 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode()
775 (invoke->GetIntrinsic() == Intrinsics::kUnsafeGetObject || in CreateIntIntIntToIntLocations()
776 invoke->GetIntrinsic() == Intrinsics::kUnsafeGetObjectVolatile); in CreateIntIntIntToIntLocations()
980 (invoke->GetIntrinsic() == Intrinsics::kUnsafeCASObject); in CreateIntIntIntIntIntToInt()
Dintrinsics_x86.cc93 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kSystemArrayCopy); in EmitNativeCode()
1743 (invoke->GetIntrinsic() == Intrinsics::kUnsafeGetObject || in CreateIntIntIntToIntLocations()
1744 invoke->GetIntrinsic() == Intrinsics::kUnsafeGetObjectVolatile); in CreateIntIntIntToIntLocations()
1957 (invoke->GetIntrinsic() == Intrinsics::kUnsafeCASObject); in CreateIntIntIntIntIntToInt()
Dinliner.cc174 if (call != nullptr && call->GetIntrinsic() == Intrinsics::kNone) { in Run()
1321 DCHECK_NE(new_invoke->GetIntrinsic(), Intrinsics::kNone); in TryInlineAndReplace()
Dintrinsics_mips.cc969 (invoke->GetIntrinsic() == Intrinsics::kUnsafeGetObject || in CreateIntIntIntToIntLocations()
970 invoke->GetIntrinsic() == Intrinsics::kUnsafeGetObjectVolatile); in CreateIntIntIntToIntLocations()
1335 (invoke->GetIntrinsic() == Intrinsics::kUnsafeCASObject); in CreateIntIntIntIntIntToIntPlusTemps()
Dcode_generator_mips64.cc600 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kUnsafeCASObject); in EmitNativeCode()
825 DCHECK((instruction_->AsInvoke()->GetIntrinsic() == Intrinsics::kUnsafeGetObject) || in EmitNativeCode()
826 (instruction_->AsInvoke()->GetIntrinsic() == Intrinsics::kUnsafeGetObjectVolatile)) in EmitNativeCode()
Dcode_generator_x86_64.cc591 DCHECK_EQ(instruction_->AsInvoke()->GetIntrinsic(), Intrinsics::kUnsafeCASObject); in EmitNativeCode()
825 DCHECK((instruction_->AsInvoke()->GetIntrinsic() == Intrinsics::kUnsafeGetObject) || in EmitNativeCode()
826 (instruction_->AsInvoke()->GetIntrinsic() == Intrinsics::kUnsafeGetObjectVolatile)) in EmitNativeCode()
/art/runtime/interpreter/
Dinterpreter_intrinsics.cc414 case Intrinsics::k##name: \
419 case Intrinsics::k##name: \
429 Intrinsics intrinsic = static_cast<Intrinsics>(called_method->GetIntrinsic()); in MterpHandleIntrinsic()
602 case Intrinsics::kNone: in MterpHandleIntrinsic()
Dinterpreter_common.cc895 switch (static_cast<art::Intrinsics>(invoke_method->GetIntrinsic())) { in DO_VAR_HANDLE_ACCESSOR()
897 case Intrinsics::k##Name: \ in DO_VAR_HANDLE_ACCESSOR()
/art/runtime/mirror/
Dvar_handle.h31 enum class Intrinsics; variable
146 static AccessMode GetAccessModeByIntrinsic(Intrinsics ordinal);
Dvar_handle.cc1620 VarHandle::AccessMode VarHandle::GetAccessModeByIntrinsic(Intrinsics intrinsic) { in GetAccessModeByIntrinsic()
1655 case Intrinsics::kVarHandle ## Name: \ in GetAccessModeByIntrinsic()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc2822 Intrinsics intrinsic = static_cast<Intrinsics>(resolved_method->GetIntrinsic()); in artInvokePolymorphic()
2828 if (intrinsic == Intrinsics::kMethodHandleInvokeExact) { in artInvokePolymorphic()
2837 static_cast<uint32_t>(Intrinsics::kMethodHandleInvoke)); in artInvokePolymorphic()

12