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

Declarations

include/llvm/IR/Type.h
  411   static Type *getFloatTy(LLVMContext &C);

References

include/llvm/IR/DerivedTypes.h
  491         EltTy = Type::getFloatTy(VTy->getContext());
include/llvm/IR/IRBuilder.h
  422     return Type::getFloatTy(Context);
include/llvm/IR/Type.h
  433         return Type::getFloatTy(C);
lib/AsmParser/LLLexer.cpp
  818   TYPEKEYWORD("float",     Type::getFloatTy(Context));
lib/Bitcode/Reader/BitcodeReader.cpp
 1729       ResultTy = Type::getFloatTy(Context);
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  531     Type *HLTy = Size == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx);
  544         MI, MIRBuilder, Type::getDoubleTy(Ctx), Type::getFloatTy(Ctx));
  556         MI, MIRBuilder, Type::getFloatTy(Ctx), Type::getDoubleTy(Ctx));
  571         FromSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx));
  585         ToSize == 64 ? Type::getDoubleTy(Ctx) : Type::getFloatTy(Ctx),
 1988       ZeroTy = Type::getFloatTy(Ctx);
lib/CodeGen/IntrinsicLowering.cpp
  219                   Type::getFloatTy(CI->getContext()));
lib/CodeGen/ValueTypes.cpp
  277   case MVT::f32:     return Type::getFloatTy(Context);
  339   case MVT::v1f32:   return VectorType::get(Type::getFloatTy(Context), 1);
  340   case MVT::v2f32:   return VectorType::get(Type::getFloatTy(Context), 2);
  341   case MVT::v3f32:   return VectorType::get(Type::getFloatTy(Context), 3);
  342   case MVT::v4f32:   return VectorType::get(Type::getFloatTy(Context), 4);
  343   case MVT::v5f32:   return VectorType::get(Type::getFloatTy(Context), 5);
  344   case MVT::v8f32:   return VectorType::get(Type::getFloatTy(Context), 8);
  345   case MVT::v16f32:  return VectorType::get(Type::getFloatTy(Context), 16);
  346   case MVT::v32f32:  return VectorType::get(Type::getFloatTy(Context), 32);
  347   case MVT::v64f32:  return VectorType::get(Type::getFloatTy(Context), 64);
  348   case MVT::v128f32: return VectorType::get(Type::getFloatTy(Context), 128);
  349   case MVT::v256f32: return VectorType::get(Type::getFloatTy(Context), 256);
  350   case MVT::v512f32: return VectorType::get(Type::getFloatTy(Context), 512);
  351   case MVT::v1024f32:return VectorType::get(Type::getFloatTy(Context), 1024);
  352   case MVT::v2048f32:return VectorType::get(Type::getFloatTy(Context), 2048);
  424     return VectorType::get(Type::getFloatTy(Context), 1, /*Scalable=*/ true);
  426     return VectorType::get(Type::getFloatTy(Context), 2, /*Scalable=*/ true);
  428     return VectorType::get(Type::getFloatTy(Context), 4, /*Scalable=*/ true);
  430     return VectorType::get(Type::getFloatTy(Context), 8, /*Scalable=*/ true);
  432     return VectorType::get(Type::getFloatTy(Context), 16, /*Scalable=*/ true);
lib/IR/AutoUpgrade.cpp
   42   if (Arg0Type != VectorType::get(Type::getFloatTy(F->getContext()), 4))
 3610     if (Arg0->getType() != VectorType::get(Type::getFloatTy(C), 4))
lib/IR/Constants.cpp
  821       Ty = Type::getFloatTy(Context);
 2568   Type *Ty = ArrayType::get(Type::getFloatTy(Context), Elts.size());
 2616   Type *Ty = VectorType::get(Type::getFloatTy(Context), Elts.size());
 2639   Type *Ty = VectorType::get(Type::getFloatTy(Context), Elts.size());
lib/IR/Core.cpp
  600   return (LLVMTypeRef) Type::getFloatTy(*unwrap(C));
lib/IR/Function.cpp
  960   case IITDescriptor::Float: return Type::getFloatTy(Context);
