Home | History | Annotate | Download | only in Analysis

Lines Matching refs:CS2

126 AliasAnalysis::getModRefInfo(ImmutableCallSite CS1, ImmutableCallSite CS2) {
129 // If CS1 or CS2 are readnone, they don't interact.
133 ModRefBehavior CS2B = getModRefBehavior(CS2);
142 // If CS1 only reads memory, the only dependence on CS2 can be
143 // from CS1 reading memory written by CS2.
147 // If CS2 only access memory through arguments, accumulate the mod/ref
149 // CS2's arguments.
153 MDNode *CS2Tag = CS2.getInstruction()->getMetadata(LLVMContext::MD_tbaa);
155 I = CS2.arg_begin(), E = CS2.arg_end(); I != E; ++I) {
168 // If CS1 only accesses memory through arguments, check if CS2 references
180 if (getModRefInfo(CS2, CS1Loc) != NoModRef) {
195 return ModRefResult(AA->getModRefInfo(CS1, CS2) & Mask);