I've been learning about the LLVM project recently. When I opened the file /usr/include/llvm/IR/Asttributes.h I saw in it some definitions of classes like Attribute,AttributeSet, AttributeList,AttrBuilder ,....and some classes included in LLVM (llvm::Funciton , llvm::Argument ....) but I don't understand what exactly those objects are, what they do, what they are for, used how and under what circumstances ,..... I have tried searching the documentation on the project home page itself and some places but the information is quite little for me to understand about it . I would appreciate if someone help I understand them as well as give me some easy to understand examples (and of course C++ ) Thank you (Sorry my english is not good so I use google translate, it may not be accurate )
0
votes
Welcome to SO. Requests for tutorials etc. are off-topic here, so I'll vote to close this. I think most of the people who learned this, learned it by looking at how the LLVM source code itself treats each type/enum/value, and by looking things up in the LLVM language reference. I'm afraid you'll need to do both. Good luck.
– arnt