LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::PredicateBranch Class Reference

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

Inheritance diagram for llvm::PredicateBranch:
Inheritance graph
[legend]

Public Member Functions

 PredicateBranch (Value *Op, BasicBlock *BranchBB, BasicBlock *SplitBB, Value *Condition, bool TakenEdge)
 
 PredicateBranch ()=delete
 
- Public Member Functions inherited from llvm::PredicateWithEdge
 PredicateWithEdge ()=delete
 
- Public Member Functions inherited from llvm::PredicateBase
 PredicateBase (const PredicateBase &)=delete
 
PredicateBaseoperator= (const PredicateBase &)=delete
 
 PredicateBase ()=delete
 
virtual ~PredicateBase ()=default
 
std::optional< PredicateConstraintgetConstraint () const
 Fetch condition in the form of PredicateConstraint, if possible.
 
- Public Member Functions inherited from llvm::ilist_node_impl< OptionsT >
self_iterator getIterator ()
 
const_self_iterator getIterator () const
 
reverse_self_iterator getReverseIterator ()
 
const_reverse_self_iterator getReverseIterator () const
 
bool isSentinel () const
 Check whether this is the sentinel node.
 
- Public Member Functions inherited from llvm::ilist_detail::node_parent_access< ilist_node_impl< OptionsT >, OptionsT::parent_ty >
const OptionsT::parent_ty * getParent () const
 
OptionsT::parent_ty * getParent ()
 
void setParent (OptionsT::parent_ty *Parent)
 

Static Public Member Functions

static bool classof (const PredicateBase *PB)
 
- Static Public Member Functions inherited from llvm::PredicateWithEdge
static bool classof (const PredicateBase *PB)
 
- Static Public Member Functions inherited from llvm::PredicateBase
static bool classof (const PredicateBase *PB)
 

Public Attributes

bool TrueEdge
 
- Public Attributes inherited from llvm::PredicateWithEdge
BasicBlockFrom
 
BasicBlockTo
 
- Public Attributes inherited from llvm::PredicateBase
PredicateType Type
 
ValueOriginalOp
 
ValueRenamedOp
 
ValueCondition
 

Additional Inherited Members

- Protected Types inherited from llvm::ilist_node_impl< OptionsT >
using self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, false, false >::type
 
using const_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, false, true >::type
 
using reverse_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, true, false >::type
 
using const_reverse_self_iterator = typename ilist_select_iterator_type< OptionsT::has_iterator_bits, OptionsT, true, true >::type
 
- Protected Member Functions inherited from llvm::PredicateWithEdge
 PredicateWithEdge (PredicateType PType, Value *Op, BasicBlock *From, BasicBlock *To, Value *Cond)
 
- Protected Member Functions inherited from llvm::PredicateBase
 PredicateBase (PredicateType PT, Value *Op, Value *Condition)
 
- Protected Member Functions inherited from llvm::ilist_node_impl< OptionsT >
 ilist_node_impl ()=default
 

Detailed Description

Definition at line 145 of file PredicateInfo.h.

Constructor & Destructor Documentation

◆ PredicateBranch() [1/2]

llvm::PredicateBranch::PredicateBranch ( Value Op,
BasicBlock BranchBB,
BasicBlock SplitBB,
Value Condition,
bool  TakenEdge 
)
inline

Definition at line 149 of file PredicateInfo.h.

◆ PredicateBranch() [2/2]

llvm::PredicateBranch::PredicateBranch ( )
delete

Member Function Documentation

◆ classof()

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

Definition at line 154 of file PredicateInfo.h.

References PB(), and llvm::PT_Branch.

Member Data Documentation

◆ TrueEdge

bool llvm::PredicateBranch::TrueEdge

Definition at line 148 of file PredicateInfo.h.


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