LLVM 24.0.0git
llvm::TargetInstrInfo::FMAChainLinkInfo Struct Reference

Link of an FP accumulation chain, see MachineCombinerPattern::FMA_CHAIN. More...

#include "llvm/CodeGen/TargetInstrInfo.h"

Public Member Functions

bool isFused () const

Public Attributes

unsigned AddOpc
 Add joining the two halves of the chain.
unsigned MulOpc
 Multiply replacing the fused link starting the upper half, or 0 for an unfused link.
int AccOpIdx
 Accumulator operand of a fused link.

Detailed Description

Link of an FP accumulation chain, see MachineCombinerPattern::FMA_CHAIN.

All links of a chain define registers of the same class.

Definition at line 1401 of file TargetInstrInfo.h.

Member Function Documentation

◆ isFused()

bool llvm::TargetInstrInfo::FMAChainLinkInfo::isFused ( ) const
inline

Definition at line 1413 of file TargetInstrInfo.h.

References MulOpc.

Member Data Documentation

◆ AccOpIdx

int llvm::TargetInstrInfo::FMAChainLinkInfo::AccOpIdx

Accumulator operand of a fused link.

An unfused link accumulates the source defined by the previous link.

Definition at line 1411 of file TargetInstrInfo.h.

◆ AddOpc

unsigned llvm::TargetInstrInfo::FMAChainLinkInfo::AddOpc

Add joining the two halves of the chain.

Its sources and those of an unfused link are operands 1 and 2.

Definition at line 1404 of file TargetInstrInfo.h.

◆ MulOpc

unsigned llvm::TargetInstrInfo::FMAChainLinkInfo::MulOpc

Multiply replacing the fused link starting the upper half, or 0 for an unfused link.

Its operands are those of the fused link without AccOpIdx, with no tied operands left.

Definition at line 1408 of file TargetInstrInfo.h.

Referenced by isFused().


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