/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_add_type_array.cpp | 59 auto int_constant = constant[0]->AsIntConstant(); in IsApplicable() local 60 if (!int_constant) { in IsApplicable() 66 return int_constant->words().size() == 1 && int_constant->GetS32() >= 1; in IsApplicable()
|
H A D | transformation_replace_constant_with_uniform.cpp | 61 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in MakeAccessChainInstruction() 63 &int_constant, int_type_id); in MakeAccessChainInstruction() 217 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in IsApplicable() 218 if (!ir_context->get_constant_mgr()->FindDeclaredConstant(&int_constant, in IsApplicable()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_add_type_array.cpp | 59 auto int_constant = constant[0]->AsIntConstant(); in IsApplicable() local 60 if (!int_constant) { in IsApplicable() 66 return int_constant->words().size() == 1 && int_constant->GetS32() >= 1; in IsApplicable()
|
H A D | transformation_replace_constant_with_uniform.cpp | 61 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in MakeAccessChainInstruction() 63 &int_constant, int_type_id); in MakeAccessChainInstruction() 217 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in IsApplicable() 218 if (!ir_context->get_constant_mgr()->FindDeclaredConstant(&int_constant, in IsApplicable()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_add_type_array.cpp | 59 auto int_constant = constant[0]->AsIntConstant(); in IsApplicable() local 60 if (!int_constant) { in IsApplicable() 66 return int_constant->words().size() == 1 && int_constant->GetS32() >= 1; in IsApplicable()
|
H A D | transformation_replace_constant_with_uniform.cpp | 61 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in MakeAccessChainInstruction() 63 &int_constant, int_type_id); in MakeAccessChainInstruction() 218 opt::analysis::IntConstant int_constant(registered_int_type, {index}); in IsApplicable() 219 if (!ir_context->get_constant_mgr()->FindDeclaredConstant(&int_constant, in IsApplicable()
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
H A D | constant_manager_test.cpp | 101 IntConstant int_constant(int_type->AsInteger(), {3}); in TEST_F() 103 context->get_constant_mgr()->GetDefiningInstruction(&int_constant, 1); in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
H A D | constant_manager_test.cpp | 101 IntConstant int_constant(int_type->AsInteger(), {3}); in TEST_F() 103 context->get_constant_mgr()->GetDefiningInstruction(&int_constant, 1); in TEST_F()
|
/third_party/spirv-tools/test/opt/ |
H A D | constant_manager_test.cpp | 99 IntConstant int_constant(int_type->AsInteger(), {3}); in TEST_F() 101 context->get_constant_mgr()->GetDefiningInstruction(&int_constant, 1); in TEST_F()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A 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()
|
H A D | folding_rules.cpp | 164 } else if (const auto* int_constant = c->AsIntConstant()) { in GetWordsFromNumericScalarOrVectorConstant() 165 return GetWordsFromScalarIntConstant(int_constant); in GetWordsFromNumericScalarOrVectorConstant() 1441 const analysis::IntConstant* int_constant = constants[i]->AsIntConstant(); 1442 if (int_constant) { 1443 uint32_t width = ElementWidth(int_constant->type()); 1445 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u 1446 : int_constant->GetU64BitValue() == 1ull;
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A 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()
|
H A D | folding_rules.cpp | 164 } else if (const auto* int_constant = c->AsIntConstant()) { in GetWordsFromNumericScalarOrVectorConstant() 165 return GetWordsFromScalarIntConstant(int_constant); in GetWordsFromNumericScalarOrVectorConstant() 1441 const analysis::IntConstant* int_constant = constants[i]->AsIntConstant(); 1442 if (int_constant) { 1443 uint32_t width = ElementWidth(int_constant->type()); 1445 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u 1446 : int_constant->GetU64BitValue() == 1ull;
|
/third_party/spirv-tools/source/opt/ |
H A D | scalar_analysis.cpp | 210 const analysis::IntConstant* int_constant = constant->AsIntConstant(); in AnalyzeConstant() local 213 if (!int_constant || int_constant->words().size() != 1) in AnalyzeConstant() 216 if (int_constant->type()->AsInteger()->IsSigned()) { in AnalyzeConstant() 217 value = int_constant->GetS32BitValue(); in AnalyzeConstant() 219 value = int_constant->GetU32BitValue(); in AnalyzeConstant()
|
H A D | folding_rules.cpp | 166 } else if (const auto* int_constant = c->AsIntConstant()) { in GetWordsFromNumericScalarOrVectorConstant() 167 return GetWordsFromScalarIntConstant(int_constant); in GetWordsFromNumericScalarOrVectorConstant() 1597 const analysis::IntConstant* int_constant = constants[i]->AsIntConstant(); 1598 if (int_constant) { 1599 uint32_t width = ElementWidth(int_constant->type()); 1601 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u 1602 : int_constant->GetU64BitValue() == 1ull;
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A 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
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A 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
|
/third_party/mesa3d/src/compiler/glsl/ |
H A D | ast.h | 260 int int_constant; member
|
H A D | glsl_parser_extras.cpp | 1331 printf("%d ", primary_expression.int_constant);
|
H A D | ast_to_hir.cpp | 2106 result = new(ctx) ir_constant(this->primary_expression.int_constant); in do_hir()
|