LLVM 22.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
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]

llvm::PredicateBase::PredicateBase ( const PredicateBase )
delete

◆ 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.

Member Function Documentation

◆ classof()

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

Definition at line 98 of file PredicateInfo.h.

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

◆ getConstraint()

std::optional< PredicateConstraint > llvm::PredicateBase::getConstraint ( ) const

◆ operator=()

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

Member Data Documentation

◆ Condition

Value* llvm::PredicateBase::Condition

Definition at line 93 of file PredicateInfo.h.

Referenced by getConstraint().

◆ OriginalOp

Value* llvm::PredicateBase::OriginalOp

Definition at line 87 of file PredicateInfo.h.

◆ 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.


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