LLVM  10.0.0
Public Member Functions | Public Attributes | List of all members
llvm::HardwareLoopInfo Struct Reference

Attributes of a target dependent hardware loop. More...

#include "llvm/Analysis/TargetTransformInfo.h"

Collaboration diagram for llvm::HardwareLoopInfo:
[legend]

Public Member Functions

 HardwareLoopInfo ()=delete
 
 HardwareLoopInfo (Loop *L)
 
bool isHardwareLoopCandidate (ScalarEvolution &SE, LoopInfo &LI, DominatorTree &DT, bool ForceNestedLoop=false, bool ForceHardwareLoopPHI=false)
 
bool canAnalyze (LoopInfo &LI)
 

Public Attributes

Loop * L = nullptr
 
BasicBlock * ExitBlock = nullptr
 
BranchInst * ExitBranch = nullptr
 
const SCEV * ExitCount = nullptr
 
IntegerType * CountType = nullptr
 
Value * LoopDecrement = nullptr
 
bool IsNestingLegal = false
 
bool CounterInReg = false
 
bool PerformEntryTest = false
 

Detailed Description

Attributes of a target dependent hardware loop.

Definition at line 86 of file TargetTransformInfo.h.

Constructor & Destructor Documentation

◆ HardwareLoopInfo() [1/2]

llvm::HardwareLoopInfo::HardwareLoopInfo ( )
delete

◆ HardwareLoopInfo() [2/2]

llvm::HardwareLoopInfo::HardwareLoopInfo ( Loop *  L)
inline

Definition at line 88 of file TargetTransformInfo.h.

Member Function Documentation

◆ canAnalyze()

bool HardwareLoopInfo::canAnalyze ( LoopInfo &  LI)

◆ isHardwareLoopCandidate()

bool HardwareLoopInfo::isHardwareLoopCandidate ( ScalarEvolution &  SE,
LoopInfo &  LI,
DominatorTree &  DT,
bool  ForceNestedLoop = false,
bool  ForceHardwareLoopPHI = false 
)

Member Data Documentation

◆ CounterInReg

bool llvm::HardwareLoopInfo::CounterInReg = false

◆ CountType

IntegerType* llvm::HardwareLoopInfo::CountType = nullptr

◆ ExitBlock

BasicBlock* llvm::HardwareLoopInfo::ExitBlock = nullptr

Definition at line 90 of file TargetTransformInfo.h.

Referenced by createHWLoopAnalysis().

◆ ExitBranch

BranchInst* llvm::HardwareLoopInfo::ExitBranch = nullptr

Definition at line 91 of file TargetTransformInfo.h.

Referenced by llvm::PPCTTIImpl::canSaveCmp(), and createHWLoopAnalysis().

◆ ExitCount

const SCEV* llvm::HardwareLoopInfo::ExitCount = nullptr

Definition at line 92 of file TargetTransformInfo.h.

Referenced by createHWLoopAnalysis().

◆ IsNestingLegal

bool llvm::HardwareLoopInfo::IsNestingLegal = false

◆ L

Loop* llvm::HardwareLoopInfo::L = nullptr

Definition at line 89 of file TargetTransformInfo.h.

Referenced by createHWLoopAnalysis().

◆ LoopDecrement

Value* llvm::HardwareLoopInfo::LoopDecrement = nullptr

◆ PerformEntryTest

bool llvm::HardwareLoopInfo::PerformEntryTest = false

The documentation for this struct was generated from the following files: