LLVM 18.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
llvm::PredicateWithEdge Class Reference

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

Inheritance diagram for llvm::PredicateWithEdge:
Inheritance graph

Public Member Functions

 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.

Static Public Member Functions

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

Public Attributes

- Public Attributes inherited from llvm::PredicateBase
PredicateType Type

Protected Member Functions

 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

Additional Inherited Members

- Protected Types inherited from llvm::ilist_node_impl< OptionsT >
using self_iterator = ilist_iterator< OptionsT, false, false >
using const_self_iterator = ilist_iterator< OptionsT, false, true >
using reverse_self_iterator = ilist_iterator< OptionsT, true, false >
using const_reverse_self_iterator = ilist_iterator< OptionsT, true, true >

Detailed Description

Definition at line 130 of file PredicateInfo.h.

Constructor & Destructor Documentation

◆ PredicateWithEdge() [1/2]

llvm::PredicateWithEdge::PredicateWithEdge ( )

◆ PredicateWithEdge() [2/2]

llvm::PredicateWithEdge::PredicateWithEdge ( PredicateType  PType,
Value Op,
BasicBlock From,
BasicBlock To,
Value Cond 

Definition at line 140 of file PredicateInfo.h.

Member Function Documentation

◆ classof()

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

Definition at line 135 of file PredicateInfo.h.

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

Member Data Documentation

◆ From

BasicBlock* llvm::PredicateWithEdge::From

Definition at line 132 of file PredicateInfo.h.

◆ To

BasicBlock* llvm::PredicateWithEdge::To

Definition at line 133 of file PredicateInfo.h.

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