Home
last modified time | relevance | path

Searched refs:WinEH (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCWin64EH.h26 static WinEH::Instruction PushNonVol(MCSymbol *L, unsigned Reg) { in PushNonVol()
27 return WinEH::Instruction(Win64EH::UOP_PushNonVol, L, Reg, -1); in PushNonVol()
29 static WinEH::Instruction Alloc(MCSymbol *L, unsigned Size) { in Alloc()
30 return WinEH::Instruction(Size > 128 ? UOP_AllocLarge : UOP_AllocSmall, L, in Alloc()
33 static WinEH::Instruction PushMachFrame(MCSymbol *L, bool Code) { in PushMachFrame()
34 return WinEH::Instruction(UOP_PushMachFrame, L, -1, Code ? 1 : 0); in PushMachFrame()
36 static WinEH::Instruction SaveNonVol(MCSymbol *L, unsigned Reg, in SaveNonVol()
38 return WinEH::Instruction(Offset > 512 * 1024 - 8 ? UOP_SaveNonVolBig in SaveNonVol()
42 static WinEH::Instruction SaveXMM(MCSymbol *L, unsigned Reg, in SaveXMM()
44 return WinEH::Instruction(Offset > 512 * 1024 - 8 ? UOP_SaveXMM128Big in SaveXMM()
[all …]
DMCAsmInfo.h33 namespace WinEH {
350 WinEH::EncodingType WinEHEncodingType = WinEH::EncodingType::Invalid;
603 WinEH::EncodingType getWinEHEncodingType() const { return WinEHEncodingType; } in getWinEHEncodingType()
617 return ExceptionsType == ExceptionHandling::WinEH && in usesWindowsCFI()
618 (WinEHEncodingType != WinEH::EncodingType::Invalid && in usesWindowsCFI()
619 WinEHEncodingType != WinEH::EncodingType::X86); in usesWindowsCFI()
DMCStreamer.h206 std::vector<std::unique_ptr<WinEH::FrameInfo>> WinFrameInfos;
208 WinEH::FrameInfo *CurrentWinFrameInfo;
239 WinEH::FrameInfo *getCurrentWinFrameInfo() { in getCurrentWinFrameInfo()
286 WinEH::FrameInfo *EnsureValidWinFrameInfo(SMLoc Loc);
294 ArrayRef<std::unique_ptr<WinEH::FrameInfo>> getWinFrameInfos() const { in getWinFrameInfos()
DMCTargetOptions.h22 WinEH, ///< Windows Exception Handling enumerator
DMCWinEH.h20 namespace WinEH {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64WinCOFFStreamer.cpp68 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in EmitARM64WinUnwindCode()
72 auto Inst = WinEH::Instruction(UnwindCode, Label, Reg, Offset); in EmitARM64WinUnwindCode()
157 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in EmitARM64WinCFIPrologEnd()
163 WinEH::Instruction Inst = WinEH::Instruction(Win64EH::UOP_End, Label, -1, 0); in EmitARM64WinCFIPrologEnd()
170 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in EmitARM64WinCFIEpilogStart()
180 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in EmitARM64WinCFIEpilogEnd()
186 WinEH::Instruction Inst = WinEH::Instruction(Win64EH::UOP_End, Label, -1, 0); in EmitARM64WinCFIEpilogEnd()
DAArch64MCAsmInfo.cpp117 ExceptionsType = ExceptionHandling::WinEH; in AArch64MCAsmInfoMicrosoftCOFF()
118 WinEHEncodingType = WinEH::EncodingType::Itanium; in AArch64MCAsmInfoMicrosoftCOFF()
134 ExceptionsType = ExceptionHandling::WinEH; in AArch64MCAsmInfoGNUCOFF()
135 WinEHEncodingType = WinEH::EncodingType::Itanium; in AArch64MCAsmInfoGNUCOFF()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MCAsmInfo.cpp129 WinEHEncodingType = WinEH::EncodingType::Itanium; in X86MCAsmInfoMicrosoft()
134 WinEHEncodingType = WinEH::EncodingType::X86; in X86MCAsmInfoMicrosoft()
137 ExceptionsType = ExceptionHandling::WinEH; in X86MCAsmInfoMicrosoft()
156 WinEHEncodingType = WinEH::EncodingType::Itanium; in X86MCAsmInfoGNUCOFF()
157 ExceptionsType = ExceptionHandling::WinEH; in X86MCAsmInfoGNUCOFF()
DX86WinCOFFStreamer.cpp39 if (WinEH::FrameInfo *CurFrame = getCurrentWinFrameInfo()) in EmitWinEHHandlerData()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCWin64EH.cpp24 static uint8_t CountOfUnwindCodes(std::vector<WinEH::Instruction> &Insns) { in CountOfUnwindCodes()
62 WinEH::Instruction &inst) { in EmitUnwindCode()
143 const WinEH::FrameInfo *info) { in EmitRuntimeFunction()
154 static void EmitUnwindInfo(MCStreamer &streamer, WinEH::FrameInfo *info) { in EmitUnwindInfo()
188 WinEH::Instruction &frameInst = info->Instructions[info->LastFrameInst]; in EmitUnwindInfo()
197 WinEH::Instruction inst = info->Instructions.back(); in EmitUnwindInfo()
242 MCStreamer &Streamer, WinEH::FrameInfo *info) const { in EmitUnwindInfo()
268 ARM64CountOfUnwindCodes(const std::vector<WinEH::Instruction> &Insns) { in ARM64CountOfUnwindCodes()
333 WinEH::Instruction &inst) { in ARM64EmitUnwindCode()
464 FindMatchingEpilog(const std::vector<WinEH::Instruction>& EpilogInstrs, in FindMatchingEpilog()
[all …]
DMCStreamer.cpp656 WinEH::FrameInfo *MCStreamer::EnsureValidWinFrameInfo(SMLoc Loc) { in EnsureValidWinFrameInfo()
683 std::make_unique<WinEH::FrameInfo>(Symbol, StartProc)); in EmitWinCFIStartProc()
689 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinCFIEndProc()
700 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinCFIFuncletOrFuncEnd()
711 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinCFIStartChained()
717 WinFrameInfos.emplace_back(std::make_unique<WinEH::FrameInfo>( in EmitWinCFIStartChained()
724 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinCFIEndChained()
734 CurrentWinFrameInfo = const_cast<WinEH::FrameInfo *>(CurFrame->ChainedParent); in EmitWinCFIEndChained()
739 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinEHHandler()
755 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinEHHandlerData()
[all …]
DMCWinEH.cpp19 namespace WinEH { namespace
DMCAsmStreamer.cpp1756 WinEH::FrameInfo *CurFrame = getCurrentWinFrameInfo(); in EmitWinEHHandlerData()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DARMWinEH.cpp14 namespace WinEH { namespace
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCAsmInfo.cpp94 ExceptionsType = ExceptionHandling::WinEH; in ARMCOFFMCAsmInfoMicrosoft()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DARMWinEH.h17 namespace WinEH {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp364 case ExceptionHandling::WinEH: in doInitialization()
367 case WinEH::EncodingType::Invalid: in doInitialization()
369 case WinEH::EncodingType::X86: in doInitialization()
370 case WinEH::EncodingType::Itanium: in doInitialization()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetPassConfig.cpp704 case ExceptionHandling::WinEH: in addPassesToHandleExceptions()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DCommandFlags.inc100 clEnumValN(ExceptionHandling::WinEH, "wineh",
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrCompiler.td187 // ESI. It is only needed for 32-bit WinEH, as the runtime restores CSRs for us