Searched refs:ToReplace (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPropagateAttributes.cpp | 240 SmallVector<std::pair<CallBase *, Function *>, 32> ToReplace; in process() local 288 ToReplace.push_back(std::make_pair(CI, NewF)); in process() 294 while (!ToReplace.empty()) { in process() 295 auto R = ToReplace.pop_back_val(); in process()
|
| H A D | AMDGPUAtomicOptimizer.cpp | 44 SmallVector<ReplacementInfo, 8> ToReplace; member in __anona21400610111::AMDGPUAtomicOptimizer 99 const bool Changed = !ToReplace.empty(); in runOnFunction() 101 for (ReplacementInfo &Info : ToReplace) { in runOnFunction() 105 ToReplace.clear(); in runOnFunction() 162 ToReplace.push_back(Info); in visitAtomicRMWInst() 244 ToReplace.push_back(Info); in visitIntrinsicInst()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObjcopy.cpp | 210 SmallVector<SectionBase *, 13> ToReplace; in replaceDebugSections() local 213 ToReplace.push_back(&Sec); in replaceDebugSections() 217 for (SectionBase *S : ToReplace) { in replaceDebugSections()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 1093 for (GCRelocateInst *ToReplace : Targets) { in simplifyRelocatesOffABase() 1096 if (ToReplace->getBasePtrIndex() == ToReplace->getDerivedPtrIndex()) { in simplifyRelocatesOffABase() 1109 Value *Base = ToReplace->getBasePtr(); in simplifyRelocatesOffABase() 1124 Builder.SetCurrentDebugLocation(ToReplace->getDebugLoc()); in simplifyRelocatesOffABase() 1154 Replacement->takeName(ToReplace); in simplifyRelocatesOffABase() 1158 if (Replacement->getType() != ToReplace->getType()) { in simplifyRelocatesOffABase() 1162 ToReplace->replaceAllUsesWith(ActualReplacement); in simplifyRelocatesOffABase() 1163 ToReplace->eraseFromParent(); in simplifyRelocatesOffABase() 6966 SmallVector<Use *, 4> ToReplace; in tryToSinkFreeOperands() local 6982 ToReplace.push_back(U); in tryToSinkFreeOperands() [all …]
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | NeonEmitter.cpp | 1764 std::string ToReplace = cast<StringInit>(DI->getArg(0))->getAsUnquotedString(); in emitDagNameReplace() local 1767 size_t Idx = S.find(ToReplace); in emitDagNameReplace() 1769 assert_with_loc(Idx != std::string::npos, "name should contain '" + ToReplace + "'!"); in emitDagNameReplace() 1770 S.replace(Idx, ToReplace.size(), ReplaceWith); in emitDagNameReplace()
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | MCPlusBuilder.h | 994 virtual bool replaceRegWithReg(MCInst &Inst, unsigned ToReplace, in replaceRegWithReg() argument
|
| /llvm-project-15.0.7/bolt/lib/Target/X86/ |
| H A D | X86MCPlusBuilder.cpp | 2840 bool replaceRegWithReg(MCInst &Inst, unsigned ToReplace, in replaceRegWithReg() argument 2891 BitVector RegAliases = getAliases(ToReplace, true); in replaceRegWithReg()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 6430 SmallVector<SDNode *, 4> ToReplace; in SwapAllSelectUsers() local 6435 ToReplace.push_back(User); in SwapAllSelectUsers() 6438 for (SDNode *User : ToReplace) { in SwapAllSelectUsers()
|