• Home
  • Raw
  • Download

Lines Matching refs:DstTy

1218 GenericValue Interpreter::executeTruncInst(Value *SrcVal, Type *DstTy,  in executeTruncInst()  argument
1223 Type *DstVecTy = DstTy->getScalarType(); in executeTruncInst()
1231 IntegerType *DITy = cast<IntegerType>(DstTy); in executeTruncInst()
1238 GenericValue Interpreter::executeSExtInst(Value *SrcVal, Type *DstTy, in executeSExtInst() argument
1243 Type *DstVecTy = DstTy->getScalarType(); in executeSExtInst()
1251 auto *DITy = cast<IntegerType>(DstTy); in executeSExtInst()
1258 GenericValue Interpreter::executeZExtInst(Value *SrcVal, Type *DstTy, in executeZExtInst() argument
1263 Type *DstVecTy = DstTy->getScalarType(); in executeZExtInst()
1272 auto *DITy = cast<IntegerType>(DstTy); in executeZExtInst()
1279 GenericValue Interpreter::executeFPTruncInst(Value *SrcVal, Type *DstTy, in executeFPTruncInst() argument
1285 DstTy->getScalarType()->isFloatTy() && in executeFPTruncInst()
1294 assert(SrcVal->getType()->isDoubleTy() && DstTy->isFloatTy() && in executeFPTruncInst()
1302 GenericValue Interpreter::executeFPExtInst(Value *SrcVal, Type *DstTy, in executeFPExtInst() argument
1308 DstTy->getScalarType()->isDoubleTy() && "Invalid FPExt instruction"); in executeFPExtInst()
1316 assert(SrcVal->getType()->isFloatTy() && DstTy->isDoubleTy() && in executeFPExtInst()
1324 GenericValue Interpreter::executeFPToUIInst(Value *SrcVal, Type *DstTy, in executeFPToUIInst() argument
1330 Type *DstVecTy = DstTy->getScalarType(); in executeFPToUIInst()
1349 uint32_t DBitWidth = cast<IntegerType>(DstTy)->getBitWidth(); in executeFPToUIInst()
1362 GenericValue Interpreter::executeFPToSIInst(Value *SrcVal, Type *DstTy, in executeFPToSIInst() argument
1368 Type *DstVecTy = DstTy->getScalarType(); in executeFPToSIInst()
1387 unsigned DBitWidth = cast<IntegerType>(DstTy)->getBitWidth(); in executeFPToSIInst()
1399 GenericValue Interpreter::executeUIToFPInst(Value *SrcVal, Type *DstTy, in executeUIToFPInst() argument
1404 Type *DstVecTy = DstTy->getScalarType(); in executeUIToFPInst()
1421 assert(DstTy->isFloatingPointTy() && "Invalid UIToFP instruction"); in executeUIToFPInst()
1422 if (DstTy->getTypeID() == Type::FloatTyID) in executeUIToFPInst()
1431 GenericValue Interpreter::executeSIToFPInst(Value *SrcVal, Type *DstTy, in executeSIToFPInst() argument
1436 Type *DstVecTy = DstTy->getScalarType(); in executeSIToFPInst()
1453 assert(DstTy->isFloatingPointTy() && "Invalid SIToFP instruction"); in executeSIToFPInst()
1455 if (DstTy->getTypeID() == Type::FloatTyID) in executeSIToFPInst()
1465 GenericValue Interpreter::executePtrToIntInst(Value *SrcVal, Type *DstTy, in executePtrToIntInst() argument
1467 uint32_t DBitWidth = cast<IntegerType>(DstTy)->getBitWidth(); in executePtrToIntInst()
1475 GenericValue Interpreter::executeIntToPtrInst(Value *SrcVal, Type *DstTy, in executeIntToPtrInst() argument
1478 assert(DstTy->isPointerTy() && "Invalid PtrToInt instruction"); in executeIntToPtrInst()
1488 GenericValue Interpreter::executeBitCastInst(Value *SrcVal, Type *DstTy, in executeBitCastInst() argument
1497 (DstTy->getTypeID() == Type::VectorTyID)) { in executeBitCastInst()
1522 if (DstTy->getTypeID() == Type::VectorTyID) { in executeBitCastInst()
1523 DstElemTy = DstTy->getScalarType(); in executeBitCastInst()
1524 DstBitSize = DstTy->getScalarSizeInBits(); in executeBitCastInst()
1527 DstElemTy = DstTy; in executeBitCastInst()
1528 DstBitSize = DstTy->getPrimitiveSizeInBits(); in executeBitCastInst()
1595 if (DstTy->getTypeID() == Type::VectorTyID) { in executeBitCastInst()
1622 if (DstTy->isPointerTy()) { in executeBitCastInst()
1625 } else if (DstTy->isIntegerTy()) { in executeBitCastInst()
1635 } else if (DstTy->isFloatTy()) { in executeBitCastInst()
1641 } else if (DstTy->isDoubleTy()) { in executeBitCastInst()