Home
last modified time | relevance | path

Searched refs:getFloatTy (Results 1 – 25 of 115) sorted by relevance

12345

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DValueTypes.cpp153 case MVT::f32: return Type::getFloatTy(Context); in getTypeForEVT()
215 case MVT::v1f32: return VectorType::get(Type::getFloatTy(Context), 1); in getTypeForEVT()
216 case MVT::v2f32: return VectorType::get(Type::getFloatTy(Context), 2); in getTypeForEVT()
217 case MVT::v3f32: return VectorType::get(Type::getFloatTy(Context), 3); in getTypeForEVT()
218 case MVT::v4f32: return VectorType::get(Type::getFloatTy(Context), 4); in getTypeForEVT()
219 case MVT::v5f32: return VectorType::get(Type::getFloatTy(Context), 5); in getTypeForEVT()
220 case MVT::v8f32: return VectorType::get(Type::getFloatTy(Context), 8); in getTypeForEVT()
221 case MVT::v16f32: return VectorType::get(Type::getFloatTy(Context), 16); in getTypeForEVT()
222 case MVT::v32f32: return VectorType::get(Type::getFloatTy(Context), 32); in getTypeForEVT()
223 case MVT::v64f32: return VectorType::get(Type::getFloatTy(Context), 64); in getTypeForEVT()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DValueTypes.cpp192 case MVT::f32: return Type::getFloatTy(Context); in getTypeForEVT()
337 return FixedVectorType::get(Type::getFloatTy(Context), 1); in getTypeForEVT()
339 return FixedVectorType::get(Type::getFloatTy(Context), 2); in getTypeForEVT()
341 return FixedVectorType::get(Type::getFloatTy(Context), 3); in getTypeForEVT()
343 return FixedVectorType::get(Type::getFloatTy(Context), 4); in getTypeForEVT()
345 return FixedVectorType::get(Type::getFloatTy(Context), 5); in getTypeForEVT()
347 return FixedVectorType::get(Type::getFloatTy(Context), 8); in getTypeForEVT()
349 return FixedVectorType::get(Type::getFloatTy(Context), 16); in getTypeForEVT()
351 return FixedVectorType::get(Type::getFloatTy(Context), 32); in getTypeForEVT()
353 return FixedVectorType::get(Type::getFloatTy(Context), 64); in getTypeForEVT()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Delemental_ir_emitter.cc44 lhs = FPCast(lhs, b()->getFloatTy()); in EmitAtan2()
45 rhs = FPCast(rhs, b()->getFloatTy()); in EmitAtan2()
80 value = FPCast(value, b()->getFloatTy()); in EmitTanh()
/external/llvm/lib/IR/
DValueTypes.cpp217 case MVT::f32: return Type::getFloatTy(Context); in getTypeForEVT()
265 case MVT::v1f32: return VectorType::get(Type::getFloatTy(Context), 1); in getTypeForEVT()
266 case MVT::v2f32: return VectorType::get(Type::getFloatTy(Context), 2); in getTypeForEVT()
267 case MVT::v4f32: return VectorType::get(Type::getFloatTy(Context), 4); in getTypeForEVT()
268 case MVT::v8f32: return VectorType::get(Type::getFloatTy(Context), 8); in getTypeForEVT()
269 case MVT::v16f32: return VectorType::get(Type::getFloatTy(Context), 16); in getTypeForEVT()
DType.cpp30 case FloatTyID : return getFloatTy(C); in getPrimitiveType()
157 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy() function in Type
182 return getFloatTy(C)->getPointerTo(AS); in getFloatPtrTy()
/external/llvm-project/llvm/unittests/FuzzMutate/
DStrategiesTest.cpp31 Type::getInt64Ty, Type::getFloatTy, Type::getDoubleTy}; in createInjectorMutator()
44 Type::getInt64Ty, Type::getFloatTy, Type::getDoubleTy}; in createDeleterMutator()
/external/llvm-project/llvm/include/llvm/IR/
DType.h401 static Type *getFloatTy(LLVMContext &C);
423 return Type::getFloatTy(C); in getScalarTy()
437 Ty = Type::getFloatTy(C); in getFloatingPointTy()
/external/llvm-project/llvm/unittests/Analysis/
DValueLatticeTest.cpp37 auto FloatTy = Type::getFloatTy(Context); in TEST_F()
148 auto *FloatTy = IntegerType::getFloatTy(Context); in TEST_F()
186 auto *FloatTy = IntegerType::getFloatTy(Context); in TEST_F()
/external/llvm/unittests/IR/
DPatternMatch.cpp69 Type *FltTy = IRB.getFloatTy(); in TEST_F()
108 Type *FltTy = IRB.getFloatTy(); in TEST_F()
147 Type *FltTy = IRB.getFloatTy(); in TEST_F()
186 Type *FltTy = IRB.getFloatTy(); in TEST_F()
DTypeBuilderTest.cpp72 EXPECT_EQ(Type::getFloatTy(Context), in TEST()
77 EXPECT_EQ(Type::getFloatTy(Context), in TEST()
79 EXPECT_EQ(Type::getFloatTy(Context), in TEST()
DConstantsTest.cpp199 Type *FloatTy = Type::getFloatTy(Context); in TEST()
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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUUnifyDivergentExitNodes.cpp153 Value *Undef = UndefValue::get(B.getFloatTy()); in unifyReturnBlockSet()
154 B.CreateIntrinsic(Intrinsic::amdgcn_exp, { B.getFloatTy() }, in unifyReturnBlockSet()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUUnifyDivergentExitNodes.cpp154 Value *Undef = UndefValue::get(B.getFloatTy()); in unifyReturnBlockSet()
155 B.CreateIntrinsic(Intrinsic::amdgcn_exp, { B.getFloatTy() }, in unifyReturnBlockSet()
/external/swiftshader/third_party/subzero/src/
DIceTypeConverter.cpp28 llvm::Type *Type_f32 = llvm::Type::getFloatTy(Context); in TypeConverter()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DType.h411 static Type *getFloatTy(LLVMContext &C);
433 return Type::getFloatTy(C); in getScalarTy()
/external/llvm-project/llvm/unittests/IR/
DConstantsTest.cpp199 Type *FloatTy = Type::getFloatTy(Context); in TEST()
431 for (Type *T : {Type::getHalfTy(Context), Type::getFloatTy(Context), in TEST()
453 for (Type *T : {Type::getHalfTy(Context), Type::getFloatTy(Context), in TEST()
611 Type *FltTy = Type::getFloatTy(Context); in TEST()
644 Type *FloatTy = Type::getFloatTy(Context); in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Delemental_ir_emitter.cc96 FPCast(converted_operands[i], b()->getFloatTy()); in EmitDeviceMathCall()
282 llvm::Type* type = prim_type == F16 ? b()->getFloatTy() : value->getType(); in EmitTanh()
/external/llvm-project/llvm/tools/llvm-isel-fuzzer/
Dllvm-isel-fuzzer.cpp58 Type::getInt64Ty, Type::getFloatTy, Type::getDoubleTy}; in createISelMutator()
/external/llvm-project/mlir/lib/Conversion/GPUCommon/
DOpToFuncCallLowering.h88 operand.getLoc(), LLVM::LLVMType::getFloatTy(rewriter.getContext()), in maybeCast()
/external/llvm-project/mlir/lib/Conversion/GPUToVulkan/
DConvertLaunchFuncToVulkanCalls.cpp60 llvmFloatType = LLVM::LLVMType::getFloatTy(&getContext()); in initializeCachedTypes()
322 for (LLVM::LLVMType type : {LLVM::LLVMType::getFloatTy(&getContext()), in declareVulkanFunctions()
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DNVVMDialect.cpp91 auto f32Ty = LLVM::LLVMType::getFloatTy(context); in verify()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/tests/
Dcpu_noalias_test.cc88 llvm::ArrayType::get(llvm::Type::getFloatTy(context), 100), 100); in TEST_F()
/external/llvm-project/llvm/lib/IR/
DType.cpp44 case FloatTyID : return getFloatTy(C); in getPrimitiveType()
174 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy() function in Type
203 return getFloatTy(C)->getPointerTo(AS); in getFloatPtrTy()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DType.cpp43 case FloatTyID : return getFloatTy(C); in getPrimitiveType()
168 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy() function in Type
193 return getFloatTy(C)->getPointerTo(AS); in getFloatPtrTy()
/external/llvm/include/llvm/IR/
DTypeBuilder.h199 return Type::getFloatTy(C); in get()
214 static Type *get(LLVMContext& C) { return Type::getFloatTy(C); } in get()

12345