/external/llvm-project/llvm/lib/CodeGen/ |
D | ValueTypes.cpp | 190 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/ |
D | ValueTypes.cpp | 152 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/ |
D | elemental_ir_emitter.cc | 68 result = FPCast(result, b()->getHalfTy()); in EmitAtan2() 103 result = FPCast(result, b()->getHalfTy()); in EmitTanh()
|
/external/llvm/lib/IR/ |
D | ValueTypes.cpp | 216 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()
|
D | Type.cpp | 29 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/ |
D | Type.h | 399 static Type *getHalfTy(LLVMContext &C); 433 Ty = Type::getHalfTy(C); in getFloatingPointTy()
|
D | DerivedTypes.h | 480 EltTy = Type::getHalfTy(VTy->getContext()); in getTruncatedElementVectorType()
|
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/ |
D | NVVMDialect.cpp | 89 auto f16Ty = LLVM::LLVMType::getHalfTy(context); in verify()
|
D | LLVMTypes.cpp | 177 LLVMType LLVMType::getHalfTy(MLIRContext *context) { in getHalfTy() function in LLVMType
|
/external/llvm-project/llvm/lib/IR/ |
D | Type.cpp | 42 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/ |
D | Type.cpp | 42 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/ |
D | builder.cpp | 51 mFP16Ty = Type::getHalfTy(pJitMgr->mContext); in Builder()
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 368 static Type *getHalfTy(LLVMContext &C);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Type.h | 379 static Type *getHalfTy(LLVMContext &C);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Type.h | 410 static Type *getHalfTy(LLVMContext &C);
|
D | DerivedTypes.h | 494 EltTy = Type::getHalfTy(VTy->getContext()); in getTruncatedElementVectorType()
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 431 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/ |
D | elemental_ir_emitter.cc | 116 result = FPCast(result, b()->getHalfTy()); in EmitDeviceMathCall()
|
/external/llvm-project/mlir/lib/Target/LLVMIR/ |
D | TypeTranslation.cpp | 42 return llvm::Type::getHalfTy(context); in translateType()
|
/external/llvm-project/mlir/lib/Conversion/GPUToVulkan/ |
D | ConvertLaunchFuncToVulkanCalls.cpp | 326 LLVM::LLVMType::getHalfTy(&getContext())}) { in declareVulkanFunctions()
|
/external/llvm-project/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 431 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/ |
D | LLVMTypes.h | 139 static LLVMType getHalfTy(MLIRContext *context);
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstCombineIntrinsic.cpp | 93 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/ |
D | OperationsTest.cpp | 88 Constant *f16 = ConstantFP::getInfinity(Type::getHalfTy(Ctx)); in TEST()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 291 return llvm::Type::getHalfTy(VMContext); in getTypeForFormat()
|