LLVM API Documentation

Namespaces | Enumerations | Functions
PPCPredicates.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


namespace  llvm::PPC
 

Define some predicates that are used for node matching.


Enumerations

enum  llvm::PPC::Predicate {
  llvm::PPC::PRED_LT = (0 << 5) | 12, llvm::PPC::PRED_LE = (1 << 5) | 4, llvm::PPC::PRED_EQ = (2 << 5) | 12, llvm::PPC::PRED_GE = (0 << 5) | 4,
  llvm::PPC::PRED_GT = (1 << 5) | 12, llvm::PPC::PRED_NE = (2 << 5) | 4, llvm::PPC::PRED_UN = (3 << 5) | 12, llvm::PPC::PRED_NU = (3 << 5) | 4,
  llvm::PPC::PRED_LT_MINUS = (0 << 5) | 14, llvm::PPC::PRED_LE_MINUS = (1 << 5) | 6, llvm::PPC::PRED_EQ_MINUS = (2 << 5) | 14, llvm::PPC::PRED_GE_MINUS = (0 << 5) | 6,
  llvm::PPC::PRED_GT_MINUS = (1 << 5) | 14, llvm::PPC::PRED_NE_MINUS = (2 << 5) | 6, llvm::PPC::PRED_UN_MINUS = (3 << 5) | 14, llvm::PPC::PRED_NU_MINUS = (3 << 5) | 6,
  llvm::PPC::PRED_LT_PLUS = (0 << 5) | 15, llvm::PPC::PRED_LE_PLUS = (1 << 5) | 7, llvm::PPC::PRED_EQ_PLUS = (2 << 5) | 15, llvm::PPC::PRED_GE_PLUS = (0 << 5) | 7,
  llvm::PPC::PRED_GT_PLUS = (1 << 5) | 15, llvm::PPC::PRED_NE_PLUS = (2 << 5) | 7, llvm::PPC::PRED_UN_PLUS = (3 << 5) | 15, llvm::PPC::PRED_NU_PLUS = (3 << 5) | 7,
  llvm::PPC::PRED_BIT_SET = 1024, llvm::PPC::PRED_BIT_UNSET = 1025
}
 Predicate - These are "(BI << 5) | BO" for various predicates. More...

Functions

Predicate llvm::PPC::InvertPredicate (Predicate Opcode)
 Invert the specified predicate. != -> ==, < -> >=.
Predicate llvm::PPC::getSwappedPredicate (Predicate Opcode)