clangir
clangir copied to clipboard
[CIR][CIRGen] Support CodeGen for vbase constructors
- Add new
cir.vtt.address_point
op for visiting the element of VTT to initialize the virtual pointer. - Implement
getVirtualBaseClassOffset
method which provides a virtual offset to adjust to the actual virtual pointer in virtual base. - Follow the original clang CodeGen scheme for the implementation of most other parts.