LLVM  7.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
llvm::X86InstrFMA3Info Class Referencefinal

This class provides information about all existing FMA3 opcodes. More...

#include "Target/X86/X86InstrFMA3Info.h"

Public Member Functions

 X86InstrFMA3Info ()
 Constructor. Just creates an object of the class. More...
 

Static Public Member Functions

static X86InstrFMA3InfogetX86InstrFMA3Info ()
 Returns the reference to an object of this class. More...
 
static const X86InstrFMA3GroupgetFMA3Group (unsigned Opcode)
 Returns a reference to a group of FMA3 opcodes to where the given Opcode is included. More...
 
static bool isFMA3 (unsigned Opcode)
 Returns true iff the given Opcode is recognized as FMA3 by this class. More...
 

Detailed Description

This class provides information about all existing FMA3 opcodes.

Definition at line 93 of file X86InstrFMA3Info.h.

Constructor & Destructor Documentation

◆ X86InstrFMA3Info()

X86InstrFMA3Info::X86InstrFMA3Info ( )

Constructor. Just creates an object of the class.

Definition at line 233 of file X86InstrFMA3Info.cpp.

References G.

Member Function Documentation

◆ getFMA3Group()

static const X86InstrFMA3Group* llvm::X86InstrFMA3Info::getFMA3Group ( unsigned  Opcode)
inlinestatic

Returns a reference to a group of FMA3 opcodes to where the given Opcode is included.

If the given Opcode is not recognized as FMA3 and not included into any FMA3 group, then nullptr is returned.

Definition at line 110 of file X86InstrFMA3Info.h.

References I.

Referenced by llvm::X86InstrInfo::commuteInstructionImpl(), and llvm::X86InstrInfo::findCommutedOpIndices().

◆ getX86InstrFMA3Info()

X86InstrFMA3Info * X86InstrFMA3Info::getX86InstrFMA3Info ( )
static

Returns the reference to an object of this class.

It is assumed that only one object may exist.

Definition at line 25 of file X86InstrFMA3Info.cpp.

References X86InstrFMA3InfoObj.

◆ isFMA3()

static bool llvm::X86InstrFMA3Info::isFMA3 ( unsigned  Opcode)
inlinestatic

Returns true iff the given Opcode is recognized as FMA3 by this class.

Definition at line 121 of file X86InstrFMA3Info.h.


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