Lines Matching refs:MultiVersionKind
10084 MultiVersionKind MVType) { in AttrCompatibleWithMultiVersion()
10091 return MVType == MultiVersionKind::Target; in AttrCompatibleWithMultiVersion()
10101 MultiVersionKind MVType) { in checkNonMultiVersionCompatAttributes()
10103 MVType == MultiVersionKind::CPUDispatch || in checkNonMultiVersionCompatAttributes()
10104 MVType == MultiVersionKind::CPUSpecific; in checkNonMultiVersionCompatAttributes()
10118 if (MVType != MultiVersionKind::CPUDispatch && in checkNonMultiVersionCompatAttributes()
10119 MVType != MultiVersionKind::CPUSpecific) in checkNonMultiVersionCompatAttributes()
10123 if (MVType != MultiVersionKind::Target) in checkNonMultiVersionCompatAttributes()
10250 MultiVersionKind MVType) { in CheckMultiVersionAdditionalRules()
10259 MVType == MultiVersionKind::CPUDispatch || in CheckMultiVersionAdditionalRules()
10260 MVType == MultiVersionKind::CPUSpecific; in CheckMultiVersionAdditionalRules()
10294 MultiVersionKind MVType, in CheckMultiVersionFirstFunction()
10296 assert(MVType != MultiVersionKind::None && in CheckMultiVersionFirstFunction()
10301 if (MVType == MultiVersionKind::Target && !TA->isDefaultVersion()) in CheckMultiVersionFirstFunction()
10304 if (MVType == MultiVersionKind::Target && CheckMultiVersionValue(S, FD)) { in CheckMultiVersionFirstFunction()
10320 if (D->getAsFunction()->getMultiVersionKind() != MultiVersionKind::None) in PreviousDeclsHaveMultiVersionAttribute()
10351 MultiVersionKind::Target)) { in CheckTargetCausesMultiVersioning()
10412 MultiVersionKind NewMVType, const TargetAttr *NewTA, in CheckMultiVersionAdditionalDecl()
10417 MultiVersionKind OldMVType = OldFD->getMultiVersionKind(); in CheckMultiVersionAdditionalDecl()
10419 if ((OldMVType == MultiVersionKind::Target && in CheckMultiVersionAdditionalDecl()
10420 NewMVType != MultiVersionKind::Target) || in CheckMultiVersionAdditionalDecl()
10421 (NewMVType == MultiVersionKind::Target && in CheckMultiVersionAdditionalDecl()
10422 OldMVType != MultiVersionKind::Target)) { in CheckMultiVersionAdditionalDecl()
10447 if (NewMVType == MultiVersionKind::Target) { in CheckMultiVersionAdditionalDecl()
10469 if (NewMVType == MultiVersionKind::CPUDispatch && in CheckMultiVersionAdditionalDecl()
10490 if (NewMVType == MultiVersionKind::CPUSpecific && CurCPUSpec) { in CheckMultiVersionAdditionalDecl()
10526 if (NewMVType == MultiVersionKind::Target && in CheckMultiVersionAdditionalDecl()
10578 MultiVersionKind MVType = NewFD->getMultiVersionKind(); in CheckMultiVersionFunction()
10583 if ((MVType == MultiVersionKind::Target && NewTA->isDefaultVersion()) || in CheckMultiVersionFunction()
10584 MVType == MultiVersionKind::CPUDispatch || in CheckMultiVersionFunction()
10585 MVType == MultiVersionKind::CPUSpecific) { in CheckMultiVersionFunction()
10598 if (MVType == MultiVersionKind::None) in CheckMultiVersionFunction()
10605 if (!OldFD->isMultiVersion() && MVType == MultiVersionKind::None) in CheckMultiVersionFunction()
10608 if (OldFD->isMultiVersion() && MVType == MultiVersionKind::None) { in CheckMultiVersionFunction()
10610 << (OldFD->getMultiVersionKind() != MultiVersionKind::Target); in CheckMultiVersionFunction()
10616 if (!OldFD->isMultiVersion() && MVType == MultiVersionKind::Target) in CheckMultiVersionFunction()