Home
last modified time | relevance | path

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

12

/freebsd-14.2/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.h33 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT))); in alignas()
H A Dcommon.h49 inline constexpr bool isAligned(uptr X, uptr Alignment) { in isAligned() function
H A Dquarantine.h177 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT))); in init()
H A Dcombined.h548 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)))
612 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(OldPtr), MinAlignment)))
870 if (!Ptr || !isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)) in isOwned()
H A Dprimary32.h78 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT))); in init()
441 if (isAligned(Region, RegionSize)) { in allocateRegionSlow()
H A Drelease.h108 static_assert(isAligned(StaticBufferNumElements * sizeof(uptr),
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DLoads.cpp29 static bool isAligned(const Value *Base, const APInt &Offset, Align Alignment, in isAligned() function
32 return BA >= Alignment && Offset.isAligned(BA); in isAligned()
107 return isAligned(V, Offset, Alignment, DL); in isDereferenceableAndAlignedPointer()
142 return isAligned(V, Offset, Alignment, DL); in isDereferenceableAndAlignedPointer()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DOptimizedStructLayout.cpp28 assert(isAligned(Field.Alignment, Field.Offset) && in checkValidLayout()
385 if (isAligned(FirstQueueToSearch->Alignment, LastEnd)) in performOptimizedStructLayout()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DAlignment.h145 inline bool isAligned(Align Lhs, uint64_t SizeInBytes) { in isAligned() function
151 return isAligned(Lhs, reinterpret_cast<uintptr_t>(Addr)); in isAddrAligned()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DStringTableBuilder.cpp155 if (isAligned(Alignment, Pos)) { in finalizeStringTable()
/freebsd-14.2/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp54 if (!isAligned(Align(4), ArgOffset) && AllocSize < 4) in tryAllocPreloadSGPRs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp69 if (!StructSize.isScalable() && !isAligned(TyAlign, StructSize)) { in StructLayout()
84 if (!StructSize.isScalable() && !isAligned(StructAlignment, StructSize)) { in StructLayout()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelDAGToDAG.cpp176 isAligned(Align(4ULL), CN->getZExtValue())) { in SelectInlineAsmMemoryOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallFrameOptimization.cpp225 if (!isAligned(StackAlign, CC.ExpectedDist)) in isProfitable()
H A DX86InstrInfo.cpp4625 bool isAligned = in storeRegToStackSlot() local
4629 unsigned Opc = getStoreRegOpcode(SrcReg, RC, isAligned, Subtarget); in storeRegToStackSlot()
4648 bool isAligned = in loadRegFromStackSlot() local
4652 unsigned Opc = getLoadRegOpcode(DestReg, RC, isAligned, Subtarget); in loadRegFromStackSlot()
8326 bool isAligned = !MMOs.empty() && MMOs.front()->getAlign() >= Alignment; in unfoldMemoryOperand() local
8327 Opc = getLoadRegOpcode(Reg, RC, isAligned, Subtarget); in unfoldMemoryOperand()
8406 bool isAligned = !MMOs.empty() && MMOs.front()->getAlign() >= Alignment; in unfoldMemoryOperand() local
8407 unsigned Opc = getStoreRegOpcode(Reg, DstRC, isAligned, Subtarget); in unfoldMemoryOperand()
8473 Opc = getLoadRegOpcode(0, RC, isAligned, Subtarget); in unfoldMemoryOperand()
8542 bool isAligned = !MMOs.empty() && MMOs.front()->getAlign() >= Alignment; in unfoldMemoryOperand() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOAArch64.h462 assert(isAligned(getStubAlignment(), StubAddress) && in processGOTRelocation()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp541 if (!isAligned(I->getAlign(), Off)) in findArgParts()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1408 if (!isAligned(Alignment, V)) in SelectAnyImmediate()
1429 !isAligned(Alignment, cast<BlockAddressSDNode>(N)->getOffset())) in SelectAnyImmediate()
1454 if (!isAligned(Alignment, Const->getZExtValue())) in SelectGlobalAddress()
H A DHexagonISelLowering.cpp3661 if (!isAligned(A, AM.BaseOffs)) in isLegalAddressingMode()
3766 if (Op.size() >= 8 && Op.isAligned(Align(8))) in getOptimalMemOpType()
3768 if (Op.size() >= 4 && Op.isAligned(Align(4))) in getOptimalMemOpType()
3770 if (Op.size() >= 2 && Op.isAligned(Align(2))) in getOptimalMemOpType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h181 return isMemset() || llvm::isAligned(AlignCheck, SrcAlign.value()); in isSrcAligned()
184 return DstAlignCanChange || llvm::isAligned(AlignCheck, DstAlign.value()); in isDstAligned()
186 bool isAligned(Align AlignCheck) const { in isAligned() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp402 assert(isAligned(Alignment, Size) && "CP Entry not multiple of 4 bytes!"); in doInitialPlacement()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h439 bool isAligned(Align A) const;

12