This is the relationship and the source of the data:
In the picture, the top is what I have and the bottom is what I want.
Among them:
x == A,y == B,z == C;
GM2LM is data loading.
LM2GM is data write back.
How can I add something to TIR to facilitate my code generation?