Home
last modified time | relevance | path

Searched refs:MaxOffset (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/libc/benchmarks/
H A DLibcMemoryBenchmark.cpp33 int64_t MaxOffset = BufferSize; in getOffsetDistribution() local
34 MaxOffset -= MaxSizeValue; in getOffsetDistribution()
35 MaxOffset -= 1; in getOffsetDistribution()
36 if (MaxOffset < 0) in getOffsetDistribution()
39 MaxOffset /= AccessAlignment->value(); in getOffsetDistribution()
40 return std::uniform_int_distribution<uint32_t>(0, MaxOffset); in getOffsetDistribution()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp121 int MaxOffset = std::numeric_limits<int>::min(), in compressJumpTable() local
128 MaxOffset = std::max(MaxOffset, BlockOffset); in compressJumpTable()
143 int Span = MaxOffset - MinOffset; in compressJumpTable()
H A DAArch64MachineFunctionInfo.h272 int64_t MaxOffset = std::numeric_limits<int64_t>::min(); in getCalleeSavedStackSize() local
280 MaxOffset = std::max<int64_t>(Offset + ObjSize, MaxOffset); in getCalleeSavedStackSize()
287 MaxOffset = std::max<int64_t>(Offset + ObjSize, MaxOffset); in getCalleeSavedStackSize()
290 unsigned Size = alignTo(MaxOffset - MinOffset, 16); in getCalleeSavedStackSize()
H A DAArch64InstrInfo.cpp2708 MaxOffset = 63; in getMemOpInfo()
2728 MaxOffset = 63; in getMemOpInfo()
2758 MaxOffset = 63; in getMemOpInfo()
2828 MaxOffset = 63; in getMemOpInfo()
2906 MaxOffset = 7; in getMemOpInfo()
2919 MaxOffset = 7; in getMemOpInfo()
2932 MaxOffset = 7; in getMemOpInfo()
2945 MaxOffset = 7; in getMemOpInfo()
2967 MaxOffset = 7; in getMemOpInfo()
2984 MaxOffset = 7; in getMemOpInfo()
[all …]
H A DAArch64LoadStoreOptimizer.cpp592 int &MinOffset, int &MaxOffset) { in getPrePostIndexedMemOpInfo() argument
602 MaxOffset = 63; in getPrePostIndexedMemOpInfo()
605 MaxOffset = 255; in getPrePostIndexedMemOpInfo()
1803 int Scale, MinOffset, MaxOffset; in mergeUpdateInsn() local
1804 getPrePostIndexedMemOpInfo(*I, Scale, MinOffset, MaxOffset); in mergeUpdateInsn()
1880 int Scale, MinOffset, MaxOffset; in isMatchingUpdateInsn() local
1881 getPrePostIndexedMemOpInfo(MemMI, Scale, MinOffset, MaxOffset); in isMatchingUpdateInsn()
1887 if (ScaledOffset > MaxOffset || ScaledOffset < MinOffset) in isMatchingUpdateInsn()
H A DAArch64InstrInfo.h164 int64_t &MinOffset, int64_t &MaxOffset);
/llvm-project-15.0.7/compiler-rt/lib/xray/
H A Dxray_x86_64.cpp121 static constexpr int64_t MaxOffset{std::numeric_limits<int32_t>::max()}; variable
150 if (TrampolineOffset < MinOffset || TrampolineOffset > MaxOffset) { in patchFunctionEntry()
197 if (TrampolineOffset < MinOffset || TrampolineOffset > MaxOffset) { in patchFunctionExit()
227 if (TrampolineOffset < MinOffset || TrampolineOffset > MaxOffset) { in patchFunctionTailExit()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DGlobalMerge.cpp147 unsigned MaxOffset; member in __anone4572b450111::GlobalMerge
190 : FunctionPass(ID), MaxOffset(GlobalMergeMaxOffset) { in GlobalMerge()
196 : FunctionPass(ID), TM(TM), MaxOffset(MaximalOffset), in GlobalMerge()
470 if (MergedSize > MaxOffset) { in doMerge()
656 if (DL.getTypeAllocSize(Ty) < MaxOffset) { in doInitialization()
H A DMachineInstr.cpp1256 int64_t MaxOffset = std::max(OffsetA, OffsetB); in MemOperandsHaveAlias() local
1258 return (MinOffset + LowWidth > MaxOffset); in MemOperandsHaveAlias()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp1224 if (f.Offset > MaxOffset) in pushFixup()
1225 MaxOffset = f.Offset; in pushFixup()
1726 (MaxOffset > 0)) in isAMCompletelyFolded()
1728 MaxOffset = (uint64_t)BaseOffset + MaxOffset; in isAMCompletelyFolded()
2562 int64_t NewMaxOffset = LU.MaxOffset; in reconcileNewOffset()
2587 } else if (NewOffset > LU.MaxOffset) { in reconcileNewOffset()
2596 LU.MaxOffset = NewMaxOffset; in reconcileNewOffset()
2635 LU.MaxOffset = Offset; in getUse()
3944 if (LU.MaxOffset != LU.MinOffset) in GenerateConstantOffsets()
3945 Worklist.push_back(LU.MaxOffset); in GenerateConstantOffsets()
[all …]
H A DGuardWidening.cpp686 const ConstantInt *MaxOffset = CurrentChecks.back().getOffset(); in combineRangeChecks() local
688 unsigned BitWidth = MaxOffset->getValue().getBitWidth(); in combineRangeChecks()
689 if ((MaxOffset->getValue() - MinOffset->getValue()) in combineRangeChecks()
693 APInt MaxDiff = MaxOffset->getValue() - MinOffset->getValue(); in combineRangeChecks()
694 const APInt &HighOffset = MaxOffset->getValue(); in combineRangeChecks()
/llvm-project-15.0.7/clang/lib/Tooling/Inclusions/
H A DHeaderIncludes.cpp165 unsigned MaxOffset = SM.getFileOffset(Tok.getLocation()); in getMaxHeaderInsertionOffset() local
167 MaxOffset = SM.getFileOffset(Tok.getLocation()); in getMaxHeaderInsertionOffset()
168 return MaxOffset; in getMaxHeaderInsertionOffset()
/llvm-project-15.0.7/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h89 MaxOffset = 6, enumerator
139 MaxOffset = 6, enumerator
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_allocator.cpp617 const uptr MaxOffset = in performSanityChecks() local
619 Header.Offset = MaxOffset; in performSanityChecks()
620 if (Header.Offset != MaxOffset) in performSanityChecks()
/llvm-project-15.0.7/llvm/lib/Support/
H A Draw_ostream.cpp416 uint64_t MaxOffset = *FB.FirstByteOffset + Lines * FB.NumPerLine; in operator <<() local
418 if (MaxOffset > 0) in operator <<()
419 Power = llvm::Log2_64_Ceil(MaxOffset); in operator <<()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaRISCVVectorLookup.cpp199 TypeRangeMaskShift <= static_cast<unsigned int>(BasicType::MaxOffset); in InitIntrinsicList()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dcombined.h1038 const uptr MaxOffset = in performSanityChecks() local
1040 Header.Offset = MaxOffset & Chunk::OffsetMask; in performSanityChecks()
1041 if (UNLIKELY(Header.Offset != MaxOffset)) in performSanityChecks()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DInterp.h764 unsigned MaxOffset = MaxIndex - Ptr.getIndex(); in OffsetHelper() local
765 if (Add && Offset.isPositive() && Offset > MaxOffset) in OffsetHelper()
767 if (!Add && Offset.isNegative() && (Offset.isMin() || -Offset > MaxOffset)) in OffsetHelper()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp584 unsigned MaxOffset = ((1 << ImmLimit) - 1) * Scale; in ReduceLoadStore() local
586 if ((OffsetImm & (Scale - 1)) || OffsetImm > MaxOffset) in ReduceLoadStore()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h408 assert(Offset <= MaxOffset && "Offset out of range"); in Symbol()
642 assert(NewOffset <= MaxOffset && "Offset out of range"); in setOffset()
646 static constexpr uint64_t MaxOffset = (1ULL << 59) - 1; variable
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIFrameLowering.cpp1390 uint64_t MaxOffset = EstStackSize - 1; in allocateScavengingFrameIndexesNearIncomingSP() local
1401 if (TII->isLegalFLATOffset(MaxOffset, AMDGPUAS::PRIVATE_ADDRESS, in allocateScavengingFrameIndexesNearIncomingSP()
1405 if (SIInstrInfo::isLegalMUBUFImmOffset(MaxOffset)) in allocateScavengingFrameIndexesNearIncomingSP()
H A DSIRegisterInfo.cpp1305 int64_t MaxOffset = Offset + Size + RemSize - EltSize; in buildSpillLoadStore() local
1356 IsFlat ? TII->isLegalFLATOffset(MaxOffset, AMDGPUAS::PRIVATE_ADDRESS, in buildSpillLoadStore()
1358 : SIInstrInfo::isLegalMUBUFImmOffset(MaxOffset); in buildSpillLoadStore()
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp2353 uint64_t MaxOffset = 0; in layoutSegmentsForOnlyKeepDebug() local
2385 MaxOffset = std::max(MaxOffset, Offset + FileSize); in layoutSegmentsForOnlyKeepDebug()
2387 return MaxOffset; in layoutSegmentsForOnlyKeepDebug()
/llvm-project-15.0.7/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp710 TypeModifierMaskShift <= static_cast<unsigned>(TypeModifier::MaxOffset); in applyModifier()
/llvm-project-15.0.7/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp1617 uint64_t MaxOffset = End - Index; in disassembleObject() local
1621 MaxOffset = std::min(RelCur->getOffset() - RelAdjustment - Index, in disassembleObject()
1622 MaxOffset); in disassembleObject()
1625 countSkippableZeroBytes(Bytes.slice(Index, MaxOffset))) { in disassembleObject()

12