Home
last modified time | relevance | path

Searched refs:ToReplace (Results 1 – 4 of 4) sorted by relevance

/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDPlaceSafepoints.cpp926 CallInst *ToReplace = cast<CallInst>(CS.getInstruction()); in ReplaceWithStatepoint() local
931 Call->setTailCall(ToReplace->isTailCall()); in ReplaceWithStatepoint()
932 Call->setCallingConv(ToReplace->getCallingConv()); in ReplaceWithStatepoint()
943 assert(ToReplace->getNextNode() && "not a terminator, must have next"); in ReplaceWithStatepoint()
944 Builder.SetInsertPoint(ToReplace->getNextNode()); in ReplaceWithStatepoint()
945 Builder.SetCurrentDebugLocation(ToReplace->getNextNode()->getDebugLoc()); in ReplaceWithStatepoint()
947 InvokeInst *ToReplace = cast<InvokeInst>(CS.getInstruction()); in ReplaceWithStatepoint() local
952 Builder.SetInsertPoint(ToReplace->getParent()); in ReplaceWithStatepoint()
954 ID, NumPatchBytes, StatepointTarget, ToReplace->getNormalDest(), in ReplaceWithStatepoint()
955 ToReplace->getUnwindDest(), makeArrayRef(CS.arg_begin(), CS.arg_end()), in ReplaceWithStatepoint()
[all …]
/NextBSD/contrib/llvm/lib/CodeGen/
HDCodeGenPrepare.cpp586 for (auto &ToReplace : Targets) { in simplifyRelocatesOffABase() local
588 GCRelocateOperands ThisRelocate(ToReplace); in simplifyRelocatesOffABase()
611 Builder.SetCurrentDebugLocation(ToReplace->getDebugLoc()); in simplifyRelocatesOffABase()
642 Replacement->takeName(ToReplace); in simplifyRelocatesOffABase()
646 if (ReplacementInst->getType() != ToReplace->getType()) { in simplifyRelocatesOffABase()
648 cast<Instruction>(Builder.CreateBitCast(ReplacementInst, ToReplace->getType())); in simplifyRelocatesOffABase()
650 ToReplace->replaceAllUsesWith(ActualReplacement); in simplifyRelocatesOffABase()
651 ToReplace->eraseFromParent(); in simplifyRelocatesOffABase()
/NextBSD/contrib/llvm/tools/clang/utils/TableGen/
HDNeonEmitter.cpp1744 std::string ToReplace = cast<StringInit>(DI->getArg(0))->getAsUnquotedString(); in emitDagNameReplace() local
1747 size_t Idx = S.find(ToReplace); in emitDagNameReplace()
1749 assert_with_loc(Idx != std::string::npos, "name should contain '" + ToReplace + "'!"); in emitDagNameReplace()
1750 S.replace(Idx, ToReplace.size(), ReplaceWith); in emitDagNameReplace()
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCISelDAGToDAG.cpp3391 SmallVector<SDNode *, 4> ToReplace; in SwapAllSelectUsers() local
3398 ToReplace.push_back(User); in SwapAllSelectUsers()
3401 for (SmallVector<SDNode *, 4>::iterator UI = ToReplace.begin(), in SwapAllSelectUsers()
3402 UE = ToReplace.end(); UI != UE; ++UI) { in SwapAllSelectUsers()