Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
Show First 20 Lines • Show All 337 Lines • ▼ Show 20 Lines | InstructionCost getOperandsScalarizationOverhead(ArrayRef<const Value *> Args, | ||||
ArrayRef<Type *> Tys) const { | ArrayRef<Type *> Tys) const { | ||||
return 0; | return 0; | ||||
} | } | ||||
bool supportsEfficientVectorElementLoadStore() const { return false; } | bool supportsEfficientVectorElementLoadStore() const { return false; } | ||||
bool supportsTailCalls() const { return true; } | bool supportsTailCalls() const { return true; } | ||||
bool supportsTailCallFor(const CallBase *CB) const { | |||||
ChuanqiXu: The default implementation should return `supportsTailCalls()`. | |||||
return supportsTailCalls(); | |||||
} | |||||
bool enableAggressiveInterleaving(bool LoopHasReductions) const { | bool enableAggressiveInterleaving(bool LoopHasReductions) const { | ||||
return false; | return false; | ||||
} | } | ||||
TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, | TTI::MemCmpExpansionOptions enableMemCmpExpansion(bool OptSize, | ||||
bool IsZeroCmp) const { | bool IsZeroCmp) const { | ||||
return {}; | return {}; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 935 Lines • Show Last 20 Lines |
The default implementation should return supportsTailCalls().