LLVM API Documentation

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

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


Constructor & Destructor Documentation

AddMaskingAnd::AddMaskingAnd Constant c  )  [inline]
 

Definition at line 476 of file InstructionCombining.cpp.


Member Function Documentation

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

Definition at line 482 of file InstructionCombining.cpp.

References llvm::User::getOperand().

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

Definition at line 477 of file InstructionCombining.cpp.

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


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