Lines Matching refs:Ty
75 unsigned getIntImmCost(const APInt &Imm, Type *Ty) const override;
78 Type *Ty) const override;
80 Type *Ty) const override;
95 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
132 assert(isPowerOf2_32(TyWidth) && "Ty width must be power of 2");
138 unsigned PPCTTI::getIntImmCost(const APInt &Imm, Type *Ty) const {
140 return TargetTransformInfo::getIntImmCost(Imm, Ty);
142 assert(Ty->isIntegerTy());
144 unsigned BitSize = Ty->getPrimitiveSizeInBits();
168 const APInt &Imm, Type *Ty) const {
170 return TargetTransformInfo::getIntImmCost(IID, Idx, Imm, Ty);
172 assert(Ty->isIntegerTy());
174 unsigned BitSize = Ty->getPrimitiveSizeInBits();
188 return PPCTTI::getIntImmCost(Imm, Ty);
192 Type *Ty) const {
194 return TargetTransformInfo::getIntImmCost(Opcode, Idx, Imm, Ty);
196 assert(Ty->isIntegerTy());
198 unsigned BitSize = Ty->getPrimitiveSizeInBits();
271 return PPCTTI::getIntImmCost(Imm, Ty);
321 unsigned PPCTTI::getArithmeticInstrCost(unsigned Opcode, Type *Ty,
327 return TargetTransformInfo::getArithmeticInstrCost(Opcode, Ty, Op1Info,