Home
last modified time | relevance | path

Searched refs:AsNullConstant (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconstants.cpp32 assert(AsNullConstant() && "Must be a floating point constant."); in GetFloat()
43 assert(AsNullConstant() && "Must be a floating point constant."); in GetDouble()
65 assert(AsNullConstant() && "Must be an integer constant."); in GetU32()
77 assert(AsNullConstant() && "Must be an integer constant."); in GetU64()
89 assert(AsNullConstant() && "Must be an integer constant."); in GetS32()
101 assert(AsNullConstant() && "Must be an integer constant."); in GetS64()
288 if (c->AsNullConstant()) { in CreateInstruction()
Dconstants.h76 virtual NullConstant* AsNullConstant() { return nullptr; } in AsNullConstant() function
89 virtual const NullConstant* AsNullConstant() const { return nullptr; } in AsNullConstant() function
425 NullConstant* AsNullConstant() override { return this; } in AsNullConstant() function
426 const NullConstant* AsNullConstant() const override { return this; } in AsNullConstant() function
458 } else if (const_val->AsNullConstant()) { in operator()
484 } else if (c1->AsNullConstant()) { in operator()
485 return c2->AsNullConstant() != nullptr; in operator()
Dccp_pass.cpp199 assert(c->AsBoolConstant() || c->AsNullConstant()); in VisitBranch()
200 if (c->AsNullConstant()) { in VisitBranch()
236 assert(c->AsNullConstant()); in VisitBranch()
Dfold.cpp268 } else if (operand->AsNullConstant()) { in FoldScalars()
550 } else if (operand->AsNullConstant()) { in FoldVectors()
557 } else if (operand->AsNullConstant()) { in FoldVectors()
618 return cst->AsNullConstant() != nullptr; in IsFoldableConstant()
Dfold_spec_constant_op_and_composite_pass.cpp193 } else if (current_const->AsNullConstant()) { in DoCompositeExtract()
246 } else if (operand_const->AsNullConstant()) { in DoVectorShuffle()
Dconst_folding_rules.cpp48 if (c->AsNullConstant()) { in FoldExtractWithConstants()
82 assert(c1->AsNullConstant()); in FoldVectorShuffleWithConstants()
91 assert(c2->AsNullConstant()); in FoldVectorShuffleWithConstants()
549 if (constants[i]->AsNullConstant() || in FoldOpDotWithConstants()
Dfolding_rules.cpp141 if (c->AsNullConstant()) { in NegateVectorConstant()
395 if (c->AsNullConstant()) { in HasZero()
529 assert(input1->AsNullConstant()); in PerformOperation()
538 assert(input2->AsNullConstant()); in PerformOperation()
1662 if (constants[0]->AsNullConstant() || in RedundantSelect()
1671 if (constants[0]->AsNullConstant()) { in RedundantSelect()
1688 if (component->AsNullConstant() || in RedundantSelect()
1720 if (constant->AsNullConstant()) { in getFloatConstantKind()
Dcopy_prop_arrays.cpp310 (!last_access->AsIntConstant() && !last_access->AsNullConstant())) { in BuildMemoryObjectFromCompositeConstruct()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dconstants.cpp32 assert(AsNullConstant() && "Must be a floating point constant."); in GetFloat()
43 assert(AsNullConstant() && "Must be a floating point constant."); in GetDouble()
65 assert(AsNullConstant() && "Must be an integer constant."); in GetU32()
77 assert(AsNullConstant() && "Must be an integer constant."); in GetU64()
89 assert(AsNullConstant() && "Must be an integer constant."); in GetS32()
101 assert(AsNullConstant() && "Must be an integer constant."); in GetS64()
288 if (c->AsNullConstant()) { in CreateInstruction()
Dconstants.h76 virtual NullConstant* AsNullConstant() { return nullptr; } in AsNullConstant() function
89 virtual const NullConstant* AsNullConstant() const { return nullptr; } in AsNullConstant() function
425 NullConstant* AsNullConstant() override { return this; } in AsNullConstant() function
426 const NullConstant* AsNullConstant() const override { return this; } in AsNullConstant() function
458 } else if (const_val->AsNullConstant()) { in operator()
484 } else if (c1->AsNullConstant()) { in operator()
485 return c2->AsNullConstant() != nullptr; in operator()
Dccp_pass.cpp199 assert(c->AsBoolConstant() || c->AsNullConstant()); in VisitBranch()
200 if (c->AsNullConstant()) { in VisitBranch()
236 assert(c->AsNullConstant()); in VisitBranch()
Dfold.cpp250 } else if (operand->AsNullConstant()) { in FoldScalars()
531 } else if (operand->AsNullConstant()) { in FoldVectors()
538 } else if (operand->AsNullConstant()) { in FoldVectors()
599 return cst->AsNullConstant() != nullptr; in IsFoldableConstant()
Dfold_spec_constant_op_and_composite_pass.cpp193 } else if (current_const->AsNullConstant()) { in DoCompositeExtract()
246 } else if (operand_const->AsNullConstant()) { in DoVectorShuffle()
Dconst_folding_rules.cpp48 if (c->AsNullConstant()) { in FoldExtractWithConstants()
82 assert(c1->AsNullConstant()); in FoldVectorShuffleWithConstants()
91 assert(c2->AsNullConstant()); in FoldVectorShuffleWithConstants()
549 if (constants[i]->AsNullConstant() || in FoldOpDotWithConstants()
Dfolding_rules.cpp141 if (c->AsNullConstant()) { in NegateVectorConstant()
395 if (c->AsNullConstant()) { in HasZero()
529 assert(input1->AsNullConstant()); in PerformOperation()
538 assert(input2->AsNullConstant()); in PerformOperation()
1662 if (constants[0]->AsNullConstant() || in RedundantSelect()
1671 if (constants[0]->AsNullConstant()) { in RedundantSelect()
1688 if (component->AsNullConstant() || in RedundantSelect()
1720 if (constant->AsNullConstant()) { in getFloatConstantKind()
Dcopy_prop_arrays.cpp310 (!last_access->AsIntConstant() && !last_access->AsNullConstant())) { in BuildMemoryObjectFromCompositeConstruct()