LLVM  8.0.1
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 *UAI=nullptr)
 
 InstDesc (Instruction *I, MinMaxRecurrenceKind K, Instruction *UAI=nullptr)
 
bool isRecurrence ()
 
bool hasUnsafeAlgebra ()
 
InstructiongetUnsafeAlgebraInst ()
 
MinMaxRecurrenceKind getMinMaxKind ()
 
InstructiongetPatternInst ()
 

Detailed Description

This POD struct holds information about a potential recurrence operation.

Definition at line 101 of file IVDescriptors.h.

Constructor & Destructor Documentation

◆ InstDesc() [1/2]

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

Definition at line 103 of file IVDescriptors.h.

◆ InstDesc() [2/2]

llvm::RecurrenceDescriptor::InstDesc::InstDesc ( Instruction I,
MinMaxRecurrenceKind  K,
Instruction UAI = nullptr 
)
inline

Definition at line 107 of file IVDescriptors.h.

Member Function Documentation

◆ getMinMaxKind()

MinMaxRecurrenceKind llvm::RecurrenceDescriptor::InstDesc::getMinMaxKind ( )
inline

◆ getPatternInst()

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

◆ getUnsafeAlgebraInst()

Instruction* llvm::RecurrenceDescriptor::InstDesc::getUnsafeAlgebraInst ( )
inline

Definition at line 115 of file IVDescriptors.h.

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

◆ hasUnsafeAlgebra()

bool llvm::RecurrenceDescriptor::InstDesc::hasUnsafeAlgebra ( )
inline

Definition at line 113 of file IVDescriptors.h.

◆ isRecurrence()

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

Definition at line 111 of file IVDescriptors.h.


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