Home
last modified time | relevance | path

Searched refs:IsFloat (Results 1 – 25 of 77) sorted by relevance

1234

/external/swiftshader/third_party/subzero/src/
DIceTypes.cpp45 #define X(tag, IsVec, IsInt, IsFloat, IsIntArith, IsLoadStore, IsParam, \ argument
60 #define X(tag, IsVec, IsInt, IsFloat, IsIntArith, IsLoadStore, IsParam, \ argument
80 #define X(tag, IsVec, IsInt, IsFloat, IsIntArith, IsLoadStore, IsParam, \ argument
87 #define X(tag, IsVec, IsInt, IsFloat, IsIntArith, IsLoadStore, IsParam, \ argument
125 #define X(tag, IsVec, IsInt, IsFloat, IsIntArith, IsBoolean, IsParam, \ argument
128 IsIntArith, IsFloat, IsFloat & !IsVec, IsFloat & IsVec, \
/external/deqp-deps/SPIRV-Tools/source/opt/
Dconvert_to_half_pass.cpp39 bool ConvertToHalfPass::IsFloat(Instruction* inst, uint32_t width) { in IsFloat() function in spvtools::opt::ConvertToHalfPass
42 return Pass::IsFloat(ty_id, width); in IsFloat()
167 if (!IsFloat(op_inst, 32)) return; in GenHalfArith()
171 if (IsFloat(inst, 32)) { in GenHalfArith()
194 if (IsFloat(val_inst, from_width)) { in ProcessPhi()
220 if (IsFloat(inst, 32) && IsRelaxed(inst->result_id())) { in ProcessConvert()
286 if (!IsFloat(inst, 32)) return false; in CloseRelaxInst()
296 if (!IsFloat(op_inst, 32)) return; in CloseRelaxInst()
306 if (uinst->result_id() == 0 || !IsFloat(uinst, 32) || in CloseRelaxInst()
Dpass.cpp70 bool Pass::IsFloat(uint32_t ty_id, uint32_t width) { in IsFloat() function in spvtools::opt::Pass
77 if (IsFloat(type_id, 16)) context()->AddCapability(SpvCapabilityFloat16); in GetNullId()
Dpass.h124 bool IsFloat(uint32_t ty_id, uint32_t width);
Dconvert_to_half_pass.h47 bool IsFloat(Instruction* inst, uint32_t width);
/external/deqp-deps/amber/src/
Dtype_test.cc254 TEST_F(TypeTest, IsFloat) { in TEST_F() argument
255 EXPECT_FALSE(Type::IsFloat(FormatMode::kSInt)); in TEST_F()
256 EXPECT_FALSE(Type::IsFloat(FormatMode::kSNorm)); in TEST_F()
257 EXPECT_FALSE(Type::IsFloat(FormatMode::kSScaled)); in TEST_F()
258 EXPECT_FALSE(Type::IsFloat(FormatMode::kSRGB)); in TEST_F()
259 EXPECT_FALSE(Type::IsFloat(FormatMode::kUNorm)); in TEST_F()
260 EXPECT_FALSE(Type::IsFloat(FormatMode::kUInt)); in TEST_F()
261 EXPECT_FALSE(Type::IsFloat(FormatMode::kUScaled)); in TEST_F()
262 EXPECT_TRUE(Type::IsFloat(FormatMode::kSFloat)); in TEST_F()
263 EXPECT_TRUE(Type::IsFloat(FormatMode::kUFloat)); in TEST_F()
Dtype.h52 static bool IsFloat(FormatMode mode) { in IsFloat() function
83 return IsFloat(mode) && num_bits == 16; in IsFloat16()
86 return IsFloat(mode) && num_bits == 32; in IsFloat32()
89 return IsFloat(mode) && num_bits == 64; in IsFloat64()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconvert_to_half_pass.cpp36 bool ConvertToHalfPass::IsFloat(Instruction* inst, uint32_t width) { in IsFloat() function in spvtools::opt::ConvertToHalfPass
39 return Pass::IsFloat(ty_id, width); in IsFloat()
167 if (!IsFloat(op_inst, 32)) return; in GenHalfArith()
171 if (IsFloat(inst, 32)) { in GenHalfArith()
194 if (IsFloat(val_inst, from_width)) { in ProcessPhi()
220 if (IsFloat(inst, 32) && IsRelaxed(inst->result_id())) { in ProcessConvert()
287 if (!IsFloat(inst, 32)) return false; in CloseRelaxInst()
297 if (!IsFloat(op_inst, 32)) return; in CloseRelaxInst()
307 if (uinst->result_id() == 0 || !IsFloat(uinst, 32) || in CloseRelaxInst()
Dpass.cpp67 bool Pass::IsFloat(uint32_t ty_id, uint32_t width) { in IsFloat() function in spvtools::opt::Pass
74 if (IsFloat(type_id, 16)) context()->AddCapability(spv::Capability::Float16); in GetNullId()
Dpass.h124 bool IsFloat(uint32_t ty_id, uint32_t width);
Dconvert_to_half_pass.h47 bool IsFloat(Instruction* inst, uint32_t width);
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dconvert_to_half_pass.cpp36 bool ConvertToHalfPass::IsFloat(Instruction* inst, uint32_t width) { in IsFloat() function in spvtools::opt::ConvertToHalfPass
39 return Pass::IsFloat(ty_id, width); in IsFloat()
178 if (!IsFloat(op_inst, 32)) return; in GenHalfArith()
182 if (IsFloat(inst, 32)) { in GenHalfArith()
205 if (IsFloat(val_inst, from_width)) { in ProcessPhi()
231 if (IsFloat(inst, 32) && IsRelaxed(inst->result_id())) { in ProcessConvert()
298 if (!IsFloat(inst, 32)) return false; in CloseRelaxInst()
309 if (!IsFloat(op_inst, 32)) return; in CloseRelaxInst()
319 if (uinst->result_id() == 0 || !IsFloat(uinst, 32) || in CloseRelaxInst()
Dpass.cpp67 bool Pass::IsFloat(uint32_t ty_id, uint32_t width) { in IsFloat() function in spvtools::opt::Pass
74 if (IsFloat(type_id, 16)) context()->AddCapability(spv::Capability::Float16); in GetNullId()
Dpass.h124 bool IsFloat(uint32_t ty_id, uint32_t width);
Dconvert_to_half_pass.h47 bool IsFloat(Instruction* inst, uint32_t width);
/external/pdfium/third_party/lcms/src/
Dcmsintrp.c1183 cmsBool IsFloat = (dwFlags & CMS_LERP_FLAGS_FLOAT); in DefaultInterpolatorsFactory() local
1198 if (IsFloat) in DefaultInterpolatorsFactory()
1206 if (IsFloat) in DefaultInterpolatorsFactory()
1214 if (IsFloat) in DefaultInterpolatorsFactory()
1224 if (IsFloat) in DefaultInterpolatorsFactory()
1231 if (IsFloat) in DefaultInterpolatorsFactory()
1242 if (IsFloat) in DefaultInterpolatorsFactory()
1249 if (IsFloat) in DefaultInterpolatorsFactory()
1256 if (IsFloat) in DefaultInterpolatorsFactory()
1263 if (IsFloat) in DefaultInterpolatorsFactory()
[all …]
/external/armnn/include/armnn/
DBackendOptions.hpp115 bool IsFloat() const { return m_Type == VarTypes::Float; } in IsFloat() function in armnn::BackendOptions::Var
122 float AsFloat() const { assert(IsFloat()); return m_Vals.f; } in AsFloat()
129 else if (IsFloat()) { return std::to_string(AsFloat()); } in ToString()
161 else if (other.IsFloat()) in DoOp()
/external/deqp-deps/amber/include/amber/
Dvalue.h42 bool IsFloat() const { return type_ == kValueTypeFloat; } in IsFloat() function
/external/autotest/server/cros/
Dcfm_jmidata_v3_helper.py229 self.IsFloat(global_obj[cpu_type])):
253 def IsFloat(self, value): member in JMIDataV3Helper
/external/angle/src/libANGLE/renderer/vulkan/shaders/src/
DImageClear.frag10 #if IsFloat
/external/vixl/src/aarch32/
Doperands-aarch32.h297 bool IsFloat() const { return immediate_type_.Is(F32); } in IsFloat() function
328 return IsFloat() || IsDouble(); in CanConvert()
331 return IsFloat() || IsDouble(); in CanConvert()
522 if (neon_imm.IsFloat()) { in ImmediateVFP()
Doperands-aarch32.cc84 if (neon_imm.IsFloat()) { in operator <<()
280 if (neon_imm.IsFloat() || neon_imm.IsDouble()) { in ImmediateVmov()
/external/libtextclassifier/native/utils/grammar/semantics/evaluators/
Dparse-number-eval.h68 } else if (flatbuffers::IsFloat(type)) { in Apply()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAutoUpgrade.cpp1058 bool IsFloat = Ty->isFPOrFPVectorTy(); in UpgradeX86VPERMT2Intrinsics() local
1060 if (VecWidth == 128 && EltWidth == 32 && IsFloat) in UpgradeX86VPERMT2Intrinsics()
1062 else if (VecWidth == 128 && EltWidth == 32 && !IsFloat) in UpgradeX86VPERMT2Intrinsics()
1064 else if (VecWidth == 128 && EltWidth == 64 && IsFloat) in UpgradeX86VPERMT2Intrinsics()
1066 else if (VecWidth == 128 && EltWidth == 64 && !IsFloat) in UpgradeX86VPERMT2Intrinsics()
1068 else if (VecWidth == 256 && EltWidth == 32 && IsFloat) in UpgradeX86VPERMT2Intrinsics()
1070 else if (VecWidth == 256 && EltWidth == 32 && !IsFloat) in UpgradeX86VPERMT2Intrinsics()
1072 else if (VecWidth == 256 && EltWidth == 64 && IsFloat) in UpgradeX86VPERMT2Intrinsics()
1074 else if (VecWidth == 256 && EltWidth == 64 && !IsFloat) in UpgradeX86VPERMT2Intrinsics()
1076 else if (VecWidth == 512 && EltWidth == 32 && IsFloat) in UpgradeX86VPERMT2Intrinsics()
[all …]
/external/webrtc/modules/audio_device/win/
Dcore_audio_utility_win_unittest.cc103 EXPECT_FALSE(wave_format.IsFloat()); in TEST_F()
105 EXPECT_TRUE(wave_format.IsFloat()); in TEST_F()
139 EXPECT_FALSE(wave_format_ex.IsFloat()); in TEST_F()
141 EXPECT_TRUE(wave_format_ex.IsFloat()); in TEST_F()

1234