/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | fold_spec_constant_op_and_composite_pass.cpp | 65 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 …]
|
D | copy_prop_arrays.cpp | 259 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()
|
D | upgrade_memory_model.cpp | 369 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()
|
D | const_folding_rules.cpp | 50 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()
|
D | folding_rules.cpp | 206 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 …]
|
D | reduce_load_size.cpp | 58 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ReplaceExtract() 154 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ShouldReplaceExtract()
|
D | fold.cpp | 238 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()
|
D | combine_access_chains.cpp | 107 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexedType() 124 analysis::ConstantManager* constant_mgr = context()->get_constant_mgr(); in CombineIndices()
|
D | ir_builder.h | 363 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/ |
D | fold_spec_constant_op_and_composite_pass.cpp | 65 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 …]
|
D | copy_prop_arrays.cpp | 259 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()
|
D | upgrade_memory_model.cpp | 352 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()
|
D | const_folding_rules.cpp | 50 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()
|
D | folding_rules.cpp | 206 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 …]
|
D | reduce_load_size.cpp | 58 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ReplaceExtract() 153 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ShouldReplaceExtract()
|
D | fold.cpp | 220 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()
|
D | combine_access_chains.cpp | 107 context()->get_constant_mgr()->GetConstantFromInst(index_inst); in GetIndexedType() 124 analysis::ConstantManager* constant_mgr = context()->get_constant_mgr(); in CombineIndices()
|
D | ir_builder.h | 363 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()
|
D | replace_invalid_opc.cpp | 172 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GetSpecialConstant()
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | constant_manager_test.cpp | 46 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()
|
D | fold_test.cpp | 93 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/ |
D | constant_manager_test.cpp | 46 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()
|
D | fold_test.cpp | 93 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/ |
D | operand_to_dominating_id_reduction_pass.cpp | 91 assert(!context->get_constant_mgr()->GetConstantFromInst(def)); in GetOpportunitiesForDominatingInst()
|
/external/deqp-deps/SPIRV-Tools/source/reduce/ |
D | operand_to_dominating_id_reduction_pass.cpp | 91 assert(!context->get_constant_mgr()->GetConstantFromInst(def)); in GetOpportunitiesForDominatingInst()
|