mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 23:18:51 +00:00
add accessors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33207 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ccebe449e
commit
b769d5657e
@ -467,6 +467,9 @@ public:
|
||||
/// @brief Return the predicate for this instruction.
|
||||
Predicate getPredicate() const { return Predicate(SubclassData); }
|
||||
|
||||
/// @brief Set the predicate for this instruction to the specified value.
|
||||
void setPredicate(Predicate P) { SubclassData = P; }
|
||||
|
||||
/// For example, EQ -> NE, UGT -> ULE, SLT -> SGE, etc.
|
||||
/// @returns the inverse predicate for the instruction's current predicate.
|
||||
/// @brief Return the inverse of the instruction's predicate.
|
||||
@ -609,6 +612,9 @@ public:
|
||||
/// @brief Return the predicate for this instruction.
|
||||
Predicate getPredicate() const { return Predicate(SubclassData); }
|
||||
|
||||
/// @brief Set the predicate for this instruction to the specified value.
|
||||
void setPredicate(Predicate P) { SubclassData = P; }
|
||||
|
||||
/// For example, OEQ -> UNE, UGT -> OLE, OLT -> UGE, etc.
|
||||
/// @returns the inverse predicate for the instructions current predicate.
|
||||
/// @brief Return the inverse of the predicate
|
||||
|
Loading…
Reference in New Issue
Block a user