[LLVMdev] Calling Conventions, function prologs and epilogs.

Luke Dalessandro luked at cs.rochester.edu
Thu Apr 9 08:10:51 PDT 2009


Aaron Gray wrote:
> How/where are function prologs and epilogs generated, is it bespoke C++ 
> code or TableGen generated ?

Each target seems to define a RegisterInfo::emitPrologue and 
RegisterInfo::emitEpilog function that is called by the 
lib/CodeGen/PrologueEpilogueInserter.cpp transformation.

Hope this helps,
Luke

>  
> If someone could point me in the right direction please.
>  
> Many thanks in advance,
>  
> Aaron
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list