• Home
  • Raw
  • Download

Lines Matching refs:LoadKind

6243   enum class LoadKind {  enum
6296 is_referrers_class ? LoadKind::kReferrersClass : LoadKind::kRuntimeCall); in HLoadClass()
6305 void SetLoadKind(LoadKind load_kind);
6307 LoadKind GetLoadKind() const { in GetLoadKind()
6312 return GetLoadKind() == LoadKind::kBootImageLinkTimePcRelative || in HasPcRelativeLoadKind()
6313 GetLoadKind() == LoadKind::kBootImageRelRo || in HasPcRelativeLoadKind()
6314 GetLoadKind() == LoadKind::kBssEntry; in HasPcRelativeLoadKind()
6339 GetLoadKind() == LoadKind::kRuntimeCall || in CanCallRuntime()
6340 GetLoadKind() == LoadKind::kBssEntry; in CanCallRuntime()
6347 ((GetLoadKind() == LoadKind::kRuntimeCall || in CanThrow()
6348 GetLoadKind() == LoadKind::kBssEntry) && in CanThrow()
6371 return GetLoadKind() == LoadKind::kRuntimeCall; in NeedsDexCacheOfDeclaringClass()
6378 bool IsReferrersClass() const { return GetLoadKind() == LoadKind::kReferrersClass; } in IsReferrersClass()
6385 DCHECK(GetLoadKind() != LoadKind::kRuntimeCall); // kRuntimeCall calls on main path. in MustResolveTypeOnSlowPath()
6386 DCHECK(GetLoadKind() == LoadKind::kBssEntry || MustGenerateClinitCheck()); in MustResolveTypeOnSlowPath()
6387 return GetLoadKind() == LoadKind::kBssEntry; in MustResolveTypeOnSlowPath()
6419 MinimumBitsToStore(static_cast<size_t>(LoadKind::kLast));
6423 using LoadKindField = BitField<LoadKind, kFieldLoadKind, kFieldLoadKindSize>;
6425 static bool HasTypeReference(LoadKind load_kind) { in HasTypeReference()
6426 return load_kind == LoadKind::kReferrersClass || in HasTypeReference()
6427 load_kind == LoadKind::kBootImageLinkTimePcRelative || in HasTypeReference()
6428 load_kind == LoadKind::kBssEntry || in HasTypeReference()
6429 load_kind == LoadKind::kRuntimeCall; in HasTypeReference()
6432 void SetLoadKindInternal(LoadKind load_kind);
6449 std::ostream& operator<<(std::ostream& os, HLoadClass::LoadKind rhs);
6452 inline void HLoadClass::SetLoadKind(LoadKind load_kind) { in SetLoadKind()
6457 if (load_kind != LoadKind::kRuntimeCall && load_kind != LoadKind::kReferrersClass) { in SetLoadKind()
6469 DCHECK(GetLoadKind() == LoadKind::kBootImageLinkTimePcRelative || in AddSpecialInput()
6470 GetLoadKind() == LoadKind::kBootImageRelRo || in AddSpecialInput()
6471 GetLoadKind() == LoadKind::kBssEntry || in AddSpecialInput()
6472 GetLoadKind() == LoadKind::kJitBootImageAddress) << GetLoadKind(); in AddSpecialInput()
6481 enum class LoadKind { enum
6519 SetPackedField<LoadKindField>(LoadKind::kRuntimeCall); in HLoadString()
6524 void SetLoadKind(LoadKind load_kind);
6526 LoadKind GetLoadKind() const { in GetLoadKind()
6531 return GetLoadKind() == LoadKind::kBootImageLinkTimePcRelative || in HasPcRelativeLoadKind()
6532 GetLoadKind() == LoadKind::kBootImageRelRo || in HasPcRelativeLoadKind()
6533 GetLoadKind() == LoadKind::kBssEntry; in HasPcRelativeLoadKind()
6561 LoadKind load_kind = GetLoadKind(); in NeedsEnvironment()
6562 if (load_kind == LoadKind::kBootImageLinkTimePcRelative || in NeedsEnvironment()
6563 load_kind == LoadKind::kBootImageRelRo || in NeedsEnvironment()
6564 load_kind == LoadKind::kJitBootImageAddress || in NeedsEnvironment()
6565 load_kind == LoadKind::kJitTableAddress) { in NeedsEnvironment()
6572 return GetLoadKind() == LoadKind::kRuntimeCall; in NeedsDexCacheOfDeclaringClass()
6598 MinimumBitsToStore(static_cast<size_t>(LoadKind::kLast));
6601 using LoadKindField = BitField<LoadKind, kFieldLoadKind, kFieldLoadKindSize>;
6603 void SetLoadKindInternal(LoadKind load_kind);
6615 std::ostream& operator<<(std::ostream& os, HLoadString::LoadKind rhs);
6618 inline void HLoadString::SetLoadKind(LoadKind load_kind) { in SetLoadKind()
6622 DCHECK_EQ(GetLoadKind(), LoadKind::kRuntimeCall); in SetLoadKind()
6624 if (load_kind != LoadKind::kRuntimeCall) { in SetLoadKind()
6636 DCHECK(GetLoadKind() == LoadKind::kBootImageLinkTimePcRelative || in AddSpecialInput()
6637 GetLoadKind() == LoadKind::kBootImageRelRo || in AddSpecialInput()
6638 GetLoadKind() == LoadKind::kBssEntry || in AddSpecialInput()
6639 GetLoadKind() == LoadKind::kJitBootImageAddress) << GetLoadKind(); in AddSpecialInput()