LLVM 24.0.0git
X86WinEHUnwindV2.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "x86-wineh-unwindv2"

Functions

 STATISTIC (MeetsUnwindV2Criteria, "Number of functions that meet Unwind v2 criteria")
 STATISTIC (FailsUnwindV2Criteria, "Number of functions that fail Unwind v2 criteria")
 INITIALIZE_PASS (X86WinEHUnwindV2Legacy, "x86-wineh-unwindv2", "Analyze and emit instructions for Win64 Unwind v2", false, false) FunctionPass *llvm
DebugLoc findDebugLoc (const MachineBasicBlock &MBB)
std::optional< FrameInfo > runAnalysisOnFuncOrFunclet (MachineFunction &MF, MachineFunction::iterator &Iter, WinX64EHUnwindMode Mode)
bool runX86WinEHUnwindV2 (MachineFunction &MF)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "x86-wineh-unwindv2"

Definition at line 30 of file X86WinEHUnwindV2.cpp.

Function Documentation

◆ findDebugLoc()

DebugLoc findDebugLoc ( const MachineBasicBlock & MBB)

Definition at line 95 of file X86WinEHUnwindV2.cpp.

References llvm::DebugLoc::getUnknown(), MBB, and MI.

Referenced by runX86WinEHUnwindV2().

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( X86WinEHUnwindV2Legacy ,
"x86-wineh-unwindv2" ,
"Analyze and emit instructions for Win64 Unwind v2" ,
false ,
false  )

Definition at line 87 of file X86WinEHUnwindV2.cpp.

References llvm::createX86WinEHUnwindV2LegacyPass().

◆ runAnalysisOnFuncOrFunclet()

◆ runX86WinEHUnwindV2()

◆ STATISTIC() [1/2]

STATISTIC ( FailsUnwindV2Criteria ,
"Number of functions that fail Unwind v2 criteria"  )

◆ STATISTIC() [2/2]

STATISTIC ( MeetsUnwindV2Criteria ,
"Number of functions that meet Unwind v2 criteria"  )