Home
last modified time | relevance | path

Searched refs:ModRefInfo (Results 1 – 24 of 24) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DAliasAnalysis.h102 enum class ModRefInfo : uint8_t { enum
139 LLVM_NODISCARD inline bool isNoModRef(const ModRefInfo MRI) { in isNoModRef()
140 return (static_cast<int>(MRI) & static_cast<int>(ModRefInfo::MustModRef)) == in isNoModRef()
141 static_cast<int>(ModRefInfo::Must); in isNoModRef()
143 LLVM_NODISCARD inline bool isModOrRefSet(const ModRefInfo MRI) { in isModOrRefSet()
144 return static_cast<int>(MRI) & static_cast<int>(ModRefInfo::MustModRef); in isModOrRefSet()
146 LLVM_NODISCARD inline bool isModAndRefSet(const ModRefInfo MRI) { in isModAndRefSet()
147 return (static_cast<int>(MRI) & static_cast<int>(ModRefInfo::MustModRef)) == in isModAndRefSet()
148 static_cast<int>(ModRefInfo::MustModRef); in isModAndRefSet()
150 LLVM_NODISCARD inline bool isModSet(const ModRefInfo MRI) { in isModSet()
[all …]
DScopedNoAliasAA.h44 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
46 ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
DTypeBasedAliasAnalysis.h49 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
51 ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
DGlobalsModRef.h98 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
124 ModRefInfo getModRefInfoForArgument(const CallBase *Call,
DBasicAliasAnalysis.h87 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
90 ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
98 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx);
DObjCARCAliasAnalysis.h64 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DAliasAnalysis.cpp136 ModRefInfo AAResults::getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) { in getArgModRefInfo()
137 ModRefInfo Result = ModRefInfo::ModRef; in getArgModRefInfo()
144 return ModRefInfo::NoModRef; in getArgModRefInfo()
150 ModRefInfo AAResults::getModRefInfo(Instruction *I, const CallBase *Call2) { in getModRefInfo()
155 ModRefInfo AAResults::getModRefInfo(Instruction *I, const CallBase *Call2, in getModRefInfo()
163 return ModRefInfo::ModRef; in getModRefInfo()
170 ModRefInfo MR = getModRefInfo(Call2, DefLoc, AAQI); in getModRefInfo()
174 return ModRefInfo::NoModRef; in getModRefInfo()
177 ModRefInfo AAResults::getModRefInfo(const CallBase *Call, in getModRefInfo()
183 ModRefInfo AAResults::getModRefInfo(const CallBase *Call, in getModRefInfo()
[all …]
DGlobalsModRef.cpp63 typedef SmallDenseMap<const GlobalValue *, ModRefInfo, 16> GlobalInfoMapType;
94 static_assert((MayReadAnyGlobal & static_cast<int>(ModRefInfo::MustModRef)) ==
98 static_cast<int>(ModRefInfo::MustModRef)) >>
136 ModRefInfo globalClearMayReadAnyGlobal(int I) const { in globalClearMayReadAnyGlobal()
137 return ModRefInfo((I & static_cast<int>(ModRefInfo::ModRef)) | in globalClearMayReadAnyGlobal()
138 static_cast<int>(ModRefInfo::NoModRef)); in globalClearMayReadAnyGlobal()
142 ModRefInfo getModRefInfo() const { in getModRefInfo()
147 void addModRefInfo(ModRefInfo NewMRI) { in addModRefInfo()
160 ModRefInfo getModRefInfoForGlobal(const GlobalValue &GV) const { in getModRefInfoForGlobal()
161 ModRefInfo GlobalMRI = in getModRefInfoForGlobal()
[all …]
DAliasAnalysisEvaluator.cpp240 case ModRefInfo::NoModRef: in runInternal()
245 case ModRefInfo::Mod: in runInternal()
249 case ModRefInfo::Ref: in runInternal()
253 case ModRefInfo::ModRef: in runInternal()
258 case ModRefInfo::Must: in runInternal()
262 case ModRefInfo::MustMod: in runInternal()
267 case ModRefInfo::MustRef: in runInternal()
272 case ModRefInfo::MustModRef: in runInternal()
287 case ModRefInfo::NoModRef: in runInternal()
292 case ModRefInfo::Mod: in runInternal()
[all …]
DScopedNoAliasAA.cpp99 ModRefInfo ScopedNoAliasAAResult::getModRefInfo(const CallBase *Call, in getModRefInfo()
107 return ModRefInfo::NoModRef; in getModRefInfo()
111 return ModRefInfo::NoModRef; in getModRefInfo()
116 ModRefInfo ScopedNoAliasAAResult::getModRefInfo(const CallBase *Call1, in getModRefInfo()
124 return ModRefInfo::NoModRef; in getModRefInfo()
128 return ModRefInfo::NoModRef; in getModRefInfo()
DBasicAliasAnalysis.cpp797 ModRefInfo BasicAAResult::getArgModRefInfo(const CallBase *Call, in getArgModRefInfo()
801 return ModRefInfo::Mod; in getArgModRefInfo()
804 return ModRefInfo::Ref; in getArgModRefInfo()
807 return ModRefInfo::NoModRef; in getArgModRefInfo()
870 ModRefInfo BasicAAResult::getModRefInfo(const CallBase *Call, in getModRefInfo()
887 return ModRefInfo::NoModRef; in getModRefInfo()
893 return ModRefInfo::Mod; in getModRefInfo()
903 ModRefInfo Result = ModRefInfo::NoModRef; in getModRefInfo()
946 Result = ModRefInfo::ModRef; in getModRefInfo()
958 return ModRefInfo::NoModRef; in getModRefInfo()
[all …]
DMemoryDependenceAnalysis.cpp117 static ModRefInfo GetLocation(const Instruction *Inst, MemoryLocation &Loc, in GetLocation()
122 return ModRefInfo::Ref; in GetLocation()
126 return ModRefInfo::ModRef; in GetLocation()
129 return ModRefInfo::ModRef; in GetLocation()
135 return ModRefInfo::Mod; in GetLocation()
139 return ModRefInfo::ModRef; in GetLocation()
142 return ModRefInfo::ModRef; in GetLocation()
147 return ModRefInfo::ModRef; in GetLocation()
153 return ModRefInfo::Mod; in GetLocation()
164 return ModRefInfo::Mod; in GetLocation()
[all …]
DObjCARCAliasAnalysis.cpp110 ModRefInfo ObjCARCAAResult::getModRefInfo(const CallBase *Call, in getModRefInfo()
128 return ModRefInfo::NoModRef; in getModRefInfo()
DTypeBasedAliasAnalysis.cpp425 ModRefInfo TypeBasedAAResult::getModRefInfo(const CallBase *Call, in getModRefInfo()
434 return ModRefInfo::NoModRef; in getModRefInfo()
439 ModRefInfo TypeBasedAAResult::getModRefInfo(const CallBase *Call1, in getModRefInfo()
448 return ModRefInfo::NoModRef; in getModRefInfo()
DAliasSetTracker.cpp477 auto getAccessFromModRef = [](ModRefInfo MRI) { in add()
488 ModRefInfo CallMask = createModRefInfo(AA.getModRefBehavior(Call)); in add()
505 ModRefInfo ArgMask = AA.getArgModRefInfo(Call, ArgIdx); in add()
DMemorySSA.cpp300 ModRefInfo I = AA.getModRefInfo(DefInst, UseCall); in instructionClobbersQuery()
309 ModRefInfo I = AA.getModRefInfo(DefInst, UseLoc); in instructionClobbersQuery()
1756 ModRefInfo ModRef = AAP->getModRefInfo(I, None); in createNewAccess()
1764 ModRefInfo ModRef = AAP->getModRefInfo(I, None); in createNewAccess()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp799 mayLoopAccessLocation(Value *Ptr, ModRefInfo Access, Loop *L, in mayLoopAccessLocation()
923 if (mayLoopAccessLocation(BasePtr, ModRefInfo::ModRef, CurLoop, BECount, in processLoopStridedStore()
1042 if (mayLoopAccessLocation(StoreBasePtr, ModRefInfo::ModRef, CurLoop, BECount, in processLoopStoreOfLoopLoad()
1062 if (mayLoopAccessLocation(LoadBasePtr, ModRefInfo::Mod, CurLoop, BECount, in processLoopStoreOfLoopLoad()
DMergedLoadStoreMotion.cpp179 return AA->canInstructionRangeModRef(Start, End, Loc, ModRefInfo::ModRef); in isStoreSinkBarrierInRange()
DMemCpyOptimizer.cpp855 ModRefInfo MR = AA.getModRefInfo(C, cpyDest, LocationSize::precise(srcSize)); in performCallSlotOptzn()
DLICM.cpp1269 ModRefInfo MRI = AA->getModRefInfo(CI, MemoryLocation::get(SI)); in canSinkOrHoistInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp1969 mayLoopAccessLocation(Value *Ptr, ModRefInfo Access, Loop *L, in mayLoopAccessLocation()
2073 if (mayLoopAccessLocation(StoreBasePtr, ModRefInfo::ModRef, CurLoop, BECount, in processCopyingStore()
2077 if (mayLoopAccessLocation(StoreBasePtr, ModRefInfo::ModRef, CurLoop, in processCopyingStore()
2120 if (mayLoopAccessLocation(LoadBasePtr, ModRefInfo::Mod, CurLoop, BECount, in processCopyingStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMParallelDSP.cpp385 ModRefInfo::ModRef))) in RecordMemoryOps()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp758 if (AAR.canInstructionRangeModRef(BB->front(), *Load, Loc, ModRefInfo::Mod)) in isSafeToPromoteArgument()
DFunctionAttrs.cpp145 ModRefInfo MRI = createModRefInfo(MRB); in checkFunctionMemoryAccess()