Home | History | Annotate | Download | only in ARM

Lines Matching refs:Alignment

267   // Get the alignment operand for a NEON VLD or VST instruction.
1106 unsigned Alignment = 0;
1115 // The maximum alignment is equal to the memory size being referenced.
1119 Alignment = MemSize;
1122 // the raw alignment value; it will be refined later based on the legal
1123 // alignment operands for the intrinsic.
1124 Alignment = MemN->getAlignment();
1127 Align = CurDAG->getTargetConstant(Alignment, SDLoc(N), MVT::i32);
1233 // alignment must be at least 4.
1684 /// GetVLDSTAlign - Get the alignment (in bytes) for the alignment operand
1693 unsigned Alignment = cast<ConstantSDNode>(Align)->getZExtValue();
1694 if (Alignment >= 32 && NumRegs == 4)
1695 Alignment = 32;
1696 else if (Alignment >= 16 && (NumRegs == 2 || NumRegs == 4))
1697 Alignment = 16;
1698 else if (Alignment >= 8)
1699 Alignment = 8;
1701 Alignment = 0;
1703 return CurDAG->getTargetConstant(Alignment, dl, MVT::i32);
2114 unsigned Alignment = 0;
2116 Alignment = cast<ConstantSDNode>(Align)->getZExtValue();
2118 if (Alignment > NumBytes)
2119 Alignment = NumBytes;
2120 if (Alignment < 8 && Alignment < NumBytes)
2121 Alignment = 0;
2122 // Alignment must be a power of two; make sure of that.
2123 Alignment = (Alignment & -Alignment);
2124 if (Alignment == 1)
2125 Alignment = 0;
2127 Align = CurDAG->getTargetConstant(Alignment, dl, MVT::i32);
2229 unsigned Alignment = 0;
2231 Alignment = cast<ConstantSDNode>(Align)->getZExtValue();
2233 if (Alignment > NumBytes)
2234 Alignment = NumBytes;
2235 if (Alignment < 8 && Alignment < NumBytes)
2236 Alignment = 0;
2237 // Alignment must be a power of two; make sure of that.
2238 Alignment = (Alignment & -Alignment);
2239 if (Alignment == 1)
2240 Alignment = 0;
2242 Align = CurDAG->getTargetConstant(Alignment, dl, MVT::i32);
2736 // Set the alignment of the frame object to 4, to avoid having to generate