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

Declarations

include/llvm/Analysis/TargetTransformInfo.h
  892   int getArithmeticInstrCost(

References

lib/Analysis/TargetTransformInfo.cpp
 1177     return getArithmeticInstrCost(I->getOpcode(), I->getType(), Op1VK, Op2VK,
 1187     return getArithmeticInstrCost(I->getOpcode(), I->getType(), Op1VK, Op2VK,
lib/CodeGen/CodeGenPrepare.cpp
 6393       ScalarCost += TTI.getArithmeticInstrCost(
 6395       VectorCost += TTI.getArithmeticInstrCost(Inst->getOpcode(), PromotedType,
lib/Transforms/Scalar/IndVarSimplify.cpp
  920       TTI->getArithmeticInstrCost(Instruction::Add, Ty) >
  921           TTI->getArithmeticInstrCost(Instruction::Add,
lib/Transforms/Vectorize/LoopVectorize.cpp
 6174       Cost += VF * TTI.getArithmeticInstrCost(I->getOpcode(), RetTy);
 6214     return N * TTI.getArithmeticInstrCost(
 6220     return N * TTI.getArithmeticInstrCost(
 6315     return VF * TTI.getArithmeticInstrCost(Instruction::Mul, VectorTy) +
lib/Transforms/Vectorize/SLPVectorizer.cpp
 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);
 3254         VecCost = TTI->getArithmeticInstrCost(E->getOpcode(), VecTy);
 3255         VecCost += TTI->getArithmeticInstrCost(E->getAltOpcode(), VecTy);
 6552           TTI->getArithmeticInstrCost(ReductionData.getOpcode(), ScalarTy);