Lines Matching refs:DestTy
479 Type *DestTy = pickScalarType();
484 DestTy = pickVectorType(VecTy->getNumElements());
488 if (VTy == DestTy) return;
492 if (!DestTy->isPointerTy())
493 DestTy = PointerType::get(DestTy, 0);
495 new BitCastInst(V, DestTy, "PC", BB->getTerminator()));
499 unsigned DestSize = DestTy->getScalarType()->getPrimitiveSizeInBits();
504 new BitCastInst(V, DestTy, "BC", BB->getTerminator()));
509 DestTy->getScalarType()->isIntegerTy()) {
512 new TruncInst(V, DestTy, "Tr", BB->getTerminator()));
517 new ZExtInst(V, DestTy, "ZE", BB->getTerminator()));
518 return PT->push_back(new SExtInst(V, DestTy, "Se", BB->getTerminator()));
524 DestTy->getScalarType()->isIntegerTy()) {
527 new FPToSIInst(V, DestTy, "FC", BB->getTerminator()));
528 return PT->push_back(new FPToUIInst(V, DestTy, "FC", BB->getTerminator()));
533 DestTy->getScalarType()->isFloatingPointTy()) {
536 new SIToFPInst(V, DestTy, "FC", BB->getTerminator()));
537 return PT->push_back(new UIToFPInst(V, DestTy, "FC", BB->getTerminator()));
543 DestTy->getScalarType()->isFloatingPointTy()) {
546 new FPTruncInst(V, DestTy, "Tr", BB->getTerminator()));
549 new FPExtInst(V, DestTy, "ZE", BB->getTerminator()));