Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVMergeRegionExitTargets.cpp97 const SmallPtrSet<BasicBlock *, 4> &ToReplace, in replaceBranchTargets() argument
105 if (ToReplace.count(BI->getSuccessor(i)) != 0) in replaceBranchTargets()
113 if (ToReplace.count(SI->getSuccessor(i)) != 0) in replaceBranchTargets()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp70 SmallVector<ReplacementInfo, 8> ToReplace; member in __anon413337310111::AMDGPUAtomicOptimizerImpl
159 if (ToReplace.empty()) in run()
162 for (auto &[I, Op, ValIdx, ValDivergent] : ToReplace) in run()
164 ToReplace.clear(); in run()
245 ToReplace.push_back({&I, Op, ValIdx, ValDivergent}); in visitAtomicRMWInst()
336 ToReplace.push_back({&I, Op, ValIdx, ValDivergent}); in visitIntrinsicInst()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp218 ToReplace; in compressOrDecompressSections() local
243 ToReplace.emplace_back( in compressOrDecompressSections()
246 ToReplace.emplace_back(&Sec, [=, S = &Sec] { in compressOrDecompressSections()
254 for (auto [S, Func] : ToReplace) in compressOrDecompressSections()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp1268 for (GCRelocateInst *ToReplace : Targets) { in simplifyRelocatesOffABase()
1269 assert(ToReplace->getBasePtrIndex() == RelocatedBase->getBasePtrIndex() && in simplifyRelocatesOffABase()
1271 if (ToReplace->getBasePtrIndex() == ToReplace->getDerivedPtrIndex()) { in simplifyRelocatesOffABase()
1276 if (RelocatedBase->getParent() != ToReplace->getParent()) { in simplifyRelocatesOffABase()
1284 Value *Base = ToReplace->getBasePtr(); in simplifyRelocatesOffABase()
1285 auto *Derived = dyn_cast<GetElementPtrInst>(ToReplace->getDerivedPtr()); in simplifyRelocatesOffABase()
1299 Builder.SetCurrentDebugLocation(ToReplace->getDebugLoc()); in simplifyRelocatesOffABase()
1331 Replacement->takeName(ToReplace); in simplifyRelocatesOffABase()
1336 if (Replacement->getType() != ToReplace->getType()) { in simplifyRelocatesOffABase()
1338 Builder.CreateBitCast(Replacement, ToReplace->getType()); in simplifyRelocatesOffABase()
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp1829 std::string ToReplace = cast<StringInit>(DI->getArg(0))->getAsUnquotedString(); in emitDagNameReplace() local
1832 size_t Idx = S.find(ToReplace); in emitDagNameReplace()
1834 assert_with_loc(Idx != std::string::npos, "name should contain '" + ToReplace + "'!"); in emitDagNameReplace()
1835 S.replace(Idx, ToReplace.size(), ReplaceWith); in emitDagNameReplace()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.cpp2415 SmallVector<MachineInstr *, 4> ToReplace; in inlineStackProbe() local
2420 ToReplace.push_back(&MI); in inlineStackProbe()
2424 for (MachineInstr *MI : ToReplace) { in inlineStackProbe()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.cpp5678 SmallVector<MachineInstr *, 4> ToReplace; in inlineStackProbe() local
5682 ToReplace.push_back(&MI); in inlineStackProbe()
5684 for (MachineInstr *MI : ToReplace) { in inlineStackProbe()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp6746 SmallVector<SDNode *, 4> ToReplace; in SwapAllSelectUsers() local
6751 ToReplace.push_back(User); in SwapAllSelectUsers()
6754 for (SDNode *User : ToReplace) { in SwapAllSelectUsers()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp1011 auto *ToReplace = FI->second.first.get(); in parseStandaloneMetadata() local
1015 for (auto *Inst : TempDIAssignIDAttachments[ToReplace]) { in parseStandaloneMetadata()
1022 ToReplace->replaceAllUsesWith(Init); in parseStandaloneMetadata()