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

References

include/llvm/Analysis/TargetTransformInfoImpl.h
  649       return Cast->getSrcTy()->getScalarSizeInBits() - 1;
  654       return Cast->getSrcTy()->getScalarSizeInBits();
lib/Analysis/IVDescriptors.cpp
  173       if (Cast->getSrcTy() == RecurrenceType) {
lib/Analysis/InstructionSimplify.cpp
 1800       Cast0->getSrcTy() == Cast1->getSrcTy()) {
 1800       Cast0->getSrcTy() == Cast1->getSrcTy()) {
lib/Analysis/ValueTracking.cpp
 2102       if (Q.DL.getTypeSizeInBits(I2P->getSrcTy()) <=
 2110     if (Q.DL.getTypeSizeInBits(P2I->getSrcTy()) <=
 4965   Type *SrcTy = Cast1->getSrcTy();
 4968     if (*CastOp == Cast2->getOpcode() && SrcTy == Cast2->getSrcTy())
lib/Target/AArch64/AArch64FastISel.cpp
 4701           if (isValueAvailable(ZExt) && isTypeSupported(ZExt->getSrcTy(), VT)) {
 4710           if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), VT)) {
 4768         if (isValueAvailable(ZExt) && isTypeSupported(ZExt->getSrcTy(), TmpVT)) {
 4777         if (isValueAvailable(SExt) && isTypeSupported(SExt->getSrcTy(), TmpVT)) {
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  247   Type *SrcTy = toVectorTy(Extend->getSrcTy());
  282             cast<CastInst>(I)->getSrcTy() == Cast->getSrcTy())
  282             cast<CastInst>(I)->getSrcTy() == Cast->getSrcTy())
lib/Target/ARM/ARMCodeGenPrepare.cpp
  676     if (ZExt->getSrcTy() == ZExt->getDestTy()) {
lib/Target/ARM/ARMParallelDSP.cpp
  336     if (SExt->getSrcTy()->getIntegerBitWidth() != MaxBitWidth)
lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
  302     unsigned SBW = DL.getTypeSizeInBits(CI->getSrcTy());
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  439       if (CI->getSrcTy()->getScalarType()->isPPC_FP128Ty() ||
  441           isLargeIntegerTy(!TM.isPPC64(), CI->getSrcTy()->getScalarType()) ||
lib/Target/SystemZ/SystemZTDC.cpp
  240     if (!Cast->getSrcTy()->isFloatTy() &&
  241         !Cast->getSrcTy()->isDoubleTy() &&
  242         !Cast->getSrcTy()->isFP128Ty())
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1483   if (CI->getSrcTy() == CI->getDestTy() || isa<Constant>(CastSrc))
 1504   Type *SrcTy = Cast->getSrcTy();
 1547   Type *SrcTy = Cast0->getSrcTy();
 1561   if (CastOpcode != Cast1->getOpcode() || SrcTy != Cast1->getSrcTy())
lib/Transforms/InstCombine/InstCombineCasts.cpp
  234   Type *SrcTy = CI1->getSrcTy();
  496   assert((isa<VectorType>(Trunc.getSrcTy()) ||
  497           shouldChangeType(Trunc.getSrcTy(), Trunc.getType())) &&
  558   unsigned WideWidth = Trunc.getSrcTy()->getScalarSizeInBits();
  580   Type *SrcTy = Trunc.getSrcTy();
 1654         if (!FPExtSrc || FPExtSrc->getSrcTy() != Ty)
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2736   if (Bitcast->getSrcTy()->getScalarSizeInBits() ==
 2791       !Bitcast->getSrcTy()->isIntOrIntVectorTy())
 4352   Type *SrcTy = CastOp0->getSrcTy();
 4399   Type *SrcTy = CastOp0->getSrcTy();
lib/Transforms/InstCombine/InstCombinePHI.cpp
  668       NarrowType = Zext->getSrcTy();
  683       if (Zext->getSrcTy() != NarrowType || !Zext->hasOneUse())
lib/Transforms/InstCombine/InstructionCombining.cpp
  875     VectorType *SrcTy = dyn_cast<VectorType>(BC->getSrcTy());
 1298         unsigned SmallSize = Cast->getSrcTy()->getPrimitiveSizeInBits();
 1329         unsigned LargeSize = Cast->getSrcTy()->getPrimitiveSizeInBits();
 2150     PointerType *SrcType = cast<PointerType>(BCI->getSrcTy());
lib/Transforms/Scalar/Scalarizer.cpp
  664   VectorType *SrcVT = dyn_cast<VectorType>(BCI.getSrcTy());
lib/Transforms/Utils/Local.cpp
 2784           cast<IntegerType>(cast<ZExtInst>(I)->getSrcTy())->getBitWidth();
lib/Transforms/Vectorize/LoopVectorize.cpp
 1160     Type *SrcTy = ToVectorTy(cast<CastInst>(I)->getSrcTy(), VF);
 3315           if (ZI->getSrcTy() == TruncatedTy)
 6276                                   Trunc->getSrcTy(), Trunc);