• Home
  • Raw
  • Download

Lines Matching refs:DestTy

1767                           Type *DestTy,  in isNoopCast()  argument
1786 DestTy->getScalarSizeInBits(); in isNoopCast()
2145 bool CastInst::isCastable(Type *SrcTy, Type *DestTy) { in isCastable() argument
2146 if (!SrcTy->isFirstClassType() || !DestTy->isFirstClassType()) in isCastable()
2149 if (SrcTy == DestTy) in isCastable()
2153 if (VectorType *DestVecTy = dyn_cast<VectorType>(DestTy)) in isCastable()
2157 DestTy = DestVecTy->getElementType(); in isCastable()
2162 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in isCastable()
2165 if (DestTy->isIntegerTy()) { // Casting to integral in isCastable()
2175 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt in isCastable()
2185 } else if (DestTy->isVectorTy()) { // Casting to vector in isCastable()
2187 } else if (DestTy->isPointerTy()) { // Casting to pointer in isCastable()
2195 } else if (DestTy->isX86_MMXTy()) { in isCastable()
2215 const Value *Src, bool SrcIsSigned, Type *DestTy, bool DestIsSigned) { in getCastOpcode() argument
2218 assert(SrcTy->isFirstClassType() && DestTy->isFirstClassType() && in getCastOpcode()
2221 if (SrcTy == DestTy) in getCastOpcode()
2225 if (VectorType *DestVecTy = dyn_cast<VectorType>(DestTy)) in getCastOpcode()
2230 DestTy = DestVecTy->getElementType(); in getCastOpcode()
2235 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr in getCastOpcode()
2238 if (DestTy->isIntegerTy()) { // Casting to integral in getCastOpcode()
2264 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt in getCastOpcode()
2285 } else if (DestTy->isVectorTy()) { in getCastOpcode()
2289 } else if (DestTy->isPointerTy()) { in getCastOpcode()
2297 } else if (DestTy->isX86_MMXTy()) { in getCastOpcode()