|
LLVM 23.0.0git
|
#include "llvm/Transforms/Utils/PredicateInfo.h"
Public Member Functions | |
| PredicateBase (const PredicateBase &)=delete | |
| PredicateBase & | operator= (const PredicateBase &)=delete |
| PredicateBase ()=delete | |
| LLVM_ABI std::optional< PredicateConstraint > | getConstraint () const |
| Fetch condition in the form of PredicateConstraint, if possible. | |
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) | |
Definition at line 86 of file PredicateInfo.h.
|
delete |
|
delete |
|
inlineprotected |
Definition at line 112 of file PredicateInfo.h.
References Condition, OriginalOp, and Type.
|
inlinestatic |
Definition at line 103 of file PredicateInfo.h.
References PB(), PredicateBase(), llvm::PT_Branch, llvm::PT_BundleAssume, llvm::PT_ConditionAssume, and llvm::PT_Switch.
| std::optional< PredicateConstraint > llvm::PredicateBase::getConstraint | ( | ) | const |
Fetch condition in the form of PredicateConstraint, if possible.
Definition at line 726 of file PredicateInfo.cpp.
References assert(), llvm::cast(), Condition, llvm::dyn_cast(), llvm::ConstantPointerNull::get(), llvm::ConstantInt::getFalse(), llvm::CmpInst::getInversePredicate(), llvm::Constant::getNullValue(), llvm::ConstantInt::getTrue(), llvm::CmpInst::ICMP_EQ, llvm::CmpInst::ICMP_NE, llvm_unreachable, llvm::PatternMatch::m_NUWTrunc(), llvm::PatternMatch::m_Specific(), llvm::PatternMatch::match(), OriginalOp, llvm::PT_Branch, llvm::PT_BundleAssume, llvm::PT_ConditionAssume, llvm::PT_Switch, RenamedOp, and Type.
|
delete |
References PredicateBase().
| Value* llvm::PredicateBase::Condition |
Definition at line 98 of file PredicateInfo.h.
Referenced by getConstraint(), llvm::PredicateAssume::PredicateAssume(), PredicateBase(), llvm::PredicateBranch::PredicateBranch(), and llvm::PredicateConditionAssume::PredicateConditionAssume().
| Value* llvm::PredicateBase::OriginalOp |
Definition at line 92 of file PredicateInfo.h.
Referenced by getConstraint(), and PredicateBase().
| Value* llvm::PredicateBase::RenamedOp |
Definition at line 96 of file PredicateInfo.h.
Referenced by getConstraint().
| PredicateType llvm::PredicateBase::Type |
Definition at line 88 of file PredicateInfo.h.
Referenced by getConstraint(), and PredicateBase().