HomeSort by: relevance | last modified time | path
    Searched refs:MemoryLocation (Results 1 - 25 of 84) sorted by relevancy

1 2 3 4

  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
MemoryLocation.cpp 1 //===- MemoryLocation.cpp - Memory location descriptions -------------------==//
9 #include "llvm/Analysis/MemoryLocation.h"
37 MemoryLocation MemoryLocation::get(const LoadInst *LI) {
42 return MemoryLocation(
47 MemoryLocation MemoryLocation::get(const StoreInst *SI) {
52 return MemoryLocation(SI->getPointerOperand(),
58 MemoryLocation MemoryLocation::get(const VAArgInst *VI)
    [all...]
ObjCARCAliasAnalysis.cpp 39 AliasResult ObjCARCAAResult::alias(const MemoryLocation &LocA,
40 const MemoryLocation &LocB,
50 AAResultBase::alias(MemoryLocation(SA, LocA.Size, LocA.AATags),
51 MemoryLocation(SB, LocB.Size, LocB.AATags), AAQI);
60 Result = AAResultBase::alias(MemoryLocation::getBeforeOrAfter(UA),
61 MemoryLocation::getBeforeOrAfter(UB), AAQI);
73 bool ObjCARCAAResult::pointsToConstantMemory(const MemoryLocation &Loc,
82 MemoryLocation(S, Loc.Size, Loc.AATags), AAQI, OrLocal))
90 MemoryLocation::getBeforeOrAfter(U), AAQI, OrLocal);
112 const MemoryLocation &Loc
    [all...]
AliasAnalysis.cpp 33 #include "llvm/Analysis/MemoryLocation.h"
120 AliasResult AAResults::alias(const MemoryLocation &LocA,
121 const MemoryLocation &LocB) {
126 AliasResult AAResults::alias(const MemoryLocation &LocA,
127 const MemoryLocation &LocB, AAQueryInfo &AAQI) {
163 bool AAResults::pointsToConstantMemory(const MemoryLocation &Loc,
169 bool AAResults::pointsToConstantMemory(const MemoryLocation &Loc,
211 const MemoryLocation DefLoc = MemoryLocation::get(I);
220 const MemoryLocation &Loc)
    [all...]
ScalarEvolutionAliasAnalysis.cpp 26 AliasResult SCEVAAResult::alias(const MemoryLocation &LocA,
27 const MemoryLocation &LocB, AAQueryInfo &AAQI) {
49 : MemoryLocation::UnknownSize);
52 : MemoryLocation::UnknownSize);
85 if (alias(MemoryLocation(AO ? AO : LocA.Ptr,
89 MemoryLocation(BO ? BO : LocB.Ptr,
AliasSetTracker.cpp 17 #include "llvm/Analysis/MemoryLocation.h"
67 MemoryLocation(L->getValue(), L->getSize(), L->getAAInfo()),
68 MemoryLocation(R->getValue(), R->getSize(), R->getAAInfo())))
142 MemoryLocation(P->getValue(), P->getSize(), P->getAAInfo()),
143 MemoryLocation(Entry.getValue(), Size, AAInfo));
207 return AA.alias(MemoryLocation(SomePtr->getValue(), SomePtr->getSize(),
209 MemoryLocation(Ptr, Size, AAInfo));
216 AA.alias(MemoryLocation(Ptr, Size, AAInfo),
217 MemoryLocation(I.getPointer(), I.getSize(), I.getAAInfo()));
227 AA.getModRefInfo(Inst, MemoryLocation(Ptr, Size, AAInfo)))
    [all...]
Lint.cpp 46 #include "llvm/Analysis/MemoryLocation.h"
97 void visitMemoryReference(Instruction &I, const MemoryLocation &Loc,
193 visitMemoryReference(I, MemoryLocation::getAfter(Callee), None, nullptr,
255 MemoryLocation Loc(
291 visitMemoryReference(I, MemoryLocation::getForDest(MCI),
293 visitMemoryReference(I, MemoryLocation::getForSource(MCI),
313 visitMemoryReference(I, MemoryLocation::getForDest(MCII),
315 visitMemoryReference(I, MemoryLocation::getForSource(MCII),
329 visitMemoryReference(I, MemoryLocation::getForDest(MMI),
331 visitMemoryReference(I, MemoryLocation::getForSource(MMI)
    [all...]
ScopedNoAliasAA.cpp 37 #include "llvm/Analysis/MemoryLocation.h"
55 AliasResult ScopedNoAliasAAResult::alias(const MemoryLocation &LocA,
56 const MemoryLocation &LocB,
77 const MemoryLocation &Loc,
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
MemoryLocation.h 1 //===- MemoryLocation.h - Memory location descriptions ----------*- C++ -*-===//
40 // Represents the size of a MemoryLocation. Logically, it's an
43 // that the area of storage referenced by the given MemoryLocation must be
47 // MemoryLocation.
49 // Concretely, a precise MemoryLocation is (%p, 4) in
53 // Otherwise, we have UB. An example of an imprecise MemoryLocation is (%p, 4)
209 class MemoryLocation {
236 static MemoryLocation get(const LoadInst *LI);
237 static MemoryLocation get(const StoreInst *SI);
238 static MemoryLocation get(const VAArgInst *VI)
    [all...]
AliasAnalysis.h 18 // This API identifies memory regions with the MemoryLocation class. The pointer
21 // MemoryLocation::UnknownSize if the size is not known. The TBAA tag
44 #include "llvm/Analysis/MemoryLocation.h"
70 /// These results are always computed between two MemoryLocation objects as
381 /// Reduced version of MemoryLocation that only stores a pointer and size.
494 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB);
499 return alias(MemoryLocation(V1, V1Size), MemoryLocation(V2, V2Size));
504 return alias(MemoryLocation::getBeforeOrAfter(V1)
    [all...]
TypeBasedAliasAnalysis.h 28 class MemoryLocation;
43 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
45 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
49 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
ObjCARCAliasAnalysis.h 55 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
57 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
64 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
ScopedNoAliasAA.h 26 class MemoryLocation;
41 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
43 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
CFLAndersAliasAnalysis.h 29 class MemoryLocation;
63 AliasResult query(const MemoryLocation &, const MemoryLocation &);
64 AliasResult alias(const MemoryLocation &, const MemoryLocation &,
CFLSteensAliasAnalysis.h 21 #include "llvm/Analysis/MemoryLocation.h"
71 AliasResult query(const MemoryLocation &LocA, const MemoryLocation &LocB);
73 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
ScalarEvolutionAliasAnalysis.h 33 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
GlobalsModRef.h 97 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
101 ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
Loads.h 28 class MemoryLocation;
167 Value *findAvailablePtrLoadStore(const MemoryLocation &Loc, Type *AccessTy,
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUAliasAnalysis.h 22 class MemoryLocation;
43 AliasResult alias(const MemoryLocation &LocA, const MemoryLocation &LocB,
45 bool pointsToConstantMemory(const MemoryLocation &Loc, AAQueryInfo &AAQI,
AMDGPUAliasAnalysis.cpp 70 AliasResult AMDGPUAAResult::alias(const MemoryLocation &LocA,
71 const MemoryLocation &LocB,
84 MemoryLocation A = LocA;
85 MemoryLocation B = LocB;
122 bool AMDGPUAAResult::pointsToConstantMemory(const MemoryLocation &Loc,
  /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
ubsan_diag.h 51 typedef uptr MemoryLocation;
54 /// SourceLocation, a MemoryLocation, or a SymbolizedStack.
63 MemoryLocation MemoryLoc;
70 Location(MemoryLocation Loc) :
86 MemoryLocation getMemoryLocation() const {
109 Range(MemoryLocation Start, MemoryLocation End, const char *Text)
  /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
ubsan_diag.h 50 typedef uptr MemoryLocation;
53 /// SourceLocation, a MemoryLocation, or a SymbolizedStack.
62 MemoryLocation MemoryLoc;
69 Location(MemoryLocation Loc) :
85 MemoryLocation getMemoryLocation() const {
108 Range(MemoryLocation Start, MemoryLocation End, const char *Text)
  /src/external/gpl3/gcc/dist/libsanitizer/ubsan/
ubsan_diag.h 50 typedef uptr MemoryLocation;
53 /// SourceLocation, a MemoryLocation, or a SymbolizedStack.
62 MemoryLocation MemoryLoc;
69 Location(MemoryLocation Loc) :
85 MemoryLocation getMemoryLocation() const {
108 Range(MemoryLocation Start, MemoryLocation End, const char *Text)
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
DeadStoreElimination.cpp 44 #include "llvm/Analysis/MemoryLocation.h"
207 static MemoryLocation getLocForWrite(Instruction *Inst,
210 return MemoryLocation::get(SI);
214 return MemoryLocation::getForDest(MI);
219 return MemoryLocation(); // Unhandled intrinsic.
221 return MemoryLocation::getAfter(II->getArgOperand(0));
223 return MemoryLocation::getForArgument(II, 1, TLI);
226 return MemoryLocation(II->getArgOperand(1), Len);
233 return MemoryLocation::getAfter(CB->getArgOperand(0));
234 return MemoryLocation();
    [all...]
MemCpyOptimizer.cpp 26 #include "llvm/Analysis/MemoryLocation.h"
341 static bool accessedBetween(AliasAnalysis &AA, MemoryLocation Loc,
356 static bool writtenBetween(MemorySSA *MSSA, MemoryLocation Loc,
527 MemoryLocation StoreLoc = MemoryLocation::get(SI);
542 SmallVector<MemoryLocation, 8> MemLocs{StoreLoc};
547 const MemoryLocation LoadLoc = MemoryLocation::get(LI);
563 NeedLift = llvm::any_of(MemLocs, [C, this](const MemoryLocation &ML) {
589 auto ML = MemoryLocation::get(C)
    [all...]
MergedLoadStoreMotion.cpp 121 const Instruction &End, MemoryLocation Loc);
174 MemoryLocation Loc) {
196 MemoryLocation Loc0 = MemoryLocation::get(Store0);
197 MemoryLocation Loc1 = MemoryLocation::get(Store1);

Completed in 42 milliseconds

1 2 3 4