Lines Matching refs:DstTy
1267 GenericValue Interpreter::executeTruncInst(Value *SrcVal, Type *DstTy, in executeTruncInst() argument
1272 Type *DstVecTy = DstTy->getScalarType(); in executeTruncInst()
1280 IntegerType *DITy = cast<IntegerType>(DstTy); in executeTruncInst()
1287 GenericValue Interpreter::executeSExtInst(Value *SrcVal, Type *DstTy, in executeSExtInst() argument
1292 Type *DstVecTy = DstTy->getScalarType(); in executeSExtInst()
1300 auto *DITy = cast<IntegerType>(DstTy); in executeSExtInst()
1307 GenericValue Interpreter::executeZExtInst(Value *SrcVal, Type *DstTy, in executeZExtInst() argument
1312 Type *DstVecTy = DstTy->getScalarType(); in executeZExtInst()
1321 auto *DITy = cast<IntegerType>(DstTy); in executeZExtInst()
1328 GenericValue Interpreter::executeFPTruncInst(Value *SrcVal, Type *DstTy, in executeFPTruncInst() argument
1334 DstTy->getScalarType()->isFloatTy() && in executeFPTruncInst()
1343 assert(SrcVal->getType()->isDoubleTy() && DstTy->isFloatTy() && in executeFPTruncInst()
1351 GenericValue Interpreter::executeFPExtInst(Value *SrcVal, Type *DstTy, in executeFPExtInst() argument
1357 DstTy->getScalarType()->isDoubleTy() && "Invalid FPExt instruction"); in executeFPExtInst()
1365 assert(SrcVal->getType()->isFloatTy() && DstTy->isDoubleTy() && in executeFPExtInst()
1373 GenericValue Interpreter::executeFPToUIInst(Value *SrcVal, Type *DstTy, in executeFPToUIInst() argument
1379 Type *DstVecTy = DstTy->getScalarType(); in executeFPToUIInst()
1398 uint32_t DBitWidth = cast<IntegerType>(DstTy)->getBitWidth(); in executeFPToUIInst()
1411 GenericValue Interpreter::executeFPToSIInst(Value *SrcVal, Type *DstTy, in executeFPToSIInst() argument
1417 Type *DstVecTy = DstTy->getScalarType(); in executeFPToSIInst()
1436 unsigned DBitWidth = cast<IntegerType>(DstTy)->getBitWidth(); in executeFPToSIInst()
1448 GenericValue Interpreter::executeUIToFPInst(Value *SrcVal, Type *DstTy, in executeUIToFPInst() argument
1453 Type *DstVecTy = DstTy->getScalarType(); in executeUIToFPInst()
1470 assert(DstTy->isFloatingPointTy() && "Invalid UIToFP instruction"); in executeUIToFPInst()
1471 if (DstTy->getTypeID() == Type::FloatTyID) in executeUIToFPInst()
1480 GenericValue Interpreter::executeSIToFPInst(Value *SrcVal, Type *DstTy, in executeSIToFPInst() argument
1485 Type *DstVecTy = DstTy->getScalarType(); in executeSIToFPInst()
1502 assert(DstTy->isFloatingPointTy() && "Invalid SIToFP instruction"); in executeSIToFPInst()
1504 if (DstTy->getTypeID() == Type::FloatTyID) in executeSIToFPInst()
1514 GenericValue Interpreter::executePtrToIntInst(Value *SrcVal, Type *DstTy, in executePtrToIntInst() argument
1516 uint32_t DBitWidth = cast<IntegerType>(DstTy)->getBitWidth(); in executePtrToIntInst()
1524 GenericValue Interpreter::executeIntToPtrInst(Value *SrcVal, Type *DstTy, in executeIntToPtrInst() argument
1527 assert(DstTy->isPointerTy() && "Invalid PtrToInt instruction"); in executeIntToPtrInst()
1537 GenericValue Interpreter::executeBitCastInst(Value *SrcVal, Type *DstTy, in executeBitCastInst() argument
1545 if (isa<VectorType>(SrcTy) || isa<VectorType>(DstTy)) { in executeBitCastInst()
1570 if (isa<VectorType>(DstTy)) { in executeBitCastInst()
1571 DstElemTy = DstTy->getScalarType(); in executeBitCastInst()
1572 DstBitSize = DstTy->getScalarSizeInBits(); in executeBitCastInst()
1575 DstElemTy = DstTy; in executeBitCastInst()
1576 DstBitSize = DstTy->getPrimitiveSizeInBits(); in executeBitCastInst()
1643 if (isa<VectorType>(DstTy)) { in executeBitCastInst()
1669 if (DstTy->isPointerTy()) { in executeBitCastInst()
1672 } else if (DstTy->isIntegerTy()) { in executeBitCastInst()
1682 } else if (DstTy->isFloatTy()) { in executeBitCastInst()
1688 } else if (DstTy->isDoubleTy()) { in executeBitCastInst()