Home | History | Annotate | Download | only in Interpreter

Lines Matching refs:DstTy

1234 GenericValue Interpreter::executeTruncInst(Value *SrcVal, Type *DstTy,
1239 Type *DstVecTy = DstTy->getScalarType();
1247 IntegerType *DITy = cast<IntegerType>(DstTy);
1254 GenericValue Interpreter::executeSExtInst(Value *SrcVal, Type *DstTy,
1259 const Type *DstVecTy = DstTy->getScalarType();
1267 const IntegerType *DITy = cast<IntegerType>(DstTy);
1274 GenericValue Interpreter::executeZExtInst(Value *SrcVal, Type *DstTy,
1279 const Type *DstVecTy = DstTy->getScalarType();
1288 const IntegerType *DITy = cast<IntegerType>(DstTy);
1295 GenericValue Interpreter::executeFPTruncInst(Value *SrcVal, Type *DstTy,
1301 DstTy->getScalarType()->isFloatTy() &&
1310 assert(SrcVal->getType()->isDoubleTy() && DstTy->isFloatTy() &&
1318 GenericValue Interpreter::executeFPExtInst(Value *SrcVal, Type *DstTy,
1324 DstTy->getScalarType()->isDoubleTy() && "Invalid FPExt instruction");
1332 assert(SrcVal->getType()->isFloatTy() && DstTy->isDoubleTy() &&
1340 GenericValue Interpreter::executeFPToUIInst(Value *SrcVal, Type *DstTy,
1346 const Type *DstVecTy = DstTy->getScalarType();
1365 uint32_t DBitWidth = cast<IntegerType>(DstTy)->getBitWidth();
1378 GenericValue Interpreter::executeFPToSIInst(Value *SrcVal, Type *DstTy,
1384 const Type *DstVecTy = DstTy->getScalarType();
1403 unsigned DBitWidth = cast<IntegerType>(DstTy)->getBitWidth();
1415 GenericValue Interpreter::executeUIToFPInst(Value *SrcVal, Type *DstTy,
1420 const Type *DstVecTy = DstTy->getScalarType();
1437 assert(DstTy->isFloatingPointTy() && "Invalid UIToFP instruction");
1438 if (DstTy->getTypeID() == Type::FloatTyID)
1447 GenericValue Interpreter::executeSIToFPInst(Value *SrcVal, Type *DstTy,
1452 const Type *DstVecTy = DstTy->getScalarType();
1469 assert(DstTy->isFloatingPointTy() && "Invalid SIToFP instruction");
1471 if (DstTy->getTypeID() == Type::FloatTyID)
1481 GenericValue Interpreter::executePtrToIntInst(Value *SrcVal, Type *DstTy,
1483 uint32_t DBitWidth = cast<IntegerType>(DstTy)->getBitWidth();
1491 GenericValue Interpreter::executeIntToPtrInst(Value *SrcVal, Type *DstTy,
1494 assert(DstTy->isPointerTy() && "Invalid PtrToInt instruction");
1504 GenericValue Interpreter::executeBitCastInst(Value *SrcVal, Type *DstTy,
1513 (DstTy->getTypeID() == Type::VectorTyID)) {
1538 if (DstTy->getTypeID() == Type::VectorTyID) {
1539 DstElemTy = DstTy->getScalarType();
1540 DstBitSize = DstTy->getScalarSizeInBits();
1543 DstElemTy = DstTy;
1544 DstBitSize = DstTy->getPrimitiveSizeInBits();
1611 if (DstTy->getTypeID() == Type::VectorTyID) {
1635 // (DstTy->getTypeID() == Type::VectorTyID))
1638 if (DstTy->isPointerTy()) {
1641 } else if (DstTy->isIntegerTy()) {
1651 } else if (DstTy->isFloatTy()) {
1657 } else if (DstTy->isDoubleTy()) {