Home
last modified time | relevance | path

Searched refs:ReplaceAllUsesWith (Results 1 – 25 of 150) sorted by relevance

123456

/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dir_context_test.cpp922 EXPECT_TRUE(ctx->ReplaceAllUsesWith(22, 7)); in TEST_F()
930 EXPECT_TRUE(ctx->ReplaceAllUsesWith(26, 20)); in TEST_F()
991 EXPECT_TRUE(ctx->ReplaceAllUsesWith(22, 7)); in TEST_F()
1005 EXPECT_TRUE(ctx->ReplaceAllUsesWith(26, 20)); in TEST_F()
1070 EXPECT_TRUE(ctx->ReplaceAllUsesWith(14, 12)); in TEST_F()
1071 EXPECT_TRUE(ctx->ReplaceAllUsesWith(16, 14)); in TEST_F()
1072 EXPECT_TRUE(ctx->ReplaceAllUsesWith(25, 26)); in TEST_F()
1131 EXPECT_TRUE(ctx->ReplaceAllUsesWith(26, 20)); in TEST_F()
1151 EXPECT_TRUE(ctx->ReplaceAllUsesWith(20, 26)); in TEST_F()
Ddef_use_test.cpp623 context->ReplaceAllUsesWith(candidate.first, candidate.second); in TEST_P()
1254 context->ReplaceAllUsesWith(11, 7); // to existing id in TEST()
1255 context->ReplaceAllUsesWith(10, 11); // to existing id in TEST()
1256 context->ReplaceAllUsesWith(9, 10); // to existing id in TEST()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dir_context_test.cpp922 EXPECT_TRUE(ctx->ReplaceAllUsesWith(22, 7)); in TEST_F()
930 EXPECT_TRUE(ctx->ReplaceAllUsesWith(26, 20)); in TEST_F()
991 EXPECT_TRUE(ctx->ReplaceAllUsesWith(22, 7)); in TEST_F()
1005 EXPECT_TRUE(ctx->ReplaceAllUsesWith(26, 20)); in TEST_F()
1070 EXPECT_TRUE(ctx->ReplaceAllUsesWith(14, 12)); in TEST_F()
1071 EXPECT_TRUE(ctx->ReplaceAllUsesWith(16, 14)); in TEST_F()
1072 EXPECT_TRUE(ctx->ReplaceAllUsesWith(25, 26)); in TEST_F()
1131 EXPECT_TRUE(ctx->ReplaceAllUsesWith(26, 20)); in TEST_F()
1151 EXPECT_TRUE(ctx->ReplaceAllUsesWith(20, 26)); in TEST_F()
Ddef_use_test.cpp623 context->ReplaceAllUsesWith(candidate.first, candidate.second); in TEST_P()
1254 context->ReplaceAllUsesWith(11, 7); // to existing id in TEST()
1255 context->ReplaceAllUsesWith(10, 11); // to existing id in TEST()
1256 context->ReplaceAllUsesWith(9, 10); // to existing id in TEST()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dremove_duplicates_pass.cpp83 context()->ReplaceAllUsesWith(i->result_id(), res.first->second); in RemoveDuplicatesExtInstImports()
134 context()->ReplaceAllUsesWith(i->result_id(), id_to_keep); in RemoveDuplicateTypes()
Dblock_merge_util.cpp72 context->ReplaceAllUsesWith(phi->result_id(), in EliminateOpPhiInstructions()
187 context->ReplaceAllUsesWith(lab_id, bi->id()); in MergeWithSuccessor()
Dvector_dce.cpp330 context()->ReplaceAllUsesWith(current_inst->result_id(), undef_id); in RewriteInstructions()
364 context()->ReplaceAllUsesWith(current_inst->result_id(), object_id); in RewriteInsertInstruction()
374 context()->ReplaceAllUsesWith(current_inst->result_id(), composite_id); in RewriteInsertInstruction()
Dlocal_redundancy_elimination.cpp58 context()->ReplaceAllUsesWith(inst->result_id(), candidate.first->second); in EliminateRedundanciesInBB()
Dif_conversion.cpp107 context()->ReplaceAllUsesWith(phi->result_id(), in Process()
133 context()->ReplaceAllUsesWith(phi->result_id(), select->result_id()); in Process()
Dunify_const_pass.cpp163 context()->ReplaceAllUsesWith(inst->result_id(), id); in Process()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dremove_duplicates_pass.cpp83 context()->ReplaceAllUsesWith(i->result_id(), res.first->second); in RemoveDuplicatesExtInstImports()
134 context()->ReplaceAllUsesWith(i->result_id(), id_to_keep); in RemoveDuplicateTypes()
Dblock_merge_util.cpp72 context->ReplaceAllUsesWith(phi->result_id(), in EliminateOpPhiInstructions()
187 context->ReplaceAllUsesWith(lab_id, bi->id()); in MergeWithSuccessor()
Dvector_dce.cpp330 context()->ReplaceAllUsesWith(current_inst->result_id(), undef_id); in RewriteInstructions()
364 context()->ReplaceAllUsesWith(current_inst->result_id(), object_id); in RewriteInsertInstruction()
374 context()->ReplaceAllUsesWith(current_inst->result_id(), composite_id); in RewriteInsertInstruction()
Dlocal_redundancy_elimination.cpp58 context()->ReplaceAllUsesWith(inst->result_id(), candidate.first->second); in EliminateRedundanciesInBB()
Dif_conversion.cpp107 context()->ReplaceAllUsesWith(phi->result_id(), in Process()
133 context()->ReplaceAllUsesWith(phi->result_id(), select->result_id()); in Process()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_cse.cc85 TF_CHECK_OK(instruction->ReplaceAllUsesWith(match)); in CombineConstants()
199 instruction->ReplaceAllUsesWith(equivalent_instruction)); in Run()
Drng_expander.cc62 rng->ReplaceAllUsesWith(MakeConvertToHlo(new_rng, primitive_type))); in ConvertSmallFpRngToF32Rng()
173 TF_RETURN_IF_ERROR(rng->ReplaceAllUsesWith(new_rng)); in ExpandInstruction()
Dtopk_rewriter.cc179 TF_RETURN_IF_ERROR(slice->ReplaceAllUsesWith(value_gte)); in Run()
181 TF_RETURN_IF_ERROR(slice->ReplaceAllUsesWith(index_gte)); in Run()
Ddefuser.cc81 TF_RETURN_IF_ERROR(fusion_instruction->ReplaceAllUsesWith( in Defuse()
Ddynamic_padder.cc173 TF_RETURN_IF_ERROR(instr->ReplaceAllUsesWith(dynamic_size)); in ReplaceGetSize()
183 TF_RETURN_IF_ERROR(instr->ReplaceAllUsesWith(new_instr)); in ReplaceGetSize()
201 TF_RETURN_IF_ERROR(instr->ReplaceAllUsesWith(operand)); in ReplaceSetSize()
217 TF_RETURN_IF_ERROR(instr->ReplaceAllUsesWith(operand)); in ReplaceSetBound()
867 TF_RETURN_IF_ERROR(custom_call_conv->ReplaceAllUsesWith(static_conv)); in RewriteDynamicConvolutionInputGrad()
928 TF_RETURN_IF_ERROR(custom_call_conv->ReplaceAllUsesWith(static_conv)); in RewriteDynamicConvolutionForward()
1012 TF_RETURN_IF_ERROR(custom_call_conv->ReplaceAllUsesWith(static_conv)); in RewriteDynamicConvolutionKernelGrad()
1058 TF_RETURN_IF_ERROR(hlo->ReplaceAllUsesWith(rewritten)); in RewriteDynamicReduceWindowSamePadding()
1138 TF_RETURN_IF_ERROR(hlo->ReplaceAllUsesWith(rewritten)); in RewriteDynamicSelectAndScatterSamePadding()
1850 TF_RETURN_IF_ERROR(inst->ReplaceAllUsesWith(static_reshape)); in Run()
Dhlo_domain_remover.cc82 operand->ReplaceAllUsesWith(operand->mutable_operand(0))); in Run()
Dmap_inliner.cc83 map->ReplaceAllUsesWith(map->operands()[root.parameter_number()])); in HandleMap()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGISel.h202 CurDAG->ReplaceAllUsesWith(F, T); in ReplaceUses()
207 CurDAG->ReplaceAllUsesWith(F, T); in ReplaceNode()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGISel.h229 CurDAG->ReplaceAllUsesWith(F, T); in ReplaceUses()
235 CurDAG->ReplaceAllUsesWith(F, T); in ReplaceNode()
/external/llvm-project/llvm/include/llvm/CodeGen/
DSelectionDAGISel.h221 CurDAG->ReplaceAllUsesWith(F, T); in ReplaceUses()
227 CurDAG->ReplaceAllUsesWith(F, T); in ReplaceNode()

123456