lib/IR/MDBuilder.cpp
   33       createConstant(ConstantFP::get(Type::getFloatTy(Context), Accuracy));
lib/IR/Type.cpp
   43   case FloatTyID     : return getFloatTy(C);
  193   return getFloatTy(C)->getPointerTo(AS);
lib/Target/AMDGPU/AMDGPULibFunc.cpp
  887   case AMDGPULibFunc::F32:  T = Type::getFloatTy(C);  break;
lib/Target/ARM/ARMLegalizerInfo.cpp
  418     auto *ArgTy = OpSize == 32 ? Type::getFloatTy(Ctx) : Type::getDoubleTy(Ctx);
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1869     } else if (Ty == Type::getFloatTy(CPV->getContext())) {
lib/Target/PowerPC/PPCISelLowering.cpp
 8292         ConstantFP::get(Type::getFloatTy(*DAG.getContext()), 1.0);
 8294         ConstantFP::get(Type::getFloatTy(*DAG.getContext()), -1.0);
 8299           CV[i] = UndefValue::get(Type::getFloatTy(*DAG.getContext()));
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  352   Type *Ty = Float64 ? Type::getDoubleTy(Context) : Type::getFloatTy(Context);
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
  115         Type::getFloatTy(MF.getFunction().getContext())));
lib/Target/X86/X86InstrInfo.cpp
 5320       Ty = Type::getFloatTy(MF.getFunction().getContext());
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1464     return Type::getFloatTy(CFP->getContext());
tools/clang/lib/CodeGen/CodeGenModule.cpp
  110   FloatTy = llvm::Type::getFloatTy(LLVMContext);
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  299     return llvm::Type::getFloatTy(VMContext);
tools/clang/lib/CodeGen/TargetInfo.cpp
 3154     return llvm::Type::getFloatTy(getVMContext());
 3161     return llvm::VectorType::get(llvm::Type::getFloatTy(getVMContext()), 2);
 5884       llvm::Type::getFloatTy(getVMContext()) :
 6091       llvm::Type::getFloatTy(getVMContext()) :
 6875         PassTy = llvm::Type::getFloatTy(getVMContext());
tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp
   55       Type::getInt64Ty, Type::getFloatTy, Type::getDoubleTy};
tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
   40       Type::getInt64Ty, Type::getFloatTy, Type::getDoubleTy};
tools/llvm-stress/llvm-stress.cpp
  316         Type::getFloatTy(Context),
tools/polly/lib/Exchange/JSONExporter.cpp
  603       {"float", Type::getFloatTy(LLVMContext)},
unittests/Analysis/ValueLatticeTest.cpp
   40   auto FloatTy = Type::getFloatTy(Context);
  136   auto *FloatTy = IntegerType::getFloatTy(Context);
  175   auto *FloatTy = IntegerType::getFloatTy(Context);
unittests/FuzzMutate/OperationsTest.cpp
   89   Constant *f32 = ConstantFP::get(Type::getFloatTy(Ctx), 0.0);
unittests/FuzzMutate/StrategiesTest.cpp
   31       Type::getInt64Ty, Type::getFloatTy, Type::getDoubleTy};
   44       Type::getInt64Ty, Type::getFloatTy, Type::getDoubleTy};
unittests/IR/ConstantsTest.cpp
  199   Type *FloatTy = Type::getFloatTy(Context);
  431   for (Type *T : {Type::getHalfTy(Context), Type::getFloatTy(Context),
  453   for (Type *T : {Type::getHalfTy(Context), Type::getFloatTy(Context),
unittests/IR/IRBuilderTest.cpp
   34     GV = new GlobalVariable(*M, Type::getFloatTy(Ctx), true,
  222   V = Builder.CreateFPTrunc(VDouble, Type::getFloatTy(Ctx));
  541   auto CalleeTy = FunctionType::get(Type::getFloatTy(Ctx),
unittests/IR/InstructionsTest.cpp
  194   Type *FloatTy = Type::getFloatTy(C);
 1051   Type *FltTy = Type::getFloatTy(Context);