Home
last modified time | relevance | path

Searched refs:c1_components (Results 1 – 2 of 2) sorted by relevance

/external/deqp-deps/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp78 std::vector<const analysis::Constant*> c1_components; in FoldVectorShuffleWithConstants() local
80 c1_components = vec_const->GetComponents(); in FoldVectorShuffleWithConstants()
85 c1_components.resize(c1->type()->AsVector()->element_count(), element); in FoldVectorShuffleWithConstants()
104 } else if (index < c1_components.size()) { in FoldVectorShuffleWithConstants()
106 const_mgr->GetDefiningInstruction(c1_components[index]); in FoldVectorShuffleWithConstants()
110 c2_components[index - c1_components.size()]); in FoldVectorShuffleWithConstants()
166 std::vector<const analysis::Constant*> c1_components = in FoldVectorTimesScalar() local
171 for (uint32_t i = 0; i < c1_components.size(); ++i) { in FoldVectorTimesScalar()
172 utils::FloatProxy<float> result(c1_components[i]->GetFloat() * scalar); in FoldVectorTimesScalar()
181 for (uint32_t i = 0; i < c1_components.size(); ++i) { in FoldVectorTimesScalar()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp78 std::vector<const analysis::Constant*> c1_components; in FoldVectorShuffleWithConstants() local
80 c1_components = vec_const->GetComponents(); in FoldVectorShuffleWithConstants()
85 c1_components.resize(c1->type()->AsVector()->element_count(), element); in FoldVectorShuffleWithConstants()
104 } else if (index < c1_components.size()) { in FoldVectorShuffleWithConstants()
106 const_mgr->GetDefiningInstruction(c1_components[index]); in FoldVectorShuffleWithConstants()
110 c2_components[index - c1_components.size()]); in FoldVectorShuffleWithConstants()
166 std::vector<const analysis::Constant*> c1_components = in FoldVectorTimesScalar() local
171 for (uint32_t i = 0; i < c1_components.size(); ++i) { in FoldVectorTimesScalar()
172 utils::FloatProxy<float> result(c1_components[i]->GetFloat() * scalar); in FoldVectorTimesScalar()
181 for (uint32_t i = 0; i < c1_components.size(); ++i) { in FoldVectorTimesScalar()
[all …]