LLVM API Documentation
Public Member Functions | |
FoldSetCCLogical (InstCombiner &ic, SetCondInst *SCI) | |
bool | shouldApply (Value *V) const |
Instruction * | apply (BinaryOperator &Log) const |
Public Attributes | |
InstCombiner & | IC |
Value * | LHS |
Value * | RHS |
Definition at line 2227 of file InstructionCombining.cpp.
FoldSetCCLogical::FoldSetCCLogical | ( | InstCombiner & | ic, | |
SetCondInst * | SCI | |||
) | [inline] |
Definition at line 2230 of file InstructionCombining.cpp.
bool FoldSetCCLogical::shouldApply | ( | Value * | V | ) | const [inline] |
Instruction* FoldSetCCLogical::apply | ( | BinaryOperator & | Log | ) | const [inline] |
Definition at line 2238 of file InstructionCombining.cpp.
References llvm::BinaryOperator::getOpcode(), llvm::BinaryOperator::getOperand(), getSetCCValue(), getSetCondCode(), IC, LHS, and llvm::BinaryOperator::swapOperands().
InstCombiner& FoldSetCCLogical::IC |
Definition at line 2229 of file InstructionCombining.cpp.