LLVM: lib/Target/X86/X86WinEHState.cpp File Reference (original) (raw)

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 bool isIntrinsic (const CallBase &Call, Intrinsic::ID ID)
static bool isSehScopeEnd (const CallBase &Call)
static bool isSehScopeBegin (const CallBase &Call)
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)

DEBUG_TYPE

#define DEBUG_TYPE "winehstate"

getPredState()

Definition at line 558 of file X86WinEHState.cpp.

References assert(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), F, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), llvm::isa(), llvm::BasicBlock::isEHPad(), and llvm::predecessors().

getSuccState()

Definition at line 599 of file X86WinEHState.cpp.

References assert(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), F, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), llvm::BasicBlock::getTerminator(), llvm::isa(), and llvm::successors().

INITIALIZE_PASS()

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

isIntrinsic()

isSehScopeBegin()

isSehScopeEnd()