Go to the source code of this file.
|
| | llvm |
| | This class represents lattice values for constants.
|
| |
|
| unsigned | llvm::getICmpCode (const ICmpInst *ICI, bool InvertPred=false) |
| | Encode a icmp predicate into a three bit mask. More...
|
| |
| Constant * | llvm::getPredForICmpCode (unsigned Code, bool Sign, Type *OpTy, CmpInst::Predicate &Pred) |
| | This is the complement of getICmpCode. More...
|
| |
| bool | llvm::predicatesFoldable (CmpInst::Predicate P1, CmpInst::Predicate P2) |
| | Return true if both predicates match sign or if at least one of them is an equality comparison (which is signless). More...
|
| |
| bool | llvm::decomposeBitTestICmp (Value *LHS, Value *RHS, CmpInst::Predicate &Pred, Value *&X, APInt &Mask, bool LookThroughTrunc=true) |
| | Decompose an icmp into the form ((X & Mask) pred 0) if possible. More...
|
| |