Home
last modified time | relevance | path

Searched refs:int_constant (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
Dglslang.l80 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); }
518 int int_constant(yyscan_t yyscanner) { in int_constant() function
Dglslang_lex.cpp1180 static int int_constant(yyscan_t yyscanner);
2097 { return int_constant(yyscanner); }
2101 { return int_constant(yyscanner); }
2105 { return int_constant(yyscanner); }
3750 int int_constant(yyscan_t yyscanner) { in int_constant() function
/external/deqp-deps/SPIRV-Tools/source/opt/
Dscalar_analysis.cpp211 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()
Dfolding_rules.cpp1250 const analysis::IntConstant* int_constant = constants[i]->AsIntConstant(); in IntMultipleBy1() local
1251 if (int_constant) { in IntMultipleBy1()
1252 uint32_t width = ElementWidth(int_constant->type()); in IntMultipleBy1()
1254 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u in IntMultipleBy1()
1255 : int_constant->GetU64BitValue() == 1ull; in IntMultipleBy1()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_analysis.cpp211 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()
Dfolding_rules.cpp1250 const analysis::IntConstant* int_constant = constants[i]->AsIntConstant(); in IntMultipleBy1() local
1251 if (int_constant) { in IntMultipleBy1()
1252 uint32_t width = ElementWidth(int_constant->type()); in IntMultipleBy1()
1254 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u in IntMultipleBy1()
1255 : int_constant->GetU64BitValue() == 1ull; in IntMultipleBy1()
/external/mesa3d/src/compiler/glsl/
Dast.h255 int int_constant; member
Dglsl_parser_extras.cpp1260 printf("%d ", primary_expression.int_constant); in print()
Dglsl_parser.yy424 $$->primary_expression.int_constant = $1;
Dast_to_hir.cpp2022 result = new(ctx) ir_constant(this->primary_expression.int_constant); in do_hir()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dquantize_nodes_test.cc1392 Output int_constant = Const(root.WithOpName("int_constant"), in TestExcludeNonFloat() local
1401 Reshape(root.WithOpName("excluded_reshape_op"), int_constant, {10, 2}); in TestExcludeNonFloat()