Lines Matching defs:Call1
193 if (const auto *Call1 = dyn_cast<CallBase>(I)) {
195 return getModRefInfo(Call1, Call2, AAQI);
265 ModRefInfo AAResults::getModRefInfo(const CallBase *Call1,
270 Result &= AA->getModRefInfo(Call1, Call2, AAQI);
280 // If Call1 or Call2 are readnone, they don't interact.
281 auto Call1B = getMemoryEffects(Call1, AAQI);
293 // If Call1 only reads memory, the only dependence on Call2 can be
294 // from Call1 reading memory written by Call2.
301 // information from Call1's references to the memory referenced by
316 // dependence of Call1 on that location is the inverse:
317 // - If Call2 modifies location, dependence exists if Call1 reads or
319 // - If Call2 only reads location, dependence exists if Call1 writes.
327 // ModRefC1 indicates what Call1 might do to Call2ArgLoc, and we use
329 ArgMask &= getModRefInfo(Call1, Call2ArgLoc, AAQI);
339 // If Call1 only accesses memory through arguments, check if Call2 references
340 // any of the memory referenced by Call1's arguments. If not, return NoModRef.
345 for (auto I = Call1->arg_begin(), E = Call1->arg_end(); I != E; ++I) {
349 unsigned Call1ArgIdx = std::distance(Call1->arg_begin(), I);
351 MemoryLocation::getForArgument(Call1, Call1ArgIdx, TLI);
353 // ArgModRefC1 indicates what Call1 might do to Call1ArgLoc; if Call1
355 // Call2. If Call1 might Ref, then we care only about a Mod by Call2.
356 ModRefInfo ArgModRefC1 = getArgModRefInfo(Call1, Call1ArgIdx);