Searched refs:ShouldReplace (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | 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/contrib/llvm-project/llvm/lib/SandboxIR/ |
H A D | 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/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanValue.h | 156 llvm::function_ref<bool(VPUser &U, unsigned Idx)> ShouldReplace);
|
H A D | 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/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Local.cpp | 3454 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 D | Value.cpp | 543 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 D | Scalarizer.cpp | 1000 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 D | Value.h | 311 /// 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 D | SandboxIR.h | 271 llvm::function_ref<bool(const Use &)> ShouldReplace);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUMachineCFGStructurizer.cpp | 926 bool ShouldReplace = (IsInside && ReplaceInside) || in replaceRegister() local 929 if (ShouldReplace) { in replaceRegister()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 2934 bool ShouldReplace = HasSameUnderlyingObject || in visitGetElementPtrInst() local 2937 Changed |= ShouldReplace; in visitGetElementPtrInst() 2938 return ShouldReplace; in visitGetElementPtrInst()
|