| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/gwp_asan/ |
| H A D | guarded_pool_allocator.h | 138 static uintptr_t alignDown(uintptr_t Ptr, size_t Alignment);
|
| H A D | guarded_pool_allocator.cpp | 191 uintptr_t GuardedPoolAllocator::alignDown(uintptr_t Ptr, size_t Alignment) { in alignDown() function in gwp_asan::GuardedPoolAllocator 247 UserPtr = alignDown(SlotEnd - Size, Alignment); in allocate()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelArguments.cpp | 194 int64_t AlignDownOffset = alignDown(EltOffset, 4); in lowerKernelArguments()
|
| H A D | GCNSchedStrategy.cpp | 102 unsigned VGPRBudget = alignDown(Addressable / TargetOccupancy, Granule); in initialize()
|
| H A D | AMDGPUCodeGenPrepare.cpp | 1963 for (unsigned End = alignDown(NumElts, SubVecSize); Idx < End; in visitPHINode()
|
| H A D | SIRegisterInfo.cpp | 553 unsigned BaseIdx = alignDown(ST.getMaxNumSGPRs(MF), Align) - Align; in getAlignedHighSGPRForRC()
|
| H A D | SIISelLowering.cpp | 1990 int64_t AlignDownOffset = alignDown(Offset, 4); in lowerKernargMemParameter() 2884 int64_t AlignDownOffset = alignDown(Offset, 4); in LowerFormalArguments()
|
| H A D | SIInstrInfo.cpp | 8927 const uint32_t MaxImm = alignDown(MaxOffset, Alignment.value()); in splitMUBUFOffset()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUBaseInfo.cpp | 978 MinNumSGPRs = alignDown(MinNumSGPRs, getSGPRAllocGranule(STI)) + 1; in getMinNumSGPRs() 995 MaxNumSGPRs = alignDown(MaxNumSGPRs, getSGPRAllocGranule(STI)); in getMaxNumSGPRs() 1103 unsigned MaxNumVGPRs = alignDown(TotNumVGPRs / WavesPerEU, Granule); in getMinNumVGPRs() 1105 if (MaxNumVGPRs == alignDown(TotNumVGPRs / MaxWavesPerEU, Granule)) in getMinNumVGPRs() 1112 unsigned MaxNumVGPRsNext = alignDown(TotNumVGPRs / (WavesPerEU + 1), Granule); in getMinNumVGPRs() 1120 unsigned MaxNumVGPRs = alignDown(getTotalNumVGPRs(STI) / WavesPerEU, in getMaxNumVGPRs()
|
| /freebsd-14.2/contrib/llvm-project/lld/ELF/ |
| H A D | ARMErrataFix.cpp | 173 sourceAddr = alignDown(sourceAddr, 4); in getThumbDestAddr()
|
| H A D | LinkerScript.cpp | 1282 return alignDown(min, config->maxPageSize); in computeBase() 1312 min = alignDown(min - headerSize, config->maxPageSize); in allocateHeaders()
|
| H A D | Writer.cpp | 3002 alignDown(p->firstSec->offset + p->p_filesz, 4), in writeTrapInstr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | MathExtras.h | 428 inline uint64_t alignDown(uint64_t Value, uint64_t Align, uint64_t Skew = 0) {
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonConstExtenders.cpp | 1082 int32_t Min = -alignDown((1<<S)-1, A); in getOffsetRange() 1122 int32_t Min = -alignDown((1<<S)-1, A); in getOffsetRange() 1287 int32_t D = alignDown(32767, Ranges[I-Begin].Align); // XXX hardcoded in assignInits()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 915 NLZ = alignDown(NLZ, 8); in SimplifyDemandedUseBits() 916 NTZ = alignDown(NTZ, 8); in SimplifyDemandedUseBits()
|
| H A D | InstCombineCalls.cpp | 1864 uint64_t LZ = alignDown(Known.countMinLeadingZeros(), 8); in visitCallInst() 1865 uint64_t TZ = alignDown(Known.countMinTrailingZeros(), 8); in visitCallInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FrameLowering.cpp | 808 const unsigned BoundOffset = alignDown(Offset, StackProbeSize); in emitStackProbeInlineGenericLoop() 2638 return alignDown(MFI.getMaxCallFrameSize(), getStackAlign().value()) + in getWin64EHFrameIndexRef() 2814 NumRegsForPush2 = UsePush2Pop2 ? alignDown(NumCSGPR, 2) : 0; in assignCalleeSavedSpillSlots()
|
| H A D | X86TargetTransformInfo.cpp | 1527 int ExtractIndex = alignDown((Index % NumElts), NumSubElts); in getShuffleCost()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | RecordLayoutBuilder.cpp | 3039 llvm::alignDown(FieldBitOffset, Context.toBits(Info.Alignment)) + in layoutBitField()
|
| H A D | ExprConstant.cpp | 9507 ? llvm::alignDown(Result.Offset.getQuantity(), Alignment64) in VisitBuiltinCallExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 2283 NLZ = alignDown(NLZ, 8); in SimplifyDemandedBits() 2284 NTZ = alignDown(NTZ, 8); in SimplifyDemandedBits()
|
| H A D | LegalizeIntegerTypes.cpp | 5576 DAG.getConstant(alignDown(IdxVal, NElts), dl, in PromoteIntRes_EXTRACT_SUBVECTOR()
|
| H A D | SelectionDAGBuilder.cpp | 3946 int NewStartIdx = alignDown(Idx, MaskNumElts); in visitShuffleVector()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 8067 OffsetBeg = alignDown(OffsetBeg, VecSz, Offset); in getEntryCost()
|