Home
last modified time | relevance | path

Searched refs:replaceAllUsesWith (Results 51 – 75 of 134) sorted by relevance

123456

/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DLowerExpectIntrinsic.cpp172 CI->replaceAllUsesWith(Exp); in runOnFunction()
H A DSimplifyCFG.cpp1122 I2->replaceAllUsesWith(I1); in HoistThenElseCodeToIf()
1181 I1->replaceAllUsesWith(NT); in HoistThenElseCodeToIf()
1182 I2->replaceAllUsesWith(NT); in HoistThenElseCodeToIf()
1373 OldPN->replaceAllUsesWith(I1); in SinkThenElseCodeToEnd()
1377 I2->replaceAllUsesWith(I1); in SinkThenElseCodeToEnd()
1842 PN->replaceAllUsesWith(V); in FoldTwoEntryPHINode()
1926 PN->replaceAllUsesWith(NV); in FoldTwoEntryPHINode()
2752 ICI->replaceAllUsesWith(V); in TryToSimplifyUncondBranchWithICmpInIt()
2769 ICI->replaceAllUsesWith(V); in TryToSimplifyUncondBranchWithICmpInIt()
2977 II->replaceAllUsesWith(Call); in SimplifyResume()
[all …]
H A DValueMapper.cpp279 Dummy->replaceAllUsesWith(NewMD); in mapDistinctNode()
329 Dummy->replaceAllUsesWith(NewMD); in mapUniquedNode()
/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DMetadata.h160 void replaceAllUsesWith(Metadata *MD);
233 void replaceAllUsesWith(Metadata *MD) { in replaceAllUsesWith() function
234 ReplaceableMetadataImpl::replaceAllUsesWith(MD); in replaceAllUsesWith()
909 using ReplaceableMetadataImpl::replaceAllUsesWith;
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp224 Replacements[i].first->replaceAllUsesWith(Replacements[i].second); in runOnModule()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopInstSimplify.cpp131 I->replaceAllUsesWith(V); in runOnLoop()
H A DGVN.cpp1200 SrcVal->replaceAllUsesWith(RV); in GetLoadValueForLoad()
1697 LI->replaceAllUsesWith(V); in PerformLoadPRE()
1762 LI->replaceAllUsesWith(V); in processNonLocalLoad()
1817 I->replaceAllUsesWith(Repl); in patchAndReplaceAllUsesWith()
1892 L->replaceAllUsesWith(AvailVal); in processLoad()
1949 L->replaceAllUsesWith(StoredVal); in processLoad()
1990 L->replaceAllUsesWith(UndefValue::get(L->getType())); in processLoad()
2000 L->replaceAllUsesWith(UndefValue::get(L->getType())); in processLoad()
2010 L->replaceAllUsesWith(Constant::getNullValue(L->getType())); in processLoad()
2244 I->replaceAllUsesWith(V); in processInstruction()
[all …]
H A DSeparateConstOffsetFromGEP.cpp785 Variadic->replaceAllUsesWith(ResultPtr); in lowerToSingleIndexGEPs()
831 Variadic->replaceAllUsesWith(ResultPtr); in lowerToArithmetics()
992 GEP->replaceAllUsesWith(NewGEP); in splitGEP()
H A DIndVarSimplify.cpp422 Compare->replaceAllUsesWith(NewCompare); in HandleFloatingPointIV()
426 Incr->replaceAllUsesWith(UndefValue::get(Incr->getType())); in HandleFloatingPointIV()
439 PN->replaceAllUsesWith(Conv); in HandleFloatingPointIV()
621 PN->replaceAllUsesWith(ExitVal); in RewriteLoopExitValues()
633 PN->replaceAllUsesWith(NewPN); in RewriteLoopExitValues()
1003 UsePhi->replaceAllUsesWith(Trunc); in WidenIVUse()
1036 DU.NarrowUse->replaceAllUsesWith(NewDef); in WidenIVUse()
H A DScalarReplAggregates.cpp640 LI->replaceAllUsesWith(NewLoadVal); in ConvertUsesToScalar()
1272 SI->replaceAllUsesWith(Result); in tryToMakeAllocaBePromotable()
1356 LI->replaceAllUsesWith(V); in tryToMakeAllocaBePromotable()
1388 LI->replaceAllUsesWith(NewPN); in tryToMakeAllocaBePromotable()
1930 LI->replaceAllUsesWith(Insert); in RewriteForScalarRepl()
2010 BC->replaceAllUsesWith(Val); in RewriteBitCast()
2104 GEPI->replaceAllUsesWith(Val); in RewriteGEP()
2538 LI->replaceAllUsesWith(ResultVal); in RewriteLoadUserOfWholeAlloca()
H A DJumpThreading.cpp714 I->replaceAllUsesWith(SimpleVal); in ProcessBlock()
907 LI->replaceAllUsesWith(AvailableVal); in SimplifyPartiallyRedundantLoad()
1051 LI->replaceAllUsesWith(PN); in SimplifyPartiallyRedundantLoad()
1342 BO->replaceAllUsesWith(UndefValue::get(BO->getType())); in ProcessBranchOnXOR()
1346 BO->replaceAllUsesWith(BO->getOperand(isLHS)); in ProcessBranchOnXOR()
H A DSCCP.cpp1546 Inst->replaceAllUsesWith(UndefValue::get(Inst->getType())); in DeleteInstructionInBlock()
1618 Inst->replaceAllUsesWith(Const); in runOnFunction()
1782 AI->replaceAllUsesWith(CST); in runOnModule()
1799 TI->replaceAllUsesWith(UndefValue::get(TI->getType())); in runOnModule()
1827 Inst->replaceAllUsesWith(Const); in runOnModule()
H A DTailRecursionElimination.cpp439 PN->replaceAllUsesWith(PNV); in runTRE()
726 I->replaceAllUsesWith(PN); // Everyone use the PHI node now! in EliminateRecursiveTailCall()
/minix/external/bsd/llvm/dist/llvm/lib/Target/R600/
H A DAMDGPUPromoteAlloca.cpp209 Inst->replaceAllUsesWith(ExtractElement); in tryPromoteAllocaToVector()
337 I.replaceAllUsesWith(Offset); in visitAlloca()
H A DR600TextureIntrinsicsReplacer.cpp153 I.replaceAllUsesWith(Builder.CreateCall(F, Args)); in ReplaceCallInst()
/minix/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp179 Reflect->replaceAllUsesWith( in handleFunction()
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DShadowStackGC.cpp183 CI->replaceAllUsesWith(II); in Next()
414 OriginalAlloca->replaceAllUsesWith(SlotPtr); in performCustomLowering()
H A DCodeGenPrepare.cpp510 BB->replaceAllUsesWith(DestBB); in EliminateMostlyEmptyBlock()
965 CI->replaceAllUsesWith(NewI); in ScalarizeMaskedLoad()
1144 CI->replaceAllUsesWith(V); in OptimizeCallInst()
1638 Inst->replaceAllUsesWith(New); in UsesReplacer()
2189 TPT.replaceAllUsesWith(SExt, ZExt); in promoteOperandForTruncAndAnyExt()
2241 TPT.replaceAllUsesWith(ExtOpnd, Trunc); in promoteOperandForOther()
2259 TPT.replaceAllUsesWith(Ext, ExtOpnd); in promoteOperandForOther()
3590 SI->replaceAllUsesWith(PN); in OptimizeSelectInst()
4096 II->replaceAllUsesWith(NewI); in OptimizeBranchInst()
4176 P->replaceAllUsesWith(V); in OptimizeInst()
[all …]
H A DUnreachableBlockElim.cpp78 PN->replaceAllUsesWith(Constant::getNullValue(PN->getType())); in runOnFunction()
/minix/external/bsd/llvm/dist/llvm/lib/IR/
H A DDIBuilder.cpp74 DIType(TempEnumTypes).replaceAllUsesWith(Enums); in finalize()
86 DIType(TempRetainTypes).replaceAllUsesWith(RetainTypes); in finalize()
89 DIType(TempSubprograms).replaceAllUsesWith(SPs); in finalize()
97 DIType(Temp).replaceAllUsesWith(AV); in finalize()
102 DIType(TempGVs).replaceAllUsesWith(GVs); in finalize()
108 DIType(TempImportedModules).replaceAllUsesWith(IMs); in finalize()
H A DDebugInfo.cpp323 void DIDescriptor::replaceAllUsesWith(LLVMContext &VMContext, DIDescriptor D) { in replaceAllUsesWith() function in DIDescriptor
341 Node->replaceAllUsesWith(const_cast<MDNode *>(DN)); in replaceAllUsesWith()
346 void DIDescriptor::replaceAllUsesWith(MDNode *D) { in replaceAllUsesWith() function in DIDescriptor
350 Node->replaceAllUsesWith(D); in replaceAllUsesWith()
/minix/external/bsd/llvm/dist/llvm/unittests/Analysis/
H A DScalarEvolutionTest.cpp81 V2->replaceAllUsesWith(V1); in TEST_F()
82 V1->replaceAllUsesWith(V0); in TEST_F()
/minix/external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DSimplifyLibCalls.h96 virtual void replaceAllUsesWith(Instruction *I, Value *With) const;
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp680 GA->replaceAllUsesWith(ConstantExpr::getBitCast(NewF, GA->getType())); in runOnModule()
718 FArg->replaceAllUsesWith(NewFArg); in runOnModule()
727 BA->replaceAllUsesWith( in runOnModule()
732 F.replaceAllUsesWith( in runOnModule()
756 F.replaceAllUsesWith(WrappedFnCst); in runOnModule()
1510 CI->replaceAllUsesWith(CustomCI); in visitCallSite()
1603 CS.getInstruction()->replaceAllUsesWith(ExVal); in visitCallSite()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.h293 CI->replaceAllUsesWith(OldArg); in EraseInstruction()

123456