Go to the documentation of this file.
13 #ifndef LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCPREDICATES_H
14 #define LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCPREDICATES_H
This is an optimization pass for GlobalISel generic memory operations.
Predicate getSwappedPredicate(Predicate Opcode)
Assume the condition register is set by MI(a,b), return the predicate if we modify the instructions s...
unsigned getPredicateCondition(Predicate Opcode)
Return the condition without hint bits.
Predicate
Predicate - These are "(BI << 5) | BO" for various predicates.
unsigned getPredicateHint(Predicate Opcode)
Return the hint bits of the predicate.
Predicate InvertPredicate(Predicate Opcode)
Invert the specified predicate. != -> ==, < -> >=.
Predicate getPredicate(unsigned Condition, unsigned Hint)
Return predicate consisting of specified condition and hint bits.
should just be implemented with a CLZ instruction Since there are other e PPC