Lines Matching refs:uint32_t

25 enum class PatchOpcodes : uint32_t {
33 inline static uint32_t getMovwMask(const uint32_t Value) XRAY_NEVER_INSTRUMENT { in getMovwMask()
38 inline static uint32_t getMovtMask(const uint32_t Value) XRAY_NEVER_INSTRUMENT { in getMovtMask()
45 inline static uint32_t *
46 write32bitLoadReg(uint8_t regNo, uint32_t *Address, in write32bitLoadReg()
47 const uint32_t Value) XRAY_NEVER_INSTRUMENT { in write32bitLoadReg()
51 *Address = (0xE3000000 | (uint32_t(regNo) << 12) | getMovwMask(Value)); in write32bitLoadReg()
54 *Address = (0xE3400000 | (uint32_t(regNo) << 12) | getMovtMask(Value)); in write32bitLoadReg()
61 inline static uint32_t *
62 write32bitLoadR0(uint32_t *Address, in write32bitLoadR0()
63 const uint32_t Value) XRAY_NEVER_INSTRUMENT { in write32bitLoadR0()
70 inline static uint32_t *
71 write32bitLoadIP(uint32_t *Address, in write32bitLoadIP()
72 const uint32_t Value) XRAY_NEVER_INSTRUMENT { in write32bitLoadIP()
76 inline static bool patchSled(const bool Enable, const uint32_t FuncId, in patchSled()
105 uint32_t *FirstAddress = reinterpret_cast<uint32_t *>(Sled.address()); in patchSled()
106 uint32_t *CurAddress = FirstAddress + 1; in patchSled()
109 write32bitLoadR0(CurAddress, reinterpret_cast<uint32_t>(FuncId)); in patchSled()
111 write32bitLoadIP(CurAddress, reinterpret_cast<uint32_t>(TracingHook)); in patchSled()
112 *CurAddress = uint32_t(PatchOpcodes::PO_BlxIp); in patchSled()
114 *CurAddress = uint32_t(PatchOpcodes::PO_PopR0Lr); in patchSled()
117 reinterpret_cast<std::atomic<uint32_t> *>(FirstAddress), in patchSled()
118 uint32_t(PatchOpcodes::PO_PushR0Lr), std::memory_order_release); in patchSled()
121 reinterpret_cast<std::atomic<uint32_t> *>(FirstAddress), in patchSled()
122 uint32_t(PatchOpcodes::PO_B20), std::memory_order_release); in patchSled()
129 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId, in patchFunctionEntry()
135 bool patchFunctionExit(const bool Enable, const uint32_t FuncId, in patchFunctionExit()
140 bool patchFunctionTailExit(const bool Enable, const uint32_t FuncId, in patchFunctionTailExit()
145 bool patchCustomEvent(const bool Enable, const uint32_t FuncId, in patchCustomEvent()
151 bool patchTypedEvent(const bool Enable, const uint32_t FuncId, in patchTypedEvent()