Lines Matching defs:Enable
33 inline static bool patchSled(const bool Enable, const uint32_t FuncId,
36 // When |Enable| == true,
60 // When |Enable|==false, we set back the first instruction in the sled to be
65 if (Enable) {
90 bool patchFunctionEntry(const bool Enable, const uint32_t FuncId,
96 return patchSled(Enable, FuncId, Sled, Trampoline);
100 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled,
102 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline);
106 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled,
108 return patchSled(Enable, FuncId, Sled, Trampolines.TailExitTrampoline);
123 // Enable: b .+24 => nop
125 bool patchCustomEvent(const bool Enable, const uint32_t FuncId,
127 uint32_t Inst = Enable ? 0xd503201f : 0x14000006;
134 // Enable: b +36 => nop
136 bool patchTypedEvent(const bool Enable, const uint32_t FuncId,
138 uint32_t Inst = Enable ? 0xd503201f : 0x14000009;