Predicate information for llvm.assume intrinsics.

Synopsis

Declared in <llvm/Transforms/Utils/PredicateInfo.h>

class PredicateAssume
    : public PredicateBase

Description

Since assumes are always true, we simply provide the assume instruction, so you can tell your relative position to it.

Base Classes

Name

Description

PredicateBase

Base class for all predicate information we provide.

Member Functions

Name

Description

operator= [deleted]

Deleted copy assignment; PredicateBase cannot be copy‐assigned.

getConstraint

Fetch condition in the form of PredicateConstraint, if possible.

Static Member Functions

Name

Description

classof

Return true if PB is an assume‐based predicate.

Data Members

Name

Description

AssumeInst

The llvm.assume intrinsic that establishes this predicate.

Condition

The condition associated with this predicate.

OriginalOp

The original operand before we renamed it.

RenamedOp

The renamed operand in the condition used for this predicate.

Type

Discriminator describing which derived predicate this is.

Protected Member Functions

Name

Description

PredicateAssume [constructor]

Construct an assume predicate of kind PT.

Derived Classes

Name

Description

PredicateBundleAssume

Predicate information from an llvm.assume operand‐bundle attribute.

PredicateConditionAssume

Predicate information from the boolean condition of an llvm.assume.

Created with MrDocs