Home
last modified time | relevance | path

Searched refs:get_constant_mgr (Results 1 – 25 of 43) sorted by relevance

12

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp65 if (context()->get_constant_mgr()->GetType(inst) && in Process()
66 !context()->get_constant_mgr()->GetType(inst)->decoration_empty()) in Process()
84 context()->get_constant_mgr()->GetConstantFromInst(inst)) { in Process()
91 context()->get_constant_mgr()->MapConstantToInst(const_value, inst); in Process()
177 context()->get_constant_mgr()->FindDeclaredConstant(source); in DoCompositeExtract()
197 return context()->get_constant_mgr()->BuildInstructionAndAddToModule( in DoCompositeExtract()
198 context()->get_constant_mgr()->GetConstant( in DoCompositeExtract()
199 context()->get_constant_mgr()->GetType(inst), {}), in DoCompositeExtract()
206 return context()->get_constant_mgr()->BuildInstructionAndAddToModule( in DoCompositeExtract()
214 context()->get_constant_mgr()->GetType(inst)->AsVector(); in DoVectorShuffle()
[all …]
Dcopy_prop_arrays.cpp259 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in BuildMemoryObjectFromExtract()
306 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in BuildMemoryObjectFromCompositeConstruct()
361 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in BuildMemoryObjectFromInsert()
479 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in CanUpdateUses()
572 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in UpdateUses()
710 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GenerateCopy()
817 context->get_constant_mgr()->FindDeclaredConstant( in GetNumberOfMembers()
837 variable_inst_->context()->get_constant_mgr(); in GetAccessIds()
Dupgrade_memory_model.cpp369 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexValue()
453 context()->get_constant_mgr()->GetConstant( in GetScopeConstant()
457 ->get_constant_mgr() in GetScopeConstant()
541 context()->get_constant_mgr()->GetConstant( in UpgradeBarriers()
545 ->get_constant_mgr() in UpgradeBarriers()
579 context()->get_constant_mgr()->FindDeclaredConstant(scope_id); in IsDeviceScope()
Dconst_folding_rules.cpp50 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldExtractWithConstants()
75 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldVectorShuffleWithConstants()
125 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldVectorTimesScalar()
201 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldCompositeWithConstants()
256 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldFPUnaryOp()
305 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldFPBinaryOp()
534 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldOpDotWithConstants()
629 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldFClampFeedingCompare()
Dfolding_rules.cpp206 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in ReciprocalFDiv()
285 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeNegateMulDivArithmetic()
343 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeNegateAddSubArithmetic()
574 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeMulMulArithmetic()
626 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeMulDivArithmetic()
700 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeMulNegateArithmetic()
740 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeDivDivArithmetic()
812 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeDivMulArithmetic()
884 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeDivNegateArithmetic()
961 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeSubNegateArithmetic()
[all …]
Dreduce_load_size.cpp58 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ReplaceExtract()
154 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ShouldReplaceExtract()
Dfold.cpp238 analysis::ConstantManager* const_manager = context_->get_constant_mgr(); in FoldInstructionInternal()
283 analysis::ConstantManager* const_manger = context_->get_constant_mgr(); in FoldBinaryIntegerOpToConstant()
467 analysis::ConstantManager* const_manger = context_->get_constant_mgr(); in FoldBinaryBooleanOpToConstant()
623 analysis::ConstantManager* const_mgr = context_->get_constant_mgr(); in FoldInstructionToConstant()
Dcombine_access_chains.cpp107 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexedType()
124 analysis::ConstantManager* constant_mgr = context()->get_constant_mgr(); in CombineIndices()
Dir_builder.h363 analysis::ConstantManager* const_mgr = GetContext()->get_constant_mgr(); in GetNullId()
401 GetContext()->get_constant_mgr()->GetConstant(rebuilt_type, {word}); in GetIntConstant()
404 return GetContext()->get_constant_mgr()->GetDefiningInstruction(constant); in GetIntConstant()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfold_spec_constant_op_and_composite_pass.cpp65 if (context()->get_constant_mgr()->GetType(inst) && in Process()
66 !context()->get_constant_mgr()->GetType(inst)->decoration_empty()) in Process()
84 context()->get_constant_mgr()->GetConstantFromInst(inst)) { in Process()
91 context()->get_constant_mgr()->MapConstantToInst(const_value, inst); in Process()
177 context()->get_constant_mgr()->FindDeclaredConstant(source); in DoCompositeExtract()
197 return context()->get_constant_mgr()->BuildInstructionAndAddToModule( in DoCompositeExtract()
198 context()->get_constant_mgr()->GetConstant( in DoCompositeExtract()
199 context()->get_constant_mgr()->GetType(inst), {}), in DoCompositeExtract()
206 return context()->get_constant_mgr()->BuildInstructionAndAddToModule( in DoCompositeExtract()
214 context()->get_constant_mgr()->GetType(inst)->AsVector(); in DoVectorShuffle()
[all …]
Dcopy_prop_arrays.cpp259 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in BuildMemoryObjectFromExtract()
306 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in BuildMemoryObjectFromCompositeConstruct()
361 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in BuildMemoryObjectFromInsert()
479 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in CanUpdateUses()
572 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in UpdateUses()
710 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GenerateCopy()
817 context->get_constant_mgr()->FindDeclaredConstant( in GetNumberOfMembers()
837 variable_inst_->context()->get_constant_mgr(); in GetAccessIds()
Dupgrade_memory_model.cpp352 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexValue()
436 context()->get_constant_mgr()->GetConstant( in GetScopeConstant()
440 ->get_constant_mgr() in GetScopeConstant()
524 context()->get_constant_mgr()->GetConstant( in UpgradeBarriers()
528 ->get_constant_mgr() in UpgradeBarriers()
562 context()->get_constant_mgr()->FindDeclaredConstant(scope_id); in IsDeviceScope()
Dconst_folding_rules.cpp50 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldExtractWithConstants()
75 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldVectorShuffleWithConstants()
125 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldVectorTimesScalar()
201 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldCompositeWithConstants()
256 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldFPUnaryOp()
305 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldFPBinaryOp()
534 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldOpDotWithConstants()
629 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldFClampFeedingCompare()
Dfolding_rules.cpp206 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in ReciprocalFDiv()
285 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeNegateMulDivArithmetic()
343 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeNegateAddSubArithmetic()
574 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeMulMulArithmetic()
626 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeMulDivArithmetic()
700 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeMulNegateArithmetic()
740 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeDivDivArithmetic()
812 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeDivMulArithmetic()
884 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeDivNegateArithmetic()
961 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeSubNegateArithmetic()
[all …]
Dreduce_load_size.cpp58 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ReplaceExtract()
153 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ShouldReplaceExtract()
Dfold.cpp220 analysis::ConstantManager* const_manager = context_->get_constant_mgr(); in FoldInstructionInternal()
265 analysis::ConstantManager* const_manger = context_->get_constant_mgr(); in FoldBinaryIntegerOpToConstant()
448 analysis::ConstantManager* const_manger = context_->get_constant_mgr(); in FoldBinaryBooleanOpToConstant()
604 analysis::ConstantManager* const_mgr = context_->get_constant_mgr(); in FoldInstructionToConstant()
Dcombine_access_chains.cpp107 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexedType()
124 analysis::ConstantManager* constant_mgr = context()->get_constant_mgr(); in CombineIndices()
Dir_builder.h363 analysis::ConstantManager* const_mgr = GetContext()->get_constant_mgr(); in GetNullId()
401 GetContext()->get_constant_mgr()->GetConstant(rebuilt_type, {word}); in GetIntConstant()
404 return GetContext()->get_constant_mgr()->GetDefiningInstruction(constant); in GetIntConstant()
Dreplace_invalid_opc.cpp172 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GetSpecialConstant()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dconstant_manager_test.cpp46 context->get_constant_mgr()->GetDefiningInstruction(&struct_const_1, 1); in TEST_F()
52 context->get_constant_mgr()->GetDefiningInstruction(&struct_const_2, 2); in TEST_F()
73 context->get_constant_mgr()->GetDefiningInstruction(&struct_const_1, 1); in TEST_F()
80 context->get_constant_mgr()->GetDefiningInstruction(&struct_const_2, 2); in TEST_F()
Dfold_test.cpp93 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
578 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
659 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
1269 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
1416 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
2173 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
2222 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dconstant_manager_test.cpp46 context->get_constant_mgr()->GetDefiningInstruction(&struct_const_1, 1); in TEST_F()
52 context->get_constant_mgr()->GetDefiningInstruction(&struct_const_2, 2); in TEST_F()
73 context->get_constant_mgr()->GetDefiningInstruction(&struct_const_1, 1); in TEST_F()
80 context->get_constant_mgr()->GetDefiningInstruction(&struct_const_2, 2); in TEST_F()
Dfold_test.cpp93 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
537 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
618 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
1228 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
1375 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
2132 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
2181 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Doperand_to_dominating_id_reduction_pass.cpp91 assert(!context->get_constant_mgr()->GetConstantFromInst(def)); in GetOpportunitiesForDominatingInst()
/external/deqp-deps/SPIRV-Tools/source/reduce/
Doperand_to_dominating_id_reduction_pass.cpp91 assert(!context->get_constant_mgr()->GetConstantFromInst(def)); in GetOpportunitiesForDominatingInst()

12