LLVM API Documentation

AddRHS Struct Reference

Collaboration diagram for AddRHS:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AddRHS (Value *rhs)
bool shouldApply (Value *LHS) const
Instructionapply (BinaryOperator &Add) const

Public Attributes

ValueRHS

Detailed Description

Definition at line 1242 of file InstructionCombining.cpp.


Constructor & Destructor Documentation

AddRHS::AddRHS ( Value rhs  )  [inline]

Definition at line 1244 of file InstructionCombining.cpp.


Member Function Documentation

bool AddRHS::shouldApply ( Value LHS  )  const [inline]

Definition at line 1245 of file InstructionCombining.cpp.

References RHS.

Instruction* AddRHS::apply ( BinaryOperator Add  )  const [inline]

Definition at line 1246 of file InstructionCombining.cpp.

References llvm::BinaryOperator::getOperand().


Member Data Documentation

Value* AddRHS::RHS

Definition at line 1243 of file InstructionCombining.cpp.

Referenced by shouldApply().


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