12#ifndef LLVM_TRANSFORMS_UTILS_GUARDUTILS_H
13#define LLVM_TRANSFORMS_UTILS_GUARDUTILS_H
const SmallVectorImpl< MachineOperand > & Cond
Conditional or Unconditional Branch instruction.
This class represents a function call, abstracting a target machine's calling convention.
LLVM Value Representation.
This is an optimization pass for GlobalISel generic memory operations.
void makeGuardControlFlowExplicit(Function *DeoptIntrinsic, CallInst *Guard, bool UseWC)
Splits control flow at point of Guard, replacing it with explicit branch by the condition of guard's ...
void widenWidenableBranch(BranchInst *WidenableBR, Value *NewCond)
Given a branch we know is widenable (defined per Analysis/GuardUtils.h), widen it such that condition...
void setWidenableBranchCond(BranchInst *WidenableBR, Value *Cond)
Given a branch we know is widenable (defined per Analysis/GuardUtils.h), set it's condition such that...