/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | transformation_add_type_array.cpp | 57 auto int_constant = constant[0]->AsIntConstant(); in IsApplicable() local 58 if (!int_constant) { in IsApplicable() 64 return int_constant->words().size() == 1 && int_constant->GetS32() >= 1; in IsApplicable()
|
D | transformation_replace_constant_with_uniform.cpp | 62 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in MakeAccessChainInstruction() local 64 &int_constant, int_type_id); in MakeAccessChainInstruction() 218 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in IsApplicable() local 219 if (!ir_context->get_constant_mgr()->FindDeclaredConstant(&int_constant, in IsApplicable()
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_add_type_array.cpp | 57 auto int_constant = constant[0]->AsIntConstant(); in IsApplicable() local 58 if (!int_constant) { in IsApplicable() 64 return int_constant->words().size() == 1 && int_constant->GetS32() >= 1; in IsApplicable()
|
D | transformation_replace_constant_with_uniform.cpp | 62 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in MakeAccessChainInstruction() local 64 &int_constant, int_type_id); in MakeAccessChainInstruction() 218 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in IsApplicable() local 219 if (!ir_context->get_constant_mgr()->FindDeclaredConstant(&int_constant, in IsApplicable()
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | constant_manager_test.cpp | 101 IntConstant int_constant(int_type->AsInteger(), {3}); in TEST_F() local 103 context->get_constant_mgr()->GetDefiningInstruction(&int_constant, 1); in TEST_F()
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | constant_manager_test.cpp | 101 IntConstant int_constant(int_type->AsInteger(), {3}); in TEST_F() local 103 context->get_constant_mgr()->GetDefiningInstruction(&int_constant, 1); in TEST_F()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | glslang.l | 80 static int int_constant(yyscan_t yyscanner); 329 0[xX]{H}+ { return int_constant(yyscanner); } 330 0{O}+ { return int_constant(yyscanner); } 331 {D}+ { return int_constant(yyscanner); } 520 int int_constant(yyscan_t yyscanner) { in int_constant() function
|
D | glslang_lex.cpp | 1180 static int int_constant(yyscan_t yyscanner); 2097 { return int_constant(yyscanner); } 2101 { return int_constant(yyscanner); } 2105 { return int_constant(yyscanner); } 3752 int int_constant(yyscan_t yyscanner) { in int_constant() function
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | scalar_analysis.cpp | 211 const analysis::IntConstant* int_constant = constant->AsIntConstant(); in AnalyzeConstant() local 214 if (!int_constant || int_constant->words().size() != 1) in AnalyzeConstant() 217 if (int_constant->type()->AsInteger()->IsSigned()) { in AnalyzeConstant() 218 value = int_constant->GetS32BitValue(); in AnalyzeConstant() 220 value = int_constant->GetU32BitValue(); in AnalyzeConstant()
|
D | folding_rules.cpp | 1400 const analysis::IntConstant* int_constant = constants[i]->AsIntConstant(); in IntMultipleBy1() local 1401 if (int_constant) { in IntMultipleBy1() 1402 uint32_t width = ElementWidth(int_constant->type()); in IntMultipleBy1() 1404 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u in IntMultipleBy1() 1405 : int_constant->GetU64BitValue() == 1ull; in IntMultipleBy1()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | scalar_analysis.cpp | 211 const analysis::IntConstant* int_constant = constant->AsIntConstant(); in AnalyzeConstant() local 214 if (!int_constant || int_constant->words().size() != 1) in AnalyzeConstant() 217 if (int_constant->type()->AsInteger()->IsSigned()) { in AnalyzeConstant() 218 value = int_constant->GetS32BitValue(); in AnalyzeConstant() 220 value = int_constant->GetU32BitValue(); in AnalyzeConstant()
|
D | folding_rules.cpp | 1400 const analysis::IntConstant* int_constant = constants[i]->AsIntConstant(); in IntMultipleBy1() local 1401 if (int_constant) { in IntMultipleBy1() 1402 uint32_t width = ElementWidth(int_constant->type()); in IntMultipleBy1() 1404 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u in IntMultipleBy1() 1405 : int_constant->GetU64BitValue() == 1ull; in IntMultipleBy1()
|
/external/angle/src/compiler/translator/ |
D | glslang.l | 117 static int int_constant(TParseContext *context); 385 0[xX]{H}+ { return int_constant(context); } 386 0{O}+ { return int_constant(context); } 387 {D}+ { return int_constant(context); } 853 int int_constant(TParseContext *context) { in int_constant() function
|
D | glslang_lex_autogen.cpp | 960 static int int_constant(TParseContext *context); 1931 YY_RULE_SETUP { return int_constant(context); } 1934 YY_RULE_SETUP { return int_constant(context); } 1937 YY_RULE_SETUP { return int_constant(context); } 3722 int int_constant(TParseContext *context) in int_constant() function
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/tests/ |
D | legalize-to-std.mlir | 89 // CHECK-LABEL: func @int_constant 90 func @int_constant() -> (tensor<i32>, tensor<2x3xi32>, tensor<2x3xi32>) {
|
/external/mesa3d/src/compiler/glsl/ |
D | ast.h | 260 int int_constant; member
|
D | glsl_parser_extras.cpp | 1306 printf("%d ", primary_expression.int_constant); in print()
|
D | glsl_parser.yy | 442 $$->primary_expression.int_constant = $1;
|
D | ast_to_hir.cpp | 2055 result = new(ctx) ir_constant(this->primary_expression.int_constant); in do_hir()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | quantize_nodes_test.cc | 1392 Output int_constant = Const(root.WithOpName("int_constant"), in TestExcludeNonFloat() local 1401 Reshape(root.WithOpName("excluded_reshape_op"), int_constant, {10, 2}); in TestExcludeNonFloat()
|