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

Declarations

include/llvm/Analysis/TargetTransformInfo.h
  910   int getCastInstrCost(unsigned Opcode, Type *Dst, Type *Src,

References

lib/Analysis/TargetTransformInfo.cpp
 1227     return getCastInstrCost(I->getOpcode(), I->getType(), SrcTy, I);
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1968       Cost += TTI.getCastInstrCost(CI->getOpcode(), CI->getType(), SrcTy, CI);
lib/Transforms/Vectorize/LoopVectorize.cpp
 6275       return TTI.getCastInstrCost(Instruction::Trunc, Trunc->getDestTy(),
 6302     return N * TTI.getCastInstrCost(I->getOpcode(), VectorTy, SrcVecTy, I);
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3022                 DeadCost += TTI->getCastInstrCost(
 3049           TTI->getCastInstrCost(E->getOpcode(), ScalarTy, SrcTy, VL0);
 3062                   TTI->getCastInstrCost(E->getOpcode(), VecTy, SrcVecTy, VL0);
 3261         VecCost = TTI->getCastInstrCost(E->getOpcode(), VecTy, Src0Ty);
 3262         VecCost += TTI->getCastInstrCost(E->getAltOpcode(), VecTy, Src1Ty);