Home
last modified time | relevance | path

Searched refs:OldTag (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/IR/
DAutoUpgrade.cpp1496 static MDString *upgradeLoopTag(LLVMContext &C, StringRef OldTag) { in upgradeLoopTag() argument
1498 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() local
1515 if (!OldTag) in upgradeLoopArgument()
1517 if (!OldTag->getString().startswith("llvm.vectorizer.")) in upgradeLoopArgument()
1523 Ops.push_back(upgradeLoopTag(T->getContext(), OldTag->getString())); in upgradeLoopArgument()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DAutoUpgrade.cpp3673 static MDString *upgradeLoopTag(LLVMContext &C, StringRef OldTag) { in upgradeLoopTag() argument
3675 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() local
3692 if (!OldTag) in upgradeLoopArgument()
3694 if (!OldTag->getString().startswith("llvm.vectorizer.")) in upgradeLoopArgument()
3700 Ops.push_back(upgradeLoopTag(T->getContext(), OldTag->getString())); in upgradeLoopArgument()
/external/clang/lib/Sema/
DSemaDecl.cpp2002 auto *OldTag = OldTD->getAnonDeclWithTypedefName(/*AnyRedecl*/true); in MergeTypedefNameDecl() local
2005 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() local
12091 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 …]