LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

FoldSetCCLogical Struct Reference

Collaboration diagram for FoldSetCCLogical:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FoldSetCCLogical (InstCombiner &ic, SetCondInst *SCI)
bool shouldApply (Value *V) const
Instructionapply (BinaryOperator &Log) const

Public Attributes

InstCombiner & IC
ValueLHS
ValueRHS

Detailed Description

Definition at line 1150 of file InstructionCombining.cpp.


Constructor & Destructor Documentation

FoldSetCCLogical::FoldSetCCLogical InstCombiner &  ic,
SetCondInst SCI
[inline]
 

Definition at line 1153 of file InstructionCombining.cpp.


Member Function Documentation

Instruction* FoldSetCCLogical::apply BinaryOperator Log  )  const [inline]
 

Definition at line 1161 of file InstructionCombining.cpp.

References llvm::ISD::And, llvm::BinaryOperator::getOpcode(), llvm::User::getOperand(), getSetCCValue(), getSetCondCode(), IC, llvm::ISD::Or, llvm::BinaryOperator::swapOperands(), and llvm::ISD::Xor.

bool FoldSetCCLogical::shouldApply Value V  )  const [inline]
 

Definition at line 1155 of file InstructionCombining.cpp.


Member Data Documentation

InstCombiner& FoldSetCCLogical::IC
 

Definition at line 1151 of file InstructionCombining.cpp.

Referenced by apply().

Value* FoldSetCCLogical::LHS
 

Definition at line 1152 of file InstructionCombining.cpp.

Value * FoldSetCCLogical::RHS
 

Definition at line 1152 of file InstructionCombining.cpp.


The documentation for this struct was generated from the following file: