Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Delemental_ir_emitter.cc42 ir_builder_->getFloatTy()); in EmitFloatUnaryOp()
80 lhs = ir_builder_->CreateFPCast(lhs, ir_builder_->getFloatTy()); in EmitAtan2()
81 rhs = ir_builder_->CreateFPCast(rhs, ir_builder_->getFloatTy()); in EmitAtan2()
/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()
DMDBuilder.cpp33 createConstant(ConstantFP::get(Type::getFloatTy(Context), Accuracy)); in createFPMath()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DValueTypes.cpp161 case MVT::f32: return Type::getFloatTy(Context); in getTypeForEVT()
183 case MVT::v2f32: return VectorType::get(Type::getFloatTy(Context), 2); in getTypeForEVT()
184 case MVT::v4f32: return VectorType::get(Type::getFloatTy(Context), 4); in getTypeForEVT()
185 case MVT::v8f32: return VectorType::get(Type::getFloatTy(Context), 8); in getTypeForEVT()
DType.cpp28 case FloatTyID : return getFloatTy(C); in getPrimitiveType()
202 Type *Type::getFloatTy(LLVMContext &C) { return &C.pImpl->FloatTy; } in getFloatTy() function in Type
221 return getFloatTy(C)->getPointerTo(AS); in getFloatPtrTy()
/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()
DIRBuilderTest.cpp35 GV = new GlobalVariable(*M, Type::getFloatTy(Ctx), true, in SetUp()
212 auto CalleeTy = FunctionType::get(Type::getFloatTy(Ctx), in TEST_F()
/external/swiftshader/third_party/LLVM/unittests/Support/
DTypeBuilderTest.cpp59 …EXPECT_EQ(Type::getFloatTy(getGlobalContext()), (TypeBuilder<float, false>::get(getGlobalContext()… in TEST()
62 …EXPECT_EQ(Type::getFloatTy(getGlobalContext()), (TypeBuilder<types::ieee_float, true>::get(getGlob… in TEST()
63 …EXPECT_EQ(Type::getFloatTy(getGlobalContext()), (TypeBuilder<types::ieee_float, false>::get(getGlo… in TEST()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder.cpp49 mFP32Ty = Type::getFloatTy(pJitMgr->mContext); in Builder()
DJitManager.cpp132 mFP32Ty = Type::getFloatTy(mContext); // float type in JitManager()
/external/swiftshader/third_party/subzero/src/
DIceTypeConverter.cpp28 llvm::Type *Type_f32 = llvm::Type::getFloatTy(Context); in TypeConverter()
/external/swiftshader/third_party/LLVM/include/llvm/
DIntrinsics.gen6457 ArgTys.push_back(VectorType::get(Type::getFloatTy(Context), 4));
6462 ArgTys.push_back(VectorType::get(Type::getFloatTy(Context), 4));
6463 ArgTys.push_back(VectorType::get(Type::getFloatTy(Context), 4));
6491 ArgTys.push_back(VectorType::get(Type::getFloatTy(Context), 8));
6496 ArgTys.push_back(VectorType::get(Type::getFloatTy(Context), 8));
6497 ArgTys.push_back(VectorType::get(Type::getFloatTy(Context), 8));
6674 ResultTy = Type::getFloatTy(Context);
6679 ArgTys.push_back(Type::getFloatTy(Context));
6778 ArgTys.push_back(VectorType::get(Type::getFloatTy(Context), 4));
6782 ArgTys.push_back(VectorType::get(Type::getFloatTy(Context), 4));
[all …]
DType.h309 static Type *getFloatTy(LLVMContext &C);
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DTypeBuilder.h191 return Type::getFloatTy(C); in get()
206 static Type *get(LLVMContext& C) { return Type::getFloatTy(C); } in get()
/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()
DType.h369 static Type *getFloatTy(LLVMContext &C);
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dllvm_util.cc174 return llvm::Type::getFloatTy(module->getContext()); in PrimitiveTypeToIrType()
188 {llvm::Type::getFloatTy(module->getContext()), in PrimitiveTypeToIrType()
189 llvm::Type::getFloatTy(module->getContext())}, in PrimitiveTypeToIrType()
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
DCBackend.cpp653 if (CFP->getType() != Type::getFloatTy(CFP->getContext()) && in isFPCSafeToPrint()
657 if (CFP->getType() == Type::getFloatTy(CFP->getContext())) in isFPCSafeToPrint()
952 Out << "(*(" << (FPC->getType() == Type::getFloatTy(CPV->getContext()) ? in printConstant()
960 if (FPC->getType() == Type::getFloatTy(CPV->getContext())) in printConstant()
992 if (FPC->getType() == Type::getFloatTy(FPC->getContext())) in printConstant()
1002 (FPC->getType() == Type::getFloatTy(FPC->getContext()) ? "F" : "") in printConstant()
1998 } else if (FPC->getType() == Type::getFloatTy(FPC->getContext())) { in printFloatingPointConstants()
2515 || (I.getType() == Type::getFloatTy(I.getContext()))) { in visitBinaryOperator()
2534 if (I.getType() == Type::getFloatTy(I.getContext())) in visitBinaryOperator()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DIntrinsicLowering.cpp45 Type::getFloatTy(M.getContext())); in EnsureFPIntrinsicsExist()
325 Type::getFloatTy(CI->getContext())); in ReplaceFPIntrinsicWithCall()
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp45 Type::getFloatTy(M.getContext())); in EnsureFPIntrinsicsExist()
325 Type::getFloatTy(CI->getContext())); in ReplaceFPIntrinsicWithCall()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DType.h380 static Type *getFloatTy(LLVMContext &C);
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc182 return ir_builder->CreateBitCast(shifted, ir_builder->getFloatTy()); in EmitBF16ToF32()
879 return llvm::ConstantFP::get(ir_builder_->getFloatTy(), f); in EmitErfInv()
905 module_, llvm::Intrinsic::log, {ir_builder_->getFloatTy()}); in EmitErfInv()
913 ir_builder_->getFloatTy(), "p.addr", ir_builder_); in EmitErfInv()
934 module_, llvm::Intrinsic::sqrt, {ir_builder_->getFloatTy()}); in EmitErfInv()

123