reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Vectorize/SLPVectorizer.cpp
  518       MaxVecRegSize = TTI->getRegisterBitWidth(true);
  523       MinVecRegSize = TTI->getMinVectorRegisterBitWidth();
 2928         TTI->getShuffleCost(TargetTransformInfo::SK_PermuteSingleSrc, VecTy);
 2935              TTI->getShuffleCost(TargetTransformInfo::SK_Broadcast, VecTy, 0);
 2941         int Cost = TTI->getShuffleCost(ShuffleKind.getValue(), VecTy);
 2951             Cost -= TTI->getVectorInstrCost(Instruction::ExtractElement, VecTy,
 2977             ReuseShuffleCost -= TTI->getVectorInstrCost(
 2980             ReuseShuffleCost -= TTI->getVectorInstrCost(
 2995               TTI->getVectorInstrCost(Instruction::ExtractElement, VecTy, Idx);
 3002           DeadCost += TTI->getShuffleCost(
 3019                 DeadCost -= TTI->getExtractWithExtendCost(
 3022                 DeadCost += TTI->getCastInstrCost(
 3028                 TTI->getVectorInstrCost(Instruction::ExtractElement, VecTy, i);
 3049           TTI->getCastInstrCost(E->getOpcode(), ScalarTy, SrcTy, VL0);
 3062                   TTI->getCastInstrCost(E->getOpcode(), VecTy, SrcVecTy, VL0);
 3070       int ScalarEltCost = TTI->getCmpSelInstrCost(E->getOpcode(), ScalarTy,
 3077       int VecCost = TTI->getCmpSelInstrCost(E->getOpcode(), VecTy, MaskTy, VL0);
 3137       int ScalarEltCost = TTI->getArithmeticInstrCost(
 3143       int VecCost = TTI->getArithmeticInstrCost(E->getOpcode(), VecTy, Op1VK,
 3154           TTI->getArithmeticInstrCost(Instruction::Add, ScalarTy, Op1VK, Op2VK);
 3160           TTI->getArithmeticInstrCost(Instruction::Add, VecTy, Op1VK, Op2VK);
 3167           TTI->getMemoryOpCost(Instruction::Load, ScalarTy, alignment, 0, VL0);
 3173           TTI->getMemoryOpCost(Instruction::Load, VecTy, alignment, 0, VL0);
 3176         VecLdCost += TTI->getShuffleCost(
 3185           TTI->getMemoryOpCost(Instruction::Store, ScalarTy, alignment, 0, VL0);
 3191           TTI->getMemoryOpCost(Instruction::Store, VecTy, alignment, 0, VL0);
 3208           TTI->getIntrinsicInstrCost(ID, ScalarTy, ScalarTys, FMF);
 3215       int VecCallCost = TTI->getIntrinsicInstrCost(ID, CI->getType(), Args, FMF,
 3235           ReuseShuffleCost -= TTI->getInstructionCost(
 3240           ReuseShuffleCost += TTI->getInstructionCost(
 3247         ScalarCost += TTI->getInstructionCost(
 3254         VecCost = TTI->getArithmeticInstrCost(E->getOpcode(), VecTy);
 3255         VecCost += TTI->getArithmeticInstrCost(E->getAltOpcode(), VecTy);
 3261         VecCost = TTI->getCastInstrCost(E->getOpcode(), VecTy, Src0Ty);
 3262         VecCost += TTI->getCastInstrCost(E->getAltOpcode(), VecTy, Src1Ty);
 3264       VecCost += TTI->getShuffleCost(TargetTransformInfo::SK_Select, VecTy, 0);
 3322   if (!TTI->isTypeLegal(IntegerType::get(Context, LoadBitWidth)))
 3413       Cost += NumCalls * TTI->getCostOfKeepingLiveOverCall(V);
 3482       ExtractCost += TTI->getExtractWithExtendCost(Extend, EU.Scalar->getType(),
 3486           TTI->getVectorInstrCost(Instruction::ExtractElement, VecTy, EU.Lane);
 3513       Cost += TTI->getVectorInstrCost(Instruction::InsertElement, Ty, i);
 3515     Cost += TTI->getShuffleCost(TargetTransformInfo::SK_PermuteSingleSrc, Ty);