/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPerfHintAnalysis.cpp | 78 struct MemAccessInfo { struct 82 MemAccessInfo() : V(nullptr), Base(nullptr), Offset(0) {} in MemAccessInfo() argument 83 bool isLargeStride(MemAccessInfo &Reference) const; 94 MemAccessInfo makeMemAccessInfo(Instruction *) const; 96 MemAccessInfo LastAccess; // Last memory access info 212 LastAccess = MemAccessInfo(); in visit() 319 MemAccessInfo MAI = makeMemAccessInfo(const_cast<Instruction *>(Inst)); in isLargeStride() 327 AMDGPUPerfHint::MemAccessInfo 329 MemAccessInfo MAI; in makeMemAccessInfo() 351 bool AMDGPUPerfHint::MemAccessInfo::isLargeStride( in isLargeStride() [all …]
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPerfHintAnalysis.cpp | 79 struct MemAccessInfo { struct 83 MemAccessInfo() : V(nullptr), Base(nullptr), Offset(0) {} in MemAccessInfo() function 84 bool isLargeStride(MemAccessInfo &Reference) const; 95 MemAccessInfo makeMemAccessInfo(Instruction *) const; 97 MemAccessInfo LastAccess; // Last memory access info 213 LastAccess = MemAccessInfo(); in visit() 319 MemAccessInfo MAI = makeMemAccessInfo(const_cast<Instruction *>(Inst)); in isLargeStride() 327 AMDGPUPerfHint::MemAccessInfo 329 MemAccessInfo MAI; in makeMemAccessInfo() 351 bool AMDGPUPerfHint::MemAccessInfo::isLargeStride( in isLargeStride() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | LoopAccessAnalysis.h | 94 typedef PointerIntPair<Value *, 1, bool> MemAccessInfo; typedef 95 typedef SmallVector<MemAccessInfo, 8> MemAccessInfoList; 97 typedef EquivalenceClasses<MemAccessInfo> DepCandidates; 186 Accesses[MemAccessInfo(Ptr, true)].push_back(AccessIdx); in addAccess() 195 Accesses[MemAccessInfo(Ptr, false)].push_back(AccessIdx); in addAccess() 268 DenseMap<MemAccessInfo, std::vector<unsigned> > Accesses; 315 Dependence::DepType isDependent(const MemAccessInfo &A, unsigned AIdx, 316 const MemAccessInfo &B, unsigned BIdx,
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | LoopAccessAnalysis.h | 89 typedef PointerIntPair<Value *, 1, bool> MemAccessInfo; typedef 90 typedef SmallVector<MemAccessInfo, 8> MemAccessInfoList; 92 typedef EquivalenceClasses<MemAccessInfo> DepCandidates; 182 Accesses[MemAccessInfo(Ptr, true)].push_back(AccessIdx); in addAccess() 191 Accesses[MemAccessInfo(Ptr, false)].push_back(AccessIdx); in addAccess() 266 DenseMap<MemAccessInfo, std::vector<unsigned> > Accesses; 313 Dependence::DepType isDependent(const MemAccessInfo &A, unsigned AIdx, 314 const MemAccessInfo &B, unsigned BIdx,
|
/external/llvm/include/llvm/Analysis/ |
D | LoopAccessAnalysis.h | 126 typedef PointerIntPair<Value *, 1, bool> MemAccessInfo; typedef 127 typedef SmallPtrSet<MemAccessInfo, 8> MemAccessInfoSet; 129 typedef EquivalenceClasses<MemAccessInfo> DepCandidates; 205 Accesses[MemAccessInfo(Ptr, true)].push_back(AccessIdx); in addAccess() 214 Accesses[MemAccessInfo(Ptr, false)].push_back(AccessIdx); in addAccess() 278 DenseMap<MemAccessInfo, std::vector<unsigned> > Accesses; 318 Dependence::DepType isDependent(const MemAccessInfo &A, unsigned AIdx, 319 const MemAccessInfo &B, unsigned BIdx,
|
/external/llvm-project/llvm/lib/Analysis/ |
D | LoopAccessAnalysis.cpp | 380 MemoryDepChecker::MemAccessInfo Access(Pointers[I].PointerValue, in groupChecks() 505 typedef PointerIntPair<Value *, 1, bool> MemAccessInfo; typedef in __anon9c05c7e30111::AccessAnalysis 506 typedef SmallVector<MemAccessInfo, 8> MemAccessInfoList; 518 Accesses.insert(MemAccessInfo(Ptr, false)); in addLoad() 527 Accesses.insert(MemAccessInfo(Ptr, true)); in addStore() 538 MemAccessInfo Access, 576 typedef SetVector<MemAccessInfo> PtrAccessSet; 658 MemAccessInfo Access, in createCheckForAccess() 725 SmallVector<MemAccessInfo, 4> Retries; in canCheckPtrAtRT() 729 SmallVector<MemAccessInfo, 4> AccessInfos; in canCheckPtrAtRT() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | LoopAccessAnalysis.cpp | 378 MemoryDepChecker::MemAccessInfo Access(Pointers[I].PointerValue, in groupChecks() 500 typedef PointerIntPair<Value *, 1, bool> MemAccessInfo; typedef in __anon960214770111::AccessAnalysis 501 typedef SmallVector<MemAccessInfo, 8> MemAccessInfoList; 513 Accesses.insert(MemAccessInfo(Ptr, false)); in addLoad() 522 Accesses.insert(MemAccessInfo(Ptr, true)); in addStore() 533 MemAccessInfo Access, 571 typedef SetVector<MemAccessInfo> PtrAccessSet; 655 MemAccessInfo Access, in createCheckForAccess() 721 SmallVector<MemAccessInfo, 4> Retries; in canCheckPtrAtRT() 725 bool IsWrite = Accesses.count(MemAccessInfo(Ptr, true)); in canCheckPtrAtRT() [all …]
|
/external/llvm/lib/Analysis/ |
D | LoopAccessAnalysis.cpp | 334 MemoryDepChecker::MemAccessInfo Access(Pointers[I].PointerValue, in groupChecks() 455 typedef PointerIntPair<Value *, 1, bool> MemAccessInfo; typedef in __anon90adf0950111::AccessAnalysis 456 typedef SmallPtrSet<MemAccessInfo, 8> MemAccessInfoSet; 468 Accesses.insert(MemAccessInfo(Ptr, false)); in addLoad() 477 Accesses.insert(MemAccessInfo(Ptr, true)); in addStore() 511 typedef SetVector<MemAccessInfo> PtrAccessSet; 609 bool IsWrite = Accesses.count(MemAccessInfo(Ptr, true)); in canCheckPtrAtRT() 610 MemAccessInfo Access(Ptr, IsWrite); in canCheckPtrAtRT() 728 typedef DenseMap<Value*, MemAccessInfo> UnderlyingObjToAccessMap; in processMemAccesses() 759 S.count(MemAccessInfo(Ptr, false))) && in processMemAccesses() [all …]
|