Searched refs:OldTag (Results 1 – 3 of 3) sorted by relevance
1496 static MDString *upgradeLoopTag(LLVMContext &C, StringRef OldTag) { in upgradeLoopTag() argument1498 assert(OldTag.startswith(OldPrefix) && "Expected old prefix"); in upgradeLoopTag()1500 if (OldTag == "llvm.vectorizer.unroll") in upgradeLoopTag()1504 C, (Twine("llvm.loop.vectorize.") + OldTag.drop_front(OldPrefix.size())) in upgradeLoopTag()1514 auto *OldTag = dyn_cast_or_null<MDString>(T->getOperand(0)); in upgradeLoopArgument() local1515 if (!OldTag) in upgradeLoopArgument()1517 if (!OldTag->getString().startswith("llvm.vectorizer.")) in upgradeLoopArgument()1523 Ops.push_back(upgradeLoopTag(T->getContext(), OldTag->getString())); in upgradeLoopArgument()
3673 static MDString *upgradeLoopTag(LLVMContext &C, StringRef OldTag) { in upgradeLoopTag() argument3675 assert(OldTag.startswith(OldPrefix) && "Expected old prefix"); in upgradeLoopTag()3677 if (OldTag == "llvm.vectorizer.unroll") in upgradeLoopTag()3681 C, (Twine("llvm.loop.vectorize.") + OldTag.drop_front(OldPrefix.size())) in upgradeLoopTag()3691 auto *OldTag = dyn_cast_or_null<MDString>(T->getOperand(0)); in upgradeLoopArgument() local3692 if (!OldTag) in upgradeLoopArgument()3694 if (!OldTag->getString().startswith("llvm.vectorizer.")) in upgradeLoopArgument()3700 Ops.push_back(upgradeLoopTag(T->getContext(), OldTag->getString())); in upgradeLoopArgument()
2002 auto *OldTag = OldTD->getAnonDeclWithTypedefName(/*AnyRedecl*/true); in MergeTypedefNameDecl() local2005 if (getLangOpts().CPlusPlus && OldTag && NewTag && in MergeTypedefNameDecl()2006 OldTag->getCanonicalDecl() != NewTag->getCanonicalDecl() && in MergeTypedefNameDecl()2007 !hasVisibleDefinition(OldTag, &Hidden)) { in MergeTypedefNameDecl()12089 TagTypeKind OldTag = Previous->getTagKind(); in isAcceptableTagRedeclaration() local12091 if (OldTag == NewTag) in isAcceptableTagRedeclaration()12094 if (isClassCompatTagKind(OldTag) && isClassCompatTagKind(NewTag)) { in isAcceptableTagRedeclaration()12105 << getRedeclDiagFromTagKind(OldTag); in isAcceptableTagRedeclaration()12146 << getRedeclDiagFromTagKind(OldTag); in isAcceptableTagRedeclaration()12629 auto *OldTag = dyn_cast<TagDecl>(PrevDecl); in ActOnTag() local[all …]