Lines Matching defs:DestTy
545 Type *DestTy = pickScalarType();
549 DestTy = pickVectorType(cast<VectorType>(VTy));
552 if (VTy == DestTy) return;
556 if (!DestTy->isPointerTy())
557 DestTy = PointerType::get(DestTy, 0);
559 new BitCastInst(V, DestTy, "PC", BB->getTerminator()));
563 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits();
568 new BitCastInst(V, DestTy, "BC", BB->getTerminator()));
572 if (VTy->isIntOrIntVectorTy() && DestTy->isIntOrIntVectorTy()) {
575 new TruncInst(V, DestTy, "Tr", BB->getTerminator()));
580 new ZExtInst(V, DestTy, "ZE", BB->getTerminator()));
581 return PT->push_back(new SExtInst(V, DestTy, "Se", BB->getTerminator()));
586 if (VTy->isFPOrFPVectorTy() && DestTy->isIntOrIntVectorTy()) {
589 new FPToSIInst(V, DestTy, "FC", BB->getTerminator()));
590 return PT->push_back(new FPToUIInst(V, DestTy, "FC", BB->getTerminator()));
594 if (VTy->isIntOrIntVectorTy() && DestTy->isFPOrFPVectorTy()) {
597 new SIToFPInst(V, DestTy, "FC", BB->getTerminator()));
598 return PT->push_back(new UIToFPInst(V, DestTy, "FC", BB->getTerminator()));
602 if (VTy->isFPOrFPVectorTy() && DestTy->isFPOrFPVectorTy()) {
605 new FPTruncInst(V, DestTy, "Tr", BB->getTerminator()));
608 new FPExtInst(V, DestTy, "ZE", BB->getTerminator()));