Lines Matching refs:FuncInfo
302 const WinEHFuncInfo &FuncInfo) { in getFrameIndexOffset() argument
318 assert(FuncInfo.EHRegNodeEndOffset != INT_MAX); in getFrameIndexOffset()
320 Offset += FuncInfo.EHRegNodeEndOffset; in getFrameIndexOffset()
517 const WinEHFuncInfo &FuncInfo = *MF->getWinEHFuncInfo(); in emitCSpecificHandlerTable() local
532 MCConstantExpr::create(FuncInfo.SEHSetFrameOffset, Ctx); in emitCSpecificHandlerTable()
565 InvokeStateChangeIterator::range(FuncInfo, MF->begin(), Stop)) { in emitCSpecificHandlerTable()
569 emitSEHActionsForRange(FuncInfo, LastStartLabel, in emitCSpecificHandlerTable()
578 void WinException::emitSEHActionsForRange(const WinEHFuncInfo &FuncInfo, in emitSEHActionsForRange() argument
592 const SEHUnwindMapEntry &UME = FuncInfo.SEHUnwindMap[State]; in emitSEHActionsForRange()
625 const WinEHFuncInfo &FuncInfo = *MF->getWinEHFuncInfo(); in emitCXXFrameHandler3Table() local
636 computeIP2StateTable(MF, FuncInfo, IPToStateTable); in emitCXXFrameHandler3Table()
644 getFrameIndexOffset(FuncInfo.UnwindHelpFrameIdx, FuncInfo); in emitCXXFrameHandler3Table()
649 if (!FuncInfo.CxxUnwindMap.empty()) in emitCXXFrameHandler3Table()
652 if (!FuncInfo.TryBlockMap.empty()) in emitCXXFrameHandler3Table()
687 OS.EmitIntValue(FuncInfo.CxxUnwindMap.size(), 4); in emitCXXFrameHandler3Table()
693 OS.EmitIntValue(FuncInfo.TryBlockMap.size(), 4); in emitCXXFrameHandler3Table()
721 for (const CxxUnwindMapEntry &UME : FuncInfo.CxxUnwindMap) { in emitCXXFrameHandler3Table()
742 for (size_t I = 0, E = FuncInfo.TryBlockMap.size(); I != E; ++I) { in emitCXXFrameHandler3Table()
743 const WinEHTryBlockMapEntry &TBME = FuncInfo.TryBlockMap[I]; in emitCXXFrameHandler3Table()
758 assert(TBME.CatchHigh < int(FuncInfo.CxxUnwindMap.size()) && in emitCXXFrameHandler3Table()
784 for (size_t I = 0, E = FuncInfo.TryBlockMap.size(); I != E; ++I) { in emitCXXFrameHandler3Table()
785 const WinEHTryBlockMapEntry &TBME = FuncInfo.TryBlockMap[I]; in emitCXXFrameHandler3Table()
803 int Offset = getFrameIndexOffset(HT.CatchObj.FrameIndex, FuncInfo); in emitCXXFrameHandler3Table()
849 const MachineFunction *MF, const WinEHFuncInfo &FuncInfo, in computeIP2StateTable() argument
877 assert(FuncInfo.FuncletBaseStateMap.count(FuncletPad) != 0); in computeIP2StateTable()
878 BaseState = FuncInfo.FuncletBaseStateMap.find(FuncletPad)->second; in computeIP2StateTable()
886 FuncInfo, FuncletStart, FuncletEnd, BaseState)) { in computeIP2StateTable()
902 void WinException::emitEHRegistrationOffsetLabel(const WinEHFuncInfo &FuncInfo, in emitEHRegistrationOffsetLabel() argument
914 *Asm->MF, FuncInfo.EHRegNodeFrameIndex, UnusedReg); in emitEHRegistrationOffsetLabel()
933 const WinEHFuncInfo &FuncInfo = *MF->getWinEHFuncInfo(); in emitExceptHandlerTable() local
934 emitEHRegistrationOffsetLabel(FuncInfo, FLinkageName); in emitExceptHandlerTable()
980 if (FuncInfo.EHGuardFrameIndex != INT_MAX) { in emitExceptHandlerTable()
983 int EHGuardIdx = FuncInfo.EHGuardFrameIndex; in emitExceptHandlerTable()
998 assert(!FuncInfo.SEHUnwindMap.empty()); in emitExceptHandlerTable()
999 for (const SEHUnwindMapEntry &UME : FuncInfo.SEHUnwindMap) { in emitExceptHandlerTable()
1015 static int getTryRank(const WinEHFuncInfo &FuncInfo, int State) { in getTryRank() argument
1019 State = FuncInfo.ClrEHUnwindMap[State].TryParentState; in getTryRank()
1024 static int getTryAncestor(const WinEHFuncInfo &FuncInfo, int Left, int Right) { in getTryAncestor() argument
1025 int LeftRank = getTryRank(FuncInfo, Left); in getTryAncestor()
1026 int RightRank = getTryRank(FuncInfo, Right); in getTryAncestor()
1029 Right = FuncInfo.ClrEHUnwindMap[Right].TryParentState; in getTryAncestor()
1034 Left = FuncInfo.ClrEHUnwindMap[Left].TryParentState; in getTryAncestor()
1039 Left = FuncInfo.ClrEHUnwindMap[Left].TryParentState; in getTryAncestor()
1040 Right = FuncInfo.ClrEHUnwindMap[Right].TryParentState; in getTryAncestor()
1051 const WinEHFuncInfo &FuncInfo = *MF->getWinEHFuncInfo(); in emitCLRExceptionTable() local
1066 int NumStates = FuncInfo.ClrEHUnwindMap.size(); in emitCLRExceptionTable()
1071 FuncInfo.ClrEHUnwindMap[State].Handler.get<MachineBasicBlock *>(); in emitCLRExceptionTable()
1076 assert(FuncInfo.ClrEHUnwindMap[State].HandlerParentState < State && in emitCLRExceptionTable()
1136 InvokeStateChangeIterator::range(FuncInfo, FuncletStart, FuncletEnd)) { in emitCLRExceptionTable()
1139 getTryAncestor(FuncInfo, CurrentState, StateChange.NewState); in emitCLRExceptionTable()
1147 CurrentState = FuncInfo.ClrEHUnwindMap[CurrentState].TryParentState; in emitCLRExceptionTable()
1161 FuncInfo.ClrEHUnwindMap[EnteredState].TryParentState) { in emitCLRExceptionTable()
1231 const ClrEHUnwindMapEntry &Entry = FuncInfo.ClrEHUnwindMap[Clause.State]; in emitCLRExceptionTable()