Lines Matching refs:uint32_t

33 uint32_t Riscv64RelativePatcher::ReserveSpace(  in ReserveSpace()
34 uint32_t offset, in ReserveSpace()
42 uint32_t Riscv64RelativePatcher::ReserveSpaceEnd(uint32_t offset) { in ReserveSpaceEnd()
48 uint32_t Riscv64RelativePatcher::WriteThunks([[maybe_unused]] OutputStream* out, uint32_t offset) { in WriteThunks()
55 [[maybe_unused]] uint32_t literal_offset, in PatchCall()
56 [[maybe_unused]] uint32_t patch_offset, in PatchCall()
57 [[maybe_unused]] uint32_t target_offset) { in PatchCall()
64 uint32_t patch_offset, in PatchPcRelativeReference()
65 uint32_t target_offset) { in PatchPcRelativeReference()
68 uint32_t literal_offset = patch.LiteralOffset(); in PatchPcRelativeReference()
69 uint32_t insn = GetInsn(code, literal_offset); in PatchPcRelativeReference()
70 uint32_t pc_insn_offset = patch.PcInsnOffset(); in PatchPcRelativeReference()
71 uint32_t disp = target_offset - (patch_offset - literal_offset + pc_insn_offset); in PatchPcRelativeReference()
86 uint32_t imm12 = disp & 0xfffu; // The instruction shall sign-extend this immediate. in PatchPcRelativeReference()
94 [[maybe_unused]] uint32_t patch_offset) { in PatchEntrypointCall()
103 [[maybe_unused]] uint32_t patch_offset) { in PatchBakerReadBarrierBranch()
110 [[maybe_unused]] uint32_t executable_offset) { in GenerateThunkDebugInfo()
116 uint32_t Riscv64RelativePatcher::PatchAuipc(uint32_t auipc, int32_t offset) { in PatchAuipc()
122 uint32_t imm20 = static_cast<uint32_t>(near_offset) >> 12; in PatchAuipc()
127 void Riscv64RelativePatcher::SetInsn(std::vector<uint8_t>* code, uint32_t offset, uint32_t value) { in SetInsn()
137 uint32_t Riscv64RelativePatcher::GetInsn(ArrayRef<const uint8_t> code, uint32_t offset) { in GetInsn()
142 (static_cast<uint32_t>(addr[0]) << 0) + in GetInsn()
143 (static_cast<uint32_t>(addr[1]) << 8) + in GetInsn()
144 (static_cast<uint32_t>(addr[2]) << 16)+ in GetInsn()
145 (static_cast<uint32_t>(addr[3]) << 24); in GetInsn()
149 uint32_t Riscv64RelativePatcher::GetInsn(std::vector<uint8_t, Alloc>* code, uint32_t offset) { in GetInsn()