Searched refs:ShouldReplace (Results 1 – 11 of 11) sorted by relevance
| /freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| HD | Local.h | 448 function_ref<bool(const Use &U, const Value *To)> ShouldReplace); 454 function_ref<bool(const Use &U, const Value *To)> ShouldReplace);
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/SandboxIR/ |
| HD | SandboxIR.cpp | 111 Value *OtherV, llvm::function_ref<bool(const Use &)> ShouldReplace) { in replaceUsesWithIf() argument 116 OtherVal, [&ShouldReplace, this](llvm::Use &LLVMUse) -> bool { in replaceUsesWithIf() 121 if (!ShouldReplace(UseToReplace)) in replaceUsesWithIf()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| HD | VPlanValue.h | 156 llvm::function_ref<bool(VPUser &U, unsigned Idx)> ShouldReplace);
|
| HD | VPlan.cpp | 1427 llvm::function_ref<bool(VPUser &U, unsigned Idx)> ShouldReplace) { in replaceUsesWithIf() argument 1438 if (User->getOperand(I) != this || !ShouldReplace(*User, I)) in replaceUsesWithIf()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| HD | Local.cpp | 3460 const ShouldReplaceFn &ShouldReplace) { in replaceDominatedUsesWith() argument 3465 if (!ShouldReplace(Root, U)) in replaceDominatedUsesWith() 3511 function_ref<bool(const Use &U, const Value *To)> ShouldReplace) { in replaceDominatedUsesWithIf() argument 3513 [&DT, &ShouldReplace, To](const BasicBlockEdge &Root, const Use &U) { in replaceDominatedUsesWithIf() 3514 return DT.dominates(Root, U) && ShouldReplace(U, To); in replaceDominatedUsesWithIf() 3521 function_ref<bool(const Use &U, const Value *To)> ShouldReplace) { in replaceDominatedUsesWithIf() argument 3522 auto DominatesAndShouldReplace = [&DT, &ShouldReplace, in replaceDominatedUsesWithIf() 3524 return DT.dominates(BB, U) && ShouldReplace(U, To); in replaceDominatedUsesWithIf()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/IR/ |
| HD | Value.cpp | 543 llvm::function_ref<bool(Use &U)> ShouldReplace) { in replaceUsesWithIf() argument 552 if (!ShouldReplace(U)) in replaceUsesWithIf()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| HD | Scalarizer.cpp | 1000 Value *ShouldReplace = in visitInsertElementInst() local 1004 Res[I] = Builder.CreateSelect(ShouldReplace, NewElt, OldElt, in visitInsertElementInst()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| HD | Value.h | 315 llvm::function_ref<bool(Use &U)> ShouldReplace);
|
| /freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| HD | SandboxIR.h | 271 llvm::function_ref<bool(const Use &)> ShouldReplace);
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| HD | AMDGPUMachineCFGStructurizer.cpp | 926 bool ShouldReplace = (IsInside && ReplaceInside) || in replaceRegister() local 929 if (ShouldReplace) { in replaceRegister()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| HD | InstructionCombining.cpp | 2934 bool ShouldReplace = HasSameUnderlyingObject || in visitGetElementPtrInst() local 2937 Changed |= ShouldReplace; in visitGetElementPtrInst() 2938 return ShouldReplace; in visitGetElementPtrInst()
|