LLVM: llvm::PredicateBase Class Reference (original) (raw)
#include "[llvm/Transforms/Utils/PredicateInfo.h](PredicateInfo%5F8h%5Fsource.html)"
Inheritance diagram for llvm::PredicateBase:
| 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](structllvm%5F1%5F1PredicateConstraint.html "Constraint for a predicate of the form "cmp Pred Op, OtherOp", where Op is the value the constraint a..."), if possible. |
Detailed Description
Definition at line 81 of file PredicateInfo.h.
Constructor & Destructor Documentation
◆ PredicateBase() [2/3]
| llvm::PredicateBase::PredicateBase ( ) | delete |
|---|
◆ PredicateBase() [3/3]
Member Function Documentation
◆ classof()
◆ getConstraint()
Fetch condition in the form of [PredicateConstraint](structllvm%5F1%5F1PredicateConstraint.html "Constraint for a predicate of the form "cmp Pred Op, OtherOp", where Op is the value the constraint a..."), if possible.
Definition at line 713 of file PredicateInfo.cpp.
References llvm::cast(), Condition, llvm::dyn_cast(), 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(), llvm::PT_Assume, llvm::PT_Branch, llvm::PT_Switch, RenamedOp, and Type.
◆ operator=()
References PredicateBase().
Member Data Documentation
◆ Condition
Value* llvm::PredicateBase::Condition
◆ OriginalOp
Value* llvm::PredicateBase::OriginalOp
◆ RenamedOp
Value* llvm::PredicateBase::RenamedOp
◆ Type
The documentation for this class was generated from the following files:
- include/llvm/Transforms/Utils/PredicateInfo.h
- lib/Transforms/Utils/PredicateInfo.cpp