Home
last modified time | relevance | path

Searched refs:HWLoopInfo (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp162 bool TryConvertLoop(HardwareLoopInfo &HWLoopInfo);
316 HardwareLoopInfo HWLoopInfo(L); in TryConvertLoop() local
317 if (!HWLoopInfo.canAnalyze(LI)) { in TryConvertLoop()
324 !TTI.isHardwareLoopProfitable(L, SE, AC, TLI, HWLoopInfo)) { in TryConvertLoop()
332 HWLoopInfo.CountType = IntegerType::get(Ctx, Opts.Bitwidth.value()); in TryConvertLoop()
336 HWLoopInfo.LoopDecrement = in TryConvertLoop()
337 ConstantInt::get(HWLoopInfo.CountType, Opts.Decrement.value()); in TryConvertLoop()
339 MadeChange |= TryConvertLoop(HWLoopInfo); in TryConvertLoop()
340 return MadeChange && (!HWLoopInfo.IsNestingLegal && !Opts.ForceNested); in TryConvertLoop()
343 bool HardwareLoopsImpl::TryConvertLoop(HardwareLoopInfo &HWLoopInfo) { in TryConvertLoop() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp343 HardwareLoopInfo &HWLoopInfo) { in isHardwareLoopProfitable() argument
394 HWLoopInfo.CountType = TM.isPPC64() ? in isHardwareLoopProfitable()
396 HWLoopInfo.LoopDecrement = ConstantInt::get(HWLoopInfo.CountType, 1); in isHardwareLoopProfitable()
922 HardwareLoopInfo HWLoopInfo(L); in canSaveCmp() local
924 if (!HWLoopInfo.canAnalyze(*LI)) in canSaveCmp()
927 if (!isHardwareLoopProfitable(L, *SE, *AC, LibInfo, HWLoopInfo)) in canSaveCmp()
930 if (!HWLoopInfo.isHardwareLoopCandidate(*SE, *LI, *DT)) in canSaveCmp()
933 *BI = HWLoopInfo.ExitBranch; in canSaveCmp()
H A DPPCTargetTransformInfo.h69 HardwareLoopInfo &HWLoopInfo);
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp2145 HardwareLoopInfo &HWLoopInfo) { in isHardwareLoopProfitable() argument
2229 HWLoopInfo.CounterInReg = true; in isHardwareLoopProfitable()
2230 HWLoopInfo.IsNestingLegal = false; in isHardwareLoopProfitable()
2231 HWLoopInfo.PerformEntryTest = AllowWLSLoops && !IsTailPredLoop; in isHardwareLoopProfitable()
2232 HWLoopInfo.CountType = Type::getInt32Ty(C); in isHardwareLoopProfitable()
2233 HWLoopInfo.LoopDecrement = ConstantInt::get(HWLoopInfo.CountType, 1); in isHardwareLoopProfitable()
2403 HardwareLoopInfo HWLoopInfo(L); in preferPredicateOverEpilogue() local
2404 if (!HWLoopInfo.canAnalyze(*LI)) { in preferPredicateOverEpilogue()
2415 if (!isHardwareLoopProfitable(L, *SE, *AC, TFI->TLI, HWLoopInfo)) { in preferPredicateOverEpilogue()
2422 if (!HWLoopInfo.isHardwareLoopCandidate(*SE, *LI, *DT)) { in preferPredicateOverEpilogue()
H A DARMTargetTransformInfo.h314 HardwareLoopInfo &HWLoopInfo);
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h630 HardwareLoopInfo &HWLoopInfo) const;
1869 HardwareLoopInfo &HWLoopInfo) = 0;
2321 HardwareLoopInfo &HWLoopInfo) override { in isHardwareLoopProfitable() argument
2322 return Impl.isHardwareLoopProfitable(L, SE, AC, LibInfo, HWLoopInfo); in isHardwareLoopProfitable()
H A DTargetTransformInfoImpl.h185 HardwareLoopInfo &HWLoopInfo) const { in isHardwareLoopProfitable() argument
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp351 TargetLibraryInfo *LibInfo, HardwareLoopInfo &HWLoopInfo) const { in isHardwareLoopProfitable()
352 return TTIImpl->isHardwareLoopProfitable(L, SE, AC, LibInfo, HWLoopInfo); in isHardwareLoopProfitable()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h671 HardwareLoopInfo &HWLoopInfo) { in isHardwareLoopProfitable() argument
672 return BaseT::isHardwareLoopProfitable(L, SE, AC, LibInfo, HWLoopInfo); in isHardwareLoopProfitable()