Home
last modified time | relevance | path

Searched refs:GetConstant (Results 1 – 25 of 39) sorted by relevance

12

/external/deqp-deps/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp52 return const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), {}); in FoldExtractWithConstants()
84 const_mgr->GetConstant(element_type, {}); in FoldVectorShuffleWithConstants()
93 const_mgr->GetConstant(element_type, {}); in FoldVectorShuffleWithConstants()
116 return const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), ids); in FoldVectorShuffleWithConstants()
144 return const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), ids); in FoldVectorTimesScalar()
175 const_mgr->GetConstant(float_type, words); in FoldVectorTimesScalar()
178 return const_mgr->GetConstant(vector_type, ids); in FoldVectorTimesScalar()
186 const_mgr->GetConstant(float_type, words); in FoldVectorTimesScalar()
189 return const_mgr->GetConstant(vector_type, ids); in FoldVectorTimesScalar()
228 return const_mgr->GetConstant(new_type, ids); in FoldCompositeWithConstants()
[all …]
Dfold_spec_constant_op_and_composite_pass.cpp198 context()->get_constant_mgr()->GetConstant( in DoCompositeExtract()
253 context()->get_constant_mgr()->GetConstant(component_type, {}); in DoVectorShuffle()
344 context()->get_constant_mgr()->GetConstant(result_type, {result_val}); in DoComponentWiseOperation()
358 context()->get_constant_mgr()->GetConstant(element_type, {r})) { in DoComponentWiseOperation()
Dreplace_invalid_opc.cpp183 special_const = const_mgr->GetConstant(type_mgr->GetType(type_id), ids); in GetSpecialConstant()
191 const_mgr->GetConstant(type_mgr->GetType(type_id), literal_words); in GetSpecialConstant()
Dconstants.cpp281 return GetConstant(GetType(inst), literal_words_or_ids); in GetConstantFromInst()
345 const Constant* ConstantManager::GetConstant( in GetConstant() function in spvtools::opt::analysis::ConstantManager
364 const_mgr->GetConstant(element_type, {}); in GetVectorComponents()
Dfolding_rules.cpp105 const_mgr->GetConstant(c->type(), std::move(words)); in NegateFloatingPointConstant()
132 const_mgr->GetConstant(c->type(), std::move(words)); in NegateIntegerConstant()
158 const_mgr->GetConstant(c->type(), std::move(words)); in NegateVectorConstant()
197 const_mgr->GetConstant(c->type(), std::move(words)); in Reciprocal()
225 const_mgr->GetConstant(constants[1]->type(), std::move(neg_ids)); in ReciprocalFDiv()
453 const analysis::Constant* merged_const = const_mgr->GetConstant(type, words); in PerformFloatingPointOperation()
505 const analysis::Constant* merged_const = const_mgr->GetConstant(type, words); in PerformIntegerOperation()
530 input1_comp = const_mgr->GetConstant(ele_type, {}); in PerformOperation()
539 input2_comp = const_mgr->GetConstant(ele_type, {}); in PerformOperation()
554 const_mgr->GetConstant(type, words); in PerformOperation()
[all …]
Dconstants.h505 const Constant* GetConstant(
509 const Constant* GetConstant(const Type* type, const C& literal_words_or_ids) { in GetConstant() function
510 return GetConstant(type, std::vector<uint32_t>(literal_words_or_ids.begin(), in GetConstant()
Dreduce_load_size.cpp108 const_mgr->GetConstant(uint32_type, {index}); in ReplaceExtract()
Dloop_unswitch_pass.cpp279 cst_mgr->GetDefiningInstruction(cst_mgr->GetConstant(cond_type, {0})), in PerformUnswitch()
282 cst_mgr->GetDefiningInstruction(cst_mgr->GetConstant(cond_type, {1})); in PerformUnswitch()
289 cst_mgr->GetDefiningInstruction(cst_mgr->GetConstant( in PerformUnswitch()
Dir_builder.h365 const analysis::Constant* null_const = const_mgr->GetConstant(type, {}); in GetNullId()
401 GetContext()->get_constant_mgr()->GetConstant(rebuilt_type, {word}); in GetIntConstant()
Dupgrade_memory_model.cpp436 context()->get_constant_mgr()->GetConstant( in GetScopeConstant()
524 context()->get_constant_mgr()->GetConstant( in UpgradeBarriers()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp52 return const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), {}); in FoldExtractWithConstants()
84 const_mgr->GetConstant(element_type, {}); in FoldVectorShuffleWithConstants()
93 const_mgr->GetConstant(element_type, {}); in FoldVectorShuffleWithConstants()
116 return const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), ids); in FoldVectorShuffleWithConstants()
144 return const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), ids); in FoldVectorTimesScalar()
175 const_mgr->GetConstant(float_type, words); in FoldVectorTimesScalar()
178 return const_mgr->GetConstant(vector_type, ids); in FoldVectorTimesScalar()
186 const_mgr->GetConstant(float_type, words); in FoldVectorTimesScalar()
189 return const_mgr->GetConstant(vector_type, ids); in FoldVectorTimesScalar()
228 return const_mgr->GetConstant(new_type, ids); in FoldCompositeWithConstants()
[all …]
Dfold_spec_constant_op_and_composite_pass.cpp198 context()->get_constant_mgr()->GetConstant( in DoCompositeExtract()
253 context()->get_constant_mgr()->GetConstant(component_type, {}); in DoVectorShuffle()
344 context()->get_constant_mgr()->GetConstant(result_type, {result_val}); in DoComponentWiseOperation()
358 context()->get_constant_mgr()->GetConstant(element_type, {r})) { in DoComponentWiseOperation()
Dreplace_invalid_opc.cpp183 special_const = const_mgr->GetConstant(type_mgr->GetType(type_id), ids); in GetSpecialConstant()
191 const_mgr->GetConstant(type_mgr->GetType(type_id), literal_words); in GetSpecialConstant()
Dconstants.cpp281 return GetConstant(GetType(inst), literal_words_or_ids); in GetConstantFromInst()
345 const Constant* ConstantManager::GetConstant( in GetConstant() function in spvtools::opt::analysis::ConstantManager
364 const_mgr->GetConstant(element_type, {}); in GetVectorComponents()
Dfolding_rules.cpp105 const_mgr->GetConstant(c->type(), std::move(words)); in NegateFloatingPointConstant()
132 const_mgr->GetConstant(c->type(), std::move(words)); in NegateIntegerConstant()
158 const_mgr->GetConstant(c->type(), std::move(words)); in NegateVectorConstant()
197 const_mgr->GetConstant(c->type(), std::move(words)); in Reciprocal()
225 const_mgr->GetConstant(constants[1]->type(), std::move(neg_ids)); in ReciprocalFDiv()
453 const analysis::Constant* merged_const = const_mgr->GetConstant(type, words); in PerformFloatingPointOperation()
505 const analysis::Constant* merged_const = const_mgr->GetConstant(type, words); in PerformIntegerOperation()
530 input1_comp = const_mgr->GetConstant(ele_type, {}); in PerformOperation()
539 input2_comp = const_mgr->GetConstant(ele_type, {}); in PerformOperation()
554 const_mgr->GetConstant(type, words); in PerformOperation()
[all …]
Dconstants.h505 const Constant* GetConstant(
509 const Constant* GetConstant(const Type* type, const C& literal_words_or_ids) { in GetConstant() function
510 return GetConstant(type, std::vector<uint32_t>(literal_words_or_ids.begin(), in GetConstant()
Dloop_unswitch_pass.cpp309 cst_mgr->GetDefiningInstruction(cst_mgr->GetConstant(cond_type, {0})), in PerformUnswitch()
312 cst_mgr->GetDefiningInstruction(cst_mgr->GetConstant(cond_type, {1})); in PerformUnswitch()
321 cst_mgr->GetDefiningInstruction(cst_mgr->GetConstant( in PerformUnswitch()
Dreduce_load_size.cpp108 const_mgr->GetConstant(uint32_type, {index}); in ReplaceExtract()
Dir_builder.h365 const analysis::Constant* null_const = const_mgr->GetConstant(type, {}); in GetNullId()
401 GetContext()->get_constant_mgr()->GetConstant(rebuilt_type, {word}); in GetIntConstant()
Dupgrade_memory_model.cpp453 context()->get_constant_mgr()->GetConstant( in GetScopeConstant()
541 context()->get_constant_mgr()->GetConstant( in UpgradeBarriers()
/external/llvm/lib/Analysis/
DSparsePropagation.cpp150 Constant *C = LatticeFunc->GetConstant(BCValue, BI->getCondition(), *this); in getFeasibleSuccessors()
192 Constant *C = LatticeFunc->GetConstant(SCValue, SI.getCondition(), *this); in getFeasibleSuccessors()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DSparsePropagation.cpp149 Constant *C = LatticeFunc->GetConstant(BCValue, BI->getCondition(), *this); in getFeasibleSuccessors()
191 Constant *C = LatticeFunc->GetConstant(SCValue, SI.getCondition(), *this); in getFeasibleSuccessors()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DSparsePropagation.h84 virtual Constant *GetConstant(LatticeVal LV, Value *Val, SparseSolver &SS) { in GetConstant() function
/external/llvm/include/llvm/Analysis/
DSparsePropagation.h83 virtual Constant *GetConstant(LatticeVal LV, Value *Val, SparseSolver &SS) { in GetConstant() function
/external/v8/src/compiler/
Dcode-generator-impl.h150 return gen_->code()->GetConstant( in ToConstant()

12