Invert a conditional branch's condition and swap its successors.
Declared in <llvm/Transforms/Utils/BasicBlockUtils.h>
void
InvertBranch(
CondBrInst* PBI,
IRBuilderBase& Builder);
| Name | Description |
|---|---|
| PBI | Conditional branch to invert. |
| Builder | IR builder used to materialize the inverted condition. |