Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/lib/Target/ARM/ARMTargetTransformInfo.h
Show First 20 Lines • Show All 306 Lines • ▼ Show 20 Lines | bool preferPredicateOverEpilogue(Loop *L, LoopInfo *LI, ScalarEvolution &SE, | ||||
AssumptionCache &AC, TargetLibraryInfo *TLI, | AssumptionCache &AC, TargetLibraryInfo *TLI, | ||||
DominatorTree *DT, | DominatorTree *DT, | ||||
LoopVectorizationLegality *LVL, | LoopVectorizationLegality *LVL, | ||||
InterleavedAccessInfo *IAI); | InterleavedAccessInfo *IAI); | ||||
void getUnrollingPreferences(Loop *L, ScalarEvolution &SE, | void getUnrollingPreferences(Loop *L, ScalarEvolution &SE, | ||||
TTI::UnrollingPreferences &UP, | TTI::UnrollingPreferences &UP, | ||||
OptimizationRemarkEmitter *ORE); | OptimizationRemarkEmitter *ORE); | ||||
TailFoldingStyle getPreferredTailFoldingStyle() const; | TailFoldingStyle | ||||
getPreferredTailFoldingStyle(bool IVUpdateMayOverflow = true) const; | |||||
void getPeelingPreferences(Loop *L, ScalarEvolution &SE, | void getPeelingPreferences(Loop *L, ScalarEvolution &SE, | ||||
TTI::PeelingPreferences &PP); | TTI::PeelingPreferences &PP); | ||||
bool shouldBuildLookupTablesForConstant(Constant *C) const { | bool shouldBuildLookupTablesForConstant(Constant *C) const { | ||||
// In the ROPI and RWPI relocation models we can't have pointers to global | // In the ROPI and RWPI relocation models we can't have pointers to global | ||||
// variables or functions in constant data, so don't convert switches to | // variables or functions in constant data, so don't convert switches to | ||||
// lookup tables if any of the values would need relocation. | // lookup tables if any of the values would need relocation. | ||||
if (ST->isROPI() || ST->isRWPI()) | if (ST->isROPI() || ST->isRWPI()) | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |