| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | NSAPI.cpp | 45 switch (MK) { in getNSStringSelector() 81 switch (MK) { in getNSArraySelector() 149 return MK; in getNSArrayMethodKind() 159 switch (MK) { in getNSDictionarySelector() 251 return MK; in getNSDictionaryMethodKind() 260 switch (MK) { in getNSSetSelector() 308 return MK; in getNSSetMethodKind() 361 if (Sels[MK].isNull()) in getNSNumberLiteralSelector() 362 Sels[MK] = Ctx.Selectors.getUnarySelector(&Ctx.Idents.get(Names[MK])); in getNSNumberLiteralSelector() 363 return Sels[MK]; in getNSNumberLiteralSelector() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MoveChecker.cpp | 77 return MK == MK_Dereference; in misuseCausesCrash() 160 : Chk(Chk), Region(R), RD(RD), MK(MK), Found(false) {} in MovedBugVisitor() 183 const MisuseKind MK; member in __anon1dac178a0211::MoveChecker::MovedBugVisitor 303 if (MK == MK_Dereference) { in VisitNode() 359 MK = MK_FunCall; in modelUse() 361 if (!RS || !shouldWarnAbout(OK, MK) in modelUse() 372 if (misuseCausesCrash(MK)) { in modelUse() 406 switch(MK) { in reportBug() 409 explainObject(OS, Region, RD, MK); in reportBug() 586 if (MK != MK_Dereference) in explainObject() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | NSAPI.h | 56 Selector getNSStringSelector(NSStringMethodKind MK) const; 89 Selector getNSArraySelector(NSArrayMethodKind MK) const; 114 Selector getNSDictionarySelector(NSDictionaryMethodKind MK) const; 131 Selector getNSSetSelector(NSSetMethodKind MK) const; 196 Selector getNSNumberLiteralSelector(NSNumberLiteralMethodKind MK, 199 bool isNSNumberLiteralSelector(NSNumberLiteralMethodKind MK, in isNSNumberLiteralSelector() argument 201 return Sel == getNSNumberLiteralSelector(MK, false) || in isNSNumberLiteralSelector() 202 Sel == getNSNumberLiteralSelector(MK, true); in isNSNumberLiteralSelector()
|
| /llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPContext.cpp | 152 MatchKind MK = MK_ALL; in isVariantApplicableInContextHelper() local 157 MK = MK_ANY; in isVariantApplicableInContextHelper() 160 MK = MK_NONE; in isVariantApplicableInContextHelper() 165 auto HandleTrait = [MK](TraitProperty Property, in isVariantApplicableInContextHelper() 169 if (MK == MK_ANY) { in isVariantApplicableInContextHelper() 177 if ((WasFound && MK == MK_ALL) || (!WasFound && MK == MK_NONE)) in isVariantApplicableInContextHelper() 182 if (MK == MK_ALL) in isVariantApplicableInContextHelper() 186 if (MK == MK_NONE) in isVariantApplicableInContextHelper() 254 if (MK == MK_ANY) { in isVariantApplicableInContextHelper()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | max-of-nots.ll | 345 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[TMP2]], [[G]] 347 ; CHECK-NEXT: call void @use(i8 [[CK]], i8 [[MK]], i8 [[YK]], i8 [[K]]) 372 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[TMP2]], [[G]] 374 ; CHECK-NEXT: call void @use(i8 [[CK]], i8 [[MK]], i8 [[YK]], i8 [[K]]) 399 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[TMP2]], [[G]] 401 ; CHECK-NEXT: call void @use(i8 [[CK]], i8 [[MK]], i8 [[YK]], i8 [[K]]) 426 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[TMP2]], [[G]] 428 ; CHECK-NEXT: call void @use(i8 [[CK]], i8 [[MK]], i8 [[YK]], i8 [[K]]) 453 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[TMP2]], [[G]] 455 ; CHECK-NEXT: call void @use(i8 [[CK]], i8 [[MK]], i8 [[YK]], i8 [[K]]) [all …]
|
| H A D | minmax-intrinsics.ll | 1577 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[TMP2]], [[G]] 1602 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[TMP2]], [[G]] 1627 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[TMP2]], [[G]] 1652 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[TMP2]], [[G]] 1679 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[TMP2]], [[G]] 1705 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[TMP2]], [[G]] 1727 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[G]], [[TMP2]] 1752 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[G]], [[TMP2]] 1777 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[G]], [[TMP2]] 1802 ; CHECK-NEXT: [[MK:%.*]] = sub i8 [[G]], [[TMP2]] [all …]
|
| /llvm-project-15.0.7/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 782 NSAPI::NSNumberLiteralMethodKind MK = *MKOpt; in rewriteToNumberLiteral() local 787 switch (MK) { in rewriteToNumberLiteral() 990 NSAPI::NSNumberLiteralMethodKind MK = *MKOpt; in rewriteToNumericBoxedExpression() local 1009 if (MK == NSAPI::NSNumberWithBool && OrigTy->isBooleanType()) in rewriteToNumericBoxedExpression() 1013 if ((MK == NSAPI::NSNumberWithInteger || in rewriteToNumericBoxedExpression() 1014 MK == NSAPI::NSNumberWithUnsignedInteger) && in rewriteToNumericBoxedExpression() 1018 if ((MK==NSAPI::NSNumberWithInteger) == OrigTy->isSignedIntegerType() && in rewriteToNumericBoxedExpression()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/ |
| H A D | TypeIndexDiscovery.cpp | 24 MethodKind MK = getMethodKind(Attrs); in isIntroVirtual() local 25 return MK == MethodKind::IntroducingVirtual || in isIntroVirtual() 26 MK == MethodKind::PureIntroducingVirtual; in isIntroVirtual()
|
| /llvm-project-15.0.7/clang/lib/APINotes/ |
| H A D | APINotesYAMLCompiler.cpp | 62 static void enumeration(IO &IO, MethodKind &MK) { in enumeration() 63 IO.enumCase(MK, "Class", MethodKind::Class); in enumeration() 64 IO.enumCase(MK, "Instance", MethodKind::Instance); in enumeration()
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeRecord.h | 728 OneMethodRecord(TypeIndex Type, MemberAccess Access, MethodKind MK, in OneMethodRecord() argument 731 Attrs(Access, MK, Options), VFTableOffset(VFTableOffset), Name(Name) {} in OneMethodRecord()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | FrontendActions.cpp | 828 static StringRef ModuleKindName(Module::ModuleKind MK) { in ModuleKindName() argument 829 switch (MK) { in ModuleKindName()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 16419 NSAPI::NSArrayMethodKind MK = *MKOpt; in GetNSMutableArrayArgumentIndex() local 16421 switch (MK) { in GetNSMutableArrayArgumentIndex() 16454 NSAPI::NSDictionaryMethodKind MK = *MKOpt; in GetNSMutableDictionaryArgumentIndex() local 16456 switch (MK) { in GetNSMutableDictionaryArgumentIndex() 16488 NSAPI::NSSetMethodKind MK = *MKOpt; in GetNSSetArgumentIndex() local 16490 switch (MK) { in GetNSSetArgumentIndex()
|
| H A D | SemaOpenMP.cpp | 4077 OpenMPMapClauseKind MK) const { in getImplicitMap() 4078 return ImplicitMap[DK][MK]; in getImplicitMap()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZScheduleZ196.td | 629 def : InstRW<[WLat30, MCD], (instregex "ED(MK)?$")>;
|
| H A D | SystemZScheduleZEC12.td | 642 def : InstRW<[WLat30, MCD], (instregex "ED(MK)?$")>;
|
| H A D | SystemZScheduleZ13.td | 672 def : InstRW<[WLat30, MCD], (instregex "ED(MK)?$")>;
|
| H A D | SystemZScheduleZ16.td | 707 def : InstRW<[WLat30, MCD], (instregex "ED(MK)?$")>;
|
| H A D | SystemZScheduleZ15.td | 707 def : InstRW<[WLat30, MCD], (instregex "ED(MK)?$")>;
|
| H A D | SystemZScheduleZ14.td | 692 def : InstRW<[WLat30, MCD], (instregex "ED(MK)?$")>;
|