Home
last modified time | relevance | path

Searched refs:bool_type (Results 1 – 25 of 70) sorted by relevance

123

/external/mesa3d/src/compiler/glsl/
Dir_expression_operation.py88 bool_type = type("bool", "b", "GLSL_TYPE_BOOL") variable
90 all_types = (uint_type, int_type, float_type, double_type, uint64_type, int64_type, bool_type)
419 operation("logic_not", 1, printable_name="!", source_types=(bool_type,), c_expression="!{src0}"),
438 …operation("f2b", 1, source_types=(float_type,), dest_type=bool_type, c_expression="{src0} != 0.0F …
440 …operation("b2f", 1, source_types=(bool_type,), dest_type=float_type, c_expression="{src0} ? 1.0F :…
442 …operation("b2f16", 1, source_types=(bool_type,), dest_type=float_type, c_expression="{src0} ? 1.0F…
444 …operation("i2b", 1, source_types=(uint_type, int_type), dest_type=bool_type, c_expression="{src0} …
446 … operation("b2i", 1, source_types=(bool_type,), dest_type=int_type, c_expression="{src0} ? 1 : 0"),
478 …operation("d2b", 1, source_types=(double_type,), dest_type=bool_type, c_expression="{src0} != 0.0"…
480 …operation("f162b", 1, source_types=(float_type,), dest_type=bool_type, c_expression="{src0} != 0.0…
[all …]
Dlower_if_to_cond_assign.cpp200 glsl_type::bool_type, in move_block_to_cond_assign()
209 glsl_type::bool_type, in move_block_to_cond_assign()
282 new(mem_ctx) ir_variable(glsl_type::bool_type, in visit_leave()
309 new(mem_ctx) ir_variable(glsl_type::bool_type, in visit_leave()
Dloop_analysis.cpp134 ? new(mem_ctx) ir_expression(op, glsl_type::bool_type, to, first_value) in calculate_iterations()
135 : new(mem_ctx) ir_expression(op, glsl_type::bool_type, first_value, to); in calculate_iterations()
194 ? new(mem_ctx) ir_expression(op, glsl_type::bool_type, to, add) in calculate_iterations()
195 : new(mem_ctx) ir_expression(op, glsl_type::bool_type, add, to); in calculate_iterations()
/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dcommon.inl41 GLM_FUNC_QUALIFIER typename tvec1<T, P>::bool_type isdenormal
48 return typename tvec1<T, P>::bool_type(
53 GLM_FUNC_QUALIFIER typename tvec2<T, P>::bool_type isdenormal
60 return typename tvec2<T, P>::bool_type(
66 GLM_FUNC_QUALIFIER typename tvec3<T, P>::bool_type isdenormal
73 return typename tvec3<T, P>::bool_type(
80 GLM_FUNC_QUALIFIER typename tvec4<T, P>::bool_type isdenormal
87 return typename tvec4<T, P>::bool_type(
Dcommon.hpp40 GLM_FUNC_DECL typename genType::bool_type isdenormal(genType const & x);
/external/llvm-project/libclc/generic/lib/
Dgen_convert.py43 bool_type = {'char' : 'char', variable
244 bool_prefix = "as_{DST}{N}(convert_{BOOL}{N}".format(DST=dst, BOOL=bool_type[dst], N=size);
247 bool_prefix = "convert_{BOOL}{N}".format(BOOL=bool_type[dst], N=size);
367 .format(DST=dst, N=size, BOOL=bool_type[dst]))
370 .format(DST=dst, N=size, BOOL=bool_type[dst]))
373 .format(DST=dst, N=size, BOOL=bool_type[dst]))
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_add_type_boolean.cpp38 opt::analysis::Bool bool_type; in IsApplicable() local
39 return ir_context->get_type_mgr()->GetId(&bool_type) == 0; in IsApplicable()
Dtransformation_replace_boolean_constant_with_constant_binary.cpp266 opt::analysis::Bool bool_type; in ApplyWithResult() local
272 ir_context->get_type_mgr()->GetId(&bool_type), in ApplyWithResult()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_type_boolean.cpp38 opt::analysis::Bool bool_type; in IsApplicable() local
39 return ir_context->get_type_mgr()->GetId(&bool_type) == 0; in IsApplicable()
Dtransformation_replace_boolean_constant_with_constant_binary.cpp266 opt::analysis::Bool bool_type; in ApplyWithResult() local
272 ir_context->get_type_mgr()->GetId(&bool_type), in ApplyWithResult()
Dtransformation_add_function.cpp470 opt::analysis::Bool bool_type; in TryToAddLoopLimiters() local
471 uint32_t bool_type_id = ir_context->get_type_mgr()->GetId(&bool_type); in TryToAddLoopLimiters()
847 opt::analysis::Bool bool_type; in TryToClampAccessChainIndices() local
848 uint32_t bool_type_id = ir_context->get_type_mgr()->GetId(&bool_type); in TryToClampAccessChainIndices()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_add_type_boolean.cpp38 opt::analysis::Bool bool_type; in IsApplicable() local
39 return ir_context->get_type_mgr()->GetId(&bool_type) == 0; in IsApplicable()
Dtransformation_replace_boolean_constant_with_constant_binary.cpp266 opt::analysis::Bool bool_type; in ApplyWithResult() local
272 ir_context->get_type_mgr()->GetId(&bool_type), in ApplyWithResult()
/external/oboe/samples/RhythmGame/third_party/glm/detail/
Dtype_gentype.hpp33 typedef TYPE<bool> bool_type; typedef
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dmerge_return_pass.cpp500 analysis::Bool bool_type; in BreakFromConstruct() local
501 uint32_t bool_id = context()->get_type_mgr()->GetId(&bool_type); in BreakFromConstruct()
539 const analysis::Bool* bool_type = in RecordReturned() local
544 const_mgr->GetConstant(bool_type, {true}); in RecordReturned()
617 analysis::Bool* bool_type = type_mgr->GetType(bool_id)->AsBool(); in AddReturnFlag() local
620 const_mgr->GetConstant(bool_type, {false}); in AddReturnFlag()
Dtype_manager.h191 Bool bool_type; in GetBoolType() local
192 return GetRegisteredType(&bool_type); in GetBoolType()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dmerge_return_pass.cpp500 analysis::Bool bool_type; in BreakFromConstruct() local
501 uint32_t bool_id = context()->get_type_mgr()->GetId(&bool_type); in BreakFromConstruct()
539 const analysis::Bool* bool_type = in RecordReturned() local
544 const_mgr->GetConstant(bool_type, {true}); in RecordReturned()
617 analysis::Bool* bool_type = type_mgr->GetType(bool_id)->AsBool(); in AddReturnFlag() local
620 const_mgr->GetConstant(bool_type, {false}); in AddReturnFlag()
Dtype_manager.h191 Bool bool_type; in GetBoolType() local
192 return GetRegisteredType(&bool_type); in GetBoolType()
Dir_builder.h307 analysis::Bool bool_type; in AddULessThan() local
308 uint32_t type = GetContext()->get_type_mgr()->GetId(&bool_type); in AddULessThan()
321 analysis::Bool bool_type; in AddSLessThan() local
322 uint32_t type = GetContext()->get_type_mgr()->GetId(&bool_type); in AddSLessThan()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dmerge_return_pass.cpp500 analysis::Bool bool_type; in BreakFromConstruct() local
501 uint32_t bool_id = context()->get_type_mgr()->GetId(&bool_type); in BreakFromConstruct()
539 const analysis::Bool* bool_type = in RecordReturned() local
544 const_mgr->GetConstant(bool_type, {true}); in RecordReturned()
617 analysis::Bool* bool_type = type_mgr->GetType(bool_id)->AsBool(); in AddReturnFlag() local
620 const_mgr->GetConstant(bool_type, {false}); in AddReturnFlag()
Dtype_manager.h191 Bool bool_type; in GetBoolType() local
192 return GetRegisteredType(&bool_type); in GetBoolType()
Dir_builder.h307 analysis::Bool bool_type; in AddULessThan() local
308 uint32_t type = GetContext()->get_type_mgr()->GetId(&bool_type); in AddULessThan()
321 analysis::Bool bool_type; in AddSLessThan() local
322 uint32_t type = GetContext()->get_type_mgr()->GetId(&bool_type); in AddSLessThan()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp198 const opt::analysis::Bool* bool_type = in ChangeLoopToSelection() local
201 auto true_const = const_mgr->GetConstant(bool_type, {1}); in ChangeLoopToSelection()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp198 const opt::analysis::Bool* bool_type = in ChangeLoopToSelection() local
201 auto true_const = const_mgr->GetConstant(bool_type, {1}); in ChangeLoopToSelection()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/reduce/
Dstructured_loop_to_selection_reduction_opportunity.cpp195 const opt::analysis::Bool* bool_type = in ChangeLoopToSelection() local
198 auto true_const = const_mgr->GetConstant(bool_type, {1}); in ChangeLoopToSelection()

123