parseWidenableBranch overloads

Synopses

Declared in <llvm/Analysis/GuardUtils.h>

Parses a widenable branch and returns Uses so they can be modified.

bool
parseWidenableBranch(
    User* U,
    Use*& Cond,
    Use*& WC,
    BasicBlock*& IfTrueBB,
    BasicBlock*& IfFalseBB);

Parses a widenable branch and returns its condition, widenable condition, and successor blocks.

bool
parseWidenableBranch(
    User const* U,
    Value*& Condition,
    Value*& WidenableCondition,
    BasicBlock*& IfTrueBB,
    BasicBlock*& IfFalseBB);

Return Value

True if U matches the widenable branch pattern.

Parameters

Name

Description

U

User expected to be the widenable branch.

Cond

Set to the Use of the non‐widenable condition, or null.

WC

Set to the Use of the widenable.condition call result.

IfTrueBB

Set to the true successor of the branch.

IfFalseBB

Set to the false successor of the branch.

Condition

Set to the non‐widenable part of the branch condition.

WidenableCondition

Set to the widenable.condition call result.

Created with MrDocs