Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/xray/
Dxray_AArch64.cpp35 const XRaySledEntry &Sled, in patchSled() argument
64 uint32_t *FirstAddress = reinterpret_cast<uint32_t *>(Sled.address()); in patchSled()
93 const XRaySledEntry &Sled, in patchFunctionEntry() argument
95 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionEntry()
99 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionExit() argument
100 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit); in patchFunctionExit()
104 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionTailExit() argument
105 return patchSled(Enable, FuncId, Sled, __xray_FunctionTailExit); in patchFunctionTailExit()
109 const XRaySledEntry &Sled) in patchCustomEvent() argument
115 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
Dxray_interface.cpp149 bool patchSled(const XRaySledEntry &Sled, bool Enable, in patchSled() argument
152 switch (Sled.Kind) { in patchSled()
154 Success = patchFunctionEntry(Enable, FuncId, Sled, __xray_FunctionEntry); in patchSled()
157 Success = patchFunctionExit(Enable, FuncId, Sled); in patchSled()
160 Success = patchFunctionTailExit(Enable, FuncId, Sled); in patchSled()
163 Success = patchFunctionEntry(Enable, FuncId, Sled, __xray_ArgLoggerEntry); in patchSled()
166 Success = patchCustomEvent(Enable, FuncId, Sled); in patchSled()
169 Success = patchTypedEvent(Enable, FuncId, Sled); in patchSled()
172 Report("Unsupported sled kind '%d' @%04x\n", Sled.Address, int(Sled.Kind)); in patchSled()
186 const auto &Sled = InstrMap.Sleds[I]; in findFunctionSleds() local
[all …]
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
132 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionEntry()
136 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionExit() argument
137 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit); in patchFunctionExit()
141 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionTailExit() argument
142 return patchSled(Enable, FuncId, Sled, __xray_FunctionTailExit); in patchFunctionTailExit()
146 const XRaySledEntry &Sled) in patchCustomEvent() argument
152 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
Dxray_powerpc64.cpp53 const XRaySledEntry &Sled, in patchFunctionEntry() argument
55 const uint64_t Address = Sled.address(); in patchFunctionEntry()
72 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionExit() argument
73 const uint64_t Address = Sled.address(); in patchFunctionExit()
90 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionTailExit() argument
91 return patchFunctionExit(Enable, FuncId, Sled); in patchFunctionTailExit()
98 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent() argument
104 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
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
140 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionEntry()
144 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionExit() argument
145 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit); in patchFunctionExit()
149 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionTailExit() argument
152 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit); in patchFunctionTailExit()
156 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent() argument
162 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
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
148 return patchSled(Enable, FuncId, Sled, Trampoline); in patchFunctionEntry()
152 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionExit() argument
153 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit); in patchFunctionExit()
157 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionTailExit() argument
160 return patchSled(Enable, FuncId, Sled, __xray_FunctionExit); in patchFunctionTailExit()
164 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent() argument
170 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
Dxray_x86_64.cpp124 const XRaySledEntry &Sled, in patchFunctionEntry() argument
147 const uint64_t Address = Sled.address(); in patchFunctionEntry()
172 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionExit() argument
193 const uint64_t Address = Sled.address(); in patchFunctionExit()
218 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchFunctionTailExit() argument
221 const uint64_t Address = Sled.address(); in patchFunctionTailExit()
247 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchCustomEvent() argument
271 const uint64_t Address = Sled.address(); in patchCustomEvent()
277 switch (Sled.Version) { in patchCustomEvent()
296 const XRaySledEntry &Sled) XRAY_NEVER_INSTRUMENT { in patchTypedEvent() argument
[all …]
Dxray_interface_internal.h83 bool patchFunctionEntry(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled,
85 bool patchFunctionExit(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled);
87 const XRaySledEntry &Sled);
88 bool patchCustomEvent(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled);
89 bool patchTypedEvent(bool Enable, uint32_t FuncId, const XRaySledEntry &Sled);
Dxray_init.cpp95 const auto &Sled = XRayInstrMap.Sleds[I]; in __xray_init() local
96 const auto Function = Sled.function(); in __xray_init()
/external/llvm-project/llvm/tools/llvm-xray/
Dxray-extract.cpp62 for (const auto &Sled : Sleds) { in exportAsYAML() local
63 auto FuncId = Map.getFunctionId(Sled.Function); in exportAsYAML()
67 {*FuncId, Sled.Address, Sled.Function, Sled.Kind, Sled.AlwaysInstrument, in exportAsYAML()
68 ExtractSymbolize ? FH.SymbolOrNumber(*FuncId) : "", Sled.Version}); in exportAsYAML()
/external/llvm/lib/Target/X86/
DX86AsmPrinter.h85 const MCSymbol *Sled; member
121 void recordSled(MCSymbol *Sled, const MachineInstr &MI, SledKind Kind);
DX86MCInstLower.cpp1027 void X86AsmPrinter::recordSled(MCSymbol *Sled, const MachineInstr &MI, in recordSled() argument
1034 XRayFunctionEntry{Sled, CurrentFnSym, Kind, AlwaysInstrument, Fn}); in recordSled()
1105 for (const auto &Sled : Sleds) { in EmitXRayTable() local
1106 OutStreamer->EmitSymbolValue(Sled.Sled, 8); in EmitXRayTable()
1108 auto Kind = static_cast<uint8_t>(Sled.Kind); in EmitXRayTable()
1112 StringRef(reinterpret_cast<const char *>(&Sled.AlwaysInstrument), 1)); in EmitXRayTable()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DAsmPrinter.h270 const MCSymbol *Sled; member
287 void recordSled(MCSymbol *Sled, const MachineInstr &MI, SledKind Kind,
/external/llvm-project/llvm/include/llvm/CodeGen/
DAsmPrinter.h300 const MCSymbol *Sled; member
314 void recordSled(MCSymbol *Sled, const MachineInstr &MI, SledKind Kind,
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp3375 for (const auto &Sled : Sleds) { in emitXRayTable() local
3379 MCBinaryExpr::createSub(MCSymbolRefExpr::create(Sled.Sled, Ctx), in emitXRayTable()
3390 Sled.emit(WordSizeBytes, OutStreamer.get()); in emitXRayTable()
3409 void AsmPrinter::recordSled(MCSymbol *Sled, const MachineInstr &MI, in recordSled() argument
3418 Sleds.emplace_back(XRayFunctionEntry{Sled, CurrentFnSym, Kind, in recordSled()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp3144 Out->EmitSymbolValue(Sled, Bytes); in emit()
3198 for (const auto &Sled : Sleds) in emitXRayTable() local
3199 Sled.emit(WordSizeBytes, OutStreamer.get(), CurrentFnSym); in emitXRayTable()
3215 void AsmPrinter::recordSled(MCSymbol *Sled, const MachineInstr &MI, in recordSled() argument
3224 Sleds.emplace_back(XRayFunctionEntry{Sled, CurrentFnSym, Kind, in recordSled()