Lines Matching refs:ModRefInfo
63 typedef SmallDenseMap<const GlobalValue *, ModRefInfo, 16> GlobalInfoMapType;
86 /// chosen to mix together with ModRefInfo bits.
127 /// Returns the \c ModRefInfo info for this function.
128 ModRefInfo getModRefInfo() const {
129 return ModRefInfo(Info.getInt() & MRI_ModRef);
132 /// Adds new \c ModRefInfo for this function to its state.
133 void addModRefInfo(ModRefInfo NewMRI) {
144 /// Returns the \c ModRefInfo info for this function w.r.t. a particular
146 ModRefInfo getModRefInfoForGlobal(const GlobalValue &GV) const {
147 ModRefInfo GlobalMRI = mayReadAnyGlobal() ? MRI_Ref : MRI_NoModRef;
151 GlobalMRI = ModRefInfo(GlobalMRI | I->second);
169 void addModRefInfoForGlobal(const GlobalValue &GV, ModRefInfo NewMRI) {
176 GlobalMRI = ModRefInfo(GlobalMRI | NewMRI);
189 /// function may read any global. The low two bits are the ModRefInfo. And
191 /// ModRefInfo specific to that GlobalValue.
560 FI.addModRefInfo(ModRefInfo(Behaviour & MRI_ModRef));
855 ModRefInfo GlobalsAAResult::getModRefInfoForArgument(ImmutableCallSite CS,
859 ModRefInfo ConservativeResult = CS.onlyReadsMemory() ? MRI_Ref : MRI_ModRef;
883 ModRefInfo GlobalsAAResult::getModRefInfo(ImmutableCallSite CS,
900 return ModRefInfo(Known & AAResultBase::getModRefInfo(CS, Loc));