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

Declarations

include/llvm/IR/Instruction.def
  190 HANDLE_CAST_INST(44, SIToFP  , SIToFPInst  )  // SInt -> floating point

References

include/llvm/IR/InstVisitor.h
  186   RetTy visitSIToFPInst(SIToFPInst &I)            { DELEGATE(CastInst);}
include/llvm/IR/Instructions.h
 4952   SIToFPInst *cloneImpl() const;
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
   92     return isa_impl<To, From>::doit(*Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  368   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
lib/Analysis/ValueTracking.cpp
 2918   if (isa<SIToFPInst>(Op) || isa<UIToFPInst>(Op))
lib/ExecutionEngine/Interpreter/Execution.cpp
 1737 void Interpreter::visitSIToFPInst(SIToFPInst &I) {
lib/ExecutionEngine/Interpreter/Interpreter.h
  144   void visitSIToFPInst(SIToFPInst &I);
lib/IR/Instructions.cpp
 2758   case SIToFP:        return new SIToFPInst        (S, Ty, Name, InsertBefore);
 2780   case SIToFP:        return new SIToFPInst        (S, Ty, Name, InsertAtEnd);
 4196 SIToFPInst *SIToFPInst::cloneImpl() const {
 4197   return new SIToFPInst(getOperand(0), getType());
lib/IR/Verifier.cpp
  445   void visitSIToFPInst(SIToFPInst &I);
 2650 void Verifier::visitSIToFPInst(SIToFPInst &I) {
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  436     } else if (isa<UIToFPInst>(J) || isa<SIToFPInst>(J) ||
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1516   if (SIToFPInst *LHSConv = dyn_cast<SIToFPInst>(LHS)) {
 1516   if (SIToFPInst *LHSConv = dyn_cast<SIToFPInst>(LHS)) {
 1548           return new SIToFPInst(NewAdd, I.getType());
 1553     if (SIToFPInst *RHSConv = dyn_cast<SIToFPInst>(RHS)) {
 1553     if (SIToFPInst *RHSConv = dyn_cast<SIToFPInst>(RHS)) {
 1566           return new SIToFPInst(NewAdd, I.getType());
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1688   if (!isa<UIToFPInst>(FI.getOperand(0)) && !isa<SIToFPInst>(FI.getOperand(0)))
 1696   bool IsInputSigned = isa<SIToFPInst>(OpI);
lib/Transforms/Scalar/IndVarSimplify.cpp
  493     Value *Conv = new SIToFPInst(NewPHI, PN->getType(), "indvar.conv",
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 2099     else if (SIToFPInst *SCast = dyn_cast<SIToFPInst>(CandidateUI->getUser())) {
 2099     else if (SIToFPInst *SCast = dyn_cast<SIToFPInst>(CandidateUI->getUser())) {
lib/Transforms/Utils/SimplifyLibCalls.cpp
 1412   if (isa<SIToFPInst>(I2F) || isa<UIToFPInst>(I2F)) {
 1418         (BitWidth == 32 && isa<SIToFPInst>(I2F)))
 1419       return isa<SIToFPInst>(I2F) ? B.CreateSExt(Op, B.getInt32Ty())
 1508       (isa<SIToFPInst>(Expo) || isa<UIToFPInst>(Expo)) &&
 1752   if (AllowApprox && (isa<SIToFPInst>(Expo) || isa<UIToFPInst>(Expo))) {
 1773   if ((isa<SIToFPInst>(Op) || isa<UIToFPInst>(Op)) &&
tools/llvm-stress/llvm-stress.cpp
  597           new SIToFPInst(V, DestTy, "FC", BB->getTerminator()));