Home
last modified time | relevance | path

Searched refs:getHalfTy (Results 1 – 25 of 67) sorted by relevance

123

/external/llvm-project/llvm/lib/CodeGen/
DValueTypes.cpp190 case MVT::f16: return Type::getHalfTy(Context); in getTypeForEVT()
305 return FixedVectorType::get(Type::getHalfTy(Context), 2); in getTypeForEVT()
307 return FixedVectorType::get(Type::getHalfTy(Context), 3); in getTypeForEVT()
309 return FixedVectorType::get(Type::getHalfTy(Context), 4); in getTypeForEVT()
311 return FixedVectorType::get(Type::getHalfTy(Context), 8); in getTypeForEVT()
313 return FixedVectorType::get(Type::getHalfTy(Context), 16); in getTypeForEVT()
315 return FixedVectorType::get(Type::getHalfTy(Context), 32); in getTypeForEVT()
317 return FixedVectorType::get(Type::getHalfTy(Context), 64); in getTypeForEVT()
319 return FixedVectorType::get(Type::getHalfTy(Context), 128); in getTypeForEVT()
447 return ScalableVectorType::get(Type::getHalfTy(Context), 1); in getTypeForEVT()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DValueTypes.cpp152 case MVT::f16: return Type::getHalfTy(Context); in getTypeForEVT()
209 case MVT::v2f16: return VectorType::get(Type::getHalfTy(Context), 2); in getTypeForEVT()
210 case MVT::v3f16: return VectorType::get(Type::getHalfTy(Context), 3); in getTypeForEVT()
211 case MVT::v4f16: return VectorType::get(Type::getHalfTy(Context), 4); in getTypeForEVT()
212 case MVT::v8f16: return VectorType::get(Type::getHalfTy(Context), 8); in getTypeForEVT()
213 case MVT::v16f16: return VectorType::get(Type::getHalfTy(Context), 16); in getTypeForEVT()
214 case MVT::v32f16: return VectorType::get(Type::getHalfTy(Context), 32); in getTypeForEVT()
294 return VectorType::get(Type::getHalfTy(Context), 2, /*Scalable=*/ true); in getTypeForEVT()
296 return VectorType::get(Type::getHalfTy(Context), 4, /*Scalable=*/ true); in getTypeForEVT()
298 return VectorType::get(Type::getHalfTy(Context), 8, /*Scalable=*/ true); in getTypeForEVT()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Delemental_ir_emitter.cc68 result = FPCast(result, b()->getHalfTy()); in EmitAtan2()
103 result = FPCast(result, b()->getHalfTy()); in EmitTanh()
/external/llvm/lib/IR/
DValueTypes.cpp216 case MVT::f16: return Type::getHalfTy(Context); in getTypeForEVT()
262 case MVT::v2f16: return VectorType::get(Type::getHalfTy(Context), 2); in getTypeForEVT()
263 case MVT::v4f16: return VectorType::get(Type::getHalfTy(Context), 4); in getTypeForEVT()
264 case MVT::v8f16: return VectorType::get(Type::getHalfTy(Context), 8); in getTypeForEVT()
DType.cpp29 case HalfTyID : return getHalfTy(C); in getPrimitiveType()
156 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy() function in Type
178 return getHalfTy(C)->getPointerTo(AS); in getHalfPtrTy()
/external/llvm-project/llvm/include/llvm/IR/
DType.h399 static Type *getHalfTy(LLVMContext &C);
433 Ty = Type::getHalfTy(C); in getFloatingPointTy()
DDerivedTypes.h480 EltTy = Type::getHalfTy(VTy->getContext()); in getTruncatedElementVectorType()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DNVVMDialect.cpp89 auto f16Ty = LLVM::LLVMType::getHalfTy(context); in verify()
DLLVMTypes.cpp177 LLVMType LLVMType::getHalfTy(MLIRContext *context) { in getHalfTy() function in LLVMType
/external/llvm-project/llvm/lib/IR/
DType.cpp42 case HalfTyID : return getHalfTy(C); in getPrimitiveType()
172 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy() function in Type
195 return getHalfTy(C)->getPointerTo(AS); in getHalfPtrTy()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DType.cpp42 case HalfTyID : return getHalfTy(C); in getPrimitiveType()
167 Type *Type::getHalfTy(LLVMContext &C) { return &C.pImpl->HalfTy; } in getHalfTy() function in Type
189 return getHalfTy(C)->getPointerTo(AS); in getHalfPtrTy()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder.cpp51 mFP16Ty = Type::getHalfTy(pJitMgr->mContext); in Builder()
/external/llvm/include/llvm/IR/
DType.h368 static Type *getHalfTy(LLVMContext &C);
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DType.h379 static Type *getHalfTy(LLVMContext &C);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DType.h410 static Type *getHalfTy(LLVMContext &C);
DDerivedTypes.h494 EltTy = Type::getHalfTy(VTy->getContext()); in getTruncatedElementVectorType()
/external/llvm/unittests/IR/
DConstantsTest.cpp431 for (Type *T : {Type::getHalfTy(Context), Type::getFloatTy(Context), in TEST()
453 for (Type *T : {Type::getHalfTy(Context), Type::getFloatTy(Context), in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Delemental_ir_emitter.cc116 result = FPCast(result, b()->getHalfTy()); in EmitDeviceMathCall()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DTypeTranslation.cpp42 return llvm::Type::getHalfTy(context); in translateType()
/external/llvm-project/mlir/lib/Conversion/GPUToVulkan/
DConvertLaunchFuncToVulkanCalls.cpp326 LLVM::LLVMType::getHalfTy(&getContext())}) { in declareVulkanFunctions()
/external/llvm-project/llvm/unittests/IR/
DConstantsTest.cpp431 for (Type *T : {Type::getHalfTy(Context), Type::getFloatTy(Context), in TEST()
453 for (Type *T : {Type::getHalfTy(Context), Type::getFloatTy(Context), in TEST()
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
DLLVMTypes.h139 static LLVMType getHalfTy(MLIRContext *context);
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInstCombineIntrinsic.cpp93 return Builder.CreateFPCast(&V, Type::getHalfTy(V.getContext())); in convertTo16Bit()
136 Type *CoordType = FloatCoord ? Type::getHalfTy(II.getContext()) in simplifyAMDGCNImageIntrinsic()
/external/llvm-project/llvm/unittests/FuzzMutate/
DOperationsTest.cpp88 Constant *f16 = ConstantFP::getInfinity(Type::getHalfTy(Ctx)); in TEST()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp291 return llvm::Type::getHalfTy(VMContext); in getTypeForFormat()

123