Lines Matching refs:Alignment
2792 int64_t Alignment;
2793 if (parseAbsoluteExpression(Alignment))
2806 // alignment bytes, e.g:
2833 // Compute alignment in bytes.
2836 if (Alignment >= 32) {
2837 Error(AlignmentLoc, "invalid alignment value");
2838 Alignment = 31;
2841 Alignment = 1ULL << Alignment;
2844 // for gas compatibility. Alignment of zero is silently rounded
2846 if (Alignment == 0)
2847 Alignment = 1;
2848 if (!isPowerOf2_64(Alignment))
2849 Error(AlignmentLoc, "alignment must be a power of 2");
2855 Error(MaxBytesLoc, "alignment directive can never be satisfied in this "
2860 if (MaxBytesToFill >= Alignment) {
2861 Warning(MaxBytesLoc, "maximum bytes expression exceeds alignment and "
2867 // Check whether we should use optimal code alignment for this .align
2870 assert(Section && "must have section to emit alignment");
2874 getStreamer().EmitCodeAlignment(Alignment, MaxBytesToFill);
2877 getStreamer().EmitValueToAlignment(Alignment, FillExpr, ValueSize,
3688 "invalid bundle alignment size (expected between 0 and 30)");
3865 return Error(Pow2AlignmentLoc, "alignment not supported on this target");
3871 return Error(Pow2AlignmentLoc, "alignment must be a power of 2");
3887 // NOTE: The alignment in the directive is a power of 2 value, the assembler
3888 // may internally end up wanting an alignment in bytes.
3892 "alignment, can't be less than zero");
4854 // MS alignment directives are measured in bytes. If the native assembler
4855 // measures alignment in bytes, we can pass it straight through.
4860 // Alignment is in log2 form, so print that instead and skip the original
4864 assert(Val < 10 && "Expected alignment less then 2^10.");