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

References

lib/IR/Core.cpp
 3741   return wrap(unwrap(B)->CreateFPTrunc(unwrap(Val), unwrap(DestTy), Name));
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 2146     return BinaryOperator::CreateFAddFMF(Op0, Builder.CreateFPTrunc(Y, Ty), &I);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 2393       Value *TOp = Builder.CreateFPTrunc(II->getArgOperand(0), VTy);
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1566           Value *LHS = Builder.CreateFPTrunc(BO->getOperand(0), Ty);
 1567           Value *RHS = Builder.CreateFPTrunc(BO->getOperand(1), Ty);
 1580           Value *LHS = Builder.CreateFPTrunc(BO->getOperand(0), Ty);
 1581           Value *RHS = Builder.CreateFPTrunc(BO->getOperand(1), Ty);
 1593           Value *LHS = Builder.CreateFPTrunc(BO->getOperand(0), Ty);
 1594           Value *RHS = Builder.CreateFPTrunc(BO->getOperand(1), Ty);
 1607            LHS = Builder.CreateFPTrunc(BO->getOperand(0), LHSMinType);
 1608            RHS = Builder.CreateFPTrunc(BO->getOperand(1), LHSMinType);
 1610            LHS = Builder.CreateFPTrunc(BO->getOperand(0), RHSMinType);
 1611            RHS = Builder.CreateFPTrunc(BO->getOperand(1), RHSMinType);
 1625       Value *InnerTrunc = Builder.CreateFPTrunc(X, Ty);
 1660       Value *InnerTrunc = Builder.CreateFPTrunc(Src, Ty);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 3980     Value *HalfVal = Builder.CreateFPTrunc(Val, Builder.getHalfTy());
 8615     return Builder.CreateFPTrunc(Ops[0], Ty, "vcvt");
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1325       return Builder.CreateFPTrunc(Src, DstTy, "conv");
 1355       return Builder.CreateFPTrunc(Src, DstTy);
 1381       Res = Builder.CreateFPTrunc(Src, DstTy, "conv");
 1393       Res = Builder.CreateFPTrunc(Res, ResTy, "conv");
 1711       Res = Builder.CreateFPTrunc(Src, DstTy, "conv");
 2536         value = Builder.CreateFPTrunc(value, input->getType(), "incdec.conv");
tools/clang/lib/CodeGen/CGStmt.cpp
 2310         Tmp = Builder.CreateFPTrunc(Tmp, TruncTy);
unittests/IR/IRBuilderTest.cpp
  222   V = Builder.CreateFPTrunc(VDouble, Type::getFloatTy(Ctx));