LLVM
8.0.1
|
#include "llvm/Transforms/Scalar/LowerGuardIntrinsic.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Analysis/GuardUtils.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/GuardUtils.h"
Go to the source code of this file.
Functions | |
static bool | lowerGuardIntrinsic (Function &F) |
INITIALIZE_PASS (LowerGuardIntrinsicLegacyPass, "lower-guard-intrinsic", "Lower the guard intrinsic to normal control flow", false, false) Pass *llvm | |
INITIALIZE_PASS | ( | LowerGuardIntrinsicLegacyPass | , |
"lower-guard-intrinsic" | , | ||
"Lower the guard intrinsic to normal control flow" | , | ||
false | , | ||
false | |||
) |
Definition at line 76 of file LowerGuardIntrinsic.cpp.
Definition at line 43 of file LowerGuardIntrinsic.cpp.
References llvm::SmallVectorBase::empty(), llvm::Intrinsic::experimental_deoptimize, llvm::Intrinsic::experimental_guard, F(), llvm::Intrinsic::getDeclaration(), llvm::Module::getFunction(), llvm::Intrinsic::getName(), llvm::GlobalValue::getParent(), llvm::Function::getReturnType(), I, llvm::instructions(), llvm::isGuard(), llvm::makeGuardControlFlowExplicit(), llvm::SmallVectorTemplateBase< T >::push_back(), runOnFunction(), and llvm::Function::setCallingConv().
Referenced by llvm::LowerGuardIntrinsicPass::run().