LLVM  6.0.0svn
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/Transforms/Utils/LoopUtils.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 111 of file LoopUtils.h.

Constructor & Destructor Documentation

◆ InstDesc() [1/2]

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

Definition at line 113 of file LoopUtils.h.

◆ InstDesc() [2/2]

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

Definition at line 117 of file LoopUtils.h.

Member Function Documentation

◆ getMinMaxKind()

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

◆ getPatternInst()

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

Definition at line 129 of file LoopUtils.h.

References I, Kind, llvm::Left, and llvm::Right.

◆ getUnsafeAlgebraInst()

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

◆ hasUnsafeAlgebra()

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

Definition at line 123 of file LoopUtils.h.

◆ isRecurrence()

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

Definition at line 121 of file LoopUtils.h.

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


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