Home
last modified time | relevance | path

Searched refs:MK (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DNSAPI.cpp45 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 DMoveChecker.cpp77 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 DNSAPI.h56 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 DOMPContext.cpp152 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 Dmax-of-nots.ll345 ; 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 Dminmax-intrinsics.ll1577 ; 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 DRewriteObjCFoundationAPI.cpp782 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 DTypeIndexDiscovery.cpp24 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 DAPINotesYAMLCompiler.cpp62 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 DTypeRecord.h728 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 DFrontendActions.cpp828 static StringRef ModuleKindName(Module::ModuleKind MK) { in ModuleKindName() argument
829 switch (MK) { in ModuleKindName()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp16419 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 DSemaOpenMP.cpp4077 OpenMPMapClauseKind MK) const { in getImplicitMap()
4078 return ImplicitMap[DK][MK]; in getImplicitMap()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZScheduleZ196.td629 def : InstRW<[WLat30, MCD], (instregex "ED(MK)?$")>;
H A DSystemZScheduleZEC12.td642 def : InstRW<[WLat30, MCD], (instregex "ED(MK)?$")>;
H A DSystemZScheduleZ13.td672 def : InstRW<[WLat30, MCD], (instregex "ED(MK)?$")>;
H A DSystemZScheduleZ16.td707 def : InstRW<[WLat30, MCD], (instregex "ED(MK)?$")>;
H A DSystemZScheduleZ15.td707 def : InstRW<[WLat30, MCD], (instregex "ED(MK)?$")>;
H A DSystemZScheduleZ14.td692 def : InstRW<[WLat30, MCD], (instregex "ED(MK)?$")>;