Changeset View
Changeset View
Standalone View
Standalone View
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | public: | ||||
bool areTypesABICompatible(const Function *Caller, const Function *Callee, | bool areTypesABICompatible(const Function *Caller, const Function *Callee, | ||||
const ArrayRef<Type *> &Types) const; | const ArrayRef<Type *> &Types) const; | ||||
bool hasActiveVectorLength(unsigned Opcode, Type *DataType, | bool hasActiveVectorLength(unsigned Opcode, Type *DataType, | ||||
Align Alignment) const; | Align Alignment) const; | ||||
InstructionCost getVPMemoryOpCost(unsigned Opcode, Type *Src, Align Alignment, | InstructionCost getVPMemoryOpCost(unsigned Opcode, Type *Src, Align Alignment, | ||||
unsigned AddressSpace, | unsigned AddressSpace, | ||||
TTI::TargetCostKind CostKind, | TTI::TargetCostKind CostKind, | ||||
const Instruction *I = nullptr); | const Instruction *I = nullptr); | ||||
bool supportsTailCallFor(const CallBase *CB) const; | |||||
private: | private: | ||||
// The following constant is used for estimating costs on power9. | // The following constant is used for estimating costs on power9. | ||||
static const InstructionCost::CostType P9PipelineFlushEstimate = 80; | static const InstructionCost::CostType P9PipelineFlushEstimate = 80; | ||||
/// @} | /// @} | ||||
}; | }; | ||||
} // end namespace llvm | } // end namespace llvm | ||||
#endif | #endif |