Lines Matching refs:InstrMap

183                   const XRaySledMap &InstrMap) XRAY_NEVER_INSTRUMENT {  in findFunctionSleds()  argument
188 for (std::size_t I = 0; I < InstrMap.Entries && CurFn <= FuncId; I++) { in findFunctionSleds()
189 const auto &Sled = InstrMap.Sleds[I]; in findFunctionSleds()
220 XRaySledMap InstrMap; in patchFunction() local
223 InstrMap = XRayInstrMap; in patchFunction()
227 if (InstrMap.Functions == 0) in patchFunction()
232 if (FuncId <= 0 || static_cast<size_t>(FuncId) > InstrMap.Functions) { in patchFunction()
238 auto SledRange = InstrMap.SledsIndex ? InstrMap.SledsIndex[FuncId - 1] in patchFunction()
239 : findFunctionSleds(FuncId, InstrMap); in patchFunction()
278 XRaySledMap InstrMap; in controlPatching() local
281 InstrMap = XRayInstrMap; in controlPatching()
283 if (InstrMap.Entries == 0) in controlPatching()
297 auto *MinSled = &InstrMap.Sleds[0]; in controlPatching()
298 auto *MaxSled = &InstrMap.Sleds[InstrMap.Entries - 1]; in controlPatching()
299 for (std::size_t I = 0; I < InstrMap.Entries; I++) { in controlPatching()
300 const auto &Sled = InstrMap.Sleds[I]; in controlPatching()
326 for (std::size_t I = 0; I < InstrMap.Entries; ++I) { in controlPatching()
327 auto &Sled = InstrMap.Sleds[I]; in controlPatching()
345 XRaySledMap InstrMap; in mprotectAndPatchFunction() local
348 InstrMap = XRayInstrMap; in mprotectAndPatchFunction()
353 if (FuncId <= 0 || static_cast<size_t>(FuncId) > InstrMap.Functions) { in mprotectAndPatchFunction()
368 auto SledRange = InstrMap.SledsIndex ? InstrMap.SledsIndex[FuncId - 1] in mprotectAndPatchFunction()
369 : findFunctionSleds(FuncId, InstrMap); in mprotectAndPatchFunction()
497 XRaySledMap InstrMap; in __xray_function_address() local
500 InstrMap = XRayInstrMap; in __xray_function_address()
503 if (FuncId <= 0 || static_cast<size_t>(FuncId) > InstrMap.Functions) in __xray_function_address()
505 const XRaySledEntry *Sled = InstrMap.SledsIndex in __xray_function_address()
506 ? InstrMap.SledsIndex[FuncId - 1].Begin in __xray_function_address()
507 : findFunctionSleds(FuncId, InstrMap).Begin; in __xray_function_address()