LLVM API Documentation

Public Member Functions | |
| AddMaskingAnd (Constant *c) | |
| bool | shouldApply (Value *LHS) const |
| Instruction * | apply (BinaryOperator &Add) const |
Public Attributes | |
| Constant * | C2 |
Definition at line 1254 of file InstructionCombining.cpp.
| AddMaskingAnd::AddMaskingAnd | ( | Constant * | c | ) | [inline] |
Definition at line 1256 of file InstructionCombining.cpp.
| bool AddMaskingAnd::shouldApply | ( | Value * | LHS | ) | const [inline] |
Definition at line 1257 of file InstructionCombining.cpp.
References C2, llvm::PatternMatch::m_And(), llvm::PatternMatch::m_ConstantInt(), llvm::PatternMatch::m_Value(), and llvm::PatternMatch::match().
| Instruction* AddMaskingAnd::apply | ( | BinaryOperator & | Add | ) | const [inline] |
Definition at line 1262 of file InstructionCombining.cpp.
References llvm::BinaryOperator::getOperand().