Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
llvm::HardwareLoopInfo Struct Reference

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

#include "llvm/Analysis/TargetTransformInfo.h"

Public Member Functions

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

Public Attributes

LoopL = nullptr
BasicBlockExitBlock = nullptr
BranchInstExitBranch = nullptr
const SCEVExitCount = nullptr
IntegerTypeCountType = nullptr
ValueLoopDecrement = nullptr
bool IsNestingLegal = false
bool CounterInReg = false
bool PerformEntryTest = false

Detailed Description

Attributes of a target dependent hardware loop.

Definition at line 99 of file TargetTransformInfo.h.

Constructor & Destructor Documentation

◆ HardwareLoopInfo() [1/2]

llvm::HardwareLoopInfo::HardwareLoopInfo ( )
delete

References L, and LLVM_ABI.

◆ HardwareLoopInfo() [2/2]

HardwareLoopInfo::HardwareLoopInfo ( Loop * L)

Definition at line 118 of file TargetTransformInfo.cpp.

References CountType, llvm::Type::getInt32Ty(), L, and LoopDecrement.

Member Function Documentation

◆ canAnalyze()

◆ isHardwareLoopCandidate()

Member Data Documentation

◆ CounterInReg

bool llvm::HardwareLoopInfo::CounterInReg = false

◆ CountType

◆ ExitBlock

BasicBlock* llvm::HardwareLoopInfo::ExitBlock = nullptr

Definition at line 103 of file TargetTransformInfo.h.

Referenced by isHardwareLoopCandidate().

◆ ExitBranch

BranchInst* llvm::HardwareLoopInfo::ExitBranch = nullptr

Definition at line 104 of file TargetTransformInfo.h.

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

◆ ExitCount

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

Definition at line 105 of file TargetTransformInfo.h.

Referenced by isHardwareLoopCandidate().

◆ IsNestingLegal

bool llvm::HardwareLoopInfo::IsNestingLegal = false

◆ L

Loop* llvm::HardwareLoopInfo::L = nullptr

◆ LoopDecrement

Value* llvm::HardwareLoopInfo::LoopDecrement = nullptr

◆ PerformEntryTest

bool llvm::HardwareLoopInfo::PerformEntryTest = false

Definition at line 113 of file TargetTransformInfo.h.

Referenced by llvm::ARMTTIImpl::isHardwareLoopProfitable().


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