• Home
  • Raw
  • Download

Lines Matching refs:DestTy

2075                           Type *DestTy,  in isNoopCast()  argument
2093 DestTy->getScalarSizeInBits(); in isNoopCast()
2448 bool CastInst::isCastable(Type *SrcTy, Type *DestTy) { in isCastable() argument
2449 if (!SrcTy->isFirstClassType() || !DestTy->isFirstClassType()) in isCastable()
2452 if (SrcTy == DestTy) in isCastable()
2456 if (VectorType *DestVecTy = dyn_cast<VectorType>(DestTy)) in isCastable()
2460 DestTy = DestVecTy->getElementType(); in isCastable()
2465 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in isCastable()
2468 if (DestTy->isIntegerTy()) { // Casting to integral in isCastable()
2478 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt in isCastable()
2488 } else if (DestTy->isVectorTy()) { // Casting to vector in isCastable()
2490 } else if (DestTy->isPointerTy()) { // Casting to pointer in isCastable()
2498 } else if (DestTy->isX86_MMXTy()) { in isCastable()
2518 const Value *Src, bool SrcIsSigned, Type *DestTy, bool DestIsSigned) { in getCastOpcode() argument
2521 assert(SrcTy->isFirstClassType() && DestTy->isFirstClassType() && in getCastOpcode()
2524 if (SrcTy == DestTy) in getCastOpcode()
2528 if (VectorType *DestVecTy = dyn_cast<VectorType>(DestTy)) in getCastOpcode()
2533 DestTy = DestVecTy->getElementType(); in getCastOpcode()
2538 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in getCastOpcode()
2541 if (DestTy->isIntegerTy()) { // Casting to integral in getCastOpcode()
2567 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt in getCastOpcode()
2587 } else if (DestTy->isVectorTy()) { in getCastOpcode()
2591 } else if (DestTy->isPointerTy()) { in getCastOpcode()
2598 } else if (DestTy->isX86_MMXTy()) { in getCastOpcode()