LLVM 20.0.0git
|
#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/IntrinsicInst.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 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) |
#define DEBUG_TYPE "winehstate" |
Definition at line 36 of file X86WinEHState.cpp.
|
static |
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::BasicBlock::isEHPad(), and llvm::predecessors().
|
static |
INITIALIZE_PASS | ( | WinEHStatePass | , |
"x86-winehstate" | , | ||
"Insert stores for EH state numbers" | , | ||
false | , | ||
false | |||
) |
Definition at line 124 of file X86WinEHState.cpp.
|
static |
Definition at line 525 of file X86WinEHState.cpp.
References llvm::Function::getIntrinsicID(), and llvm::Function::isIntrinsic().
Referenced by CombineBaseUpdate(), isSehScopeBegin(), isSehScopeEnd(), and isVShiftRImm().
Definition at line 534 of file X86WinEHState.cpp.
References isIntrinsic().
Definition at line 530 of file X86WinEHState.cpp.
References isIntrinsic().