• Home
  • Raw
  • Download

Lines Matching refs:CS

95 ModRefInfo AAResults::getArgModRefInfo(ImmutableCallSite CS, unsigned ArgIdx) {  in getArgModRefInfo()  argument
99 Result = ModRefInfo(Result & AA->getArgModRefInfo(CS, ArgIdx)); in getArgModRefInfo()
111 if (auto CS = ImmutableCallSite(I)) { in getModRefInfo() local
113 return getModRefInfo(CS, Call); in getModRefInfo()
126 ModRefInfo AAResults::getModRefInfo(ImmutableCallSite CS, in getModRefInfo() argument
131 Result = ModRefInfo(Result & AA->getModRefInfo(CS, Loc)); in getModRefInfo()
140 auto MRB = getModRefBehavior(CS); in getModRefInfo()
153 for (auto AI = CS.arg_begin(), AE = CS.arg_end(); AI != AE; ++AI) { in getModRefInfo()
157 unsigned ArgIdx = std::distance(CS.arg_begin(), AI); in getModRefInfo()
158 MemoryLocation ArgLoc = MemoryLocation::getForArgument(CS, ArgIdx, TLI); in getModRefInfo()
161 ModRefInfo ArgMask = getArgModRefInfo(CS, ArgIdx); in getModRefInfo()
280 FunctionModRefBehavior AAResults::getModRefBehavior(ImmutableCallSite CS) { in getModRefBehavior() argument
284 Result = FunctionModRefBehavior(Result & AA->getModRefBehavior(CS)); in getModRefBehavior()
441 ImmutableCallSite CS(I); in callCapturesBefore() local
442 if (!CS.getInstruction() || CS.getInstruction() == Object) in callCapturesBefore()
453 for (auto CI = CS.data_operands_begin(), CE = CS.data_operands_end(); in callCapturesBefore()
459 (!CS.doesNotCapture(ArgNo) && !CS.isByValArgument(ArgNo))) in callCapturesBefore()
468 if (CS.doesNotAccessMemory(ArgNo)) in callCapturesBefore()
470 if (CS.onlyReadsMemory(ArgNo)) { in callCapturesBefore()
669 if (auto CS = ImmutableCallSite(V)) in isNoAliasCall() local
670 return CS.paramHasAttr(0, Attribute::NoAlias); in isNoAliasCall()