Lines Matching refs:Opcode

113 int PPCTTIImpl::getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm,  in getIntImmCost()  argument
116 return BaseT::getIntImmCost(Opcode, Idx, Imm, Ty); in getIntImmCost()
127 switch (Opcode) { in getIntImmCost()
328 unsigned Opcode, Type *Ty, TTI::OperandValueKind Op1Info, in getArithmeticInstrCost() argument
331 assert(TLI->InstructionOpcodeToISD(Opcode) && "Invalid opcode"); in getArithmeticInstrCost()
334 return BaseT::getArithmeticInstrCost(Opcode, Ty, Op1Info, Op2Info, in getArithmeticInstrCost()
351 int PPCTTIImpl::getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src, in getCastInstrCost() argument
353 assert(TLI->InstructionOpcodeToISD(Opcode) && "Invalid opcode"); in getCastInstrCost()
355 return BaseT::getCastInstrCost(Opcode, Dst, Src); in getCastInstrCost()
358 int PPCTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
360 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
363 int PPCTTIImpl::getVectorInstrCost(unsigned Opcode, Type *Val, unsigned Index) { in getVectorInstrCost() argument
366 int ISD = TLI->InstructionOpcodeToISD(Opcode); in getVectorInstrCost()
374 return BaseT::getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost()
380 return BaseT::getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost()
397 return LHSPenalty + BaseT::getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost()
399 return BaseT::getVectorInstrCost(Opcode, Val, Index); in getVectorInstrCost()
402 int PPCTTIImpl::getMemoryOpCost(unsigned Opcode, Type *Src, unsigned Alignment, in getMemoryOpCost() argument
406 assert((Opcode == Instruction::Load || Opcode == Instruction::Store) && in getMemoryOpCost()
409 int Cost = BaseT::getMemoryOpCost(Opcode, Src, Alignment, AddressSpace); in getMemoryOpCost()
424 if (Opcode == Instruction::Load && ST->hasVSX() && IsAltivecType && in getMemoryOpCost()
440 if (Opcode == Instruction::Load && in getMemoryOpCost()
465 if (Src->isVectorTy() && Opcode == Instruction::Store) in getMemoryOpCost()
472 int PPCTTIImpl::getInterleavedMemoryOpCost(unsigned Opcode, Type *VecTy, in getInterleavedMemoryOpCost() argument
480 return BaseT::getInterleavedMemoryOpCost(Opcode, VecTy, Factor, Indices, in getInterleavedMemoryOpCost()
491 int Cost = getMemoryOpCost(Opcode, VecTy, Alignment, AddressSpace); in getInterleavedMemoryOpCost()