Home
last modified time | relevance | path

Searched refs:ThunkKey (Results 1 – 7 of 7) sorted by relevance

/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.h50 class ThunkKey {
52 explicit ThunkKey(ThunkType type, uint32_t custom_value1 = 0u, uint32_t custom_value2 = 0u)
75 bool operator()(const ThunkKey& lhs, const ThunkKey& rhs) const { in operator()
86 static ThunkKey GetMethodCallKey();
87 static ThunkKey GetBakerThunkKey(const LinkerPatch& patch);
93 uint32_t GetThunkTargetOffset(const ThunkKey& key, uint32_t patch_offset);
98 virtual uint32_t MaxPositiveDisplacement(const ThunkKey& key) = 0;
99 virtual uint32_t MaxNegativeDisplacement(const ThunkKey& key) = 0;
109 uint32_t CalculateMaxNextOffset(uint32_t patch_offset, const ThunkKey& key);
118 using ThunkMap = SafeMap<ThunkKey, ThunkData, ThunkKeyCompare>;
Drelative_patcher_thumb2.h50 uint32_t MaxPositiveDisplacement(const ThunkKey& key) override;
51 uint32_t MaxNegativeDisplacement(const ThunkKey& key) override;
Drelative_patcher_thumb2.cc114 ThunkKey key = GetBakerThunkKey(patch); in PatchBakerReadBarrierBranch()
127 uint32_t Thumb2RelativePatcher::MaxPositiveDisplacement(const ThunkKey& key) { in MaxPositiveDisplacement()
136 uint32_t Thumb2RelativePatcher::MaxNegativeDisplacement(const ThunkKey& key) { in MaxNegativeDisplacement()
Drelative_patcher_arm_base.cc367 uint32_t ArmBaseRelativePatcher::GetThunkTargetOffset(const ThunkKey& key, uint32_t patch_offset) { in GetThunkTargetOffset()
385 ArmBaseRelativePatcher::ThunkKey ArmBaseRelativePatcher::GetMethodCallKey() { in GetMethodCallKey()
386 return ThunkKey(ThunkType::kMethodCall); in GetMethodCallKey()
389 ArmBaseRelativePatcher::ThunkKey ArmBaseRelativePatcher::GetBakerThunkKey( in GetBakerThunkKey()
392 return ThunkKey(ThunkType::kBakerReadBarrier, in GetBakerThunkKey()
401 ThunkKey key(static_cast<ThunkType>(-1)); in ProcessPatches()
523 const ThunkKey& key) { in CalculateMaxNextOffset()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.h55 uint32_t MaxPositiveDisplacement(const ThunkKey& key) override;
56 uint32_t MaxNegativeDisplacement(const ThunkKey& key) override;
Drelative_patcher_arm64.cc319 ThunkKey key = GetBakerThunkKey(patch); in PatchBakerReadBarrierBranch()
328 uint32_t Arm64RelativePatcher::MaxPositiveDisplacement(const ThunkKey& key) { in MaxPositiveDisplacement()
337 uint32_t Arm64RelativePatcher::MaxNegativeDisplacement(const ThunkKey& key) { in MaxNegativeDisplacement()
/art/dex2oat/linker/
Drelative_patcher_test.h279 thunk_map_.emplace(ThunkKey(patch), ThunkValue(code, debug_name)); in SetThunkCode()
285 auto it = thunk_map_.find(ThunkKey(patch)); in GetThunkCode()
299 class ThunkKey {
301 explicit ThunkKey(const LinkerPatch& patch) in ThunkKey() function
311 bool operator<(const ThunkKey& other) const {
339 std::map<ThunkKey, ThunkValue> thunk_map_;