reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGExprScalar.cpp
 1188       return Builder.CreateIsNotNull(Src, "tobool");
 1190       return EmitFixedPointConversion(Src, SrcType, DstType, Loc);
 1197       return EmitFixedPointConversion(Src, SrcType, DstType, Loc);
 1208   if (SrcType == DstType) return Src;
 1212   llvm::Value *OrigSrc = Src;
 1214   llvm::Type *SrcTy = Src->getType();
 1218     return EmitConversionToBool(Src, SrcType);
 1229             Src);
 1235         Src = Builder.CreateCall(
 1238             Src);
 1240         Src = Builder.CreateFPExt(Src, CGF.CGM.FloatTy, "conv");
 1240         Src = Builder.CreateFPExt(Src, CGF.CGM.FloatTy, "conv");
 1250       EmitIntegerSignChangeCheck(Src, NoncanonicalSrcType, Src,
 1250       EmitIntegerSignChangeCheck(Src, NoncanonicalSrcType, Src,
 1253     return Src;
 1262       return Builder.CreateBitCast(Src, DstTy, "conv");
 1270         Builder.CreateIntCast(Src, MiddleTy, InputSigned, "conv");
 1278     return Builder.CreatePtrToInt(Src, DstTy, "conv");
 1291     return Builder.CreateVectorSplat(NumElements, Src, "splat");
 1299       return Builder.CreateBitCast(Src, DstTy, "conv");
 1321       return Builder.CreateIntCast(Src, DstTy, false, "conv");
 1325       return Builder.CreateFPTrunc(Src, DstTy, "conv");
 1328     return Builder.CreateFPExt(Src, DstTy, "conv");
 1342     EmitFloatConversionCheck(OrigSrc, OrigSrcType, Src, SrcType, DstType, DstTy,
 1353             CGF.CGM.getIntrinsic(llvm::Intrinsic::convert_to_fp16, SrcTy), Src);
 1355       return Builder.CreateFPTrunc(Src, DstTy);
 1366       Res = Builder.CreateIntCast(Src, DstTy, InputSigned, "conv");
 1368       Res = Builder.CreateSIToFP(Src, DstTy, "conv");
 1370       Res = Builder.CreateUIToFP(Src, DstTy, "conv");
 1374       Res = Builder.CreateFPToSI(Src, DstTy, "conv");
 1376       Res = Builder.CreateFPToUI(Src, DstTy, "conv");
 1381       Res = Builder.CreateFPTrunc(Src, DstTy, "conv");
 1383       Res = Builder.CreateFPExt(Src, DstTy, "conv");
 1398     EmitIntegerTruncationCheck(Src, NoncanonicalSrcType, Res,
 1402     EmitIntegerSignChangeCheck(Src, NoncanonicalSrcType, Res,