Invention Grant
- Patent Title: Systems and methods for array structure processing
-
Application No.: US17836581Application Date: 2022-06-09
-
Publication No.: US11755300B1Publication Date: 2023-09-12
- Inventor: Man Pok Ho , Henry Fangli Kao
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Main IPC: G06F8/41
- IPC: G06F8/41

Abstract:
A compiler optimization for structure peeling an array of structures (AOS) into a structure of arrays (SOA) by which a pointer to an array in the original program, is transformed into a tagged index that includes both an array index, and a memory identifier tagging the array index. Once processed by the compiler, each array index is identified by a respective memory identifier, hence if the program instructions call for redefining an array during run time, its array element can still be retrieved by referring to the memory identifier it is tagged with.
Information query