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

Declarations

include/llvm/IR/Type.h
  410   static Type *getHalfTy(LLVMContext &C);

References

include/llvm/IR/DerivedTypes.h
  494         EltTy = Type::getHalfTy(VTy->getContext());
include/llvm/IR/IRBuilder.h
  417     return Type::getHalfTy(Context);
lib/AsmParser/LLLexer.cpp
  817   TYPEKEYWORD("half",      Type::getHalfTy(Context));
lib/Bitcode/Reader/BitcodeReader.cpp
 1726       ResultTy = Type::getHalfTy(Context);
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
 1985       ZeroTy = Type::getHalfTy(Ctx);
lib/CodeGen/ValueTypes.cpp
  276   case MVT::f16:     return Type::getHalfTy(Context);
  333   case MVT::v2f16:   return VectorType::get(Type::getHalfTy(Context), 2);
  334   case MVT::v3f16:   return VectorType::get(Type::getHalfTy(Context), 3);
  335   case MVT::v4f16:   return VectorType::get(Type::getHalfTy(Context), 4);
  336   case MVT::v8f16:   return VectorType::get(Type::getHalfTy(Context), 8);
  337   case MVT::v16f16:  return VectorType::get(Type::getHalfTy(Context), 16);
  338   case MVT::v32f16:  return VectorType::get(Type::getHalfTy(Context), 32);
  418     return VectorType::get(Type::getHalfTy(Context), 2, /*Scalable=*/ true);
  420     return VectorType::get(Type::getHalfTy(Context), 4, /*Scalable=*/ true);
  422     return VectorType::get(Type::getHalfTy(Context), 8, /*Scalable=*/ true);
lib/IR/Constants.cpp
  819       Ty = Type::getHalfTy(Context);
 2562   Type *Ty = ArrayType::get(Type::getHalfTy(Context), Elts.size());
 2633   Type *Ty = VectorType::get(Type::getHalfTy(Context), Elts.size());
lib/IR/Core.cpp
  597   return (LLVMTypeRef) Type::getHalfTy(*unwrap(C));
lib/IR/Function.cpp
  959   case IITDescriptor::Half: return Type::getHalfTy(Context);
lib/IR/Type.cpp
   42   case HalfTyID      : return getHalfTy(C);
  189   return getHalfTy(C)->getPointerTo(AS);
lib/Target/AMDGPU/AMDGPULibFunc.cpp
  886   case AMDGPULibFunc::F16:  T = Type::getHalfTy(C);   break;
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1864     if (Ty == Type::getHalfTy(CPV->getContext())) {
lib/Transforms/InstCombine/InstCombineCalls.cpp
 2485           VectorType::get(Type::getHalfTy(II->getContext()), RetWidth);
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1461     return Type::getHalfTy(CFP->getContext());
tools/clang/lib/CodeGen/CodeGenModule.cpp
  109   HalfTy = llvm::Type::getHalfTy(LLVMContext);
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  294       return llvm::Type::getHalfTy(VMContext);
tools/llvm-stress/llvm-stress.cpp
   77     if      (Arg == "half")      Value = Type::getHalfTy(Context);
tools/polly/lib/Exchange/JSONExporter.cpp
  602       {"half", Type::getHalfTy(LLVMContext)},
unittests/FuzzMutate/OperationsTest.cpp
   88   Constant *f16 = ConstantFP::getInfinity(Type::getHalfTy(Ctx));
unittests/IR/ConstantsTest.cpp
  431   for (Type *T : {Type::getHalfTy(Context), Type::getFloatTy(Context),
  453   for (Type *T : {Type::getHalfTy(Context), Type::getFloatTy(Context),
unittests/IR/InstructionsTest.cpp
  193   Type *HalfTy = Type::getHalfTy(C);