Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp69 SmallVector<ReplacementInfo, 8> ToReplace; member in __anon4f457a270111::AMDGPUAtomicOptimizerImpl
170 const bool Changed = !ToReplace.empty(); in run()
172 for (ReplacementInfo &Info : ToReplace) { in run()
176 ToReplace.clear(); in run()
242 ToReplace.push_back(Info); in visitAtomicRMWInst()
342 ToReplace.push_back(Info); in visitIntrinsicInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp226 SmallVector<SectionBase *, 13> ToReplace; in replaceDebugSections() local
229 ToReplace.push_back(&Sec); in replaceDebugSections()
233 for (SectionBase *S : ToReplace) { in replaceDebugSections()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1267 for (GCRelocateInst *ToReplace : Targets) { in simplifyRelocatesOffABase()
1270 if (ToReplace->getBasePtrIndex() == ToReplace->getDerivedPtrIndex()) { in simplifyRelocatesOffABase()
1283 Value *Base = ToReplace->getBasePtr(); in simplifyRelocatesOffABase()
1298 Builder.SetCurrentDebugLocation(ToReplace->getDebugLoc()); in simplifyRelocatesOffABase()
1330 Replacement->takeName(ToReplace); in simplifyRelocatesOffABase()
1335 if (Replacement->getType() != ToReplace->getType()) { in simplifyRelocatesOffABase()
1339 ToReplace->replaceAllUsesWith(ActualReplacement); in simplifyRelocatesOffABase()
1340 ToReplace->eraseFromParent(); in simplifyRelocatesOffABase()
7243 SmallVector<Use *, 4> ToReplace; in tryToSinkFreeOperands() local
7259 ToReplace.push_back(U); in tryToSinkFreeOperands()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp1776 std::string ToReplace = cast<StringInit>(DI->getArg(0))->getAsUnquotedString(); in emitDagNameReplace() local
1779 size_t Idx = S.find(ToReplace); in emitDagNameReplace()
1781 assert_with_loc(Idx != std::string::npos, "name should contain '" + ToReplace + "'!"); in emitDagNameReplace()
1782 S.replace(Idx, ToReplace.size(), ReplaceWith); in emitDagNameReplace()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp4434 SmallVector<MachineInstr *, 4> ToReplace; in inlineStackProbe() local
4438 ToReplace.push_back(&MI); in inlineStackProbe()
4440 for (MachineInstr *MI : ToReplace) { in inlineStackProbe()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp6722 SmallVector<SDNode *, 4> ToReplace; in SwapAllSelectUsers() local
6727 ToReplace.push_back(User); in SwapAllSelectUsers()
6730 for (SDNode *User : ToReplace) { in SwapAllSelectUsers()
/freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp943 auto *ToReplace = FI->second.first.get(); in parseStandaloneMetadata() local
947 for (auto *Inst : TempDIAssignIDAttachments[ToReplace]) { in parseStandaloneMetadata()
954 ToReplace->replaceAllUsesWith(Init); in parseStandaloneMetadata()