Searched refs:ThunkKey (Results 1 – 7 of 7) sorted by relevance
/art/dex2oat/linker/arm/ |
D | relative_patcher_arm_base.h | 51 class ThunkKey { 53 explicit ThunkKey(ThunkType type, uint32_t custom_value1 = 0u, uint32_t custom_value2 = 0u) 76 bool operator()(const ThunkKey& lhs, const ThunkKey& rhs) const { in operator() 87 static ThunkKey GetMethodCallKey(); 88 static ThunkKey GetEntrypointCallKey(const LinkerPatch& patch); 89 static ThunkKey GetBakerThunkKey(const LinkerPatch& patch); 95 uint32_t GetThunkTargetOffset(const ThunkKey& key, uint32_t patch_offset); 100 virtual uint32_t MaxPositiveDisplacement(const ThunkKey& key) = 0; 101 virtual uint32_t MaxNegativeDisplacement(const ThunkKey& key) = 0; 111 uint32_t CalculateMaxNextOffset(uint32_t patch_offset, const ThunkKey& key); [all …]
|
D | relative_patcher_thumb2.h | 53 uint32_t MaxPositiveDisplacement(const ThunkKey& key) override; 54 uint32_t MaxNegativeDisplacement(const ThunkKey& key) override;
|
D | relative_patcher_arm_base.cc | 367 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::GetEntrypointCallKey( in GetEntrypointCallKey() 392 return ThunkKey(ThunkType::kEntrypointCall, patch.EntrypointOffset()); in GetEntrypointCallKey() 395 ArmBaseRelativePatcher::ThunkKey ArmBaseRelativePatcher::GetBakerThunkKey( in GetBakerThunkKey() 398 return ThunkKey(ThunkType::kBakerReadBarrier, in GetBakerThunkKey() 407 ThunkKey key(static_cast<ThunkType>(-1)); in ProcessPatches() 536 const ThunkKey& key) { in CalculateMaxNextOffset()
|
D | relative_patcher_thumb2.cc | 91 ThunkKey key = GetEntrypointCallKey(patch); in PatchEntrypointCall() 107 ThunkKey key = GetBakerThunkKey(patch); in PatchBakerReadBarrierBranch() 120 uint32_t Thumb2RelativePatcher::MaxPositiveDisplacement(const ThunkKey& key) { in MaxPositiveDisplacement() 130 uint32_t Thumb2RelativePatcher::MaxNegativeDisplacement(const ThunkKey& key) { in MaxNegativeDisplacement()
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64.h | 58 uint32_t MaxPositiveDisplacement(const ThunkKey& key) override; 59 uint32_t MaxNegativeDisplacement(const ThunkKey& key) override;
|
D | relative_patcher_arm64.cc | 306 ThunkKey key = GetEntrypointCallKey(patch); in PatchEntrypointCall() 319 ThunkKey key = GetBakerThunkKey(patch); in PatchBakerReadBarrierBranch() 328 uint32_t Arm64RelativePatcher::MaxPositiveDisplacement(const ThunkKey& key) { in MaxPositiveDisplacement() 338 uint32_t Arm64RelativePatcher::MaxNegativeDisplacement(const ThunkKey& key) { in MaxNegativeDisplacement()
|
/art/dex2oat/linker/ |
D | relative_patcher_test.h | 284 thunk_map_.emplace(ThunkKey(patch), ThunkValue(code, debug_name)); in SetThunkCode() 290 auto it = thunk_map_.find(ThunkKey(patch)); in GetThunkCode() 304 class ThunkKey { 306 explicit ThunkKey(const LinkerPatch& patch) in ThunkKey() function 315 bool operator<(const ThunkKey& other) const { 363 std::map<ThunkKey, ThunkValue> thunk_map_;
|