Home
last modified time | relevance | path

Searched refs:StateLoc (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAttr.cpp78 IdentifierLoc *StateLoc = A.getArgAsIdent(2); in handleLoopHintAttr() local
148 assert((ValueExpr || (StateLoc && StateLoc->getIdentifierInfo())) && in handleLoopHintAttr()
153 if (StateLoc && StateLoc->getIdentifierInfo() && in handleLoopHintAttr()
154 StateLoc->getIdentifierInfo()->isStr("scalable")) in handleLoopHintAttr()
172 assert(StateLoc && StateLoc->getIdentifierInfo() && in handleLoopHintAttr()
174 if (StateLoc->getIdentifierInfo()->isStr("disable")) in handleLoopHintAttr()
176 else if (StateLoc->getIdentifierInfo()->isStr("assume_safety")) in handleLoopHintAttr()
178 else if (StateLoc->getIdentifierInfo()->isStr("full")) in handleLoopHintAttr()
180 else if (StateLoc->getIdentifierInfo()->isStr("enable")) in handleLoopHintAttr()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DLoopHint.h33 IdentifierLoc *StateLoc = nullptr; member
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPPCallbacks.h295 SourceLocation StateLoc, unsigned State) { in PragmaOpenCLExtension() argument
628 SourceLocation StateLoc, unsigned State) override { in PragmaOpenCLExtension() argument
629 First->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State); in PragmaOpenCLExtension()
630 Second->PragmaOpenCLExtension(NameLoc, Name, StateLoc, State); in PragmaOpenCLExtension()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParsePragma.cpp1473 SourceLocation StateLoc = Toks[0].getLocation(); in HandlePragmaLoopHint() local
1496 Hint.StateLoc = new (Actions.Context) IdentifierLoc(StateLoc, StateInfo); in HandlePragmaLoopHint()
1502 SourceLocation StateLoc = Toks[0].getLocation(); in HandlePragmaLoopHint() local
1517 Hint.StateLoc = new (Actions.Context) IdentifierLoc(StateLoc, StateInfo); in HandlePragmaLoopHint()
1540 Hint.StateLoc = in HandlePragmaLoopHint()
1541 new (Actions.Context) IdentifierLoc(StateLoc, StateInfo); in HandlePragmaLoopHint()
2688 SourceLocation StateLoc = Tok.getLocation(); in HandlePragma() local
2706 Toks[0].setAnnotationEndLoc(StateLoc); in HandlePragma()
2712 StateLoc, State); in HandlePragma()
H A DParseStmt.cpp2353 ArgsUnion ArgHints[] = {Hint.PragmaNameLoc, Hint.OptionLoc, Hint.StateLoc, in ParsePragmaLoopHint()