LLVM 20.0.0git
Public Member Functions | List of all members
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 94 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 96 of file IVDescriptors.h.

◆ InstDesc() [2/2]

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

Definition at line 100 of file IVDescriptors.h.

Member Function Documentation

◆ getExactFPMathInst()

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

◆ getPatternInst()

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

Definition at line 112 of file IVDescriptors.h.

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

◆ getRecKind()

RecurKind llvm::RecurrenceDescriptor::InstDesc::getRecKind ( ) const
inline

◆ isRecurrence()

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

Definition at line 104 of file IVDescriptors.h.

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

◆ needsExactFPMath()

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

Definition at line 106 of file IVDescriptors.h.


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