Lines Matching refs:ReplVal

1851                                Value *ReplVal = nullptr) {  in deduplicateRuntimeCalls()
1853 if (!UV || UV->size() + (ReplVal != nullptr) < 2) in deduplicateRuntimeCalls()
1858 << (ReplVal ? " with an existing value\n" : "\n") << "\n"); in deduplicateRuntimeCalls()
1860 assert((!ReplVal || (isa<Argument>(ReplVal) && in deduplicateRuntimeCalls()
1861 cast<Argument>(ReplVal)->getParent() == &F)) && in deduplicateRuntimeCalls()
1877 if (!ReplVal) { in deduplicateRuntimeCalls()
1904 ReplVal = CI; in deduplicateRuntimeCalls()
1907 if (!ReplVal) in deduplicateRuntimeCalls()
1914 if (CallBase *CI = dyn_cast<CallBase>(ReplVal)) { in deduplicateRuntimeCalls()
1926 if (!CI || CI == ReplVal || &F != &Caller) in deduplicateRuntimeCalls()
1940 CI->replaceAllUsesWith(ReplVal); in deduplicateRuntimeCalls()
2417 Optional<Value *> ReplVal = getValueForCall(A, I, ICV); in updateImpl() local
2418 if (ReplVal && ValuesMap.insert(std::make_pair(&I, *ReplVal)).second) in updateImpl()
2505 Optional<Value *> ReplVal; in getReplacementValue() local
2520 if (!ReplVal) { in getReplacementValue()
2521 ReplVal = NewReplVal; in getReplacementValue()
2527 if (ReplVal != NewReplVal) in getReplacementValue()
2538 if (!ReplVal) { in getReplacementValue()
2539 ReplVal = NewReplVal; in getReplacementValue()
2545 if (ReplVal != NewReplVal) in getReplacementValue()
2550 if (CurrBB == I->getParent() && ReplVal) in getReplacementValue()
2551 return ReplVal; in getReplacementValue()
2559 return ReplVal; in getReplacementValue()
2600 Optional<Value *> &ReplVal = ICVReplacementValuesMap[ICV]; in updateImpl() local
2622 if (UniqueICVValue == ReplVal) in updateImpl()
2625 ReplVal = UniqueICVValue; in updateImpl()
2659 if (!ReplVal || !*ReplVal) in manifest()
2662 A.changeAfterManifest(IRPosition::inst(*getCtxI()), **ReplVal); in manifest()
2675 Optional<Value *> ReplVal; member
2688 if (ReplVal == NewReplVal) in updateImpl()
2691 ReplVal = NewReplVal; in updateImpl()
2699 return ReplVal; in getUniqueReplacementValue()
2743 Optional<Value *> &ReplVal = ICVReplacementValuesMap[ICV]; in updateImpl() local
2747 if (ReplVal == NewReplVal) in updateImpl()
2750 ReplVal = NewReplVal; in updateImpl()