LLVM  7.0.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::PredicateSwitch Class Reference

#include "llvm/Transforms/Utils/PredicateInfo.h"

Inheritance diagram for llvm::PredicateSwitch:
[legend]
Collaboration diagram for llvm::PredicateSwitch:
[legend]

Public Member Functions

 PredicateSwitch (Value *Op, BasicBlock *SwitchBB, BasicBlock *TargetBB, Value *CaseValue, SwitchInst *SI)
 
 PredicateSwitch ()=delete
 
- Public Member Functions inherited from llvm::PredicateWithEdge
 PredicateWithEdge ()=delete
 
- Public Member Functions inherited from llvm::PredicateBase
 PredicateBase (const PredicateBase &)=delete
 
PredicateBase & operator= (const PredicateBase &)=delete
 
 PredicateBase ()=delete
 
virtual ~PredicateBase ()=default
 
- Public Member Functions inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< PredicateBase, Options... >::type >
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)
 
- Static Public Member Functions inherited from llvm::PredicateWithEdge
static bool classof (const PredicateBase *PB)
 
- Static Public Member Functions inherited from llvm::PredicateWithCondition
static bool classof (const PredicateBase *PB)
 

Public Attributes

Value * CaseValue
 
SwitchInst * Switch
 
- Public Attributes inherited from llvm::PredicateWithEdge
BasicBlock * From
 
BasicBlock * To
 
- Public Attributes inherited from llvm::PredicateWithCondition
Value * Condition
 
- Public Attributes inherited from llvm::PredicateBase
PredicateType Type
 
Value * OriginalOp
 

Additional Inherited Members

- Protected Types inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< PredicateBase, Options... >::type >
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 >
 
- Protected Member Functions inherited from llvm::PredicateWithEdge
 PredicateWithEdge (PredicateType PType, Value *Op, BasicBlock *From, BasicBlock *To, Value *Cond)
 
- Protected Member Functions inherited from llvm::PredicateWithCondition
 PredicateWithCondition (PredicateType PT, Value *Op, Value *Condition)
 
- Protected Member Functions inherited from llvm::PredicateBase
 PredicateBase (PredicateType PT, Value *Op)
 
- Protected Member Functions inherited from llvm::ilist_node_impl< ilist_detail::compute_node_options< PredicateBase, Options... >::type >
 ilist_node_impl ()=default
 

Detailed Description

Definition at line 177 of file PredicateInfo.h.

Constructor & Destructor Documentation

◆ PredicateSwitch() [1/2]

llvm::PredicateSwitch::PredicateSwitch ( Value *  Op,
BasicBlock *  SwitchBB,
BasicBlock *  TargetBB,
Value *  CaseValue,
SwitchInst *  SI 
)
inline

Definition at line 182 of file PredicateInfo.h.

◆ PredicateSwitch() [2/2]

llvm::PredicateSwitch::PredicateSwitch ( )
delete

Member Function Documentation

◆ classof()

static bool llvm::PredicateSwitch::classof ( const PredicateBase *  PB)
inlinestatic

Definition at line 188 of file PredicateInfo.h.

References llvm::PT_Switch, and llvm::PredicateBase::Type.

Member Data Documentation

◆ CaseValue

Value* llvm::PredicateSwitch::CaseValue

Definition at line 179 of file PredicateInfo.h.

◆ Switch

SwitchInst* llvm::PredicateSwitch::Switch

Definition at line 181 of file PredicateInfo.h.


The documentation for this class was generated from the following file: