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 -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -