Searched refs:ToReplace (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVMergeRegionExitTargets.cpp | 108 const SmallPtrSet<BasicBlock *, 4> &ToReplace, in replaceBranchTargets() argument 116 if (ToReplace.count(BI->getSuccessor(i)) != 0) in replaceBranchTargets() 124 if (ToReplace.count(SI->getSuccessor(i)) != 0) in replaceBranchTargets()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUAtomicOptimizer.cpp | 69 SmallVector<ReplacementInfo, 8> ToReplace; member in __anon413337310111::AMDGPUAtomicOptimizerImpl 170 const bool Changed = !ToReplace.empty(); in run() 172 for (ReplacementInfo &Info : ToReplace) { in run() 176 ToReplace.clear(); in run() 260 ToReplace.push_back(Info); in visitAtomicRMWInst() 354 ToReplace.push_back(Info); in visitIntrinsicInst()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
H A D | ELFObjcopy.cpp | 222 ToReplace; in compressOrDecompressSections() local 247 ToReplace.emplace_back( in compressOrDecompressSections() 250 ToReplace.emplace_back(&Sec, [=, S = &Sec] { in compressOrDecompressSections() 258 for (auto [S, Func] : ToReplace) in compressOrDecompressSections()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 1266 for (GCRelocateInst *ToReplace : Targets) { in simplifyRelocatesOffABase() 1267 assert(ToReplace->getBasePtrIndex() == RelocatedBase->getBasePtrIndex() && in simplifyRelocatesOffABase() 1269 if (ToReplace->getBasePtrIndex() == ToReplace->getDerivedPtrIndex()) { in simplifyRelocatesOffABase() 1274 if (RelocatedBase->getParent() != ToReplace->getParent()) { in simplifyRelocatesOffABase() 1282 Value *Base = ToReplace->getBasePtr(); in simplifyRelocatesOffABase() 1283 auto *Derived = dyn_cast<GetElementPtrInst>(ToReplace->getDerivedPtr()); in simplifyRelocatesOffABase() 1297 Builder.SetCurrentDebugLocation(ToReplace->getDebugLoc()); in simplifyRelocatesOffABase() 1329 Replacement->takeName(ToReplace); in simplifyRelocatesOffABase() 1334 if (Replacement->getType() != ToReplace->getType()) { in simplifyRelocatesOffABase() 1336 Builder.CreateBitCast(Replacement, ToReplace->getType()); in simplifyRelocatesOffABase() [all …]
|
/freebsd/contrib/llvm-project/clang/utils/TableGen/ |
H A D | NeonEmitter.cpp | 1769 std::string ToReplace = cast<StringInit>(DI->getArg(0))->getAsUnquotedString(); in emitDagNameReplace() local 1772 size_t Idx = S.find(ToReplace); in emitDagNameReplace() 1774 assert_with_loc(Idx != std::string::npos, "name should contain '" + ToReplace + "'!"); in emitDagNameReplace() 1775 S.replace(Idx, ToReplace.size(), ReplaceWith); in emitDagNameReplace()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64FrameLowering.cpp | 4999 SmallVector<MachineInstr *, 4> ToReplace; in inlineStackProbe() local 5003 ToReplace.push_back(&MI); in inlineStackProbe() 5005 for (MachineInstr *MI : ToReplace) { in inlineStackProbe()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCISelDAGToDAG.cpp | 6733 SmallVector<SDNode *, 4> ToReplace; in SwapAllSelectUsers() local 6738 ToReplace.push_back(User); in SwapAllSelectUsers() 6741 for (SDNode *User : ToReplace) { in SwapAllSelectUsers()
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 1022 auto *ToReplace = FI->second.first.get(); in parseStandaloneMetadata() local 1026 for (auto *Inst : TempDIAssignIDAttachments[ToReplace]) { in parseStandaloneMetadata() 1033 ToReplace->replaceAllUsesWith(Init); in parseStandaloneMetadata()
|