/freebsd/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 | 194 uintptr_t GuardedPoolAllocator::alignDown(uintptr_t Ptr, size_t Alignment) { in alignDown() function in gwp_asan::GuardedPoolAllocator 250 UserPtr = alignDown(SlotEnd - Size, Alignment); in allocate()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerKernelArguments.cpp | 192 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 | 1971 for (unsigned End = alignDown(NumElts, SubVecSize); Idx < End; in visitPHINode()
|
H A D | SIRegisterInfo.cpp | 554 unsigned BaseIdx = alignDown(ST.getMaxNumSGPRs(MF), Align) - Align; in getAlignedHighSGPRForRC()
|
H A D | SIISelLowering.cpp | 2051 int64_t AlignDownOffset = alignDown(Offset, 4); in lowerKernargMemParameter() 2953 int64_t AlignDownOffset = alignDown(Offset, 4); in LowerFormalArguments()
|
H A D | SIInstrInfo.cpp | 9050 const uint32_t MaxImm = alignDown(MaxOffset, Alignment.value()); in splitMUBUFOffset()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDGPUBaseInfo.cpp | 1040 MinNumSGPRs = alignDown(MinNumSGPRs, getSGPRAllocGranule(STI)) + 1; in getMinNumSGPRs() 1057 MaxNumSGPRs = alignDown(MaxNumSGPRs, getSGPRAllocGranule(STI)); in getMaxNumSGPRs() 1205 unsigned MaxNumVGPRs = alignDown(TotNumVGPRs / WavesPerEU, Granule); in getMinNumVGPRs() 1207 if (MaxNumVGPRs == alignDown(TotNumVGPRs / MaxWavesPerEU, Granule)) in getMinNumVGPRs() 1214 unsigned MaxNumVGPRsNext = alignDown(TotNumVGPRs / (WavesPerEU + 1), Granule); in getMinNumVGPRs() 1222 unsigned MaxNumVGPRs = alignDown(getTotalNumVGPRs(STI) / WavesPerEU, in getMaxNumVGPRs()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | ARMErrataFix.cpp | 173 sourceAddr = alignDown(sourceAddr, 4); in getThumbDestAddr()
|
H A D | LinkerScript.cpp | 1331 return alignDown(min, config->maxPageSize); in computeBase() 1361 min = alignDown(min - headerSize, config->maxPageSize); in allocateHeaders()
|
H A D | Writer.cpp | 2801 alignDown(p->firstSec->offset + p->p_filesz, 4), in writeTrapInstr()
|
/freebsd/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() 1291 int32_t D = alignDown(32767, Ranges[I-Begin].Align); // XXX hardcoded in assignInits()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVFrameLowering.cpp | 615 uint64_t Spimm = std::min(alignDown(StackSize, 16), (uint64_t)48); in emitPrologue() 846 uint64_t Spimm = std::min(alignDown(StackSize, 16), (uint64_t)48); in emitEpilogue()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | MathExtras.h | 547 constexpr T alignDown(U Value, V Align, W Skew = 0) {
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 929 NLZ = alignDown(NLZ, 8); in SimplifyDemandedUseBits() 930 NTZ = alignDown(NTZ, 8); in SimplifyDemandedUseBits()
|
H A D | InstCombineCalls.cpp | 1950 uint64_t LZ = alignDown(Known.countMinLeadingZeros(), 8); in visitCallInst() 1951 uint64_t TZ = alignDown(Known.countMinTrailingZeros(), 8); in visitCallInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86FrameLowering.cpp | 807 const unsigned BoundOffset = alignDown(Offset, StackProbeSize); in emitStackProbeInlineGenericLoop() 2693 return alignDown(MFI.getMaxCallFrameSize(), getStackAlign().value()) + in getWin64EHFrameIndexRef() 2869 NumRegsForPush2 = UsePush2Pop2 ? alignDown(NumCSGPR, 2) : 0; in assignCalleeSavedSpillSlots()
|
H A D | X86TargetTransformInfo.cpp | 1596 int ExtractIndex = alignDown((Index % NumElts), NumSubElts); in getShuffleCost()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpBuiltin.cpp | 1081 ? llvm::alignDown(PtrOffset, Alignment64) in interp__builtin_is_aligned_up_down()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | RecordLayoutBuilder.cpp | 3051 llvm::alignDown(FieldBitOffset, Context.toBits(Info.Alignment)) + in layoutBitField()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 8479 alignDown(std::accumulate(Mask.begin(), Mask.end(), INT_MAX, in computeExtractCost() 8506 OffsetReg1 = alignDown( in computeExtractCost() 9502 OffsetBeg = alignDown(OffsetBeg, VecSz, Offset); in getEntryCost()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 2314 NLZ = alignDown(NLZ, 8); in SimplifyDemandedBits() 2315 NTZ = alignDown(NTZ, 8); in SimplifyDemandedBits()
|
H A D | LegalizeIntegerTypes.cpp | 5747 DAG.getConstant(alignDown(IdxVal, NElts), dl, in PromoteIntRes_EXTRACT_SUBVECTOR()
|
H A D | SelectionDAGBuilder.cpp | 4139 int NewStartIdx = alignDown(Idx, MaskNumElts); in visitShuffleVector()
|