Searched refs:OffsetMask (Results 1 – 10 of 10) sorted by relevance
626 unsigned OffsetMask; in rewriteT2FrameIndex() local628 case ARMII::AddrModeT2_i7s4: NumBits = 9; OffsetMask = 0x3; break; in rewriteT2FrameIndex()629 case ARMII::AddrModeT2_i7s2: NumBits = 8; OffsetMask = 0x1; break; in rewriteT2FrameIndex()630 default: NumBits = 7; OffsetMask = 0x0; break; in rewriteT2FrameIndex()634 assert((Offset & OffsetMask) == 0 && "Can't encode this offset!"); in rewriteT2FrameIndex()635 (void)OffsetMask; // squash unused-variable warning at -NDEBUG in rewriteT2FrameIndex()
673 unsigned OffsetMask; in rewriteT2FrameIndex() local675 case ARMII::AddrModeT2_i7s4: NumBits = 9; OffsetMask = 0x3; break; in rewriteT2FrameIndex()676 case ARMII::AddrModeT2_i7s2: NumBits = 8; OffsetMask = 0x1; break; in rewriteT2FrameIndex()677 default: NumBits = 7; OffsetMask = 0x0; break; in rewriteT2FrameIndex()681 assert((Offset & OffsetMask) == 0 && "Can't encode this offset!"); in rewriteT2FrameIndex()682 (void)OffsetMask; // squash unused-variable warning at -NDEBUG in rewriteT2FrameIndex()
83 constexpr uptr OffsetMask = (1UL << 16) - 1; variable
454 Header.Offset = (Offset >> MinAlignmentLog) & Chunk::OffsetMask;998 Header.Offset = MaxOffset & Chunk::OffsetMask; in performSanityChecks()
491 Header.Offset = (Offset >> MinAlignmentLog) & Chunk::OffsetMask;1032 Header.Offset = MaxOffset & Chunk::OffsetMask; in performSanityChecks()
1687 const uint64_t OffsetMask = maskTrailingOnes<uint64_t>(NumBits - 1); in SelectFlatOffset() local1688 ImmField = COffsetVal & OffsetMask; in SelectFlatOffset()1693 const uint64_t OffsetMask = maskTrailingOnes<uint64_t>(NumBits); in SelectFlatOffset() local1694 ImmField = COffsetVal & OffsetMask; in SelectFlatOffset()
716 constexpr IValueT OffsetMask = 0x00FFFFFF; in emitOffset() local717 Asm->store(position(), encodeBranchOffset(offset(), Inst & ~OffsetMask)); in emitOffset()
1564 auto OffsetMask = B.buildConstant(S32, maskTrailingOnes<unsigned>(6)); in applyMappingBFEIntrinsic() local1565 auto ClampOffset = B.buildAnd(S32, OffsetReg, OffsetMask); in applyMappingBFEIntrinsic()
2429 auto OffsetMask = B.buildConstant( in getBitcastWiderVectorElementOffset() local2431 auto OffsetIdx = B.buildAnd(IdxTy, Idx, OffsetMask); in getBitcastWiderVectorElementOffset()