/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | wrappers_c_checks.h | 34 return !isPowerOfTwo(Alignment) || !isAligned(Size, Alignment); in checkAlignedAllocAlignmentAndSize() 40 return !isPowerOfTwo(Alignment) || !isAligned(Alignment, sizeof(void *)); in checkPosixMemalignAlignment()
|
H A D | tsd.h | 33 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT))); in init()
|
H A D | common.h | 53 inline constexpr bool isAligned(uptr X, uptr Alignment) { in isAligned() function
|
H A D | quarantine.h | 177 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT))); in init()
|
H A D | combined.h | 451 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 D | primary32.h | 77 DCHECK(isAligned(reinterpret_cast<uptr>(this), alignof(ThisT))); in init() 427 if (isAligned(Region, RegionSize)) { in allocateRegionSlow()
|
H A D | release.h | 108 static_assert(isAligned(StaticBufferNumElements * sizeof(uptr), in getBuffer()
|
H A D | secondary.h | 133 if (useMemoryTagging<Config>(Options) && isAligned(TaggedSize, PageSize)) { in mapSecondary()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | Loads.cpp | 29 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 D | OptimizedStructLayout.cpp | 28 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 D | Alignment.h | 145 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 D | StringTableBuilder.cpp | 155 if (isAligned(Alignment, Pos)) { in finalizeStringTable()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsSERegisterInfo.cpp | 217 (!isIntN(OffsetBitSize, Offset) || !isAligned(OffsetAlign, Offset))) { in eliminateFI()
|
H A D | MipsConstantIslandPass.cpp | 560 assert(isAligned(Alignment, Size) && "CP Entry not multiple of 4 bytes!"); in doInitialPlacement()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULowerKernelArguments.cpp | 54 if (!isAligned(Align(4), ArgOffset) && AllocSize < 4) in tryAllocPreloadSGPRs()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DataLayout.cpp | 69 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 D | LoongArchISelDAGToDAG.cpp | 181 isAligned(Align(4ULL), CN->getZExtValue())) { in SelectInlineAsmMemoryOperand()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86CallFrameOptimization.cpp | 225 if (!isAligned(StackAlign, CC.ExpectedDist)) in isProfitable()
|
H A D | X86InstrInfo.cpp | 4730 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 D | RuntimeDyldMachOAArch64.h | 462 assert(isAligned(getStubAlignment(), StubAddress) && in processGOTRelocation()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ArgumentPromotion.cpp | 570 if (!isAligned(I->getAlign(), Off)) in findArgParts()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelDAGToDAG.cpp | 1507 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 D | HexagonISelLowering.cpp | 3682 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 D | TargetLowering.h | 183 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 D | CSKYConstantIslandPass.cpp | 402 assert(isAligned(Alignment, Size) && "CP Entry not multiple of 4 bytes!"); in doInitialPlacement()
|