ΒΆvoid widenWidenableBranch(
llvm::BranchInst* WidenableBR,
llvm::Value* NewCond)
void widenWidenableBranch(
llvm::BranchInst* WidenableBR,
llvm::Value* NewCond)
Description
Given a branch we know is widenable (defined per Analysis/GuardUtils.h), widen it such that condition 'NewCond' is also known to hold on the taken path. Branch remains widenable after transform.
Declared at: llvm/include/llvm/Transforms/Utils/GuardUtils.h:35
Parameters
- llvm::BranchInst* WidenableBR
- llvm::Value* NewCond