Lines Matching refs:TTI

45     CostModelAnalysis() : FunctionPass(ID), F(nullptr), TTI(nullptr) {  in CostModelAnalysis()
64 const TargetTransformInfo *TTI; member in __anon0882f24f0111::CostModelAnalysis
87 TTI = TTIWP ? &TTIWP->getTTI(F) : nullptr; in runOnFunction()
382 if (!TTI) in getInstructionCost()
388 return TTI->getAddressComputationCost(ValTy); in getInstructionCost()
394 return TTI->getCFInstrCost(I->getOpcode()); in getInstructionCost()
418 return TTI->getArithmeticInstrCost(I->getOpcode(), I->getType(), Op1VK, in getInstructionCost()
424 return TTI->getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy); in getInstructionCost()
429 return TTI->getCmpSelInstrCost(I->getOpcode(), ValTy); in getInstructionCost()
434 return TTI->getMemoryOpCost(I->getOpcode(), ValTy, in getInstructionCost()
440 return TTI->getMemoryOpCost(I->getOpcode(), I->getType(), in getInstructionCost()
458 return TTI->getCastInstrCost(I->getOpcode(), I->getType(), SrcTy); in getInstructionCost()
473 return TTI->getReductionCost(ReduxOpCode, ReduxType, false); in getInstructionCost()
475 return TTI->getReductionCost(ReduxOpCode, ReduxType, true); in getInstructionCost()
477 return TTI->getVectorInstrCost(I->getOpcode(), in getInstructionCost()
486 return TTI->getVectorInstrCost(I->getOpcode(), in getInstructionCost()
497 return TTI->getShuffleCost(TargetTransformInfo::SK_Reverse, VecTypOp0, in getInstructionCost()
500 return TTI->getShuffleCost(TargetTransformInfo::SK_Alternate, in getInstructionCost()
512 return TTI->getIntrinsicInstrCost(II->getIntrinsicID(), II->getType(), in getInstructionCost()