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 1101 of file InstructionCombining.cpp.


Constructor & Destructor Documentation

AddRHS::AddRHS ( Value rhs  )  [inline]

Definition at line 1103 of file InstructionCombining.cpp.


Member Function Documentation

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

Definition at line 1105 of file InstructionCombining.cpp.

References llvm::BinaryOperator::getOperand().

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

Definition at line 1104 of file InstructionCombining.cpp.

References RHS.


Member Data Documentation

Value* AddRHS::RHS

Definition at line 1102 of file InstructionCombining.cpp.

Referenced by shouldApply().


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