stackframe - what is stack frame lowering in llvm? -


i'm working llvm , new it.

i'm having trouble figuring out llvm means stack frame lowering. can explain is?

any appreciated

when function runs, gets amount of space on stack store stuff stack variables , callee saved registers (csr). stack frame lowering process of calculating amount of space , layout required this, , emitting required machine instructions in prologue , epilogue (beginning , end) of function.

when variables on stack referred before prologue-epilogue insertion (pei) step, addressed using "frame indexes", arbitrary name location resolve stack-pointer relative offset. note pei happens late (after register allocation).


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -