#include <TCETargetTransformInfo.hh>
Definition at line 42 of file TCETargetTransformInfo.hh.
◆ BaseT
◆ TTI
◆ TCETTIImpl()
llvm::TCETTIImpl::TCETTIImpl |
( |
const TCETargetMachine * |
TM, |
|
|
const Function & |
F |
|
) |
| |
|
inlineexplicit |
◆ getST()
◆ getTLI()
◆ isHardwareLoopProfitable()
bool TCETTIImpl::isHardwareLoopProfitable |
( |
Loop * |
L, |
|
|
ScalarEvolution & |
SE, |
|
|
AssumptionCache & |
AC, |
|
|
TargetLibraryInfo * |
LibInfo, |
|
|
HardwareLoopInfo & |
HWLoopInfo |
|
) |
| |
Definition at line 43 of file TCETargetTransformInfo.cc.
52 if (L->getNumBlocks() != 1) {
54 dbgs() <<
"HWLoops: Loop has " << L->getNumBlocks()
55 <<
" BB. Not converting to hwloop: " << L->getName()
61 LLVMContext &C = L->getHeader()->getContext();
62 HWLoopInfo.CountType = Type::getInt32Ty(C);
63 HWLoopInfo.LoopDecrement = ConstantInt::get(HWLoopInfo.CountType, 1);
64 HWLoopInfo.IsNestingLegal =
false;
References Application::cmdLineOptions(), and options.
◆ BaseT
◆ ST
◆ TLI
The documentation for this class was generated from the following files: