Home
last modified time | relevance | path

Searched refs:replaceAllUsesWith (Results 1 – 25 of 733) sorted by relevance

12345678910>>...30

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIntrinsicLowering.cpp49 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
245 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
250 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
254 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
258 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
269 CI->replaceAllUsesWith(Src); in LowerIntrinsicCall()
281 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall()
290 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 0)); in LowerIntrinsicCall()
297 CI->replaceAllUsesWith( in LowerIntrinsicCall()
303 CI->replaceAllUsesWith( in LowerIntrinsicCall()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DIntrinsicLowering.cpp48 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
242 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
247 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
251 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
255 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
266 CI->replaceAllUsesWith(Src); in LowerIntrinsicCall()
278 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall()
287 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 0)); in LowerIntrinsicCall()
294 CI->replaceAllUsesWith( in LowerIntrinsicCall()
300 CI->replaceAllUsesWith( in LowerIntrinsicCall()
[all …]
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp83 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
359 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
371 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
376 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall()
392 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
396 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
400 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
411 CI->replaceAllUsesWith(Src); in LowerIntrinsicCall()
423 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall()
432 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 0)); in LowerIntrinsicCall()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroCleanup.cpp54 SubFn->replaceAllUsesWith(Load); in lowerSubFn()
67 II->replaceAllUsesWith(II->getArgOperand(1)); in lowerRemainingCoroIntrinsics()
70 II->replaceAllUsesWith(II->getArgOperand(1)); in lowerRemainingCoroIntrinsics()
73 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lowerRemainingCoroIntrinsics()
78 II->replaceAllUsesWith(ConstantTokenNone::get(Context)); in lowerRemainingCoroIntrinsics()
DCoroSplit.cpp258 End->replaceAllUsesWith(InResume ? ConstantInt::getTrue(Context) in replaceCoroEnd()
315 Save->replaceAllUsesWith(ConstantTokenNone::get(C)); in createResumeEntryBlock()
350 S->replaceAllUsesWith(PN); in createResumeEntryBlock()
433 NewS->replaceAllUsesWith(Args.front()); in replaceRetconSuspendUses()
443 EVI->replaceAllUsesWith(Args[EVI->getIndices().front()]); in replaceRetconSuspendUses()
455 NewS->replaceAllUsesWith(Agg); in replaceRetconSuspendUses()
485 MappedCS->replaceAllUsesWith(SuspendResult); in replaceCoroSuspends()
547 MappedOp->replaceAllUsesWith(MappedResult); in replaceSwiftErrorOps()
732 OldFramePtr->replaceAllUsesWith(NewFramePtr); in create()
738 OldVFrame->replaceAllUsesWith(NewVFrame); in create()
[all …]
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroCleanup.cpp53 SubFn->replaceAllUsesWith(Load); in lowerSubFn()
66 II->replaceAllUsesWith(II->getArgOperand(1)); in lowerRemainingCoroIntrinsics()
69 II->replaceAllUsesWith(II->getArgOperand(1)); in lowerRemainingCoroIntrinsics()
72 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lowerRemainingCoroIntrinsics()
78 II->replaceAllUsesWith(ConstantTokenNone::get(Context)); in lowerRemainingCoroIntrinsics()
DCoroSplit.cpp269 End->replaceAllUsesWith(InResume ? ConstantInt::getTrue(Context) in replaceCoroEnd()
326 Save->replaceAllUsesWith(ConstantTokenNone::get(C)); in createResumeEntryBlock()
361 S->replaceAllUsesWith(PN); in createResumeEntryBlock()
452 NewS->replaceAllUsesWith(Args.front()); in replaceRetconOrAsyncSuspendUses()
462 EVI->replaceAllUsesWith(Args[EVI->getIndices().front()]); in replaceRetconOrAsyncSuspendUses()
474 NewS->replaceAllUsesWith(Agg); in replaceRetconOrAsyncSuspendUses()
508 MappedCS->replaceAllUsesWith(SuspendResult); in replaceCoroSuspends()
570 MappedOp->replaceAllUsesWith(MappedResult); in replaceSwiftErrorOps()
821 OldFramePtr->replaceAllUsesWith(NewFramePtr); in create()
827 OldVFrame->replaceAllUsesWith(NewVFrame); in create()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/lite/
Dtfl_to_std.cc32 dq.output().replaceAllUsesWith(dcast); in ConvertTFLQuantOpsToMlirQuantOps()
37 q.output().replaceAllUsesWith(qcast); in ConvertTFLQuantOpsToMlirQuantOps()
50 dq.getResult().replaceAllUsesWith(dcast); in ConvertMlirQuantOpsToTFLQuantOps()
59 q.getResult().replaceAllUsesWith(qcast); in ConvertMlirQuantOpsToTFLQuantOps()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtensor_list_ops_decomposition.cc216 while_op.replaceAllUsesWith( in HandleWhileOp()
276 op.replaceAllUsesWith(new_op.getResults().take_front(op.getNumResults())); in HandleCaseOrIfOp()
339 while_op.replaceAllUsesWith( in HandleWhileRegionOp()
381 if_op.replaceAllUsesWith( in HandleIfRegionOp()
427 case_op.replaceAllUsesWith( in HandleCaseRegionOp()
467 call.replaceAllUsesWith( in HandlePartitionedCallOp()
583 list.handle().replaceAllUsesWith(buffer); in HandleEmptyTensorListOp()
612 list.handle().replaceAllUsesWith(buffer); in HandleTensorListReserveOp()
630 list.output_handle().replaceAllUsesWith(buffer); in HandleTensorListFromTensorOp()
654 push.output_handle().replaceAllUsesWith(new_buffer); in HandleTensorListPushBackOp()
[all …]
Dtensor_array_ops_decomposition.cc170 old_val.replaceAllUsesWith(cast_op); in ReplaceAllUsesWithCast()
175 old_val.replaceAllUsesWith(new_val); in ReplaceAllUsesExceptTerminator()
214 ta.handle().replaceAllUsesWith(local_var); in HandleTensorArrayV3Op()
223 ta.flow().replaceAllUsesWith(flow); in HandleTensorArrayV3Op()
280 write.flow_out().replaceAllUsesWith(write.flow_in()); in HandleTensorArrayWriteV3Op()
316 concat.lengths().replaceAllUsesWith(builder.create<TF::ConstOp>( in HandleTensorArrayConcatV3Op()
355 split.flow_out().replaceAllUsesWith(split.flow_in()); in HandleTensorArraySplitV3Op()
374 size.size().replaceAllUsesWith(result); in HandleTensorArraySizeV3Op()
420 grad.flow_out().replaceAllUsesWith(grad.flow_in()); in HandleTensorArrayGradV3Op()
421 grad.grad_handle().replaceAllUsesWith(grad_var); in HandleTensorArrayGradV3Op()
[all …]
Dstack_ops_decomposition.cc216 while_op.getResult(i).replaceAllUsesWith(while_op.getOperand(i)); in HandleWhileOp()
219 while_op.replaceAllUsesWith( in HandleWhileOp()
271 result.replaceAllUsesWith(if_op.getOperand(then_aliased_input + 1)); in HandleIfOp()
274 if_op.replaceAllUsesWith(new_if); in HandleIfOp()
322 result.replaceAllUsesWith(call.getOperand(aliased_input)); in HandlePartitionedCallOp()
325 call.replaceAllUsesWith(new_call); in HandlePartitionedCallOp()
410 stack.handle().replaceAllUsesWith(local_var); in HandleStackV2Op()
424 push.replaceAllUsesWith(push.elem()); in HandleStackPushV2Op()
459 pop.replaceAllUsesWith(pop_val); in HandleStackPopV2Op()
512 op.replaceAllUsesWith(op.getOperands()); in DecomposeStackOpsInternal()
Dresource_op_lifting_cleanup.cc46 op.replaceAllUsesWith(op.getOperands()); in RemovePassthroughOp()
111 result.replaceAllUsesWith(new_op->getResult(next_result_idx++)); in EliminateUnusedResults()
283 result.replaceAllUsesWith(branch_args[common_arg_index.getValue()]); in ForwardCommonArgToOutput()
351 result.replaceAllUsesWith(ret0); in CanonicalizeRegionIfCaseCluster()
388 body.getArgument(result_idx).replaceAllUsesWith(op.getOperand(result_idx)); in CanonicalizeWhileRegion()
389 cond.getArgument(result_idx).replaceAllUsesWith(op.getOperand(result_idx)); in CanonicalizeWhileRegion()
393 result.replaceAllUsesWith(op.getOperand(result_idx)); in CanonicalizeWhileRegion()
/external/llvm-project/llvm/unittests/IR/
DValueHandleTest.cpp48 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
103 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
179 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
305 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
326 getValPtr()->replaceAllUsesWith( in TEST_F()
385 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
490 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
528 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
545 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
566 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
DValueMapTest.cpp51 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
170 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
205 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
222 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
254 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
286 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/tensorflow/
Dtf_to_quant.cc89 id1.replaceAllUsesWith(id1.input()); in matchAndRewrite()
94 id2.replaceAllUsesWith(id2.input()); in matchAndRewrite()
126 value.replaceAllUsesWith(dequantize); in matchAndRewrite()
/external/llvm-project/llvm/examples/IRTransforms/
DSimplifyCFG.cpp88 I.replaceAllUsesWith(UndefValue::get(I.getType())); in removeDeadBlocks_v1()
282 BB.replaceAllUsesWith(Pred); in mergeIntoSinglePredecessor_v1()
285 PN.replaceAllUsesWith(PN.getIncomingValue(0)); in mergeIntoSinglePredecessor_v1()
333 BB.replaceAllUsesWith(Pred); in mergeIntoSinglePredecessor_v2()
336 PN.replaceAllUsesWith(PN.getIncomingValue(0)); in mergeIntoSinglePredecessor_v2()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp265 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison()
269 ICmp->replaceAllUsesWith(ConstantInt::getFalse(ICmp->getContext())); in eliminateIVComparison()
308 SDiv->replaceAllUsesWith(UDiv); in eliminateSDiv()
324 Rem->replaceAllUsesWith(URem); in replaceSRemWithURem()
333 Rem->replaceAllUsesWith(Rem->getOperand(0)); in replaceRemWithNumerator()
347 Rem->replaceAllUsesWith(Sel); in replaceRemWithNumeratorOrZero()
463 EVI->replaceAllUsesWith(ConstantInt::getFalse(WO->getContext())); in eliminateOverflowIntrinsic()
466 EVI->replaceAllUsesWith(NewResult); in eliminateOverflowIntrinsic()
494 SI->replaceAllUsesWith(BO); in eliminateSaturatingIntrinsic()
603 ICI->replaceAllUsesWith(NewICI); in eliminateTrunc()
[all …]
/external/llvm-project/llvm/tools/llvm-reduce/deltas/
DReduceArguments.cpp36 CI->replaceAllUsesWith(NewCI); in replaceFunctionCalls()
75 I->replaceAllUsesWith(UndefValue::get(I->getType())); in extractArgumentsFromModule()
97 F->replaceAllUsesWith(ConstantExpr::getBitCast(ClonedFunc, F->getType())); in extractArgumentsFromModule()
DReduceGlobalVars.cpp40 GV.replaceAllUsesWith(UndefValue::get(GV.getType())); in extractGVsFromModule()
49 Inst->replaceAllUsesWith(UndefValue::get(Inst->getType())); in extractGVsFromModule()
/external/llvm/unittests/IR/
DValueMapTest.cpp52 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
171 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
206 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
223 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
255 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
287 this->BitcastV->replaceAllUsesWith(this->AddV.get()); in TYPED_TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp141 S->replaceAllUsesWith(ReplaceWith); in processSelect()
206 P->replaceAllUsesWith(CommonValue); in simplifyCommonValuePhi()
268 P->replaceAllUsesWith(V); in processPHI()
325 Cmp->replaceAllUsesWith(TorF); in processCmp()
510 WO->replaceAllUsesWith(NewI); in processOverflowIntrinsic()
528 SI->replaceAllUsesWith(BinOp); in processSaturatingInst()
655 Instr->replaceAllUsesWith(Zext); in processUDivOrURem()
668 SDI->replaceAllUsesWith(BO); in processSRem()
691 SDI->replaceAllUsesWith(BO); in processSDiv()
714 SDI->replaceAllUsesWith(BO); in processAShr()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp139 S->replaceAllUsesWith(ReplaceWith); in processSelect()
204 P->replaceAllUsesWith(CommonValue); in simplifyCommonValuePhi()
266 P->replaceAllUsesWith(V); in processPHI()
315 Cmp->replaceAllUsesWith(TorF); in processCmp()
498 WO->replaceAllUsesWith(NewI); in processOverflowIntrinsic()
516 SI->replaceAllUsesWith(BinOp); in processSaturatingInst()
667 Instr->replaceAllUsesWith(Sext); in narrowSDivOrSRem()
711 Instr->replaceAllUsesWith(Zext); in processUDivOrURem()
758 SDI->replaceAllUsesWith(Res); in processSRem()
815 SDI->replaceAllUsesWith(Res); in processSDiv()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dtf_executor_to_functional.cc60 std::get<0>(result).replaceAllUsesWith(std::get<1>(result)); in LiftIslandOpInnerOpsFromGraph()
65 std::get<0>(result).replaceAllUsesWith(std::get<1>(result)); in LiftIslandOpInnerOpsFromGraph()
/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp146 I->replaceAllUsesWith(QuoPhi); in insertFastDiv()
148 I->replaceAllUsesWith(RemPhi); in insertFastDiv()
194 I->replaceAllUsesWith(Value.Quotient); in reuseOrInsertFastDiv()
197 I->replaceAllUsesWith(Value.Remainder); in reuseOrInsertFastDiv()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp135 Arg.replaceAllUsesWith(CastOffsetPtr); in runOnFunction()
242 Arg.replaceAllUsesWith(NewVal); in runOnFunction()
247 Arg.replaceAllUsesWith(Shuf); in runOnFunction()
250 Arg.replaceAllUsesWith(Load); in runOnFunction()

12345678910>>...30