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


Constructor & Destructor Documentation

AddMaskingAnd::AddMaskingAnd ( Constant c  )  [inline]

Definition at line 1115 of file InstructionCombining.cpp.


Member Function Documentation

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

Definition at line 1121 of file InstructionCombining.cpp.

References llvm::BinaryOperator::getOperand().

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

Definition at line 1116 of file InstructionCombining.cpp.

References C2, llvm::PatternMatch::m_And(), llvm::PatternMatch::m_ConstantInt(), llvm::PatternMatch::m_Value(), and llvm::PatternMatch::match().


Member Data Documentation

Constant* AddMaskingAnd::C2

Definition at line 1114 of file InstructionCombining.cpp.

Referenced by shouldApply().


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