Home | History | Annotate | Download | only in Analysis

Lines Matching defs:TTI

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