Home
last modified time | relevance | path

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

12345678910>>...16

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DIntrinsicLowering.cpp83 CI->replaceAllUsesWith(NewCI); in ReplaceCallWith()
356 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
368 CI->replaceAllUsesWith(V); in LowerIntrinsicCall()
373 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall()
389 CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
393 CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
397 CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI)); in LowerIntrinsicCall()
408 CI->replaceAllUsesWith(Src); in LowerIntrinsicCall()
420 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType())); in LowerIntrinsicCall()
429 CI->replaceAllUsesWith(ConstantInt::get(CI->getType(), 0)); in LowerIntrinsicCall()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dexecutor_to_control_dialect.cc82 .replaceAllUsesWith(std::get<1>(ops_and_ret_vals)); in runOnFunction()
109 .replaceAllUsesWith(std::get<1>(ops_and_ret_vals)); in runOnFunction()
144 .replaceAllUsesWith(std::get<1>(ops_and_ret_vals)); in runOnFunction()
154 island.control().replaceAllUsesWith(ctl_sequence); in runOnFunction()
160 island.control().replaceAllUsesWith(island.getOperand(0)); in runOnFunction()
215 next_iteration.output().replaceAllUsesWith(replacement->getResult(0)); in runOnFunction()
217 next_iteration.control().replaceAllUsesWith(replacement->getResult(1)); in runOnFunction()
222 .replaceAllUsesWith(std::get<1>(ops_and_ret_vals)); in runOnFunction()
/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-7.0/llvm/lib/Transforms/Coroutines/
DCoroCleanup.cpp55 SubFn->replaceAllUsesWith(Load); in lowerSubFn()
68 II->replaceAllUsesWith(II->getArgOperand(1)); in lowerRemainingCoroIntrinsics()
71 II->replaceAllUsesWith(II->getArgOperand(1)); in lowerRemainingCoroIntrinsics()
74 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lowerRemainingCoroIntrinsics()
77 II->replaceAllUsesWith(ConstantTokenNone::get(Context)); in lowerRemainingCoroIntrinsics()
DCoroSplit.cpp123 Save->replaceAllUsesWith(ConstantTokenNone::get(C)); in createResumeEntryBlock()
158 S->replaceAllUsesWith(PN); in createResumeEntryBlock()
206 NewCE->replaceAllUsesWith(True); in replaceUnwindCoroEnds()
289 Entry->replaceAllUsesWith(Switch->getDefaultDest()); in createClone()
297 OldFramePtr->replaceAllUsesWith(NewFramePtr); in createClone()
303 OldVFrame->replaceAllUsesWith(NewVFrame); in createClone()
322 MappedCS->replaceAllUsesWith(NewValue); in createClone()
347 CE->replaceAllUsesWith(False); in removeCoroEnds()
364 CS->replaceAllUsesWith(SizeConstant); in replaceFrameSize()
532 AllocInst->replaceAllUsesWith(Builder.getFalse()); in handleNoSuspendCoroutine()
[all …]
DCoroutines.cpp166 CF->replaceAllUsesWith(Replacement); in replaceCoroFree()
307 CF->replaceAllUsesWith(Undef); in buildFrom()
314 CS->replaceAllUsesWith(UndefValue::get(CS->getType())); in buildFrom()
329 CF->replaceAllUsesWith(CoroBegin); in buildFrom()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/lite/
Dtfl_to_std.cc31 dq.output().replaceAllUsesWith(dcast); in ConvertTFLQuantOpsToMlirQuantOps()
36 q.output().replaceAllUsesWith(qcast); in ConvertTFLQuantOpsToMlirQuantOps()
49 dq.getResult().replaceAllUsesWith(dcast); in ConvertMlirQuantOpsToTFLQuantOps()
55 q.getResult().replaceAllUsesWith(qcast); in ConvertMlirQuantOpsToTFLQuantOps()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DValueHandleTest.cpp49 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
104 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
180 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
306 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
327 getValPtr()->replaceAllUsesWith( in TEST_F()
386 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
491 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
505 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
522 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
543 BitcastV->replaceAllUsesWith(ConstantV); in TEST_F()
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/tensorflow/tensorflow/compiler/mlir/lite/quantization/tensorflow/
Dtf_to_quant.cc89 id1.replaceAllUsesWith(id1.input()); in matchAndRewrite()
94 id2.replaceAllUsesWith(id2.input()); in matchAndRewrite()
127 value.replaceAllUsesWith(dequantize); in matchAndRewrite()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp255 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison()
259 ICmp->replaceAllUsesWith(ConstantInt::getFalse(ICmp->getContext())); in eliminateIVComparison()
298 SDiv->replaceAllUsesWith(UDiv); in eliminateSDiv()
314 Rem->replaceAllUsesWith(URem); in replaceSRemWithURem()
323 Rem->replaceAllUsesWith(Rem->getOperand(0)); in replaceRemWithNumerator()
337 Rem->replaceAllUsesWith(Sel); in replaceRemWithNumeratorOrZero()
480 EVI->replaceAllUsesWith(ConstantInt::getFalse(CI->getContext())); in eliminateOverflowIntrinsic()
483 EVI->replaceAllUsesWith(NewResult); in eliminateOverflowIntrinsic()
600 ICI->replaceAllUsesWith(NewICI); in eliminateTrunc()
605 TI->replaceAllUsesWith(UndefValue::get(TI->getType())); in eliminateTrunc()
[all …]
DIntegerDivision.cpp395 Rem->replaceAllUsesWith(Remainder); in expandRemainder()
413 Rem->replaceAllUsesWith(Remainder); in expandRemainder()
454 Div->replaceAllUsesWith(Quotient); in expandDivision()
472 Div->replaceAllUsesWith(Quotient); in expandDivision()
523 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo32Bits()
571 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo64Bits()
620 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo32Bits()
669 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo64Bits()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dfold_switch.cc192 live.replaceAllUsesWith(switch_op.data()); in MatchSwitchFoldOps()
229 merge_op.output().replaceAllUsesWith(val); in FoldMergeNodes()
233 merge_op.value_index().replaceAllUsesWith( in FoldMergeNodes()
248 merge_op.control().replaceAllUsesWith( in FoldMergeNodes()
Dmaterialize_mlir_passthrough_op.cc82 std::get<0>(arg_mapping).replaceAllUsesWith(std::get<1>(arg_mapping)); in runOnFunction()
90 std::get<0>(ret_mapping).replaceAllUsesWith(std::get<1>(ret_mapping)); in runOnFunction()
Dresource_op_lifting.cc103 read_variable_op.value().replaceAllUsesWith(last_store.value()); in ForwardStoreToLoad()
144 op.replaceAllUsesWith(p.first->second); in HoistResourceLoads()
211 std::get<0>(p).replaceAllUsesWith(std::get<1>(p)); in SinkResourceStores()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp120 S->replaceAllUsesWith(ReplaceWith); in processSelect()
178 P->replaceAllUsesWith(CommonValue); in simplifyCommonValuePhi()
240 P->replaceAllUsesWith(V); in processPHI()
295 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp()
297 C->replaceAllUsesWith(ConstantInt::getFalse(C->getContext())); in processCmp()
454 II->replaceAllUsesWith(NewI); in processOverflowIntrinsic()
545 Instr->replaceAllUsesWith(Zext); in processUDivOrURem()
557 SDI->replaceAllUsesWith(BO); in processSRem()
579 SDI->replaceAllUsesWith(BO); in processSDiv()
601 SDI->replaceAllUsesWith(BO); in processAShr()
/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/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()
DIntegerDivision.cpp395 Rem->replaceAllUsesWith(Remainder); in expandRemainder()
413 Rem->replaceAllUsesWith(Remainder); in expandRemainder()
454 Div->replaceAllUsesWith(Quotient); in expandDivision()
472 Div->replaceAllUsesWith(Quotient); in expandDivision()
523 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo32Bits()
571 Rem->replaceAllUsesWith(Trunc); in expandRemainderUpTo64Bits()
620 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo32Bits()
669 Div->replaceAllUsesWith(Trunc); in expandDivisionUpTo64Bits()
DSimplifyIndVar.cpp175 ICmp->replaceAllUsesWith(ConstantInt::getTrue(ICmp->getContext())); in eliminateIVComparison()
179 ICmp->replaceAllUsesWith(ConstantInt::getFalse(ICmp->getContext())); in eliminateIVComparison()
291 Rem->replaceAllUsesWith(Rem->getOperand(0)); in eliminateIVRemainder()
309 Rem->replaceAllUsesWith(Sel); in eliminateIVRemainder()
402 EVI->replaceAllUsesWith(ConstantInt::getFalse(CI->getContext())); in eliminateOverflowIntrinsic()
405 EVI->replaceAllUsesWith(NewResult); in eliminateOverflowIntrinsic()
482 UseInst->replaceAllUsesWith(IVOperand); in eliminateIdentitySCEV()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp86 S->replaceAllUsesWith(ReplaceWith); in processSelect()
151 P->replaceAllUsesWith(V); in processPHI()
203 C->replaceAllUsesWith(ConstantInt::getTrue(C->getContext())); in processCmp()
205 C->replaceAllUsesWith(ConstantInt::getFalse(C->getContext())); in processCmp()
359 SDI->replaceAllUsesWith(BO); in processSRem()
378 SDI->replaceAllUsesWith(BO); in processSDiv()
/external/llvm/lib/Target/AMDGPU/
DSITypeRewriter.cpp89 I.replaceAllUsesWith(BitCastLoad); in visitLoadInst()
138 I.replaceAllUsesWith(Builder.CreateCall(NewF, Args)); in visitCallInst()
150 I.replaceAllUsesWith(Op->getOperand(0)); in visitBitCast()
/external/llvm/lib/Transforms/IPO/
DPartialInlining.cpp90 F->replaceAllUsesWith(duplicateFunction); in unswitchFunction()
106 OldPhi->replaceAllUsesWith(retPhi); in unswitchFunction()
147 duplicateFunction->replaceAllUsesWith(F); in unswitchFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DValueList.cpp92 OldV->replaceAllUsesWith(V); in assignValue()
207 UserC->replaceAllUsesWith(NewC); in resolveConstantForwardRefs()
213 Placeholder->replaceAllUsesWith(RealVal); in resolveConstantForwardRefs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelAttributes.cpp204 SI->replaceAllUsesWith(ConstantExpr::getIntegerCast(KnownSize, in processUse()
208 SI->replaceAllUsesWith(ZextGroupSize); in processUse()
227 GroupSize->replaceAllUsesWith( in processUse()

12345678910>>...16