Lines Matching defs:alignment

43 // Base alignment for arrays/strings guaranteed by the Android runtime.
744 // Prepare alignment analysis:
745 // (1) find desired alignment (SIMD vector size in bytes).
748 // (3) variable to record how many references share same alignment.
762 // The scan over references also prepares finding a suitable alignment strategy.
779 // Count the number of references that have the same alignment (since
801 // Update information for finding suitable alignment strategy:
804 Alignment alignment = ComputeAlignment(i->offset, i->type, i->is_string_char_at);
805 if (alignment.Base() >= desired_alignment) {
806 // If the array/string object has a known, sufficient alignment, use the
808 // works, since elements have natural alignment).
809 uint32_t offset = alignment.Offset() & (desired_alignment - 1u);
817 // Otherwise, if the array/string object has a known, sufficient alignment
820 // works, since elements have natural alignment).
826 // Find a suitable alignment strategy.
872 // Static loop peeling for SIMD alignment (using the most suitable
873 // fixed peeling factor found during prior alignment analysis).
877 // Dynamic loop peeling for SIMD alignment (using the most suitable
878 // candidate found during prior alignment analysis):
936 // Generate alignment peeling loop, if needed:
940 // NOTE: The alignment forced by the peeling loop is preserved even if data is
942 // nothing more than the Android runtime alignment conventions.
1616 // Known (forced/adjusted/original) alignment?
2086 // Combine the alignment and hidden offset that is guaranteed by
2094 // Otherwise, the Android runtime guarantees at least natural alignment.
2123 // TODO: refine by looking at e.g. operation count, alignment, etc.