Lines Matching refs:PragmaName

106     Token PragmaName = Tok;  in HandlePragma()  local
109 << PragmaName.getIdentifierInfo()->getName(); in HandlePragma()
827 StringRef PragmaName = Tok.getIdentifierInfo()->getName(); in HandlePragmaMSPragma() local
833 PragmaHandler Handler = llvm::StringSwitch<PragmaHandler>(PragmaName) in HandlePragmaMSPragma()
841 if (!(this->*Handler)(PragmaName, PragmaLocation)) { in HandlePragmaMSPragma()
850 bool Parser::HandlePragmaMSSection(StringRef PragmaName, in HandlePragmaMSSection() argument
853 PP.Diag(PragmaLocation, diag::warn_pragma_expected_lparen) << PragmaName; in HandlePragmaMSSection()
860 << PragmaName; in HandlePragmaMSSection()
869 << PragmaName; in HandlePragmaMSSection()
886 << PragmaName; in HandlePragmaMSSection()
905 << PragmaName << Tok.getIdentifierInfo()->getName(); in HandlePragmaMSSection()
917 PP.Diag(PragmaLocation, diag::warn_pragma_expected_rparen) << PragmaName; in HandlePragmaMSSection()
923 << PragmaName; in HandlePragmaMSSection()
931 bool Parser::HandlePragmaMSSegment(StringRef PragmaName, in HandlePragmaMSSegment() argument
934 PP.Diag(PragmaLocation, diag::warn_pragma_expected_lparen) << PragmaName; in HandlePragmaMSSegment()
949 << PragmaName; in HandlePragmaMSSegment()
964 << PragmaName; in HandlePragmaMSSegment()
969 PP.Diag(PragmaLocation, diag::warn_pragma_expected_punc) << PragmaName; in HandlePragmaMSSegment()
982 PP.Diag(PragmaLocation, DiagID) << PragmaName; in HandlePragmaMSSegment()
991 << PragmaName; in HandlePragmaMSSegment()
999 PP.Diag(PragmaLocation, diag::warn_pragma_expected_rparen) << PragmaName; in HandlePragmaMSSegment()
1005 << PragmaName; in HandlePragmaMSSegment()
1010 SegmentName, PragmaName); in HandlePragmaMSSegment()
1015 bool Parser::HandlePragmaMSInitSeg(StringRef PragmaName, in HandlePragmaMSInitSeg() argument
1023 PragmaName)) in HandlePragmaMSInitSeg()
1055 << PragmaName; in HandlePragmaMSInitSeg()
1062 PP.Diag(PragmaLocation, diag::warn_pragma_expected_init_seg) << PragmaName; in HandlePragmaMSInitSeg()
1067 PragmaName) || in HandlePragmaMSInitSeg()
1069 PragmaName)) in HandlePragmaMSInitSeg()
1078 Token PragmaName; member
1084 static std::string PragmaLoopHintString(Token PragmaName, Token Option) { in PragmaLoopHintString() argument
1085 StringRef Str = PragmaName.getIdentifierInfo()->getName(); in PragmaLoopHintString()
1099 IdentifierInfo *PragmaNameInfo = Info->PragmaName.getIdentifierInfo(); in HandlePragmaLoopHint()
1101 Actions.Context, Info->PragmaName.getLocation(), PragmaNameInfo); in HandlePragmaLoopHint()
1122 Hint.Range = Info->PragmaName.getLocation(); in HandlePragmaLoopHint()
1188 << PragmaLoopHintString(Info->PragmaName, Info->Option); in HandlePragmaLoopHint()
1202 << PragmaLoopHintString(Info->PragmaName, Info->Option); in HandlePragmaLoopHint()
1217 Hint.Range = SourceRange(Info->PragmaName.getLocation(), in HandlePragmaLoopHint()
2562 Token PragmaName = Tok; in HandlePragma() local
2565 << PragmaName.getIdentifierInfo()->getName(); in HandlePragma()
2873 Token PragmaName = Tok; in HandlePragma() local
2974 FPTok.setLocation(PragmaName.getLocation()); in HandlePragma()
2975 FPTok.setAnnotationEndLoc(PragmaName.getLocation()); in HandlePragma()
2989 Token PragmaName = Tok; in HandlePragma() local
2993 << PragmaName.getIdentifierInfo()->getName(); in HandlePragma()
3000 << PragmaName.getIdentifierInfo()->getName(); in HandlePragma()
3060 static bool ParseLoopHintValue(Preprocessor &PP, Token &Tok, Token PragmaName, in ParseLoopHintValue() argument
3096 Info.PragmaName = PragmaName; in ParseLoopHintValue()
3153 Token PragmaName = Tok; in HandlePragma() local
3195 if (ParseLoopHintValue(PP, Tok, PragmaName, Option, /*ValueInParens=*/true, in HandlePragma()
3204 LoopHintTok.setAnnotationEndLoc(PragmaName.getLocation()); in HandlePragma()
3248 Token PragmaName = Tok; in HandlePragma() local
3253 Info->PragmaName = PragmaName; in HandlePragma()
3255 } else if (PragmaName.getIdentifierInfo()->getName() == "nounroll" || in HandlePragma()
3256 PragmaName.getIdentifierInfo()->getName() == "nounroll_and_jam") { in HandlePragma()
3258 << PragmaName.getIdentifierInfo()->getName(); in HandlePragma()
3270 if (ParseLoopHintValue(PP, Tok, PragmaName, Option, ValueInParens, *Info)) in HandlePragma()
3291 TokenArray[0].setAnnotationEndLoc(PragmaName.getLocation()); in HandlePragma()