| /llvm-project-15.0.7/libc/benchmarks/ |
| H A D | LibcMemoryBenchmark.cpp | 33 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 D | AArch64CompressJumpTables.cpp | 121 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 D | AArch64MachineFunctionInfo.h | 272 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 D | AArch64InstrInfo.cpp | 2708 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 D | AArch64LoadStoreOptimizer.cpp | 592 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 D | AArch64InstrInfo.h | 164 int64_t &MinOffset, int64_t &MaxOffset);
|
| /llvm-project-15.0.7/compiler-rt/lib/xray/ |
| H A D | xray_x86_64.cpp | 121 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 D | GlobalMerge.cpp | 147 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 D | MachineInstr.cpp | 1256 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 D | LoopStrengthReduce.cpp | 1224 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 D | GuardWidening.cpp | 686 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 D | HeaderIncludes.cpp | 165 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 D | RISCVVIntrinsicUtils.h | 89 MaxOffset = 6, enumerator 139 MaxOffset = 6, enumerator
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/ |
| H A D | scudo_allocator.cpp | 617 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 D | raw_ostream.cpp | 416 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 D | SemaRISCVVectorLookup.cpp | 199 TypeRangeMaskShift <= static_cast<unsigned int>(BasicType::MaxOffset); in InitIntrinsicList()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | combined.h | 1038 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 D | Interp.h | 764 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 D | Thumb2SizeReduction.cpp | 584 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 D | JITLink.h | 408 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 D | SIFrameLowering.cpp | 1390 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 D | SIRegisterInfo.cpp | 1305 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 D | ELFObject.cpp | 2353 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 D | RISCVVIntrinsicUtils.cpp | 710 TypeModifierMaskShift <= static_cast<unsigned>(TypeModifier::MaxOffset); in applyModifier()
|
| /llvm-project-15.0.7/llvm/tools/llvm-objdump/ |
| H A D | llvm-objdump.cpp | 1617 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()
|