Expand description
Codegen the MIR to the LLVM IR.
Hopefully useful general knowledge about codegen:
- Thereโs no way to find out the
Tytype of aValue. Doing so would be โtrying to get the eggs out of an omeletteโ (credit: pcwalton). You can, instead, find out itsllvm::Typeby callingval_ty, but onellvm::Typecorresponds to manyTys; for instance,tup(int, int, int)andrec(x=int, y=int, z=int)will have the samellvm::Type.
Structsยง
- Value
Iter ๐
Functionsยง
- compile_
codegen_ ๐unit - iter_
global_ ๐aliases - iter_
globals ๐ - linkage_
to_ ๐llvm - set_
link_ ๐section - set_
variable_ ๐sanitizer_ attrs - visibility_
to_ ๐llvm