Home
last modified time | relevance | path

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

123

/external/llvm-project/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 {
381 WinEH::EncodingType WinEHEncodingType = WinEH::EncodingType::Invalid;
644 WinEH::EncodingType getWinEHEncodingType() const { return WinEHEncodingType; } in getWinEHEncodingType()
658 return ExceptionsType == ExceptionHandling::WinEH && in usesWindowsCFI()
659 (WinEHEncodingType != WinEH::EncodingType::Invalid && in usesWindowsCFI()
660 WinEHEncodingType != WinEH::EncodingType::X86); in usesWindowsCFI()
DMCStreamer.h206 std::vector<std::unique_ptr<WinEH::FrameInfo>> WinFrameInfos;
208 WinEH::FrameInfo *CurrentWinFrameInfo;
244 WinEH::FrameInfo *getCurrentWinFrameInfo() { in getCurrentWinFrameInfo()
248 virtual void EmitWindowsUnwindTables(WinEH::FrameInfo *Frame);
298 WinEH::FrameInfo *EnsureValidWinFrameInfo(SMLoc Loc);
306 ArrayRef<std::unique_ptr<WinEH::FrameInfo>> getWinFrameInfos() const { in getWinFrameInfos()
/external/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()
/external/llvm/include/llvm/MC/
DMCWin64EH.h27 static WinEH::Instruction PushNonVol(MCSymbol *L, unsigned Reg) { in PushNonVol()
28 return WinEH::Instruction(Win64EH::UOP_PushNonVol, L, Reg, -1); in PushNonVol()
30 static WinEH::Instruction Alloc(MCSymbol *L, unsigned Size) { in Alloc()
31 return WinEH::Instruction(Size > 128 ? UOP_AllocLarge : UOP_AllocSmall, L, in Alloc()
34 static WinEH::Instruction PushMachFrame(MCSymbol *L, bool Code) { in PushMachFrame()
35 return WinEH::Instruction(UOP_PushMachFrame, L, -1, Code ? 1 : 0); in PushMachFrame()
37 static WinEH::Instruction SaveNonVol(MCSymbol *L, unsigned Reg, in SaveNonVol()
39 return WinEH::Instruction(Offset > 512 * 1024 - 8 ? UOP_SaveNonVolBig in SaveNonVol()
43 static WinEH::Instruction SaveXMM(MCSymbol *L, unsigned Reg, in SaveXMM()
45 return WinEH::Instruction(Offset > 512 * 1024 - 8 ? UOP_SaveXMM128Big in SaveXMM()
[all …]
DMCAsmInfo.h31 namespace WinEH {
49 WinEH, /// Windows Exception Handling enumerator
334 WinEH::EncodingType WinEHEncodingType;
539 WinEH::EncodingType getWinEHEncodingType() const { return WinEHEncodingType; } in getWinEHEncodingType()
553 return ExceptionsType == ExceptionHandling::WinEH && in usesWindowsCFI()
554 (WinEHEncodingType != WinEH::EncodingType::Invalid && in usesWindowsCFI()
555 WinEHEncodingType != WinEH::EncodingType::X86); in usesWindowsCFI()
/external/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64WinCOFFStreamer.cpp31 void EmitWindowsUnwindTables(WinEH::FrameInfo *Frame) override;
44 void AArch64WinCOFFStreamer::EmitWindowsUnwindTables(WinEH::FrameInfo *Frame) { in EmitWindowsUnwindTables()
74 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in EmitARM64WinUnwindCode()
78 auto Inst = WinEH::Instruction(UnwindCode, Label, Reg, Offset); in EmitARM64WinUnwindCode()
176 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in EmitARM64WinCFIPrologEnd()
182 WinEH::Instruction Inst = WinEH::Instruction(Win64EH::UOP_End, Label, -1, 0); in EmitARM64WinCFIPrologEnd()
189 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in EmitARM64WinCFIEpilogStart()
199 WinEH::FrameInfo *CurFrame = S.EnsureValidWinFrameInfo(SMLoc()); in EmitARM64WinCFIEpilogEnd()
205 WinEH::Instruction Inst = WinEH::Instruction(Win64EH::UOP_End, Label, -1, 0); in EmitARM64WinCFIEpilogEnd()
DAArch64MCAsmInfo.cpp115 ExceptionsType = ExceptionHandling::WinEH; in AArch64MCAsmInfoMicrosoftCOFF()
116 WinEHEncodingType = WinEH::EncodingType::Itanium; in AArch64MCAsmInfoMicrosoftCOFF()
132 ExceptionsType = ExceptionHandling::WinEH; in AArch64MCAsmInfoGNUCOFF()
133 WinEHEncodingType = WinEH::EncodingType::Itanium; in AArch64MCAsmInfoGNUCOFF()
/external/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()
/external/llvm/lib/MC/
DMCWin64EH.cpp24 static uint8_t CountOfUnwindCodes(std::vector<WinEH::Instruction> &Insns) { in CountOfUnwindCodes()
60 WinEH::Instruction &inst) { in EmitUnwindCode()
139 const WinEH::FrameInfo *info) { in EmitRuntimeFunction()
150 static void EmitUnwindInfo(MCStreamer &streamer, WinEH::FrameInfo *info) { in EmitUnwindInfo()
184 WinEH::Instruction &frameInst = info->Instructions[info->LastFrameInst]; in EmitUnwindInfo()
193 WinEH::Instruction inst = info->Instructions.back(); in EmitUnwindInfo()
223 for (WinEH::FrameInfo *CFI : Streamer.getWinFrameInfos()) { in Emit()
230 for (WinEH::FrameInfo *CFI : Streamer.getWinFrameInfos()) { in Emit()
238 MCStreamer &Streamer, WinEH::FrameInfo *info) const { in EmitUnwindInfo()
DMCStreamer.cpp461 WinFrameInfos.push_back(new WinEH::FrameInfo(Symbol, StartProc)); in EmitWinCFIStartProc()
482 WinFrameInfos.push_back(new WinEH::FrameInfo(CurrentWinFrameInfo->Function, in EmitWinCFIStartChained()
498 const_cast<WinEH::FrameInfo *>(CurrentWinFrameInfo->ChainedParent); in EmitWinCFIEndChained()
561 WinEH::Instruction Inst = Win64EH::Instruction::PushNonVol(Label, Register); in EmitWinCFIPushReg()
577 WinEH::Instruction Inst = in EmitWinCFISetFrame()
593 WinEH::Instruction Inst = Win64EH::Instruction::Alloc(Label, Size); in EmitWinCFIAllocStack()
605 WinEH::Instruction Inst = in EmitWinCFISaveReg()
618 WinEH::Instruction Inst = in EmitWinCFISaveXMM()
631 WinEH::Instruction Inst = Win64EH::Instruction::PushMachFrame(Label, Code); in EmitWinCFIPushFrame()
DMCWinEH.cpp20 namespace WinEH { namespace
/external/llvm-project/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 WinEH::FrameInfo *info, in EmitUnwindInfo()
268 static uint32_t ARM64CountOfUnwindCodes(ArrayRef<WinEH::Instruction> Insns) { in ARM64CountOfUnwindCodes()
354 WinEH::Instruction &inst) { in ARM64EmitUnwindCode()
520 FindMatchingEpilog(const std::vector<WinEH::Instruction>& EpilogInstrs, in FindMatchingEpilog()
[all …]
DMCStreamer.cpp669 WinEH::FrameInfo *MCStreamer::EnsureValidWinFrameInfo(SMLoc Loc) { in EnsureValidWinFrameInfo()
697 std::make_unique<WinEH::FrameInfo>(Symbol, StartProc)); in EmitWinCFIStartProc()
703 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinCFIEndProc()
721 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinCFIFuncletOrFuncEnd()
732 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinCFIStartChained()
738 WinFrameInfos.emplace_back(std::make_unique<WinEH::FrameInfo>( in EmitWinCFIStartChained()
745 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinCFIEndChained()
755 CurrentWinFrameInfo = const_cast<WinEH::FrameInfo *>(CurFrame->ChainedParent); in EmitWinCFIEndChained()
760 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinEHHandler()
776 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinEHHandlerData()
[all …]
DMCWinEH.cpp19 namespace WinEH { namespace
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCAsmInfo.cpp134 WinEHEncodingType = WinEH::EncodingType::Itanium; in X86MCAsmInfoMicrosoft()
139 WinEHEncodingType = WinEH::EncodingType::X86; in X86MCAsmInfoMicrosoft()
142 ExceptionsType = ExceptionHandling::WinEH; in X86MCAsmInfoMicrosoft()
161 WinEHEncodingType = WinEH::EncodingType::Itanium; in X86MCAsmInfoGNUCOFF()
162 ExceptionsType = ExceptionHandling::WinEH; in X86MCAsmInfoGNUCOFF()
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
DX86MCAsmInfo.cpp123 WinEHEncodingType = WinEH::EncodingType::Itanium; in X86MCAsmInfoMicrosoft()
128 WinEHEncodingType = WinEH::EncodingType::X86; in X86MCAsmInfoMicrosoft()
131 ExceptionsType = ExceptionHandling::WinEH; in X86MCAsmInfoMicrosoft()
158 WinEHEncodingType = WinEH::EncodingType::Itanium; in X86MCAsmInfoGNUCOFF()
159 ExceptionsType = ExceptionHandling::WinEH; in X86MCAsmInfoGNUCOFF()
DX86WinCOFFStreamer.cpp29 void EmitWindowsUnwindTables(WinEH::FrameInfo *Frame) override;
40 if (WinEH::FrameInfo *CurFrame = getCurrentWinFrameInfo()) in EmitWinEHHandlerData()
44 void X86WinCOFFStreamer::EmitWindowsUnwindTables(WinEH::FrameInfo *Frame) { in EmitWindowsUnwindTables()
/external/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()
/external/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
/external/llvm/tools/llvm-readobj/
DARMWinEHPrinter.cpp77 raw_ostream &operator<<(raw_ostream &OS, const ARM::WinEH::ReturnType &RT) { in operator <<()
79 case ARM::WinEH::ReturnType::RT_POP: in operator <<()
82 case ARM::WinEH::ReturnType::RT_B: in operator <<()
85 case ARM::WinEH::ReturnType::RT_BW: in operator <<()
88 case ARM::WinEH::ReturnType::RT_NoEpilogue: in operator <<()
116 namespace WinEH { namespace

123