LLVM 18.0.0git
|
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/iterator.h"
#include "llvm/Analysis/CFG.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Dominators.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/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Utils/SSAUpdater.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "callbrprepare" |
Functions | |
static SmallVector< CallBrInst *, 2 > | FindCallBrs (Function &Fn) |
static bool | IsInSameBasicBlock (const Use &U, const BasicBlock *BB) |
static void | PrintDebugDomInfo (const DominatorTree &DT, const Use &U, const BasicBlock *BB, bool IsDefaultDest) |
#define DEBUG_TYPE "callbrprepare" |
Definition at line 54 of file CallBrPrepare.cpp.
|
static |
Definition at line 85 of file CallBrPrepare.cpp.
References llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
static |
Definition at line 145 of file CallBrPrepare.cpp.
References I.
|
static |
Definition at line 151 of file CallBrPrepare.cpp.
References llvm::dbgs(), llvm::DominatorTree::dominates(), llvm::Value::getName(), and LLVM_DEBUG.