Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
Show First 20 Lines • Show All 215 Lines • ▼ Show 20 Lines | bool isLSRCostLess(TTI::LSRCost &C1, TTI::LSRCost &C2) { | ||||
return std::tie(C1.NumRegs, C1.AddRecCost, C1.NumIVMuls, C1.NumBaseAdds, | return std::tie(C1.NumRegs, C1.AddRecCost, C1.NumIVMuls, C1.NumBaseAdds, | ||||
C1.ScaleCost, C1.ImmCost, C1.SetupCost) < | C1.ScaleCost, C1.ImmCost, C1.SetupCost) < | ||||
std::tie(C2.NumRegs, C2.AddRecCost, C2.NumIVMuls, C2.NumBaseAdds, | std::tie(C2.NumRegs, C2.AddRecCost, C2.NumIVMuls, C2.NumBaseAdds, | ||||
C2.ScaleCost, C2.ImmCost, C2.SetupCost); | C2.ScaleCost, C2.ImmCost, C2.SetupCost); | ||||
} | } | ||||
bool canMacroFuseCmp() { return false; } | bool canMacroFuseCmp() { return false; } | ||||
bool canSaveCmp(Loop *L, BranchInst **BI, ScalarEvolution *SE, LoopInfo *LI, | |||||
DominatorTree *DT, AssumptionCache *AC, | |||||
TargetLibraryInfo *LibInfo) { | |||||
return false; | |||||
} | |||||
bool shouldFavorPostInc() const { return false; } | bool shouldFavorPostInc() const { return false; } | ||||
bool shouldFavorBackedgeIndex(const Loop *L) const { return false; } | bool shouldFavorBackedgeIndex(const Loop *L) const { return false; } | ||||
bool isLegalMaskedStore(Type *DataType) { return false; } | bool isLegalMaskedStore(Type *DataType) { return false; } | ||||
bool isLegalMaskedLoad(Type *DataType) { return false; } | bool isLegalMaskedLoad(Type *DataType) { return false; } | ||||
▲ Show 20 Lines • Show All 663 Lines • Show Last 20 Lines |