LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::X86InstrFMA3Info::rm_iterator Class Reference

Iterator that is used to walk on FMA register opcodes having memory form equivalents. More...

#include "Target/X86/X86InstrFMA3Info.h"

Public Member Functions

 rm_iterator (DenseMap< unsigned, const X86InstrFMA3Group *>::const_iterator I)
 Constructor. More...
 
unsigned getRegOpcode () const
 Returns the register form FMA opcode. More...
 
unsigned getMemOpcode () const
 Returns the memory form equivalent opcode for FMA register opcode referenced by I->first. More...
 
const X86InstrFMA3GroupgetGroup () const
 Returns a reference to a group of FMA opcodes. More...
 
bool operator== (const rm_iterator &OtherIt) const
 
bool operator!= (const rm_iterator &OtherIt) const
 
rm_iteratoroperator++ ()
 Increment. More...
 

Detailed Description

Iterator that is used to walk on FMA register opcodes having memory form equivalents.

Definition at line 244 of file X86InstrFMA3Info.h.

Constructor & Destructor Documentation

◆ rm_iterator()

llvm::X86InstrFMA3Info::rm_iterator::rm_iterator ( DenseMap< unsigned, const X86InstrFMA3Group *>::const_iterator  I)
inline

Constructor.

Creates rm_iterator. The parameter I must be an iterator to OpcodeToGroup map entry having I->first pointing to register form FMA opcode and I->second pointing to a group of FMA opcodes holding memory form equivalent for I->fist.

Definition at line 257 of file X86InstrFMA3Info.h.

Member Function Documentation

◆ getGroup()

const X86InstrFMA3Group* llvm::X86InstrFMA3Info::rm_iterator::getGroup ( ) const
inline

Returns a reference to a group of FMA opcodes.

Definition at line 272 of file X86InstrFMA3Info.h.

◆ getMemOpcode()

unsigned llvm::X86InstrFMA3Info::rm_iterator::getMemOpcode ( ) const
inline

Returns the memory form equivalent opcode for FMA register opcode referenced by I->first.

Definition at line 265 of file X86InstrFMA3Info.h.

References llvm::X86InstrFMA3Group::getMemOpcode().

◆ getRegOpcode()

unsigned llvm::X86InstrFMA3Info::rm_iterator::getRegOpcode ( ) const
inline

Returns the register form FMA opcode.

Definition at line 261 of file X86InstrFMA3Info.h.

◆ operator!=()

bool llvm::X86InstrFMA3Info::rm_iterator::operator!= ( const rm_iterator OtherIt) const
inline

Definition at line 275 of file X86InstrFMA3Info.h.

◆ operator++()

rm_iterator& llvm::X86InstrFMA3Info::rm_iterator::operator++ ( )
inline

Increment.

Advances the 'I' iterator to the next OpcodeToGroup entry having I->first pointing to register form FMA and I->second pointing to a group of FMA opcodes holding memory form equivalen for I->first.

Definition at line 280 of file X86InstrFMA3Info.h.

References E, llvm::X86InstrFMA3Group::getMemOpcode(), and I.

◆ operator==()

bool llvm::X86InstrFMA3Info::rm_iterator::operator== ( const rm_iterator OtherIt) const
inline

Definition at line 274 of file X86InstrFMA3Info.h.


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