search for: parsedattr

Displaying 2 results from an estimated 2 matches for "parsedattr".

Did you mean: parse_attr
2019 Mar 04
2
Add Bitwidth Attribute in Clang without Modification in Source Code of Clang
...le arbitrary precision integer. However, as default, there is no such attribute as "bitwidth" in Clang. I found the following link and get some hints but the instructions listed in the website require me to modify the source code of Clang ("Attr.td", "include/clang/Sema/ParsedAttr.h" and "utils/TableGen/ClangAttrEmitter.cpp"). http://clang.llvm.org/docs/InternalsManual.html#how-to-add-an-attribute I just wonder whether there is any way to add attributes like plugins without touching the source code of Clang, because to rebuild Clang could be time-con...
2019 Jan 31
4
Confusing ERROR with LoopAccessLegacyAnalysis: Pass 'Unnamed pass: implement Pass::getPassName()' is not initialized.
Dear all, I write a new LoopPass which wants to use passes including LoopInfoWrapperPass, ScalarEvolutionWrapperPass and LoopAccessLegacyAnalysis. Therefore, I implement the following code based on LLVM 9.0.0: ===================================================================== bool LoopInformationCollect::runOnLoop(Loop *L, LPPassManager &) { auto &SE =