Lines Matching refs:SrcVal
1217 GenericValue Interpreter::executeTruncInst(Value *SrcVal, Type *DstTy,
1219 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1220 Type *SrcTy = SrcVal->getType();
1237 GenericValue Interpreter::executeSExtInst(Value *SrcVal, Type *DstTy,
1239 Type *SrcTy = SrcVal->getType();
1240 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1257 GenericValue Interpreter::executeZExtInst(Value *SrcVal, Type *DstTy,
1259 Type *SrcTy = SrcVal->getType();
1260 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1278 GenericValue Interpreter::executeFPTruncInst(Value *SrcVal, Type *DstTy,
1280 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1282 if (SrcVal->getType()->getTypeID() == Type::VectorTyID) {
1283 assert(SrcVal->getType()->getScalarType()->isDoubleTy() &&
1293 assert(SrcVal->getType()->isDoubleTy() && DstTy->isFloatTy() &&
1301 GenericValue Interpreter::executeFPExtInst(Value *SrcVal, Type *DstTy,
1303 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1305 if (SrcVal->getType()->getTypeID() == Type::VectorTyID) {
1306 assert(SrcVal->getType()->getScalarType()->isFloatTy() &&
1315 assert(SrcVal->getType()->isFloatTy() && DstTy->isDoubleTy() &&
1323 GenericValue Interpreter::executeFPToUIInst(Value *SrcVal, Type *DstTy,
1325 Type *SrcTy = SrcVal->getType();
1326 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1361 GenericValue Interpreter::executeFPToSIInst(Value *SrcVal, Type *DstTy,
1363 Type *SrcTy = SrcVal->getType();
1364 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1398 GenericValue Interpreter::executeUIToFPInst(Value *SrcVal, Type *DstTy,
1400 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1402 if (SrcVal->getType()->getTypeID() == Type::VectorTyID) {
1430 GenericValue Interpreter::executeSIToFPInst(Value *SrcVal, Type *DstTy,
1432 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1434 if (SrcVal->getType()->getTypeID() == Type::VectorTyID) {
1464 GenericValue Interpreter::executePtrToIntInst(Value *SrcVal, Type *DstTy,
1467 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1468 assert(SrcVal->getType()->isPointerTy() && "Invalid PtrToInt instruction");
1474 GenericValue Interpreter::executeIntToPtrInst(Value *SrcVal, Type *DstTy,
1476 GenericValue Dest, Src = getOperandValue(SrcVal, SF);
1487 GenericValue Interpreter::executeBitCastInst(Value *SrcVal, Type *DstTy,
1492 Type *SrcTy = SrcVal->getType();
1493 GenericValue Dest, Src = getOperandValue(SrcVal, SF);