LLVM 18.0.0git
|
#include "llvm/Transforms/Utils/PredicateInfo.h"
Public Member Functions | |
PredicateBase (const PredicateBase &)=delete | |
PredicateBase & | operator= (const PredicateBase &)=delete |
PredicateBase ()=delete | |
virtual | ~PredicateBase ()=default |
std::optional< PredicateConstraint > | getConstraint () const |
Fetch condition in the form of PredicateConstraint, if possible. | |
![]() | |
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) |
Public Attributes | |
PredicateType | Type |
Value * | OriginalOp |
Value * | RenamedOp |
Value * | Condition |
Protected Member Functions | |
PredicateBase (PredicateType PT, Value *Op, Value *Condition) | |
![]() | |
ilist_node_impl ()=default | |
Additional Inherited Members | |
![]() | |
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 > |
Definition at line 82 of file PredicateInfo.h.
|
delete |
|
delete |
|
virtualdefault |
|
inlineprotected |
Definition at line 109 of file PredicateInfo.h.
|
inlinestatic |
Definition at line 100 of file PredicateInfo.h.
References PB(), llvm::PT_Assume, llvm::PT_Branch, and llvm::PT_Switch.
std::optional< PredicateConstraint > llvm::PredicateBase::getConstraint | ( | ) | const |
Fetch condition in the form of PredicateConstraint, if possible.
Definition at line 786 of file PredicateInfo.cpp.
References Condition, llvm::ConstantInt::getFalse(), llvm::CmpInst::getInversePredicate(), llvm::ConstantInt::getTrue(), llvm::Value::getType(), llvm::CmpInst::ICMP_EQ, llvm_unreachable, llvm::PT_Assume, llvm::PT_Branch, llvm::PT_Switch, and RenamedOp.
|
delete |
Value* llvm::PredicateBase::Condition |
Definition at line 94 of file PredicateInfo.h.
Referenced by getConstraint().
Value* llvm::PredicateBase::OriginalOp |
Definition at line 88 of file PredicateInfo.h.
Value* llvm::PredicateBase::RenamedOp |
Definition at line 92 of file PredicateInfo.h.
Referenced by getConstraint().
PredicateType llvm::PredicateBase::Type |
Definition at line 84 of file PredicateInfo.h.