Lines Matching refs:DstTy

1231 GenericValue Interpreter::executeTruncInst(Value *SrcVal, Type *DstTy,  in executeTruncInst()  argument
1236 Type *DstVecTy = DstTy->getScalarType(); in executeTruncInst()
1244 IntegerType *DITy = cast<IntegerType>(DstTy); in executeTruncInst()
1251 GenericValue Interpreter::executeSExtInst(Value *SrcVal, Type *DstTy, in executeSExtInst() argument
1256 Type *DstVecTy = DstTy->getScalarType(); in executeSExtInst()
1264 auto *DITy = cast<IntegerType>(DstTy); in executeSExtInst()
1271 GenericValue Interpreter::executeZExtInst(Value *SrcVal, Type *DstTy, in executeZExtInst() argument
1276 Type *DstVecTy = DstTy->getScalarType(); in executeZExtInst()
1285 auto *DITy = cast<IntegerType>(DstTy); in executeZExtInst()
1292 GenericValue Interpreter::executeFPTruncInst(Value *SrcVal, Type *DstTy, in executeFPTruncInst() argument
1298 DstTy->getScalarType()->isFloatTy() && in executeFPTruncInst()
1307 assert(SrcVal->getType()->isDoubleTy() && DstTy->isFloatTy() && in executeFPTruncInst()
1315 GenericValue Interpreter::executeFPExtInst(Value *SrcVal, Type *DstTy, in executeFPExtInst() argument
1321 DstTy->getScalarType()->isDoubleTy() && "Invalid FPExt instruction"); in executeFPExtInst()
1329 assert(SrcVal->getType()->isFloatTy() && DstTy->isDoubleTy() && in executeFPExtInst()
1337 GenericValue Interpreter::executeFPToUIInst(Value *SrcVal, Type *DstTy, in executeFPToUIInst() argument
1343 Type *DstVecTy = DstTy->getScalarType(); in executeFPToUIInst()
1362 uint32_t DBitWidth = cast<IntegerType>(DstTy)->getBitWidth(); in executeFPToUIInst()
1375 GenericValue Interpreter::executeFPToSIInst(Value *SrcVal, Type *DstTy, in executeFPToSIInst() argument
1381 Type *DstVecTy = DstTy->getScalarType(); in executeFPToSIInst()
1400 unsigned DBitWidth = cast<IntegerType>(DstTy)->getBitWidth(); in executeFPToSIInst()
1412 GenericValue Interpreter::executeUIToFPInst(Value *SrcVal, Type *DstTy, in executeUIToFPInst() argument
1417 Type *DstVecTy = DstTy->getScalarType(); in executeUIToFPInst()
1434 assert(DstTy->isFloatingPointTy() && "Invalid UIToFP instruction"); in executeUIToFPInst()
1435 if (DstTy->getTypeID() == Type::FloatTyID) in executeUIToFPInst()
1444 GenericValue Interpreter::executeSIToFPInst(Value *SrcVal, Type *DstTy, in executeSIToFPInst() argument
1449 Type *DstVecTy = DstTy->getScalarType(); in executeSIToFPInst()
1466 assert(DstTy->isFloatingPointTy() && "Invalid SIToFP instruction"); in executeSIToFPInst()
1468 if (DstTy->getTypeID() == Type::FloatTyID) in executeSIToFPInst()
1478 GenericValue Interpreter::executePtrToIntInst(Value *SrcVal, Type *DstTy, in executePtrToIntInst() argument
1480 uint32_t DBitWidth = cast<IntegerType>(DstTy)->getBitWidth(); in executePtrToIntInst()
1488 GenericValue Interpreter::executeIntToPtrInst(Value *SrcVal, Type *DstTy, in executeIntToPtrInst() argument
1491 assert(DstTy->isPointerTy() && "Invalid PtrToInt instruction"); in executeIntToPtrInst()
1501 GenericValue Interpreter::executeBitCastInst(Value *SrcVal, Type *DstTy, in executeBitCastInst() argument
1509 if (isa<VectorType>(SrcTy) || isa<VectorType>(DstTy)) { in executeBitCastInst()
1534 if (isa<VectorType>(DstTy)) { in executeBitCastInst()
1535 DstElemTy = DstTy->getScalarType(); in executeBitCastInst()
1536 DstBitSize = DstTy->getScalarSizeInBits(); in executeBitCastInst()
1539 DstElemTy = DstTy; in executeBitCastInst()
1540 DstBitSize = DstTy->getPrimitiveSizeInBits(); in executeBitCastInst()
1607 if (isa<VectorType>(DstTy)) { in executeBitCastInst()
1633 if (DstTy->isPointerTy()) { in executeBitCastInst()
1636 } else if (DstTy->isIntegerTy()) { in executeBitCastInst()
1646 } else if (DstTy->isFloatTy()) { in executeBitCastInst()
1652 } else if (DstTy->isDoubleTy()) { in executeBitCastInst()