Home
last modified time | relevance | path

Searched refs:LocationSize (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DMemoryLocation.h60 class LocationSize {
77 constexpr LocationSize(uint64_t Raw, DirectConstruction): Value(Raw) {} in LocationSize() function
87 constexpr LocationSize(uint64_t Raw) in LocationSize() function
90 static LocationSize precise(uint64_t Value) { return LocationSize(Value); } in precise()
92 static LocationSize upperBound(uint64_t Value) { in upperBound()
98 return LocationSize(Value | ImpreciseBit, Direct); in upperBound()
101 constexpr static LocationSize unknown() { in unknown()
102 return LocationSize(Unknown, Direct); in unknown()
106 constexpr static LocationSize mapTombstone() { in mapTombstone()
107 return LocationSize(MapTombstone, Direct); in mapTombstone()
[all …]
DBasicAliasAnalysis.h177 LocationSize ObjectAccessSize);
189 LocationSize V1Size, LocationSize V2Size,
198 AliasResult aliasGEP(const GEPOperator *V1, LocationSize V1Size,
200 LocationSize V2Size, const AAMDNodes &V2AAInfo,
204 AliasResult aliasPHI(const PHINode *PN, LocationSize PNSize,
206 LocationSize V2Size, const AAMDNodes &V2AAInfo,
209 AliasResult aliasSelect(const SelectInst *SI, LocationSize SISize,
211 LocationSize V2Size, const AAMDNodes &V2AAInfo,
214 AliasResult aliasCheck(const Value *V1, LocationSize V1Size,
216 LocationSize V2Size, AAMDNodes V2AATag,
DAliasSetTracker.h56 LocationSize Size = LocationSize::mapEmpty();
61 bool isSizeSet() const { return Size != LocationSize::mapEmpty(); } in isSizeSet()
77 bool updateSizeAndAAInfo(LocationSize NewSize, const AAMDNodes &NewAAInfo) { in updateSizeAndAAInfo()
80 LocationSize OldSize = Size; in updateSizeAndAAInfo()
101 LocationSize getSize() const { in getSize()
258 LocationSize getSize() const { return CurNode->getSize(); } in getSize()
298 void addPointer(AliasSetTracker &AST, PointerRec &Entry, LocationSize Size,
318 AliasResult aliasesPointer(const Value *Ptr, LocationSize Size,
377 void add(Value *Ptr, LocationSize Size, const AAMDNodes &AAInfo); // Add a loc
449 AliasSet *mergeAliasSetsForPointer(const Value *Ptr, LocationSize Size,
DAliasAnalysis.h352 AliasResult alias(const Value *V1, LocationSize V1Size, const Value *V2, in alias()
353 LocationSize V2Size) { in alias()
359 return alias(V1, LocationSize::unknown(), V2, LocationSize::unknown()); in alias()
369 bool isNoAlias(const Value *V1, LocationSize V1Size, const Value *V2, in isNoAlias()
370 LocationSize V2Size) { in isNoAlias()
387 return alias(V1, LocationSize::precise(1), V2, LocationSize::precise(1)) == in isMustAlias()
528 LocationSize Size) { in getModRefInfo()
538 LocationSize Size) { in getModRefInfo()
548 LocationSize Size) { in getModRefInfo()
558 LocationSize Size) { in getModRefInfo()
[all …]
DMemoryDependenceAnalysis.h305 LocationSize Size = LocationSize::unknown();
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryLocation.cpp21 void LocationSize::print(raw_ostream &OS) const { in print()
42 LocationSize::precise(DL.getTypeStoreSize(LI->getType())), AATags); in get()
51 LocationSize::precise(DL.getTypeStoreSize( in get()
60 return MemoryLocation(VI->getPointerOperand(), LocationSize::unknown(), in get()
70 LocationSize::precise(DL.getTypeStoreSize( in get()
81 LocationSize::precise(DL.getTypeStoreSize( in get()
95 auto Size = LocationSize::unknown(); in getForSource()
97 Size = LocationSize::precise(C->getValue().getZExtValue()); in getForSource()
116 auto Size = LocationSize::unknown(); in getForDest()
118 Size = LocationSize::precise(C->getValue().getZExtValue()); in getForDest()
[all …]
DBasicAliasAnalysis.cpp241 const LocationSize &LocSize, in getMinimalExtentFrom()
1085 LocationSize MaybeV1Size, in aliasSameBasePointerGEPs()
1087 LocationSize MaybeV2Size, in aliasSameBasePointerGEPs()
1103 if (MaybeV1Size == LocationSize::unknown() || in aliasSameBasePointerGEPs()
1104 MaybeV2Size == LocationSize::unknown()) in aliasSameBasePointerGEPs()
1274 LocationSize MaybeObjectAccessSize) { in isGEPBaseAtNegativeOffset()
1276 if (MaybeObjectAccessSize == LocationSize::unknown() || !GEPOp->isInBounds()) in isGEPBaseAtNegativeOffset()
1312 const GEPOperator *GEP1, LocationSize V1Size, const AAMDNodes &V1AAInfo, in aliasGEP()
1313 const Value *V2, LocationSize V2Size, const AAMDNodes &V2AAInfo, in aliasGEP()
1349 aliasCheck(UnderlyingV1, LocationSize::unknown(), AAMDNodes(), in aliasGEP()
[all …]
DAliasAnalysisEvaluator.cpp143 auto I1Size = LocationSize::unknown(); in runInternal()
146 I1Size = LocationSize::precise(DL.getTypeStoreSize(I1ElTy)); in runInternal()
149 auto I2Size = LocationSize::unknown(); in runInternal()
152 I2Size = LocationSize::precise(DL.getTypeStoreSize(I2ElTy)); in runInternal()
234 auto Size = LocationSize::unknown(); in runInternal()
237 Size = LocationSize::precise(DL.getTypeStoreSize(ElTy)); in runInternal()
DScalarEvolutionAliasAnalysis.cpp85 AO ? LocationSize::unknown() : LocA.Size, in alias()
88 BO ? LocationSize::unknown() : LocB.Size, in alias()
DAliasSetTracker.cpp137 LocationSize Size, const AAMDNodes &AAInfo, in addPointer()
199 AliasResult AliasSet::aliasesPointer(const Value *Ptr, LocationSize Size, in aliasesPointer()
306 LocationSize Size, in mergeAliasSetsForPointer()
356 const LocationSize Size = MemLoc.Size; in getAliasSetFor()
404 void AliasSetTracker::add(Value *Ptr, LocationSize Size, in add()
678 if (I.getSize() == LocationSize::unknown()) in print()
DCFLAndersAliasAnalysis.cpp342 bool mayAlias(const Value *, LocationSize, const Value *, LocationSize) const;
521 const Value *LHS, LocationSize MaybeLHSSize, const Value *RHS, in mayAlias()
522 LocationSize MaybeRHSSize) const { in mayAlias()
562 if (MaybeLHSSize == LocationSize::unknown() || in mayAlias()
563 MaybeRHSSize == LocationSize::unknown()) in mayAlias()
DLint.cpp337 auto Size = LocationSize::unknown(); in visitCallSite()
342 Size = LocationSize::precise(Len->getValue().getZExtValue()); in visitCallSite()
DLoads.cpp425 auto AccessSize = LocationSize::precise(DL.getTypeStoreSize(AccessTy)); in FindAvailablePtrLoadStore()
DLoopAccessAnalysis.cpp512 AST.add(Ptr, LocationSize::unknown(), Loc.AATags); in addLoad()
521 AST.add(Ptr, LocationSize::unknown(), Loc.AATags); in addStore()
DDependenceAnalysis.cpp656 MemoryLocation LocAS(LocA.Ptr, LocationSize::unknown(), LocA.AATags); in underlyingObjectsAlias()
657 MemoryLocation LocBS(LocB.Ptr, LocationSize::unknown(), LocB.AATags); in underlyingObjectsAlias()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DStackMapParser.h224 LocationListOffset + LocationIndex * LocationSize; in getLocation()
275 ((LocationListOffset + LocationSize * getNumLocations()) + 7) & ~0x7; in getNumLiveOutsOffset()
296 static const unsigned LocationSize = sizeof(uint64_t) + sizeof(uint32_t); variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DImplicitNullChecks.cpp351 AA->alias(MemoryLocation(MMO1->getValue(), LocationSize::unknown(), in areMemoryOpsAliased()
353 MemoryLocation(MMO2->getValue(), LocationSize::unknown(), in areMemoryOpsAliased()
DMachinePipeliner.cpp733 MemoryLocation(MMO1->getValue(), LocationSize::unknown(), in addLoopCarriedDependences()
735 MemoryLocation(MMO2->getValue(), LocationSize::unknown(), in addLoopCarriedDependences()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/
DLinkAllPasses.h239 X.add(nullptr, llvm::LocationSize::unknown(), in ForcePassLinking()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp855 ModRefInfo MR = AA.getModRefInfo(C, cpyDest, LocationSize::precise(srcSize)); in performCallSlotOptzn()
858 MR = AA.callCapturesBefore(C, cpyDest, LocationSize::precise(srcSize), &DT); in performCallSlotOptzn()
1257 MemoryLocation(ByValArg, LocationSize::precise(ByValSize)), true, in processByValArgument()
DLoopIdiomRecognize.cpp806 LocationSize AccessSize = LocationSize::unknown(); in mayLoopAccessLocation()
811 AccessSize = LocationSize::precise((BECst->getValue()->getZExtValue() + 1) * in mayLoopAccessLocation()
DLICM.cpp1167 MemoryLocation(Op, LocationSize::unknown(), AAMDNodes()), in canSinkOrHoistInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp1976 LocationSize AccessSize = LocationSize::unknown(); in mayLoopAccessLocation()
1981 AccessSize = LocationSize::precise((BECst->getValue()->getZExtValue() + 1) * in mayLoopAccessLocation()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMParallelDSP.cpp378 const auto Size = LocationSize::unknown(); in RecordMemoryOps()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp171 MemoryLocation Loc(Arg, LocationSize::unknown(), AAInfo); in checkFunctionMemoryAccess()

12