Home
last modified time | relevance | path

Searched refs:isAligned (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c_checks.h35 !isAligned(Size, Alignment); in checkAlignedAllocAlignmentAndSize()
42 !isAligned(Alignment, sizeof(void *)); in checkPosixMemalignAlignment()
H A Dtsd.h34 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT))); in alignas()
H A Dcommon.h38 inline constexpr bool isAligned(uptr X, uptr Alignment) { in isAligned() function
H A Dprimary32.h70 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT))); in init()
287 if (isAligned(Region, RegionSize)) { in allocateRegionSlow()
H A Dquarantine.h176 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT))); in init()
H A Dcombined.h530 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)))
594 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(OldPtr), MinAlignment)))
841 if (!Ptr || !isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)) in isOwned()
H A Dprimary64.h62 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT))); in init()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_allocator.cpp84 static inline bool isAligned(const void *Ptr) { in isAligned() function
294 if (!Chunk::isAligned(Ptr)) in isValidPointer()
467 if (UNLIKELY(!Chunk::isAligned(Ptr))) in deallocate()
508 if (UNLIKELY(!Chunk::isAligned(OldPtr))) in reallocate()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DOptimizedStructLayout.cpp27 assert(isAligned(Field.Alignment, Field.Offset) && in checkValidLayout()
384 if (isAligned(FirstQueueToSearch->Alignment, LastEnd)) in performOptimizedStructLayout()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp34 static bool isAligned(const Value *Base, const APInt &Offset, Align Alignment, in isAligned() function
93 return isAligned(V, Offset, Alignment, DL); in isDereferenceableAndAlignedPointer()
185 return isAligned(V, Offset, Alignment, DL); in isDereferenceableAndAlignedPointer()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DAlignment.h138 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) { in isAligned() function
144 return isAligned(Lhs, reinterpret_cast<uintptr_t>(Addr)); in isAddrAligned()
/freebsd-13.1/contrib/llvm-project/clang/lib/Format/
H A DWhitespaceManager.h55 unsigned StartOfTokenColumn, bool isAligned = false,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSERegisterInfo.cpp217 (!isIntN(OffsetBitSize, Offset) || !isAligned(OffsetAlign, Offset))) { in eliminateFI()
H A DMipsConstantIslandPass.cpp560 assert(isAligned(Alignment, Size) && "CP Entry not multiple of 4 bytes!"); in doInitialPlacement()
H A DMipsSEISelDAGToDAG.cpp298 if (!isAligned(Alignment, CN->getZExtValue())) in selectAddrFrameIndexOffset()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp59 if (!isAligned(TyAlign, StructSize)) { in StructLayout()
74 if (!isAligned(StructAlignment, StructSize)) { in StructLayout()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallFrameOptimization.cpp225 if (!isAligned(StackAlign, CC.ExpectedDist)) in isProfitable()
H A DX86InstrInfo.cpp3867 bool isAligned = in storeRegToStackSlot() local
3870 unsigned Opc = getStoreRegOpcode(SrcReg, RC, isAligned, Subtarget); in storeRegToStackSlot()
3897 bool isAligned = in loadRegFromStackSlot() local
3900 unsigned Opc = getLoadRegOpcode(DestReg, RC, isAligned, Subtarget); in loadRegFromStackSlot()
6361 bool isAligned = !MMOs.empty() && MMOs.front()->getAlign() >= Alignment; in unfoldMemoryOperand() local
6362 Opc = getLoadRegOpcode(Reg, RC, isAligned, Subtarget); in unfoldMemoryOperand()
6438 bool isAligned = !MMOs.empty() && MMOs.front()->getAlign() >= Alignment; in unfoldMemoryOperand() local
6439 unsigned Opc = getStoreRegOpcode(Reg, DstRC, isAligned, Subtarget); in unfoldMemoryOperand()
6506 Opc = getLoadRegOpcode(0, RC, isAligned, Subtarget); in unfoldMemoryOperand()
6571 bool isAligned = !MMOs.empty() && MMOs.front()->getAlign() >= Alignment; in unfoldMemoryOperand() local
[all …]
H A DX86FrameLowering.cpp2276 assert(isAligned(MFI.getObjectAlign(FI), -(Offset + StackSize))); in getFrameIndexReference()
2284 assert(isAligned(MFI.getObjectAlign(FI), -(Offset + StackSize))); in getFrameIndexReference()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1356 if (!isAligned(Alignment, V)) in SelectAnyImmediate()
1377 !isAligned(Alignment, cast<BlockAddressSDNode>(N)->getOffset())) in SelectAnyImmediate()
1402 if (!isAligned(Alignment, Const->getZExtValue())) in SelectGlobalAddress()
H A DHexagonISelLowering.cpp3422 if (!isAligned(A, AM.BaseOffs)) in isLegalAddressingMode()
3527 if (Op.size() >= 8 && Op.isAligned(Align(8))) in getOptimalMemOpType()
3529 if (Op.size() >= 4 && Op.isAligned(Align(4))) in getOptimalMemOpType()
3531 if (Op.size() >= 2 && Op.isAligned(Align(2))) in getOptimalMemOpType()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h179 return isMemset() || llvm::isAligned(AlignCheck, SrcAlign.value()); in isSrcAligned()
182 return DstAlignCanChange || llvm::isAligned(AlignCheck, DstAlign.value()); in isDstAligned()
184 bool isAligned(Align AlignCheck) const { in isAligned() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCallLowering.cpp1178 assert(isAligned(ST.getStackAlignment(), FPDiff) && in lowerTailCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp617 assert(isAligned(PrefAlign, ToRemoveSize) && in tryToShorten()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.cpp650 assert(isAligned(MaxAlign, maxCallFrameSize) && in lowerDynamicAlloc()

12