Home
last modified time | relevance | path

Searched refs:replaceAllUsesWith (Results 76 – 100 of 134) sorted by relevance

123456

/minix/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGCXX.cpp193 Entry->replaceAllUsesWith(Alias); in TryEmitDefinitionAsAlias()
H A DCGVTables.cpp145 Fn->replaceAllUsesWith(NewFn); in GenerateVarArgsThunk()
420 OldThunkFn->replaceAllUsesWith(NewPtrForOldDecl); in emitThunk()
H A DCodeGenModule.cpp228 OldF->replaceAllUsesWith(Replacement); in applyReplacements()
317 Alias->replaceAllUsesWith(llvm::UndefValue::get(Alias->getType())); in checkAliases()
1827 OldGV->replaceAllUsesWith(NewPtrForOldDecl); in CreateOrReplaceCXXRuntimeVariable()
2017 Entry->replaceAllUsesWith(NewPtrForOldDecl); in EmitGlobalVarDefinition()
2285 callSite->replaceAllUsesWith(newCall.getInstruction()); in replaceUsesOfNonProtoConstant()
2382 GV->replaceAllUsesWith(NewPtrForOldDecl); in EmitGlobalFunctionDefinition()
2472 Entry->replaceAllUsesWith(llvm::ConstantExpr::getBitCast(GA, in EmitAliasDefinition()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopUnswitch.cpp884 LPI->replaceAllUsesWith(PN); in UnswitchNontrivialCondition()
953 I->replaceAllUsesWith(V); in ReplaceUsesOfWith()
1136 Succ->replaceAllUsesWith(Pred); in SimplifyCode()
H A DLoadCombine.cpp220 L.Load->replaceAllUsesWith(V); in combineLoads()
H A DReassociate.cpp397 Neg->replaceAllUsesWith(Res); in LowerNegateToMultiply()
1034 Sub->replaceAllUsesWith(New); in BreakUpSubtract()
1054 Shl->replaceAllUsesWith(Mul); in ConvertShiftToMul()
2053 User->replaceAllUsesWith(NI); in canonicalizeNegConstExpr()
2204 I->replaceAllUsesWith(V); in ReassociateExpression()
2242 I->replaceAllUsesWith(Ops[0].Op); in ReassociateExpression()
H A DLICM.cpp422 I.replaceAllUsesWith(C); in HoistRegion()
630 PN->replaceAllUsesWith(New); in sink()
H A DScalarizer.cpp307 Old->replaceAllUsesWith(CV[I]); in gather()
663 Op->replaceAllUsesWith(Res); in finish()
H A DSROA.cpp1434 LI->replaceAllUsesWith(NewPN); in speculatePHINodeLoads()
1530 LI->replaceAllUsesWith(V); in speculateSelectInstLoads()
2619 LI.replaceAllUsesWith(V); in visitLoadInst()
2620 Placeholder->replaceAllUsesWith(&LI); in visitLoadInst()
2623 LI.replaceAllUsesWith(V); in visitLoadInst()
3265 LI.replaceAllUsesWith(V); in visitLoadInst()
4208 DeadUser->replaceAllUsesWith(UndefValue::get(DeadUser->getType())); in runOnAlloca()
4251 I->replaceAllUsesWith(UndefValue::get(I->getType())); in deleteDeadInstructions()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp548 PN->replaceAllUsesWith(NV); in CloneAndPruneFunctionInto()
609 Dest->replaceAllUsesWith(I); in CloneAndPruneFunctionInto()
H A DSimplifyLibCalls.cpp741 replaceAllUsesWith(Old, Cmp); in optimizeStrStr()
1309 replaceAllUsesWith(*I, Res); in replaceTrigInsts()
1973 SimplifiedCI->replaceAllUsesWith(V); in optimizeCall()
2099 void LibCallSimplifier::replaceAllUsesWith(Instruction *I, Value *With) const { in replaceAllUsesWith() function in LibCallSimplifier
2100 I->replaceAllUsesWith(With); in replaceAllUsesWith()
/minix/external/bsd/llvm/dist/llvm/tools/bugpoint/
H A DCrashDebugger.cpp301 BBTerm->replaceAllUsesWith(Constant::getNullValue(BBTerm->getType())); in TestBlocks()
404 Inst->replaceAllUsesWith(UndefValue::get(Inst->getType())); in TestInsts()
H A DExtractFunction.cpp107 TheInst->replaceAllUsesWith(Constant::getNullValue(TheInst->getType())); in deleteInstructionFromProgram()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp185 GuardArray->replaceAllUsesWith( in runOnModule()
H A DInstrProfiling.cpp151 Inc->replaceAllUsesWith(Builder.CreateStore(Count, Addr)); in lowerIncrement()
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DGlobalMerge.cpp224 Globals[k]->replaceAllUsesWith(GEP); in doMerge()
/minix/external/bsd/llvm/dist/llvm/tools/gold/
H A Dgold-plugin.cpp472 Alias.replaceAllUsesWith(Var); in drop()
542 GO->replaceAllUsesWith(Declaration); in materializeValueFor()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp1361 G->replaceAllUsesWith(NewG); in writeThunk()
1377 G->replaceAllUsesWith(GA); in writeAlias()
1396 F->replaceAllUsesWith(H); in mergeTwoFunctions()
/minix/external/bsd/llvm/dist/llvm/docs/
H A DLexicon.rst167 ``Value::replaceAllUsesWith()``, and
H A DMergeFunctions.rst684 everywhere, we use ``replaceAllUsesWith`` operation here (*RAUW*).
720 ``removeUsers(F)`` does that (don't confuse with ``replaceAllUsesWith``):
728 2.2. Now we can do the replacement: call ``F->replaceAllUsesWith(H)``.
775 3.2. call ``G->replaceAllUsesWith(GA)``.
792 2. “As-usual”: ``removeUsers`` and ``replaceAllUsesWith`` then.
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp417 CI->replaceAllUsesWith(Null); in runOnFunction()
H A DObjCARCOpts.cpp1335 CI->replaceAllUsesWith(NewValue); in OptimizeIndividualCalls()
1356 CI->replaceAllUsesWith(NewValue); in OptimizeIndividualCalls()
2683 Call->replaceAllUsesWith(EarlierCall); in OptimizeWeakCalls()
2712 Call->replaceAllUsesWith(EarlierCall->getArgOperand(1)); in OptimizeWeakCalls()
2771 UserInst->replaceAllUsesWith(UserInst->getArgOperand(1)); in OptimizeWeakCalls()
/minix/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp159 GV->replaceAllUsesWith(BitCastNewGV); in runOnModule()
/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DDebugInfo.h238 void replaceAllUsesWith(LLVMContext &VMContext, DIDescriptor D);
239 void replaceAllUsesWith(MDNode *D);
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp64 CI->replaceAllUsesWith(Ret); in ReuseOrCreateCast()
1715 Phi->replaceAllUsesWith(V); in replaceCongruentIVs()
1790 IsomorphicInc->replaceAllUsesWith(NewInc); in replaceCongruentIVs()
1803 Phi->replaceAllUsesWith(NewIV); in replaceCongruentIVs()

123456