LLVM 22.0.0git
llvm::PredicateBase Class Reference

#include "llvm/Transforms/Utils/PredicateInfo.h"

Inheritance diagram for llvm::PredicateBase:
[legend]

Public Member Functions

 PredicateBase (const PredicateBase &)=delete
PredicateBaseoperator= (const PredicateBase &)=delete
 PredicateBase ()=delete
LLVM_ABI std::optional< PredicateConstraintgetConstraint () const
 Fetch condition in the form of PredicateConstraint, if possible.

Static Public Member Functions

static bool classof (const PredicateBase *PB)

Public Attributes

PredicateType Type
ValueOriginalOp
ValueRenamedOp
ValueCondition

Protected Member Functions

 PredicateBase (PredicateType PT, Value *Op, Value *Condition)

Detailed Description

Definition at line 81 of file PredicateInfo.h.

Constructor & Destructor Documentation

◆ PredicateBase() [1/3]

◆ PredicateBase() [2/3]

llvm::PredicateBase::PredicateBase ( )
delete

◆ PredicateBase() [3/3]

llvm::PredicateBase::PredicateBase ( PredicateType PT,
Value * Op,
Value * Condition )
inlineprotected

Definition at line 107 of file PredicateInfo.h.

References Condition, OriginalOp, and Type.

Member Function Documentation

◆ classof()

bool llvm::PredicateBase::classof ( const PredicateBase * PB)
inlinestatic

Definition at line 98 of file PredicateInfo.h.

References PB(), PredicateBase(), llvm::PT_Assume, llvm::PT_Branch, and llvm::PT_Switch.

◆ getConstraint()

◆ operator=()

PredicateBase & llvm::PredicateBase::operator= ( const PredicateBase & )
delete

References PredicateBase().

Member Data Documentation

◆ Condition

Value* llvm::PredicateBase::Condition

◆ OriginalOp

Value* llvm::PredicateBase::OriginalOp

Definition at line 87 of file PredicateInfo.h.

Referenced by PredicateBase().

◆ RenamedOp

Value* llvm::PredicateBase::RenamedOp

Definition at line 91 of file PredicateInfo.h.

Referenced by getConstraint().

◆ Type

PredicateType llvm::PredicateBase::Type

Definition at line 83 of file PredicateInfo.h.

Referenced by getConstraint(), and PredicateBase().


The documentation for this class was generated from the following files: