-
Book Overview & Buying
-
Table Of Contents
LLVM Code Generation
By :
Now that you have completed reading this chapter, try answering these questions to test your knowledge:
Aside from building the IR of the related instruction selection framework, the IR building phase is responsible for the lowering of the ABI and specifically the calling convention.
See the Overview of the IR building section for more details.
You need to be able to produce a code sequence for reading the input arguments of a function, prepare the argument of an outgoing function, and read the returned value of a function.
Look at the Overview of the IR building section for an illustration of what this looks like.
gen-callingconv TableGen backend?This TableGen backend allows you to describe the location of the arguments and...