Home | History | Annotate | Download | only in IR

Lines Matching refs:DestTy

2085                           Type *DestTy,
2103 DestTy->getScalarSizeInBits();
2203 // no-op cast in second op implies firstOp as long as the DestTy
2210 // no-op cast in second op implies firstOp as long as the DestTy
2459 bool CastInst::isCastable(Type *SrcTy, Type *DestTy) {
2460 if (!SrcTy->isFirstClassType() || !DestTy->isFirstClassType())
2463 if (SrcTy == DestTy)
2467 if (VectorType *DestVecTy = dyn_cast<VectorType>(DestTy))
2471 DestTy = DestVecTy->getElementType();
2476 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr
2479 if (DestTy->isIntegerTy()) { // Casting to integral
2489 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt
2499 } else if (DestTy->isVectorTy()) { // Casting to vector
2501 } else if (DestTy->isPointerTy()) { // Casting to pointer
2509 } else if (DestTy->isX86_MMXTy()) {
2529 const Value *Src, bool SrcIsSigned, Type *DestTy
2532 assert(SrcTy->isFirstClassType() && DestTy->isFirstClassType() &&
2535 if (SrcTy == DestTy)
2539 if (VectorType *DestVecTy = dyn_cast<VectorType>(DestTy))
2544 DestTy = DestVecTy->getElementType();
2549 unsigned DestBits = DestTy->getPrimitiveSizeInBits(); // 0 for ptr
2552 if (DestTy->isIntegerTy()) { // Casting to integral
2578 } else if (DestTy->isFloatingPointTy()) { // Casting to floating pt
2598 } else if (DestTy->isVectorTy()) {
2602 } else if (DestTy->isPointerTy()) {
2609 } else if (DestTy->isX86_MMXTy()) {