LLVM
12.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 |
Optional< PredicateConstraint > | getConstraint () const |
Fetch condition in the form of PredicateConstraint, if possible. More... | |
![]() | |
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. More... | |
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< ilist_detail::compute_node_options< PredicateBase, Options... >::type, false, false > |
using | const_self_iterator = ilist_iterator< ilist_detail::compute_node_options< PredicateBase, Options... >::type, false, true > |
using | reverse_self_iterator = ilist_iterator< ilist_detail::compute_node_options< PredicateBase, Options... >::type, true, false > |
using | const_reverse_self_iterator = ilist_iterator< ilist_detail::compute_node_options< PredicateBase, Options... >::type, 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 llvm::PT_Assume, llvm::PT_Branch, llvm::PT_Switch, and Type.
Optional< PredicateConstraint > llvm::PredicateBase::getConstraint | ( | ) | const |
Fetch condition in the form of PredicateConstraint, if possible.
Definition at line 825 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::None, 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 llvm::PredicateInfoAnnotatedWriter::emitInstructionAnnot(), and 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.
Referenced by classof(), llvm::PredicateAssume::classof(), llvm::PredicateWithEdge::classof(), llvm::PredicateBranch::classof(), and llvm::PredicateSwitch::classof().