LLVM 20.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. | |
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) |
Public Attributes | |
PredicateType | Type |
Value * | OriginalOp |
Value * | RenamedOp |
Value * | Condition |
Protected Member Functions | |
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 = 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 |
Definition at line 81 of file PredicateInfo.h.
|
delete |
|
delete |
|
virtualdefault |
|
inlineprotected |
Definition at line 108 of file PredicateInfo.h.
|
inlinestatic |
Definition at line 99 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 777 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 93 of file PredicateInfo.h.
Referenced by getConstraint().
Value* llvm::PredicateBase::OriginalOp |
Definition at line 87 of file PredicateInfo.h.
Value* llvm::PredicateBase::RenamedOp |
Definition at line 91 of file PredicateInfo.h.
Referenced by getConstraint().
PredicateType llvm::PredicateBase::Type |
Definition at line 83 of file PredicateInfo.h.