Home
last modified time | relevance | path

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

12

/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()
DMCStreamer.h174 std::vector<WinEH::FrameInfo *> WinFrameInfos;
175 WinEH::FrameInfo *CurrentWinFrameInfo;
198 WinEH::FrameInfo *getCurrentWinFrameInfo() { in getCurrentWinFrameInfo()
234 ArrayRef<WinEH::FrameInfo *> getWinFrameInfos() const { in getWinFrameInfos()
DMCWinEH.h20 namespace WinEH {
/external/swiftshader/third_party/llvm-7.0/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.h33 namespace WinEH {
338 WinEH::EncodingType WinEHEncodingType = WinEH::EncodingType::Invalid;
571 WinEH::EncodingType getWinEHEncodingType() const { return WinEHEncodingType; } in getWinEHEncodingType()
585 return ExceptionsType == ExceptionHandling::WinEH && in usesWindowsCFI()
586 (WinEHEncodingType != WinEH::EncodingType::Invalid && in usesWindowsCFI()
587 WinEHEncodingType != WinEH::EncodingType::X86); in usesWindowsCFI()
DMCStreamer.h192 std::vector<std::unique_ptr<WinEH::FrameInfo>> WinFrameInfos;
194 WinEH::FrameInfo *CurrentWinFrameInfo;
198 WinEH::FrameInfo *EnsureValidWinFrameInfo(SMLoc Loc);
226 WinEH::FrameInfo *getCurrentWinFrameInfo() { in getCurrentWinFrameInfo()
269 ArrayRef<std::unique_ptr<WinEH::FrameInfo>> getWinFrameInfos() const { in getWinFrameInfos()
DMCTargetOptions.h23 WinEH, /// Windows Exception Handling enumerator
DMCWinEH.h20 namespace WinEH {
/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
DMCAsmInfo.cpp89 WinEHEncodingType = WinEH::EncodingType::Invalid; in MCAsmInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MCAsmInfo.cpp130 WinEHEncodingType = WinEH::EncodingType::Itanium; in X86MCAsmInfoMicrosoft()
135 WinEHEncodingType = WinEH::EncodingType::X86; in X86MCAsmInfoMicrosoft()
138 ExceptionsType = ExceptionHandling::WinEH; in X86MCAsmInfoMicrosoft()
157 WinEHEncodingType = WinEH::EncodingType::Itanium; in X86MCAsmInfoGNUCOFF()
158 ExceptionsType = ExceptionHandling::WinEH; in X86MCAsmInfoGNUCOFF()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCStreamer.cpp569 WinEH::FrameInfo *MCStreamer::EnsureValidWinFrameInfo(SMLoc Loc) { in EnsureValidWinFrameInfo()
596 llvm::make_unique<WinEH::FrameInfo>(Symbol, StartProc)); in EmitWinCFIStartProc()
602 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinCFIEndProc()
613 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinCFIStartChained()
619 WinFrameInfos.emplace_back(llvm::make_unique<WinEH::FrameInfo>( in EmitWinCFIStartChained()
626 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinCFIEndChained()
636 CurrentWinFrameInfo = const_cast<WinEH::FrameInfo *>(CurFrame->ChainedParent); in EmitWinCFIEndChained()
641 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinEHHandler()
657 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinEHHandlerData()
718 WinEH::FrameInfo *CurFrame = EnsureValidWinFrameInfo(Loc); in EmitWinCFIPushReg()
[all …]
DMCWin64EH.cpp22 static uint8_t CountOfUnwindCodes(std::vector<WinEH::Instruction> &Insns) { in CountOfUnwindCodes()
58 WinEH::Instruction &inst) { in EmitUnwindCode()
137 const WinEH::FrameInfo *info) { in EmitRuntimeFunction()
148 static void EmitUnwindInfo(MCStreamer &streamer, WinEH::FrameInfo *info) { in EmitUnwindInfo()
182 WinEH::Instruction &frameInst = info->Instructions[info->LastFrameInst]; in EmitUnwindInfo()
191 WinEH::Instruction inst = info->Instructions.back(); in EmitUnwindInfo()
236 MCStreamer &Streamer, WinEH::FrameInfo *info) const { in EmitUnwindInfo()
DMCWinEH.cpp20 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
/external/swiftshader/third_party/llvm-7.0/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
DARMWinEHPrinter.h19 namespace WinEH {
/external/llvm/lib/Support/
DARMWinEH.cpp15 namespace WinEH { namespace
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DARMWinEH.cpp15 namespace WinEH { namespace
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCAsmInfo.cpp89 ExceptionsType = ExceptionHandling::WinEH; in ARMCOFFMCAsmInfoMicrosoft()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCAsmInfo.cpp117 ExceptionsType = ExceptionHandling::WinEH; in AArch64MCAsmInfoMicrosoftCOFF()

12