Lines Matching defs:DestTy
532 Type *DestTy = pickScalarType();
536 DestTy = pickVectorType(cast<VectorType>(VTy));
539 if (VTy == DestTy) return;
543 if (!DestTy->isPointerTy())
544 DestTy = PointerType::get(Context, 0);
546 new BitCastInst(V, DestTy, "PC", BB->getTerminator()->getIterator()));
550 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits();
555 new BitCastInst(V, DestTy, "BC", BB->getTerminator()->getIterator()));
559 if (VTy->isIntOrIntVectorTy() && DestTy->isIntOrIntVectorTy()) {
562 new TruncInst(V, DestTy, "Tr", BB->getTerminator()->getIterator()));
567 V, DestTy, "ZE", BB->getTerminator()->getIterator()));
569 new SExtInst(V, DestTy, "Se", BB->getTerminator()->getIterator()));
574 if (VTy->isFPOrFPVectorTy() && DestTy->isIntOrIntVectorTy()) {
577 V, DestTy, "FC", BB->getTerminator()->getIterator()));
579 new FPToUIInst(V, DestTy, "FC", BB->getTerminator()->getIterator()));
583 if (VTy->isIntOrIntVectorTy() && DestTy->isFPOrFPVectorTy()) {
586 V, DestTy, "FC", BB->getTerminator()->getIterator()));
588 new UIToFPInst(V, DestTy, "FC", BB->getTerminator()->getIterator()));
592 if (VTy->isFPOrFPVectorTy() && DestTy->isFPOrFPVectorTy()) {
595 V, DestTy, "Tr", BB->getTerminator()->getIterator()));
598 new FPExtInst(V, DestTy, "ZE", BB->getTerminator()->getIterator()));