[llvm-dev] Introspecting the calling convention and triple

Nat! via llvm-dev llvm-dev at lists.llvm.org
Thu Sep 17 13:55:16 PDT 2015


Hi

assume, that you know the calling convention of a function and the 
target-triple of the destination. You also know the types of the parameters.

How would you go about finding out, which machine register or stack 
offset/size will be used for those parameters, if they will be zero 
extended or not ?

Ciao
    Nat!

P.S. Apologies, for this being something somewhat of a cross-post, a bit 
reworded from an unanswered mail in cfe-dev :)


More information about the llvm-dev mailing list