US 11,755,300 B1
Systems and methods for array structure processing
Man Pok Ho, Markham (CA); and Henry Fangli Kao, Calgary (CA)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed on Jun. 9, 2022, as Appl. No. 17/836,581.
Int. Cl. G06F 8/41 (2018.01)
CPC G06F 8/4442 (2013.01) 20 Claims
OG exemplary drawing
 
1. A compiler optimization method, comprising:
transforming an original array of structures into a peeled structure of arrays including:
defining a pointer for a structure, in the original array of structures, to be an index of an array in the peeled structure of arrays;
generating a memory identifier for each index of the array in the peeled structure of arrays; and
combining each memory identifier with a respective index of the array in the peeled structure of arrays to form a tagged index that uniquely identifies each element in the original array of structures.