LLVM 23.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 86 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 112 of file PredicateInfo.h.

References Condition, OriginalOp, and Type.

Member Function Documentation

◆ classof()

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

◆ getConstraint()

◆ operator=()

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

References PredicateBase().

Member Data Documentation

◆ Condition

◆ OriginalOp

Value* llvm::PredicateBase::OriginalOp

Definition at line 92 of file PredicateInfo.h.

Referenced by getConstraint(), and PredicateBase().

◆ RenamedOp

Value* llvm::PredicateBase::RenamedOp

Definition at line 96 of file PredicateInfo.h.

Referenced by getConstraint().

◆ Type

PredicateType llvm::PredicateBase::Type

Definition at line 88 of file PredicateInfo.h.

Referenced by getConstraint(), and PredicateBase().


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