Home
last modified time | relevance | path

Searched refs:ShouldReplace (Results 1 – 11 of 11) sorted by relevance

/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
HDLocal.h448 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/
HDSandboxIR.cpp111 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/
HDVPlanValue.h156 llvm::function_ref<bool(VPUser &U, unsigned Idx)> ShouldReplace);
HDVPlan.cpp1427 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/
HDLocal.cpp3460 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/
HDValue.cpp543 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/
HDScalarizer.cpp1000 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/
HDValue.h315 llvm::function_ref<bool(Use &U)> ShouldReplace);
/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/SandboxIR/
HDSandboxIR.h271 llvm::function_ref<bool(const Use &)> ShouldReplace);
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
HDAMDGPUMachineCFGStructurizer.cpp926 bool ShouldReplace = (IsInside && ReplaceInside) || in replaceRegister() local
929 if (ShouldReplace) { in replaceRegister()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstructionCombining.cpp2934 bool ShouldReplace = HasSameUnderlyingObject || in visitGetElementPtrInst() local
2937 Changed |= ShouldReplace; in visitGetElementPtrInst()
2938 return ShouldReplace; in visitGetElementPtrInst()