Displaying 2 results from an estimated 2 matches for "loophint".
2016 Oct 25
0
[Help] Add custom pragma
> Yes. I checked that file, but I wasn't sure whether that is right one to look at.
It seems promising. I imagine you'd want something like the LoopHint attr.
> What is *.td extension btw?
The llvm project uses that extension to identify TableGen inputs
(http://llvm.org/docs/TableGen/).
vedant
> On Oct 25, 2016, at 4:12 PM, Sunghyun Park <sunggg at umich.edu> wrote:
>
> Yes. I checked that file, but I wasn't sure whether...
2016 Oct 25
2
[Help] Add custom pragma
...e @ tools/clang/lib/Sema/SemaStmtAttr.cpp
> > // A : AttributeList - passed by argument
> > switch( A.getKind() ) {
> > case AttributeList::UnknownAttribute:
> > ~
> > case AttributeList::AT_FallThrough:
> > return ~
> > case AttributeList::AT_LoopHint:
> > return handleLoopHintAttr( ~ )
> > case AttributeList::AT_OpenCLUnrollHint:
> > ~
> > ...
> > }
> >
> > As I want to define new attribute, I've tried to find where the
> definitions for AT_LoopHint, AT_FallThrough are done. This is wha...