Home
last modified time | relevance | path

Searched refs:AlignBits (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFAbstractMemberAccess.cpp528 uint32_t AlignBits = RecordAlignment * 8; in GetStorageBitRange() local
529 if (RecordAlignment > 8 || MemberBitSize > AlignBits) in GetStorageBitRange()
533 StartBitOffset = MemberBitOffset & ~(AlignBits - 1); in GetStorageBitRange()
534 if ((StartBitOffset + AlignBits) < (MemberBitOffset + MemberBitSize)) in GetStorageBitRange()
537 EndBitOffset = StartBitOffset + AlignBits; in GetStorageBitRange()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFAbstractMemberAccess.cpp592 uint32_t AlignBits = RecordAlignment.value() * 8; in GetStorageBitRange() local
593 if (RecordAlignment > 8 || MemberBitSize > AlignBits) in GetStorageBitRange()
597 StartBitOffset = MemberBitOffset & ~(AlignBits - 1); in GetStorageBitRange()
598 if ((StartBitOffset + AlignBits) < (MemberBitOffset + MemberBitSize)) in GetStorageBitRange()
601 EndBitOffset = StartBitOffset + AlignBits; in GetStorageBitRange()
/external/llvm-project/llvm/include/llvm/Object/
DCOFF.h586 uint32_t AlignBits = 0; in setAlignment() local
590 AlignBits = (llvm::Log2_32(Align) + 1) << 20; in setAlignment()
593 (Characteristics & ~COFF::IMAGE_SCN_ALIGN_MASK) | AlignBits; in setAlignment()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp273 unsigned AlignBits = Query.MMODescrs[0].AlignInBits; in isLoadStoreSizeLegal() local
316 if (AlignBits < MemSize) { in isLoadStoreSizeLegal()
319 Align(AlignBits / 8))) in isLoadStoreSizeLegal()
1037 unsigned AlignBits = Query.MMODescrs[0].AlignInBits; in AMDGPULegalizerInfo() local
1040 MemSize = std::max(MemSize, AlignBits); in AMDGPULegalizerInfo()
1062 if (AlignBits < MemSize) { in AMDGPULegalizerInfo()
1065 Align(AlignBits / 8)); in AMDGPULegalizerInfo()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp7029 unsigned AlignBits = KnownZero.countTrailingOnes(); in InferPtrAlignment() local
7030 unsigned Align = AlignBits ? 1 << std::min(31U, AlignBits) : 0; in InferPtrAlignment()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp9411 unsigned AlignBits = Known.countMinTrailingZeros(); in InferPtrAlignment() local
9412 unsigned Align = AlignBits ? 1 << std::min(31U, AlignBits) : 0; in InferPtrAlignment()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp9635 unsigned AlignBits = Known.countMinTrailingZeros(); in InferPtrAlign() local
9636 if (AlignBits) in InferPtrAlign()
9637 return commonAlignment(Align(1ull << std::min(31U, AlignBits)), GVOffset); in InferPtrAlign()