LLVM 20.0.0git
Macros | Functions
X86WinEHState.cpp File Reference
#include "X86.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/Analysis/CFG.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/WinEHFuncInfo.h"
#include "llvm/IR/CFG.h"
#include "llvm/IR/EHPersonalities.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/IntrinsicsX86.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include <deque>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "winehstate"
 

Functions

 INITIALIZE_PASS (WinEHStatePass, "x86-winehstate", "Insert stores for EH state numbers", false, false) bool WinEHStatePass
 
static int getPredState (DenseMap< BasicBlock *, int > &FinalStates, Function &F, int ParentBaseState, BasicBlock *BB)
 
static int getSuccState (DenseMap< BasicBlock *, int > &InitialStates, Function &F, int ParentBaseState, BasicBlock *BB)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "winehstate"

Definition at line 35 of file X86WinEHState.cpp.

Function Documentation

◆ getPredState()

static int getPredState ( DenseMap< BasicBlock *, int > &  FinalStates,
Function F,
int  ParentBaseState,
BasicBlock BB 
)
static

◆ getSuccState()

static int getSuccState ( DenseMap< BasicBlock *, int > &  InitialStates,
Function F,
int  ParentBaseState,
BasicBlock BB 
)
static

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( WinEHStatePass  ,
"x86-winehstate"  ,
"Insert stores for EH state numbers"  ,
false  ,
false   
)

Definition at line 118 of file X86WinEHState.cpp.