Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/lib/Analysis/TargetTransformInfo.cpp
Show First 20 Lines • Show All 1,020 Lines • ▼ Show 20 Lines | bool TargetTransformInfo::preferInLoopReduction(unsigned Opcode, Type *Ty, | ||||
return TTIImpl->preferInLoopReduction(Opcode, Ty, Flags); | return TTIImpl->preferInLoopReduction(Opcode, Ty, Flags); | ||||
} | } | ||||
bool TargetTransformInfo::preferPredicatedReductionSelect( | bool TargetTransformInfo::preferPredicatedReductionSelect( | ||||
unsigned Opcode, Type *Ty, ReductionFlags Flags) const { | unsigned Opcode, Type *Ty, ReductionFlags Flags) const { | ||||
return TTIImpl->preferPredicatedReductionSelect(Opcode, Ty, Flags); | return TTIImpl->preferPredicatedReductionSelect(Opcode, Ty, Flags); | ||||
} | } | ||||
TargetTransformInfo::VPLegalization | |||||
TargetTransformInfo::getVPLegalizationStrategy(const VPIntrinsic &VPI) const { | |||||
return TTIImpl->getVPLegalizationStrategy(VPI); | |||||
} | |||||
bool TargetTransformInfo::shouldExpandReduction(const IntrinsicInst *II) const { | bool TargetTransformInfo::shouldExpandReduction(const IntrinsicInst *II) const { | ||||
return TTIImpl->shouldExpandReduction(II); | return TTIImpl->shouldExpandReduction(II); | ||||
} | } | ||||
unsigned TargetTransformInfo::getGISelRematGlobalCost() const { | unsigned TargetTransformInfo::getGISelRematGlobalCost() const { | ||||
return TTIImpl->getGISelRematGlobalCost(); | return TTIImpl->getGISelRematGlobalCost(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 406 Lines • Show Last 20 Lines |