LLVM: llvm::HardwareLoopInfo Struct Reference (original) (raw)

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

#include "[llvm/Analysis/TargetTransformInfo.h](TargetTransformInfo%5F8h%5Fsource.html)"

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

Attributes of a target dependent hardware loop.

Definition at line 103 of file TargetTransformInfo.h.

llvm::HardwareLoopInfo::HardwareLoopInfo ( ) delete

HardwareLoopInfo() [2/2]

HardwareLoopInfo::HardwareLoopInfo ( Loop * L )

canAnalyze()

isHardwareLoopCandidate()

Definition at line 127 of file TargetTransformInfo.cpp.

References CounterInReg, CountType, llvm::DominatorTree::dominates(), llvm::dyn_cast(), ExitBlock, ExitBranch, ExitCount, ForceHardwareLoopPHI, ForceNestedLoop, llvm::ScalarEvolution::getExitCount(), llvm::LoopInfoBase< BlockT, LoopT >::getLoopFor(), llvm::ScalarEvolution::getTypeSizeInBits(), llvm::isa(), llvm::ScalarEvolution::isLoopInvariant(), IsNestingLegal, L, and llvm::predecessors().

Referenced by llvm::PPCTTIImpl::canSaveCmp(), and llvm::ARMTTIImpl::preferPredicateOverEpilogue().

CounterInReg

bool llvm::HardwareLoopInfo::CounterInReg = false

CountType

IntegerType* llvm::HardwareLoopInfo::CountType = nullptr

ExitBlock

BasicBlock* llvm::HardwareLoopInfo::ExitBlock = nullptr

ExitBranch

BranchInst* llvm::HardwareLoopInfo::ExitBranch = nullptr

ExitCount

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

IsNestingLegal

bool llvm::HardwareLoopInfo::IsNestingLegal = false

L

Loop* llvm::HardwareLoopInfo::L = nullptr

LoopDecrement

Value* llvm::HardwareLoopInfo::LoopDecrement = nullptr

PerformEntryTest

bool llvm::HardwareLoopInfo::PerformEntryTest = false


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