Lines Matching defs:Alignment
284 // Get the alignment operand for a NEON VLD or VST instruction.
921 unsigned Alignment = 0;
924 // The maximum alignment is equal to the memory size being referenced.
928 Alignment = MemSize;
931 // the raw alignment value; it will be refined later based on the legal
932 // alignment operands for the intrinsic.
933 Alignment = cast<MemIntrinsicSDNode>(Parent)->getAlignment();
936 Align = CurDAG->getTargetConstant(Alignment, MVT::i32);
1531 /// GetVLDSTAlign - Get the alignment (in bytes) for the alignment operand
1540 unsigned Alignment = cast<ConstantSDNode>(Align)->getZExtValue();
1541 if (Alignment >= 32 && NumRegs == 4)
1542 Alignment = 32;
1543 else if (Alignment >= 16 && (NumRegs == 2 || NumRegs == 4))
1544 Alignment = 16;
1545 else if (Alignment >= 8)
1546 Alignment = 8;
1548 Alignment = 0;
1550 return CurDAG->getTargetConstant(Alignment, MVT::i32);
1898 unsigned Alignment = 0;
1900 Alignment = cast<ConstantSDNode>(Align)->getZExtValue();
1902 if (Alignment > NumBytes)
1903 Alignment = NumBytes;
1904 if (Alignment < 8 && Alignment < NumBytes)
1905 Alignment = 0;
1906 // Alignment must be a power of two; make sure of that.
1907 Alignment = (Alignment & -Alignment);
1908 if (Alignment == 1)
1909 Alignment = 0;
1911 Align = CurDAG->getTargetConstant(Alignment, MVT::i32);
2011 unsigned Alignment = 0;
2013 Alignment = cast<ConstantSDNode>(Align)->getZExtValue();
2015 if (Alignment > NumBytes)
2016 Alignment = NumBytes;
2017 if (Alignment < 8 && Alignment < NumBytes)
2018 Alignment = 0;
2019 // Alignment must be a power of two; make sure of that.
2020 Alignment = (Alignment & -Alignment);
2021 if (Alignment == 1)
2022 Alignment = 0;
2024 Align = CurDAG->getTargetConstant(Alignment, MVT::i32);