LLVM API Documentation

AddMaskingAnd Struct Reference

Collaboration diagram for AddMaskingAnd:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AddMaskingAnd (Constant *c)
bool shouldApply (Value *LHS) const
Instructionapply (BinaryOperator &Add) const

Public Attributes

ConstantC2

Detailed Description

Definition at line 1254 of file InstructionCombining.cpp.


Constructor & Destructor Documentation

AddMaskingAnd::AddMaskingAnd ( Constant c  )  [inline]

Definition at line 1256 of file InstructionCombining.cpp.


Member Function Documentation

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().


Member Data Documentation

Constant* AddMaskingAnd::C2

Definition at line 1255 of file InstructionCombining.cpp.

Referenced by shouldApply().


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