Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c_checks.h34 return !isPowerOfTwo(Alignment) || !isAligned(Size, Alignment); in checkAlignedAllocAlignmentAndSize()
40 return !isPowerOfTwo(Alignment) || !isAligned(Alignment, sizeof(void *)); in checkPosixMemalignAlignment()
H A Dtsd.h33 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT))); in init()
H A Dcommon.h53 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.h451 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)))
515 if (UNLIKELY(!isAligned(reinterpret_cast<uptr>(OldPtr), MinAlignment)))
789 if (!Ptr || !isAligned(reinterpret_cast<uptr>(Ptr), MinAlignment)) in isOwned()
H A Dprimary32.h77 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT))); in init()
427 if (isAligned(Region, RegionSize)) { in allocateRegionSlow()
H A Drelease.h108 static_assert(isAligned(StaticBufferNumElements * sizeof(uptr), in getBuffer()
H A Dsecondary.h133 if (useMemoryTagging<Config>(Options) && isAligned(TaggedSize, PageSize)) { in mapSecondary()
/freebsd/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()
108 return isAligned(V, Offset, Alignment, DL); in isDereferenceableAndAlignedPointer()
144 return isAligned(V, Offset, Alignment, DL); in isDereferenceableAndAlignedPointer()
/freebsd/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/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/contrib/llvm-project/llvm/lib/MC/
H A DStringTableBuilder.cpp155 if (isAligned(Alignment, Pos)) { in finalizeStringTable()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelArguments.cpp54 if (!isAligned(Align(4), ArgOffset) && AllocSize < 4) in tryAllocPreloadSGPRs()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelDAGToDAG.cpp181 isAligned(Align(4ULL), CN->getZExtValue())) { in SelectInlineAsmMemoryOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallFrameOptimization.cpp225 if (!isAligned(StackAlign, CC.ExpectedDist)) in isProfitable()
H A DX86InstrInfo.cpp4730 bool isAligned = in storeRegToStackSlot() local
4734 unsigned Opc = getStoreRegOpcode(SrcReg, RC, isAligned, Subtarget); in storeRegToStackSlot()
4753 bool isAligned = in loadRegFromStackSlot() local
4757 unsigned Opc = getLoadRegOpcode(DestReg, RC, isAligned, Subtarget); in loadRegFromStackSlot()
8405 bool isAligned = !MMOs.empty() && MMOs.front()->getAlign() >= Alignment; in unfoldMemoryOperand() local
8406 Opc = getLoadRegOpcode(Reg, RC, isAligned, Subtarget); in unfoldMemoryOperand()
8485 bool isAligned = !MMOs.empty() && MMOs.front()->getAlign() >= Alignment; in unfoldMemoryOperand() local
8486 unsigned Opc = getStoreRegOpcode(Reg, DstRC, isAligned, Subtarget); in unfoldMemoryOperand()
8550 bool isAligned = !MMOs.empty() && MMOs.front()->getAlign() >= Alignment; in unfoldMemoryOperand() local
8551 Opc = getLoadRegOpcode(0, RC, isAligned, Subtarget); in unfoldMemoryOperand()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOAArch64.h462 assert(isAligned(getStubAlignment(), StubAddress) && in processGOTRelocation()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp570 if (!isAligned(I->getAlign(), Off)) in findArgParts()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1507 if (!isAligned(Alignment, V)) in SelectAnyImmediate()
1528 !isAligned(Alignment, cast<BlockAddressSDNode>(N)->getOffset())) in SelectAnyImmediate()
1553 if (!isAligned(Alignment, Const->getZExtValue())) in SelectGlobalAddress()
H A DHexagonISelLowering.cpp3682 if (!isAligned(A, AM.BaseOffs)) in isLegalAddressingMode()
3787 if (Op.size() >= 8 && Op.isAligned(Align(8))) in getOptimalMemOpType()
3789 if (Op.size() >= 4 && Op.isAligned(Align(4))) in getOptimalMemOpType()
3791 if (Op.size() >= 2 && Op.isAligned(Align(2))) in getOptimalMemOpType()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h183 return isMemset() || llvm::isAligned(AlignCheck, SrcAlign.value()); in isSrcAligned()
186 return DstAlignCanChange || llvm::isAligned(AlignCheck, DstAlign.value()); in isDstAligned()
188 bool isAligned(Align AlignCheck) const { in isAligned() function
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp402 assert(isAligned(Alignment, Size) && "CP Entry not multiple of 4 bytes!"); in doInitialPlacement()

12