Lines Matching full:opcode
89 virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty,
94 virtual unsigned getCastInstrCost(unsigned Opcode, Type *Dst,
96 virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
98 virtual unsigned getVectorInstrCost(unsigned Opcode, Type *Val,
100 virtual unsigned getMemoryOpCost(unsigned Opcode, Type *Src,
171 unsigned PPCTTI::getArithmeticInstrCost(unsigned Opcode, Type *Ty,
174 assert(TLI->InstructionOpcodeToISD(Opcode) && "Invalid opcode");
177 return TargetTransformInfo::getArithmeticInstrCost(Opcode, Ty, Op1Info,
186 unsigned PPCTTI::getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src) const {
187 assert(TLI->InstructionOpcodeToISD(Opcode) && "Invalid opcode");
189 return TargetTransformInfo::getCastInstrCost(Opcode, Dst, Src);
192 unsigned PPCTTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
194 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy);
197 unsigned PPCTTI::getVectorInstrCost(unsigned Opcode, Type *Val,
201 int ISD = TLI->InstructionOpcodeToISD(Opcode);
202 assert(ISD && "Invalid opcode");
217 TargetTransformInfo::getVectorInstrCost(Opcode, Val, Index);
219 return TargetTransformInfo::getVectorInstrCost(Opcode, Val, Index);
222 unsigned PPCTTI::getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment,
226 assert((Opcode == Instruction::Load || Opcode == Instruction::Store) &&
227 "Invalid Opcode");