Home
last modified time | relevance | path

Searched refs:alignDown (Results 1 – 16 of 16) sorted by relevance

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.cpp176 uintptr_t GuardedPoolAllocator::alignDown(uintptr_t Ptr, size_t Alignment) { in alignDown() function in gwp_asan::GuardedPoolAllocator
232 UserPtr = alignDown(SlotEnd - Size, Alignment); in allocate()
H A Dguarded_pool_allocator.h128 static uintptr_t alignDown(uintptr_t Ptr, size_t Alignment);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp636 MinNumSGPRs = alignDown(MinNumSGPRs, getSGPRAllocGranule(STI)) + 1; in getMinNumSGPRs()
653 MaxNumSGPRs = alignDown(MaxNumSGPRs, getSGPRAllocGranule(STI)); in getMaxNumSGPRs()
740 alignDown(getTotalNumVGPRs(STI) / (WavesPerEU + 1), in getMinNumVGPRs()
748 unsigned MaxNumVGPRs = alignDown(getTotalNumVGPRs(STI) / WavesPerEU, in getMaxNumVGPRs()
1914 const uint32_t MaxImm = alignDown(4095, Alignment.value()); in splitMUBUFOffset()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp143 int64_t AlignDownOffset = alignDown(EltOffset, 4); in runOnFunction()
H A DSIRegisterInfo.cpp438 unsigned BaseIdx = alignDown(ST.getMaxNumSGPRs(MF), 4) - 4; in reservedPrivateSegmentBufferReg()
H A DSIISelLowering.cpp1721 int64_t AlignDownOffset = alignDown(Offset, 4); in lowerKernargMemParameter()
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DARMErrataFix.cpp175 sourceAddr = alignDown(sourceAddr, 4); in getThumbDestAddr()
H A DLinkerScript.cpp1173 return alignDown(min, config->maxPageSize); in computeBase()
1203 min = alignDown(min - headerSize, config->maxPageSize); in allocateHeaders()
H A DWriter.cpp2961 fillTrap(Out::bufferStart + alignDown(p->firstSec->offset + p->p_filesz, in writeTrapInstr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp1080 int32_t Min = -alignDown((1<<S)-1, A); in getOffsetRange()
1120 int32_t Min = -alignDown((1<<S)-1, A); in getOffsetRange()
1285 int32_t D = alignDown(32767, Ranges[I-Begin].Align); // XXX hardcoded in assignInits()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DMathExtras.h753 inline uint64_t alignDown(uint64_t Value, uint64_t Align, uint64_t Skew = 0) {
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp2942 llvm::alignDown(FieldBitOffset, Context.toBits(Info.Alignment)) + in layoutBitField()
H A DExprConstant.cpp9064 ? llvm::alignDown(Result.Offset.getQuantity(), Alignment64) in VisitBuiltinCallExpr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp2315 return alignDown(MFI.getMaxCallFrameSize(), getStackAlign().value()) + in getWin64EHFrameIndexRef()
H A DX86TargetTransformInfo.cpp1095 int ExtractIndex = alignDown((Index % NumElts), NumSubElts); in getShuffleCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp3678 int NewStartIdx = alignDown(Idx, MaskNumElts); in visitShuffleVector()