Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DHardwareLoops.cpp147 bool TryConvertLoop(HardwareLoopInfo &HWLoopInfo);
256 HardwareLoopInfo HWLoopInfo(L); in TryConvertLoop() local
257 if (!HWLoopInfo.canAnalyze(*LI)) { in TryConvertLoop()
264 !TTI->isHardwareLoopProfitable(L, *SE, *AC, LibInfo, HWLoopInfo)) { in TryConvertLoop()
272 HWLoopInfo.CountType = in TryConvertLoop()
276 HWLoopInfo.LoopDecrement = in TryConvertLoop()
277 ConstantInt::get(HWLoopInfo.CountType, LoopDecrement); in TryConvertLoop()
279 MadeChange |= TryConvertLoop(HWLoopInfo); in TryConvertLoop()
280 return MadeChange && (!HWLoopInfo.IsNestingLegal && !ForceNestedLoop); in TryConvertLoop()
283 bool HardwareLoops::TryConvertLoop(HardwareLoopInfo &HWLoopInfo) { in TryConvertLoop() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp481 HardwareLoopInfo &HWLoopInfo) { in isHardwareLoopProfitable() argument
531 HWLoopInfo.CountType = TM.isPPC64() ? in isHardwareLoopProfitable()
533 HWLoopInfo.LoopDecrement = ConstantInt::get(HWLoopInfo.CountType, 1); in isHardwareLoopProfitable()
956 HardwareLoopInfo HWLoopInfo(L); in canSaveCmp() local
958 if (!HWLoopInfo.canAnalyze(*LI)) in canSaveCmp()
961 if (!isHardwareLoopProfitable(L, *SE, *AC, LibInfo, HWLoopInfo)) in canSaveCmp()
964 if (!HWLoopInfo.isHardwareLoopCandidate(*SE, *LI, *DT)) in canSaveCmp()
967 *BI = HWLoopInfo.ExitBranch; in canSaveCmp()
DPPCTargetTransformInfo.h60 HardwareLoopInfo &HWLoopInfo);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp913 HardwareLoopInfo &HWLoopInfo) { in isHardwareLoopProfitable() argument
1057 HWLoopInfo.CounterInReg = true; in isHardwareLoopProfitable()
1058 HWLoopInfo.IsNestingLegal = false; in isHardwareLoopProfitable()
1059 HWLoopInfo.PerformEntryTest = true; in isHardwareLoopProfitable()
1060 HWLoopInfo.CountType = Type::getInt32Ty(C); in isHardwareLoopProfitable()
1061 HWLoopInfo.LoopDecrement = ConstantInt::get(HWLoopInfo.CountType, 1); in isHardwareLoopProfitable()
1176 HardwareLoopInfo HWLoopInfo(L); in preferPredicateOverEpilogue() local
1177 if (!HWLoopInfo.canAnalyze(*LI)) { in preferPredicateOverEpilogue()
1185 if (!isHardwareLoopProfitable(L, SE, AC, TLI, HWLoopInfo)) { in preferPredicateOverEpilogue()
1191 if (!HWLoopInfo.isHardwareLoopCandidate(SE, *LI, *DT)) { in preferPredicateOverEpilogue()
DARMTargetTransformInfo.h229 HardwareLoopInfo &HWLoopInfo);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h520 HardwareLoopInfo &HWLoopInfo) const;
1214 HardwareLoopInfo &HWLoopInfo) = 0;
1487 HardwareLoopInfo &HWLoopInfo) override { in isHardwareLoopProfitable() argument
1488 return Impl.isHardwareLoopProfitable(L, SE, AC, LibInfo, HWLoopInfo); in isHardwareLoopProfitable()
DTargetTransformInfoImpl.h212 HardwareLoopInfo &HWLoopInfo) { in isHardwareLoopProfitable() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp243 TargetLibraryInfo *LibInfo, HardwareLoopInfo &HWLoopInfo) const { in isHardwareLoopProfitable()
244 return TTIImpl->isHardwareLoopProfitable(L, SE, AC, LibInfo, HWLoopInfo); in isHardwareLoopProfitable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h509 HardwareLoopInfo &HWLoopInfo) { in isHardwareLoopProfitable() argument
510 return BaseT::isHardwareLoopProfitable(L, SE, AC, LibInfo, HWLoopInfo); in isHardwareLoopProfitable()