LLVM  4.0.0
Public Member Functions | List of all members
llvm::RecurrenceDescriptor::InstDesc Class Reference

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

#include <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 105 of file LoopUtils.h.

Constructor & Destructor Documentation

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

Definition at line 108 of file LoopUtils.h.

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

Definition at line 112 of file LoopUtils.h.

Member Function Documentation

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

Definition at line 124 of file LoopUtils.h.

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

Definition at line 118 of file LoopUtils.h.

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

Definition at line 116 of file LoopUtils.h.

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


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