Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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, \
/third_party/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);
/third_party/skia/third_party/externals/swiftshader/third_party/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.h117 bool IsFloat(uint32_t ty_id, uint32_t width);
/third_party/skia/third_party/externals/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.h117 bool IsFloat(uint32_t ty_id, uint32_t width);
Dconvert_to_half_pass.h47 bool IsFloat(Instruction* inst, uint32_t width);
/third_party/vk-gl-cts/external/amber/src/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()
/third_party/node/deps/v8/src/execution/
Dencoded-c-signature.h32 bool IsFloat(int index) const { in IsFloat() function
35 bool IsReturnFloat() const { return IsFloat(kReturnIndex); } in IsReturnFloat()
/third_party/skia/third_party/externals/tint/src/inspector/
Dscalar.h46 bool IsFloat() const;
Dscalar.cc54 bool Scalar::IsFloat() const { in IsFloat() function in tint::inspector::Scalar
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dinstruction_test.cc33 EXPECT_TRUE(ops[0].IsFloat()); in TEST_F()
Doperand_test.cc28 EXPECT_TRUE(o.IsFloat()); in TEST_F()
Doperand.h69 bool IsFloat() const { return kind_ == Kind::kFloat; } in IsFloat() function
Dbinary_writer.cc59 if (op.IsFloat()) { in process_op()
/third_party/vk-gl-cts/external/amber/src/include/amber/
Dvalue.h42 bool IsFloat() const { return type_ == kValueTypeFloat; } in IsFloat() function
/third_party/skia/third_party/externals/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 …]
/third_party/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()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DImageClear.frag10 #if IsFloat

12