Lines Matching refs:SrcVal
1218 GenericValue Interpreter::executeTruncInst(Value *SrcVal, Type *DstTy,
1220 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1221 Type *SrcTy = SrcVal->getType();
1238 GenericValue Interpreter::executeSExtInst(Value *SrcVal, Type *DstTy,
1240 Type *SrcTy = SrcVal
1241 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1258 GenericValue Interpreter::executeZExtInst(Value *SrcVal, Type *DstTy,
1260 Type *SrcTy = SrcVal->getType();
1261 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1279 GenericValue Interpreter::executeFPTruncInst(Value *SrcVal, Type *DstTy,
1281 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1283 if (SrcVal->getType()->getTypeID() == Type::VectorTyID) {
1284 assert(SrcVal->getType()->getScalarType()->isDoubleTy() &&
1294 assert(SrcVal->getType()->isDoubleTy() && DstTy->isFloatTy() &&
1302 GenericValue Interpreter::executeFPExtInst(Value *SrcVal, Type *DstTy,
1304 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1306 if (SrcVal->getType()->getTypeID() == Type::VectorTyID) {
1307 assert(SrcVal->getType()->getScalarType()->isFloatTy() &&
1316 assert(SrcVal->getType()->isFloatTy() && DstTy->isDoubleTy() &&
1324 GenericValue Interpreter::executeFPToUIInst(Value *SrcVal, Type *DstTy,
1326 Type *SrcTy = SrcVal->getType();
1327 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1362 GenericValue Interpreter::executeFPToSIInst(Value *SrcVal, Type *DstTy,
1364 Type *SrcTy = SrcVal->getType();
1365 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1399 GenericValue Interpreter::executeUIToFPInst(Value *SrcVal, Type *DstTy,
1401 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1403 if (SrcVal->getType()->getTypeID() == Type::VectorTyID) {
1431 GenericValue Interpreter::executeSIToFPInst(Value *SrcVal, Type *DstTy,
1433 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1435 if (SrcVal->getType()->getTypeID() == Type::VectorTyID) {
1465 GenericValue Interpreter::executePtrToIntInst(Value *SrcVal, Type *DstTy,
1468 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1469 assert(SrcVal->getType()->isPointerTy() && "Invalid PtrToInt instruction");
1475 GenericValue Interpreter::executeIntToPtrInst(Value *SrcVal, Type *DstTy,
1477 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1488 GenericValue Interpreter::executeBitCastInst(Value *SrcVal, Type *DstTy,
1493 Type *SrcTy = SrcVal->getType();
1494 GenericValue Dest, Src = getOperandValue(SrcVal, SF);