Home
last modified time | relevance | path

Searched refs:APAlign (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DLoads.cpp32 const APInt APAlign(Offset.getBitWidth(), Alignment.value()); in isAligned() local
33 assert(APAlign.isPowerOf2() && "must be a power of 2!"); in isAligned()
34 return BA >= Alignment && !(Offset & (APAlign - 1)); in isAligned()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp7014 std::optional<APInt> APAlign = getAPInt(A, *this, *Align); in updateImpl() local
7015 if (!APAlign) { in updateImpl()
7024 if (APAlign->ugt(llvm::Value::MaximumAlignment) || in updateImpl()
7025 !APAlign->isPowerOf2()) { in updateImpl()
7026 LLVM_DEBUG(dbgs() << "[H2S] Invalid allocation alignment: " << APAlign in updateImpl()