Home
last modified time | relevance | path

Searched refs:Sled (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_AArch64.cpp34 const XRaySledEntry &Sled, in patchSled() argument
63 uint32_t *FirstAddress = reinterpret_cast<uint32_t *>(Sled.address()); in patchSled()
91 const XRaySledEntry &Sled, in patchFunctionEntry() argument
96 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionEntry()
100 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionExit() argument
102 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionExit()
106 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionTailExit() argument
108 return patchSled(Enable, FuncId, Sled, Trampolines.TailExitTrampoline); in patchFunctionTailExit()
126 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent() argument
129 reinterpret_cast<std::atomic<uint32_t> *>(Sled.address()), Inst, in patchCustomEvent()
[all …]
H A Dxray_s390x.cpp21 const XRaySledEntry &Sled, in patchFunctionEntry() argument
24 uint32_t *Address = reinterpret_cast<uint32_t *>(Sled.address()); in patchFunctionEntry()
50 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionExit() argument
52 uint32_t *Address = reinterpret_cast<uint32_t *>(Sled.address()); in patchFunctionExit()
78 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionTailExit() argument
80 return patchFunctionExit(Enable, FuncId, Sled, Trampolines); in patchFunctionTailExit()
84 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent() argument
90 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
H A Dxray_arm.cpp77 const XRaySledEntry &Sled, in patchSled() argument
105 uint32_t *FirstAddress = reinterpret_cast<uint32_t *>(Sled.address()); in patchSled()
130 const XRaySledEntry &Sled, in patchFunctionEntry() argument
135 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionEntry()
139 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionExit() argument
141 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionExit()
145 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionTailExit() argument
147 return patchSled(Enable, FuncId, Sled, Trampolines.TailExitTrampoline); in patchFunctionTailExit()
151 const XRaySledEntry &Sled) in patchCustomEvent() argument
157 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
H A Dxray_hexagon.cpp88 const XRaySledEntry &Sled, in patchSled() argument
116 uint32_t *FirstAddress = reinterpret_cast<uint32_t *>(Sled.address()); in patchSled()
137 const XRaySledEntry &Sled, in patchFunctionEntry() argument
142 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionEntry()
146 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionExit() argument
148 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionExit()
152 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionTailExit() argument
154 return patchSled(Enable, FuncId, Sled, Trampolines.TailExitTrampoline); in patchFunctionTailExit()
158 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent() argument
164 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
H A Dxray_loongarch64.cpp44 const XRaySledEntry &Sled, in patchSled() argument
77 uint32_t *Address = reinterpret_cast<uint32_t *>(Sled.address()); in patchSled()
128 const XRaySledEntry &Sled, in patchFunctionEntry() argument
133 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionEntry()
137 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionExit() argument
139 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionExit()
143 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionTailExit() argument
147 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionTailExit()
151 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent() argument
157 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
H A Dxray_powerpc64.cpp53 const XRaySledEntry &Sled, in patchFunctionEntry() argument
60 const uint64_t Address = Sled.address(); in patchFunctionEntry()
77 const bool Enable, uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionExit() argument
83 const uint64_t Address = Sled.address(); in patchFunctionExit()
100 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionTailExit() argument
102 return patchFunctionExit(Enable, FuncId, Sled, Trampolines); in patchFunctionTailExit()
109 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent() argument
115 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
H A Dxray_mips.cpp53 const XRaySledEntry &Sled, in patchSled() argument
96 uint32_t *Address = reinterpret_cast<uint32_t *>(Sled.address()); in patchSled()
138 const XRaySledEntry &Sled, in patchFunctionEntry() argument
143 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionEntry()
147 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionExit() argument
149 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionExit()
153 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionTailExit() argument
157 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionTailExit()
161 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent() argument
167 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
H A Dxray_interface.cpp169 bool patchSled(const XRaySledEntry &Sled, bool Enable, int32_t FuncId, in patchSled() argument
172 switch (Sled.Kind) { in patchSled()
174 Success = patchFunctionEntry(Enable, FuncId, Sled, Trampolines, in patchSled()
178 Success = patchFunctionExit(Enable, FuncId, Sled, Trampolines); in patchSled()
181 Success = patchFunctionTailExit(Enable, FuncId, Sled, Trampolines); in patchSled()
184 Success = patchFunctionEntry(Enable, FuncId, Sled, Trampolines, in patchSled()
188 Success = patchCustomEvent(Enable, FuncId, Sled); in patchSled()
191 Success = patchTypedEvent(Enable, FuncId, Sled); in patchSled()
194 Report("Unsupported sled kind '%" PRIu64 "' @%04x\n", Sled.Address, in patchSled()
195 int(Sled.Kind)); in patchSled()
[all …]
H A Dxray_mips64.cpp54 const XRaySledEntry &Sled, in patchSled() argument
92 uint32_t *Address = reinterpret_cast<uint32_t *>(Sled.address()); in patchSled()
146 const XRaySledEntry &Sled, in patchFunctionEntry() argument
151 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionEntry()
155 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionExit() argument
157 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionExit()
161 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionTailExit() argument
165 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionTailExit()
169 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent() argument
175 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
H A Dxray_x86_64.cpp124 const XRaySledEntry &Sled, in patchFunctionEntry() argument
150 const uint64_t Address = Sled.address(); in patchFunctionEntry()
176 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionExit() argument
199 const uint64_t Address = Sled.address(); in patchFunctionExit()
225 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionTailExit() argument
230 const uint64_t Address = Sled.address(); in patchFunctionTailExit()
256 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent() argument
270 const uint64_t Address = Sled.address(); in patchCustomEvent()
284 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
302 const uint64_t Address = Sled.address(); in patchTypedEvent()
H A Dxray_riscv.cpp80 const XRaySledEntry &Sled, in patchSled() argument
133 uint32_t *Address = reinterpret_cast<uint32_t *>(Sled.address()); in patchSled()
235 const XRaySledEntry &Sled, in patchFunctionEntry() argument
240 return patchSled(Enable, FuncId, Sled, Trampolines.EntryTrampoline); in patchFunctionEntry()
244 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionExit() argument
246 return patchSled(Enable, FuncId, Sled, Trampolines.ExitTrampoline); in patchFunctionExit()
250 const bool Enable, const uint32_t FuncId, const XRaySledEntry &Sled, in patchFunctionTailExit() argument
252 return patchSled(Enable, FuncId, Sled, Trampolines.TailExitTrampoline); in patchFunctionTailExit()
256 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent() argument
261 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
H A Dxray_interface_internal.h142 bool patchFunctionEntry(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled,
144 bool patchFunctionExit(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled,
147 const XRaySledEntry &Sled,
149 bool patchCustomEvent(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled);
150 bool patchTypedEvent(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled);
H A Dxray_init.cpp92 const auto &Sled = SledMap.Sleds[I]; in __xray_register_sleds() local
93 const auto Function = Sled.function(); in __xray_register_sleds()
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-extract.cpp63 for (const auto &Sled : Sleds) { in exportAsYAML() local
64 auto FuncId = Map.getFunctionId(Sled.Function); in exportAsYAML()
68 {*FuncId, Sled.Address, Sled.Function, Sled.Kind, Sled.AlwaysInstrument, in exportAsYAML()
69 ExtractSymbolize ? FH.SymbolOrNumber(*FuncId) : "", Sled.Version}); in exportAsYAML()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAsmPrinter.h377 const MCSymbol *Sled; member
391 void recordSled(MCSymbol *Sled, const MachineInstr &MI, SledKind Kind,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp4632 for (const auto &Sled : Sleds) { in emitXRayTable() local
4636 MCBinaryExpr::createSub(MCSymbolRefExpr::create(Sled.Sled, Ctx), in emitXRayTable()
4647 Sled.emit(WordSizeBytes, OutStreamer.get()); in emitXRayTable()
4674 void AsmPrinter::recordSled(MCSymbol *Sled, const MachineInstr &MI, in recordSled() argument
4683 Sleds.emplace_back(XRayFunctionEntry{Sled, CurrentFnSym, Kind, in recordSled()
/freebsd/share/misc/
H A Dusb_vendors2127 e01c Data Collection Sled [Nspire Lab Cradle, Nspire Datatracker Cradle]