/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
MemoryLocation.h | 1 //===- MemoryLocation.h - Memory location descriptions ----------*- C++ -*-===// 36 // Represents the size of a MemoryLocation. Logically, it's an 37 // Optional<uint64_t>, with a special UnknownSize value from `MemoryLocation`. 49 class MemoryLocation { 74 static MemoryLocation get(const LoadInst *LI); 75 static MemoryLocation get(const StoreInst *SI); 76 static MemoryLocation get(const VAArgInst *VI); 77 static MemoryLocation get(const AtomicCmpXchgInst *CXI); 78 static MemoryLocation get(const AtomicRMWInst *RMWI); 79 static MemoryLocation get(const Instruction *Inst) [all...] |
CFLAndersAliasAnalysis.h | 30 class MemoryLocation; 63 AliasResult query(const MemoryLocation &, const MemoryLocation &); 64 AliasResult alias(const MemoryLocation &, const MemoryLocation &);
|
TypeBasedAliasAnalysis.h | 29 class MemoryLocation; 44 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB); 45 bool pointsToConstantMemory(const MemoryLocation &Loc, bool OrLocal); 48 ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc);
|
AliasAnalysis.h | 19 // This API identifies memory regions with the MemoryLocation class. The pointer 22 // MemoryLocation::UnknownSize if the size is not known. The TBAA tag 44 #include "llvm/Analysis/MemoryLocation.h" 68 /// These results are always computed between two MemoryLocation objects as 328 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB); 333 return alias(MemoryLocation(V1, V1Size), MemoryLocation(V2, V2Size)); 338 return alias(V1, MemoryLocation::UnknownSize, V2, 339 MemoryLocation::UnknownSize) [all...] |
ObjCARCAliasAnalysis.h | 56 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB); 57 bool pointsToConstantMemory(const MemoryLocation &Loc, bool OrLocal); 63 ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc);
|
ScopedNoAliasAA.h | 28 class MemoryLocation; 43 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB); 44 ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc);
|
ScalarEvolutionAliasAnalysis.h | 34 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB);
|
CFLSteensAliasAnalysis.h | 22 #include "llvm/Analysis/MemoryLocation.h" 71 AliasResult query(const MemoryLocation &LocA, const MemoryLocation &LocB); 73 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB) {
|
/external/llvm/include/llvm/Analysis/ |
MemoryLocation.h | 1 //===- MemoryLocation.h - Memory location descriptions ----------*- C++ -*-===// 40 class MemoryLocation { 65 static MemoryLocation get(const LoadInst *LI); 66 static MemoryLocation get(const StoreInst *SI); 67 static MemoryLocation get(const VAArgInst *VI); 68 static MemoryLocation get(const AtomicCmpXchgInst *CXI); 69 static MemoryLocation get(const AtomicRMWInst *RMWI); 70 static MemoryLocation get(const Instruction *Inst) { 85 static MemoryLocation getForSource(const MemTransferInst *MTI); 89 static MemoryLocation getForDest(const MemIntrinsic *MI) [all...] |
AliasAnalysis.h | 19 // This API identifies memory regions with the MemoryLocation class. The pointer 22 // MemoryLocation::UnknownSize if the size is not known. The TBAA tag 44 #include "llvm/Analysis/MemoryLocation.h" 62 /// These results are always computed between two MemoryLocation objects as 190 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB); 195 return alias(MemoryLocation(V1, V1Size), MemoryLocation(V2, V2Size)); 200 return alias(V1, MemoryLocation::UnknownSize, V2, 201 MemoryLocation::UnknownSize) [all...] |
ObjCARCAliasAnalysis.h | 53 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB); 54 bool pointsToConstantMemory(const MemoryLocation &Loc, bool OrLocal); 60 ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc);
|
TypeBasedAliasAnalysis.h | 38 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB); 39 bool pointsToConstantMemory(const MemoryLocation &Loc, bool OrLocal); 42 ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc);
|
CFLAndersAliasAnalysis.h | 41 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB) {
|
ScalarEvolutionAliasAnalysis.h | 34 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB);
|
ScopedNoAliasAA.h | 39 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB); 40 ModRefInfo getModRefInfo(ImmutableCallSite CS, const MemoryLocation &Loc);
|
/external/llvm/lib/Analysis/ |
MemoryLocation.cpp | 1 //===- MemoryLocation.cpp - Memory location descriptions -------------------==// 10 #include "llvm/Analysis/MemoryLocation.h" 21 MemoryLocation MemoryLocation::get(const LoadInst *LI) { 26 return MemoryLocation(LI->getPointerOperand(), 30 MemoryLocation MemoryLocation::get(const StoreInst *SI) { 35 return MemoryLocation(SI->getPointerOperand(), 40 MemoryLocation MemoryLocation::get(const VAArgInst *VI) [all...] |
ObjCARCAliasAnalysis.cpp | 40 AliasResult ObjCARCAAResult::alias(const MemoryLocation &LocA, 41 const MemoryLocation &LocB) { 50 AAResultBase::alias(MemoryLocation(SA, LocA.Size, LocA.AATags), 51 MemoryLocation(SB, LocB.Size, LocB.AATags)); 60 Result = AAResultBase::alias(MemoryLocation(UA), MemoryLocation(UB)); 72 bool ObjCARCAAResult::pointsToConstantMemory(const MemoryLocation &Loc, 81 MemoryLocation(S, Loc.Size, Loc.AATags), OrLocal)) 88 return AAResultBase::pointsToConstantMemory(MemoryLocation(U), OrLocal); 110 const MemoryLocation &Loc) [all...] |
AliasAnalysis.cpp | 76 AliasResult AAResults::alias(const MemoryLocation &LocA, 77 const MemoryLocation &LocB) { 86 bool AAResults::pointsToConstantMemory(const MemoryLocation &Loc, 119 const MemoryLocation DefLoc = MemoryLocation::get(I); 127 const MemoryLocation &Loc) { 158 MemoryLocation ArgLoc = MemoryLocation::getForArgument(CS, ArgIdx, TLI); 227 auto CS2ArgLoc = MemoryLocation::getForArgument(CS2, CS2ArgIdx, TLI); 257 auto CS1ArgLoc = MemoryLocation::getForArgument(CS1, CS1ArgIdx, TLI) [all...] |
ScalarEvolutionAliasAnalysis.cpp | 25 AliasResult SCEVAAResult::alias(const MemoryLocation &LocA, 26 const MemoryLocation &LocB) { 80 if (alias(MemoryLocation(AO ? AO : LocA.Ptr, 81 AO ? +MemoryLocation::UnknownSize : LocA.Size, 83 MemoryLocation(BO ? BO : LocB.Ptr, 84 BO ? +MemoryLocation::UnknownSize : LocB.Size,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
MemoryLocation.cpp | 1 //===- MemoryLocation.cpp - Memory location descriptions -------------------==// 10 #include "llvm/Analysis/MemoryLocation.h" 21 MemoryLocation MemoryLocation::get(const LoadInst *LI) { 26 return MemoryLocation(LI->getPointerOperand(), 30 MemoryLocation MemoryLocation::get(const StoreInst *SI) { 35 return MemoryLocation(SI->getPointerOperand(), 40 MemoryLocation MemoryLocation::get(const VAArgInst *VI) [all...] |
ObjCARCAliasAnalysis.cpp | 40 AliasResult ObjCARCAAResult::alias(const MemoryLocation &LocA, 41 const MemoryLocation &LocB) { 50 AAResultBase::alias(MemoryLocation(SA, LocA.Size, LocA.AATags), 51 MemoryLocation(SB, LocB.Size, LocB.AATags)); 60 Result = AAResultBase::alias(MemoryLocation(UA), MemoryLocation(UB)); 72 bool ObjCARCAAResult::pointsToConstantMemory(const MemoryLocation &Loc, 81 MemoryLocation(S, Loc.Size, Loc.AATags), OrLocal)) 88 return AAResultBase::pointsToConstantMemory(MemoryLocation(U), OrLocal); 110 const MemoryLocation &Loc) [all...] |
AliasAnalysis.cpp | 33 #include "llvm/Analysis/MemoryLocation.h" 102 AliasResult AAResults::alias(const MemoryLocation &LocA, 103 const MemoryLocation &LocB) { 112 bool AAResults::pointsToConstantMemory(const MemoryLocation &Loc, 148 const MemoryLocation DefLoc = MemoryLocation::get(I); 157 const MemoryLocation &Loc) { 190 MemoryLocation ArgLoc = MemoryLocation::getForArgument(CS, ArgIdx, TLI); 266 auto CS2ArgLoc = MemoryLocation::getForArgument(CS2, CS2ArgIdx, TLI) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
AMDGPUAliasAnalysis.h | 29 class MemoryLocation; 50 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB); 51 bool pointsToConstantMemory(const MemoryLocation &Loc, bool OrLocal);
|
/external/llvm/unittests/Analysis/ |
AliasAnalysisTest.cpp | 58 (void)AA.alias(P1, MemoryLocation::UnknownSize, P2, 59 MemoryLocation::UnknownSize); 89 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB) { 193 EXPECT_EQ(AA.getModRefInfo(Store1, MemoryLocation()), MRI_Mod); 195 EXPECT_EQ(AA.getModRefInfo(Load1, MemoryLocation()), MRI_Ref); 197 EXPECT_EQ(AA.getModRefInfo(Add1, MemoryLocation()), MRI_NoModRef); 199 EXPECT_EQ(AA.getModRefInfo(VAArg1, MemoryLocation()), MRI_ModRef); 201 EXPECT_EQ(AA.getModRefInfo(CmpXChg1, MemoryLocation()), MRI_ModRef); 203 EXPECT_EQ(AA.getModRefInfo(AtomicRMW, MemoryLocation()), MRI_ModRef) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
AliasAnalysisTest.cpp | 58 (void)AA.alias(P1, MemoryLocation::UnknownSize, P2, 59 MemoryLocation::UnknownSize); 89 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB) { 194 EXPECT_EQ(AA.getModRefInfo(Store1, MemoryLocation()), ModRefInfo::Mod); 196 EXPECT_EQ(AA.getModRefInfo(Load1, MemoryLocation()), ModRefInfo::Ref); 198 EXPECT_EQ(AA.getModRefInfo(Add1, MemoryLocation()), ModRefInfo::NoModRef); 200 EXPECT_EQ(AA.getModRefInfo(VAArg1, MemoryLocation()), ModRefInfo::ModRef); 202 EXPECT_EQ(AA.getModRefInfo(CmpXChg1, MemoryLocation()), ModRefInfo::ModRef); 204 EXPECT_EQ(AA.getModRefInfo(AtomicRMW, MemoryLocation()), ModRefInfo::ModRef) [all...] |