|
LLVM
10.0.0
|
Attributes of a target dependent hardware loop. More...
#include "llvm/Analysis/TargetTransformInfo.h"
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 |
Attributes of a target dependent hardware loop.
Definition at line 86 of file TargetTransformInfo.h.
|
delete |
|
inline |
Definition at line 88 of file TargetTransformInfo.h.
Definition at line 47 of file TargetTransformInfo.cpp.
References llvm::LoopBlocksRPO::perform().
Referenced by llvm::PPCTTIImpl::canSaveCmp(), and createHWLoopAnalysis().
| bool HardwareLoopInfo::isHardwareLoopCandidate | ( | ScalarEvolution & | SE, |
| LoopInfo & | LI, | ||
| DominatorTree & | DT, | ||
| bool | ForceNestedLoop = false, |
||
| bool | ForceHardwareLoopPHI = false |
||
| ) |
Definition at line 57 of file TargetTransformInfo.cpp.
References llvm::DominatorTree::dominates(), ForceNestedLoop, llvm::ScalarEvolution::getExitCount(), llvm::LoopInfoBase< BlockT, LoopT >::getLoopFor(), llvm::SCEV::getType(), llvm::ScalarEvolution::getTypeSizeInBits(), llvm::ScalarEvolution::isLoopInvariant(), and llvm::predecessors().
Referenced by llvm::PPCTTIImpl::canSaveCmp(), and createHWLoopAnalysis().
Definition at line 98 of file TargetTransformInfo.h.
Referenced by createHWLoopAnalysis(), and llvm::ARMTTIImpl::isHardwareLoopProfitable().
| IntegerType* llvm::HardwareLoopInfo::CountType = nullptr |
Definition at line 93 of file TargetTransformInfo.h.
Referenced by createHWLoopAnalysis(), llvm::PPCTTIImpl::isHardwareLoopProfitable(), and llvm::ARMTTIImpl::isHardwareLoopProfitable().
| BasicBlock* llvm::HardwareLoopInfo::ExitBlock = nullptr |
Definition at line 90 of file TargetTransformInfo.h.
Referenced by createHWLoopAnalysis().
| BranchInst* llvm::HardwareLoopInfo::ExitBranch = nullptr |
Definition at line 91 of file TargetTransformInfo.h.
Referenced by llvm::PPCTTIImpl::canSaveCmp(), and createHWLoopAnalysis().
Definition at line 92 of file TargetTransformInfo.h.
Referenced by createHWLoopAnalysis().
Definition at line 96 of file TargetTransformInfo.h.
Referenced by createHWLoopAnalysis(), and llvm::ARMTTIImpl::isHardwareLoopProfitable().
| Loop* llvm::HardwareLoopInfo::L = nullptr |
Definition at line 89 of file TargetTransformInfo.h.
Referenced by createHWLoopAnalysis().
| Value* llvm::HardwareLoopInfo::LoopDecrement = nullptr |
Definition at line 94 of file TargetTransformInfo.h.
Referenced by createHWLoopAnalysis(), llvm::PPCTTIImpl::isHardwareLoopProfitable(), and llvm::ARMTTIImpl::isHardwareLoopProfitable().
Definition at line 100 of file TargetTransformInfo.h.
Referenced by createHWLoopAnalysis(), and llvm::ARMTTIImpl::isHardwareLoopProfitable().
1.8.13