Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp161 bool TryConvertLoop(HardwareLoopInfo &HWLoopInfo);
315 HardwareLoopInfo HWLoopInfo(L); in TryConvertLoop() local
316 if (!HWLoopInfo.canAnalyze(LI)) { in TryConvertLoop()
323 !TTI.isHardwareLoopProfitable(L, SE, AC, TLI, HWLoopInfo)) { in TryConvertLoop()
331 HWLoopInfo.CountType = IntegerType::get(Ctx, Opts.Bitwidth.value()); in TryConvertLoop()
335 HWLoopInfo.LoopDecrement = in TryConvertLoop()
336 ConstantInt::get(HWLoopInfo.CountType, Opts.Decrement.value()); in TryConvertLoop()
338 MadeChange |= TryConvertLoop(HWLoopInfo); in TryConvertLoop()
339 return MadeChange && (!HWLoopInfo.IsNestingLegal && !Opts.ForceNested); in TryConvertLoop()
342 bool HardwareLoopsImpl::TryConvertLoop(HardwareLoopInfo &HWLoopInfo) { in TryConvertLoop() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp342 HardwareLoopInfo &HWLoopInfo) const { in isHardwareLoopProfitable()
397 HWLoopInfo.CountType = TM.isPPC64() ? in isHardwareLoopProfitable()
399 HWLoopInfo.LoopDecrement = ConstantInt::get(HWLoopInfo.CountType, 1); in isHardwareLoopProfitable()
941 HardwareLoopInfo HWLoopInfo(L); in canSaveCmp() local
943 if (!HWLoopInfo.canAnalyze(*LI)) in canSaveCmp()
946 if (!isHardwareLoopProfitable(L, *SE, *AC, LibInfo, HWLoopInfo)) in canSaveCmp()
949 if (!HWLoopInfo.isHardwareLoopCandidate(*SE, *LI, *DT)) in canSaveCmp()
952 *BI = HWLoopInfo.ExitBranch; in canSaveCmp()
H A DPPCTargetTransformInfo.h68 HardwareLoopInfo &HWLoopInfo) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp2269 HardwareLoopInfo &HWLoopInfo) const { in isHardwareLoopProfitable()
2353 HWLoopInfo.CounterInReg = true; in isHardwareLoopProfitable()
2354 HWLoopInfo.IsNestingLegal = false; in isHardwareLoopProfitable()
2355 HWLoopInfo.PerformEntryTest = AllowWLSLoops && !IsTailPredLoop; in isHardwareLoopProfitable()
2356 HWLoopInfo.CountType = Type::getInt32Ty(C); in isHardwareLoopProfitable()
2357 HWLoopInfo.LoopDecrement = ConstantInt::get(HWLoopInfo.CountType, 1); in isHardwareLoopProfitable()
2526 HardwareLoopInfo HWLoopInfo(L); in preferPredicateOverEpilogue() local
2527 if (!HWLoopInfo.canAnalyze(*LI)) { in preferPredicateOverEpilogue()
2538 if (!isHardwareLoopProfitable(L, *SE, *AC, TFI->TLI, HWLoopInfo)) { in preferPredicateOverEpilogue()
2545 if (!HWLoopInfo.isHardwareLoopCandidate(*SE, *LI, *DT)) { in preferPredicateOverEpilogue()
H A DARMTargetTransformInfo.h325 HardwareLoopInfo &HWLoopInfo) const override;
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp361 TargetLibraryInfo *LibInfo, HardwareLoopInfo &HWLoopInfo) const { in isHardwareLoopProfitable()
362 return TTIImpl->isHardwareLoopProfitable(L, SE, AC, LibInfo, HWLoopInfo); in isHardwareLoopProfitable()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h655 HardwareLoopInfo &HWLoopInfo) const;
H A DTargetTransformInfoImpl.h224 HardwareLoopInfo &HWLoopInfo) const { in isHardwareLoopProfitable() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h768 HardwareLoopInfo &HWLoopInfo) const override { in isHardwareLoopProfitable() argument
769 return BaseT::isHardwareLoopProfitable(L, SE, AC, LibInfo, HWLoopInfo); in isHardwareLoopProfitable()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp6163 HardwareLoopInfo HWLoopInfo(L); in LSRInstance() local
6165 TTI.isHardwareLoopProfitable(L, SE, AC, &TLI, HWLoopInfo); in LSRInstance()