/external/llvm-project/llvm/lib/CodeGen/ |
D | HardwareLoops.cpp | 147 bool TryConvertLoop(HardwareLoopInfo &HWLoopInfo); 259 HardwareLoopInfo HWLoopInfo(L); in TryConvertLoop() local 260 if (!HWLoopInfo.canAnalyze(*LI)) { in TryConvertLoop() 267 !TTI->isHardwareLoopProfitable(L, *SE, *AC, LibInfo, HWLoopInfo)) { in TryConvertLoop() 275 HWLoopInfo.CountType = in TryConvertLoop() 279 HWLoopInfo.LoopDecrement = in TryConvertLoop() 280 ConstantInt::get(HWLoopInfo.CountType, LoopDecrement); in TryConvertLoop() 282 MadeChange |= TryConvertLoop(HWLoopInfo); in TryConvertLoop() 283 return MadeChange && (!HWLoopInfo.IsNestingLegal && !ForceNestedLoop); in TryConvertLoop() 286 bool HardwareLoops::TryConvertLoop(HardwareLoopInfo &HWLoopInfo) { in TryConvertLoop() argument [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | HardwareLoops.cpp | 147 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 481 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()
|
D | PPCTargetTransformInfo.h | 60 HardwareLoopInfo &HWLoopInfo);
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 689 HardwareLoopInfo &HWLoopInfo) { in isHardwareLoopProfitable() argument 740 HWLoopInfo.CountType = TM.isPPC64() ? in isHardwareLoopProfitable() 742 HWLoopInfo.LoopDecrement = ConstantInt::get(HWLoopInfo.CountType, 1); in isHardwareLoopProfitable() 1181 HardwareLoopInfo HWLoopInfo(L); in canSaveCmp() local 1183 if (!HWLoopInfo.canAnalyze(*LI)) in canSaveCmp() 1186 if (!isHardwareLoopProfitable(L, *SE, *AC, LibInfo, HWLoopInfo)) in canSaveCmp() 1189 if (!HWLoopInfo.isHardwareLoopCandidate(*SE, *LI, *DT)) in canSaveCmp() 1192 *BI = HWLoopInfo.ExitBranch; in canSaveCmp()
|
D | PPCTargetTransformInfo.h | 67 HardwareLoopInfo &HWLoopInfo);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 913 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()
|
D | ARMTargetTransformInfo.h | 229 HardwareLoopInfo &HWLoopInfo);
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 1649 HardwareLoopInfo &HWLoopInfo) { in isHardwareLoopProfitable() argument 1733 HWLoopInfo.CounterInReg = true; in isHardwareLoopProfitable() 1734 HWLoopInfo.IsNestingLegal = false; in isHardwareLoopProfitable() 1735 HWLoopInfo.PerformEntryTest = AllowWLSLoops && !IsTailPredLoop; in isHardwareLoopProfitable() 1736 HWLoopInfo.CountType = Type::getInt32Ty(C); in isHardwareLoopProfitable() 1737 HWLoopInfo.LoopDecrement = ConstantInt::get(HWLoopInfo.CountType, 1); in isHardwareLoopProfitable() 1897 HardwareLoopInfo HWLoopInfo(L); in preferPredicateOverEpilogue() local 1898 if (!HWLoopInfo.canAnalyze(*LI)) { in preferPredicateOverEpilogue() 1906 if (!isHardwareLoopProfitable(L, SE, AC, TLI, HWLoopInfo)) { in preferPredicateOverEpilogue() 1912 if (!HWLoopInfo.isHardwareLoopCandidate(SE, *LI, *DT)) { in preferPredicateOverEpilogue()
|
D | ARMTargetTransformInfo.h | 255 HardwareLoopInfo &HWLoopInfo);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | TargetTransformInfo.h | 520 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()
|
D | TargetTransformInfoImpl.h | 212 HardwareLoopInfo &HWLoopInfo) { in isHardwareLoopProfitable() argument
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | TargetTransformInfo.h | 515 HardwareLoopInfo &HWLoopInfo) const; 1399 HardwareLoopInfo &HWLoopInfo) = 0; 1704 HardwareLoopInfo &HWLoopInfo) override { in isHardwareLoopProfitable() argument 1705 return Impl.isHardwareLoopProfitable(L, SE, AC, LibInfo, HWLoopInfo); in isHardwareLoopProfitable()
|
D | TargetTransformInfoImpl.h | 137 HardwareLoopInfo &HWLoopInfo) { in isHardwareLoopProfitable() argument
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 243 TargetLibraryInfo *LibInfo, HardwareLoopInfo &HWLoopInfo) const { in isHardwareLoopProfitable() 244 return TTIImpl->isHardwareLoopProfitable(L, SE, AC, LibInfo, HWLoopInfo); in isHardwareLoopProfitable()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 320 TargetLibraryInfo *LibInfo, HardwareLoopInfo &HWLoopInfo) const { in isHardwareLoopProfitable() 321 return TTIImpl->isHardwareLoopProfitable(L, SE, AC, LibInfo, HWLoopInfo); in isHardwareLoopProfitable()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 509 HardwareLoopInfo &HWLoopInfo) { in isHardwareLoopProfitable() argument 510 return BaseT::isHardwareLoopProfitable(L, SE, AC, LibInfo, HWLoopInfo); in isHardwareLoopProfitable()
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 476 HardwareLoopInfo &HWLoopInfo) { in isHardwareLoopProfitable() argument 477 return BaseT::isHardwareLoopProfitable(L, SE, AC, LibInfo, HWLoopInfo); in isHardwareLoopProfitable()
|