Creating TBAA metadata in LLVM – Advanced IR GenerationCreating TBAA metadata in LLVM – Advanced IR Generation
To create the metadata, we must use the llvm::MDBuilder class, which is declared in the llvm/IR/MDBuilder.h header file. The data itself is stored in instances of the llvm::MDNode and llvm::MDString [...]