Home
last modified time | relevance | path

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

/external/llvm/include/llvm/MC/
DMCWin64EH.h28 static WinEH::Instruction PushNonVol(MCSymbol *L, unsigned Reg) { in PushNonVol()
29 return WinEH::Instruction(Win64EH::UOP_PushNonVol, L, Reg, -1); in PushNonVol()
31 static WinEH::Instruction Alloc(MCSymbol *L, unsigned Size) { in Alloc()
32 return WinEH::Instruction(Size > 128 ? UOP_AllocLarge : UOP_AllocSmall, L, in Alloc()
35 static WinEH::Instruction PushMachFrame(MCSymbol *L, bool Code) { in PushMachFrame()
36 return WinEH::Instruction(UOP_PushMachFrame, L, -1, Code ? 1 : 0); in PushMachFrame()
38 static WinEH::Instruction SaveNonVol(MCSymbol *L, unsigned Reg, in SaveNonVol()
40 return WinEH::Instruction(Offset > 512 * 1024 - 8 ? UOP_SaveNonVolBig in SaveNonVol()
44 static WinEH::Instruction SaveXMM(MCSymbol *L, unsigned Reg, in SaveXMM()
46 return WinEH::Instruction(Offset > 512 * 1024 - 8 ? UOP_SaveXMM128Big in SaveXMM()
[all …]
DMCAsmInfo.h31 namespace WinEH {
49 WinEH, /// Windows Exception Handling enumerator
324 WinEH::EncodingType WinEHEncodingType;
521 WinEH::EncodingType getWinEHEncodingType() const { return WinEHEncodingType; } in getWinEHEncodingType()
531 return ExceptionsType == ExceptionHandling::WinEH && in usesWindowsCFI()
532 (WinEHEncodingType != WinEH::EncodingType::Invalid && in usesWindowsCFI()
533 WinEHEncodingType != WinEH::EncodingType::X86); in usesWindowsCFI()
DMCStreamer.h170 std::vector<WinEH::FrameInfo *> WinFrameInfos;
171 WinEH::FrameInfo *CurrentWinFrameInfo;
188 WinEH::FrameInfo *getCurrentWinFrameInfo() { in getCurrentWinFrameInfo()
222 ArrayRef<WinEH::FrameInfo *> getWinFrameInfos() const { in getWinFrameInfos()
DMCWinEH.h22 namespace WinEH {
/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/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()
241 WinEH::FrameInfo *info) const { in EmitUnwindInfo()
DMCStreamer.cpp418 WinFrameInfos.push_back(new WinEH::FrameInfo(Symbol, StartProc)); in EmitWinCFIStartProc()
438 WinFrameInfos.push_back(new WinEH::FrameInfo(CurrentWinFrameInfo->Function, in EmitWinCFIStartChained()
453 const_cast<WinEH::FrameInfo *>(CurrentWinFrameInfo->ChainedParent); in EmitWinCFIEndChained()
484 WinEH::Instruction Inst = Win64EH::Instruction::PushNonVol(Label, Register); in EmitWinCFIPushReg()
500 WinEH::Instruction Inst = in EmitWinCFISetFrame()
516 WinEH::Instruction Inst = Win64EH::Instruction::Alloc(Label, Size); in EmitWinCFIAllocStack()
528 WinEH::Instruction Inst = in EmitWinCFISaveReg()
541 WinEH::Instruction Inst = in EmitWinCFISaveXMM()
554 WinEH::Instruction Inst = Win64EH::Instruction::PushMachFrame(Label, Code); in EmitWinCFIPushFrame()
DMCWinEH.cpp20 namespace WinEH { namespace
DMCAsmInfo.cpp88 WinEHEncodingType = WinEH::EncodingType::Invalid; in MCAsmInfo()
DMCAsmStreamer.cpp1180 WinEH::FrameInfo *CurFrame = getCurrentWinFrameInfo(); in EmitWinEHHandlerData()
1182 WinEH::UnwindEmitter::getXDataSection(CurFrame->Function, getContext()); in EmitWinEHHandlerData()
/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
DARMWinEHPrinter.h19 namespace WinEH {
DCOFFDumper.cpp1021 ARM::WinEH::Decoder Decoder(W); in printUnwindInfo()
/external/llvm/lib/Support/
DARMWinEH.cpp15 namespace WinEH { namespace
/external/llvm/include/llvm/Support/
DARMWinEH.h18 namespace WinEH {
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp268 case ExceptionHandling::WinEH: in doInitialization()
271 case WinEH::EncodingType::Invalid: in doInitialization()
273 case WinEH::EncodingType::X86: in doInitialization()
274 case WinEH::EncodingType::Itanium: in doInitialization()
DWinException.cpp130 MCSection *XData = WinEH::UnwindEmitter::getXDataSection(Asm->CurrentFnSym, in endFunction()
/external/llvm/lib/CodeGen/
DPasses.cpp450 case ExceptionHandling::WinEH: in addPassesToHandleExceptions()
/external/llvm/lib/Target/X86/
DX86InstrCompiler.td173 // ESI. It is only needed for 32-bit WinEH, as the runtime restores CSRs for us