LLVM 20.0.0git
|
#include "llvm/Transforms/Utils/LowerInvoke.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/IR/Instructions.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Transforms/Utils.h"
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
Macros | |
#define | DEBUG_TYPE "lower-invoke" |
Functions | |
STATISTIC (NumInvokes, "Number of invokes replaced") | |
INITIALIZE_PASS (LowerInvokeLegacyPass, "lowerinvoke", "Lower invoke and unwind, for unwindless code generators", false, false) static bool runImpl(Function &F) | |
FunctionPass * | llvm::createLowerInvokePass () |
#define DEBUG_TYPE "lower-invoke" |
Definition at line 25 of file LowerInvoke.cpp.
INITIALIZE_PASS | ( | LowerInvokeLegacyPass | , |
"lowerinvoke" | , | ||
"Lower invoke and | unwind, | ||
for unwindless code generators" | , | ||
false | , | ||
false | |||
) | & |
Definition at line 41 of file LowerInvoke.cpp.
References llvm::BranchInst::Create(), llvm::CallInst::Create(), F, II, llvm::CallBase::setAttributes(), llvm::CallBase::setCallingConv(), llvm::Instruction::setDebugLoc(), and llvm::Value::takeName().
STATISTIC | ( | NumInvokes | , |
"Number of invokes replaced" | |||
) |