LLVM 22.0.0git
llvm::RecurrenceDescriptor::InstDesc Class Reference

This POD struct holds information about a potential recurrence operation. More...

#include "llvm/Analysis/IVDescriptors.h"

Public Member Functions

 InstDesc (bool IsRecur, Instruction *I, Instruction *ExactFP=nullptr)
 InstDesc (Instruction *I, RecurKind K, Instruction *ExactFP=nullptr)
bool isRecurrence () const
bool needsExactFPMath () const
InstructiongetExactFPMathInst () const
RecurKind getRecKind () const
InstructiongetPatternInst () const

Detailed Description

This POD struct holds information about a potential recurrence operation.

Definition at line 107 of file IVDescriptors.h.

Constructor & Destructor Documentation

◆ InstDesc() [1/2]

llvm::RecurrenceDescriptor::InstDesc::InstDesc ( bool IsRecur,
Instruction * I,
Instruction * ExactFP = nullptr )
inline

Definition at line 109 of file IVDescriptors.h.

References I, and llvm::None.

◆ InstDesc() [2/2]

llvm::RecurrenceDescriptor::InstDesc::InstDesc ( Instruction * I,
RecurKind K,
Instruction * ExactFP = nullptr )
inline

Definition at line 113 of file IVDescriptors.h.

References I.

Member Function Documentation

◆ getExactFPMathInst()

Instruction * llvm::RecurrenceDescriptor::InstDesc::getExactFPMathInst ( ) const
inline

◆ getPatternInst()

Instruction * llvm::RecurrenceDescriptor::InstDesc::getPatternInst ( ) const
inline

Definition at line 125 of file IVDescriptors.h.

Referenced by llvm::RecurrenceDescriptor::AddReductionVar().

◆ getRecKind()

◆ isRecurrence()

bool llvm::RecurrenceDescriptor::InstDesc::isRecurrence ( ) const
inline

◆ needsExactFPMath()

bool llvm::RecurrenceDescriptor::InstDesc::needsExactFPMath ( ) const
inline

Definition at line 119 of file IVDescriptors.h.


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