Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryLocation.h67 class LocationSize {
82 constexpr LocationSize(uint64_t Raw) : Value(Raw) {} in LocationSize() function
83 constexpr LocationSize(uint64_t Raw, bool Scalable) in LocationSize() function
95 static LocationSize precise(uint64_t Value) { in precise()
96 return LocationSize(Value, false /*Scalable*/); in precise()
98 static LocationSize precise(TypeSize Value) { in precise()
99 return LocationSize(Value.getKnownMinValue(), Value.isScalable()); in precise()
102 static LocationSize upperBound(uint64_t Value) { in upperBound()
108 return LocationSize(Value | ImpreciseBit); in upperBound()
110 static LocationSize upperBound(TypeSize Value) { in upperBound()
[all …]
H A DBasicAliasAnalysis.h123 bool constantOffsetHeuristic(const DecomposedGEP &GEP, LocationSize V1Size,
124 LocationSize V2Size, AssumptionCache *AC,
134 AliasResult aliasGEP(const GEPOperator *V1, LocationSize V1Size,
135 const Value *V2, LocationSize V2Size,
139 AliasResult aliasPHI(const PHINode *PN, LocationSize PNSize,
140 const Value *V2, LocationSize V2Size, AAQueryInfo &AAQI);
142 AliasResult aliasSelect(const SelectInst *SI, LocationSize SISize,
143 const Value *V2, LocationSize V2Size,
146 AliasResult aliasCheck(const Value *V1, LocationSize V1Size, const Value *V2,
147 LocationSize V2Size, AAQueryInfo &AAQI,
[all …]
H A DAliasAnalysis.h207 LocationSize Size;
209 AACacheLoc(PtrTy Ptr, LocationSize Size) : Ptr(Ptr), Size(Size) {} in AACacheLoc()
210 AACacheLoc(const Value *Ptr, LocationSize Size, bool MayBeCrossIteration) in AACacheLoc()
217 DenseMapInfo<LocationSize>::getEmptyKey()};
221 DenseMapInfo<LocationSize>::getTombstoneKey()};
225 DenseMapInfo<LocationSize>::getHashValue(Val.Size);
360 AliasResult alias(const Value *V1, LocationSize V1Size, const Value *V2,
361 LocationSize V2Size) {
378 bool isNoAlias(const Value *V1, LocationSize V1Size, const Value *V2,
379 LocationSize V2Size) {
[all …]
H A DMemoryDependenceAnalysis.h300 LocationSize Size = LocationSize::afterPointer();
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryLocation.cpp19 void LocationSize::print(raw_ostream &OS) const { in print()
40 LocationSize::precise(DL.getTypeStoreSize(LI->getType())), in get()
48 LocationSize::precise(DL.getTypeStoreSize( in get()
55 LocationSize::afterPointer(), VI->getAAMetadata()); in get()
62 LocationSize::precise(DL.getTypeStoreSize( in get()
71 LocationSize::precise(DL.getTypeStoreSize( in get()
176 return MemoryLocation(Arg, LocationSize::precise(LenCI->getZExtValue()), in getForArgument()
186 LocationSize::precise( in getForArgument()
198 LocationSize::precise( in getForArgument()
206 LocationSize::upperBound(DL.getTypeStoreSize(II->getType())), in getForArgument()
[all …]
H A DAliasAnalysisEvaluator.cpp130 LocationSize Size1 = LocationSize::precise(DL.getTypeStoreSize(I1->second)); in runInternal()
132 LocationSize Size2 = in runInternal()
133 LocationSize::precise(DL.getTypeStoreSize(I2->second)); in runInternal()
214 LocationSize Size = in runInternal()
215 LocationSize::precise(DL.getTypeStoreSize(Pointer.second)); in runInternal()
H A DBasicAliasAnalysis.cpp157 const LocationSize &LocSize, in getMinimalExtentFrom()
1079 const GEPOperator *GEP1, LocationSize V1Size, in aliasGEP()
1080 const Value *V2, LocationSize V2Size, in aliasGEP()
1169 LocationSize VLeftSize = V2Size; in aliasGEP()
1170 LocationSize VRightSize = V1Size; in aliasGEP()
1226 LocationSize VLeftSize = Scale.isNegative() ? V1Size : V2Size; in aliasGEP()
1412 BasicAAResult::aliasSelect(const SelectInst *SI, LocationSize SISize, in aliasSelect()
1413 const Value *V2, LocationSize V2Size, in aliasSelect()
1446 AliasResult BasicAAResult::aliasPHI(const PHINode *PN, LocationSize PNSize, in aliasPHI()
1447 const Value *V2, LocationSize V2Size, in aliasPHI()
[all …]
H A DScalarEvolutionAliasAnalysis.cpp111 AO ? LocationSize::beforeOrAfterPointer() in alias()
115 BO ? LocationSize::beforeOrAfterPointer() in alias()
H A DAliasSetTracker.cpp528 if (MemLoc.Size == LocationSize::afterPointer()) in print()
530 else if (MemLoc.Size == LocationSize::beforeOrAfterPointer()) in print()
H A DLint.cpp260 Actual, LocationSize::precise(DL->getTypeStoreSize(Ty))); in visitCallBase()
328 auto Size = LocationSize::afterPointer(); in visitCallBase()
333 Size = LocationSize::precise(Len->getValue().getZExtValue()); in visitCallBase()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h193 MachineMemOperand(MachinePointerInfo PtrInfo, Flags flags, LocationSize TS,
243 LocationSize getSize() const { in getSize()
245 ? LocationSize::precise(MemoryType.getSizeInBytes()) in getSize()
246 : LocationSize::beforeOrAfterPointer(); in getSize()
250 LocationSize getSizeInBits() const { in getSizeInBits()
252 ? LocationSize::precise(MemoryType.getSizeInBits()) in getSizeInBits()
253 : LocationSize::beforeOrAfterPointer(); in getSizeInBits()
H A DSelectionDAGAddressAnalysis.h87 const LocationSize NumBytes0,
89 const LocationSize NumBytes1,
H A DMachineFunction.h1089 MachinePointerInfo PtrInfo, MachineMemOperand::Flags F, LocationSize Size,
1100 return getMachineMemOperand(PtrInfo, F, LocationSize::precise(Size),
1110 return getMachineMemOperand(PtrInfo, F, LocationSize::precise(Size),
1122 int64_t Offset, LocationSize Size) {
1132 return getMachineMemOperand(MMO, Offset, LocationSize::precise(Size));
1136 return getMachineMemOperand(MMO, Offset, LocationSize::precise(Size));
1145 LocationSize Size);
1152 return getMachineMemOperand(MMO, PtrInfo, LocationSize::precise(Size));
1157 return getMachineMemOperand(MMO, PtrInfo, LocationSize::precise(Size));
H A DMachineInstr.h1807 LLVM_ABI std::optional<LocationSize>
1811 LLVM_ABI std::optional<LocationSize>
1815 LLVM_ABI std::optional<LocationSize>
1819 LLVM_ABI std::optional<LocationSize>
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp116 LocationSize Size1 = LdSt1->getMemSize(); in aliasIsKnownForLoadStore()
117 LocationSize Size2 = LdSt2->getMemSize(); in aliasIsKnownForLoadStore()
194 LocationSize NumBytes; in instMayAlias()
210 LocationSize Size = LS->getMMO().getSize(); in instMayAlias()
220 LocationSize::beforeOrAfterPointer() /*size*/, in instMayAlias()
271 LocationSize Size0 = MUC0.NumBytes; in instMayAlias()
272 LocationSize Size1 = MUC1.NumBytes; in instMayAlias()
281 LocationSize Loc0 = in instMayAlias()
282 Size0.isScalable() ? Size0 : LocationSize::precise(Overlap0); in instMayAlias()
283 LocationSize Loc1 = in instMayAlias()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.cpp105 LocationSize WidthA = LocationSize::precise(0), in areMemAccessesTriviallyDisjoint()
106 WidthB = LocationSize::precise(0); in areMemAccessesTriviallyDisjoint()
112 LocationSize LowWidth = (LowOffset == OffsetA) ? WidthA : WidthB; in areMemAccessesTriviallyDisjoint()
757 LocationSize &Width, const TargetRegisterInfo * /*TRI*/) const { in getMemOperandWithOffsetWidth()
773 Width = LocationSize::precise(4); in getMemOperandWithOffsetWidth()
778 Width = LocationSize::precise(2); in getMemOperandWithOffsetWidth()
783 Width = LocationSize::precise(1); in getMemOperandWithOffsetWidth()
798 int64_t &Offset, bool &OffsetIsScalable, LocationSize &Width, in getMemOperandsWithOffsetWidth()
H A DLanaiInstrInfo.h75 bool &OffsetIsScalable, LocationSize &Width,
80 int64_t &Offset, LocationSize &Width,
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DStackMapParser.h226 LocationListOffset + LocationIndex * LocationSize; in getLocation()
277 ((LocationListOffset + LocationSize * getNumLocations()) + 7) & ~0x7; in getNumLiveOutsOffset()
298 static const unsigned LocationSize = sizeof(uint64_t) + sizeof(uint32_t);
299 static const unsigned LocationSize = sizeof(uint64_t) + sizeof(uint32_t); global() variable
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInsertHardClauses.cpp217 LocationSize Dummy3 = LocationSize::precise(0); in run()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineInstr.cpp1450 LocationSize WidthA = MMOa->getSize(); in MemOperandsHaveAlias()
1451 LocationSize WidthB = MMOb->getSize(); in MemOperandsHaveAlias()
1502 LocationSize LocA = (WidthA.isScalable() || !KnownWidthA) in MemOperandsHaveAlias()
1504 : LocationSize::precise(OverlapA); in MemOperandsHaveAlias()
1505 LocationSize LocB = (WidthB.isScalable() || !KnownWidthB) in MemOperandsHaveAlias()
1507 : LocationSize::precise(OverlapB); in MemOperandsHaveAlias()
2545 static LocationSize getSpillSlotSize(const MMOList &Accesses, in getSpillSlotSize()
2552 LocationSize S = A->getSize(); in getSpillSlotSize()
2554 return LocationSize::beforeOrAfterPointer(); in getSpillSlotSize()
2562 return LocationSize::precise(0); in getSpillSlotSize()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1007 MemoryLocation(srcAlloca, LocationSize::precise(srcSize)); in performCallSlotOptzn()
1052 MemoryLocation DestWithSrcSize(cpyDest, LocationSize::precise(srcSize)); in performCallSlotOptzn()
1178 LocationSize::precise(ConstLength->getZExtValue())); in processMemCpyMemCpyDependence()
1621 MemoryLocation DestLoc(DestAlloca, LocationSize::precise(Size)); in performStackMoveOptzn()
1669 MemoryLocation SrcLoc(SrcAlloca, LocationSize::precise(Size)); in performStackMoveOptzn()
1891 LocationSize MemMoveLocSize = SourceLoc.Size; in isMemMoveMemSetDependency()
1899 LocationSize TotalSize = in isMemMoveMemSetDependency()
1900 LocationSize::precise(Offset.getZExtValue() + MemMoveSize); in isMemMoveMemSetDependency()
1968 MemoryLocation Loc(ByValArg, LocationSize::precise(ByValSize)); in processByValArgument()
2075 MemoryLocation Loc(ImmutArg, LocationSize::precise(*AllocaSize)); in processImmutArgument()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGAddressAnalysis.cpp94 const LocationSize NumBytes0, in computeAliasing()
96 const LocationSize NumBytes1, in computeAliasing()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonSubtarget.cpp395 LocationSize Size0 = LocationSize::precise(0); in apply()
409 LocationSize Size1 = LocationSize::precise(0); in apply()
H A DHexagonInstrInfo.h211 bool &OffsetIsScalable, LocationSize &Width,
441 LocationSize &AccessSize) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.h175 int64_t &Offset, bool &OffsetIsScalable, LocationSize &Width,
187 int64_t &Offset, LocationSize &Width,

123