Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DLocal.h448 function_ref<bool(const Use &U, const Value *To)> ShouldReplace);
454 function_ref<bool(const Use &U, const Value *To)> ShouldReplace);
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DSandboxIR.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/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanValue.h156 llvm::function_ref<bool(VPUser &U, unsigned Idx)> ShouldReplace);
H A DVPlan.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/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp3454 const ShouldReplaceFn &ShouldReplace) { in replaceDominatedUsesWith() argument
3459 if (!ShouldReplace(Root, U)) in replaceDominatedUsesWith()
3505 function_ref<bool(const Use &U, const Value *To)> ShouldReplace) { in replaceDominatedUsesWithIf() argument
3507 [&DT, &ShouldReplace, To](const BasicBlockEdge &Root, const Use &U) { in replaceDominatedUsesWithIf()
3508 return DT.dominates(Root, U) && ShouldReplace(U, To); in replaceDominatedUsesWithIf()
3515 function_ref<bool(const Use &U, const Value *To)> ShouldReplace) { in replaceDominatedUsesWithIf() argument
3516 auto DominatesAndShouldReplace = [&DT, &ShouldReplace, in replaceDominatedUsesWithIf()
3518 return DT.dominates(BB, U) && ShouldReplace(U, To); in replaceDominatedUsesWithIf()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DValue.cpp543 llvm::function_ref<bool(Use &U)> ShouldReplace) { in replaceUsesWithIf() argument
552 if (!ShouldReplace(U)) in replaceUsesWithIf()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizer.cpp1000 Value *ShouldReplace = in visitInsertElementInst() local
1004 Res[I] = Builder.CreateSelect(ShouldReplace, NewElt, OldElt, in visitInsertElementInst()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DValue.h311 /// to "V" if the callback ShouldReplace returns true for the given Use.
315 llvm::function_ref<bool(Use &U)> ShouldReplace);
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DSandboxIR.h271 llvm::function_ref<bool(const Use &)> ShouldReplace);
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp926 bool ShouldReplace = (IsInside && ReplaceInside) || in replaceRegister() local
929 if (ShouldReplace) { in replaceRegister()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2934 bool ShouldReplace = HasSameUnderlyingObject || in visitGetElementPtrInst() local
2937 Changed |= ShouldReplace; in visitGetElementPtrInst()
2938 return ShouldReplace; in visitGetElementPtrInst()