Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/Analysis/
DValueLattice.h355 ValueLatticeElementTy OldTag = Tag; variable
363 return Tag != OldTag;
429 auto OldTag = Tag; variable
433 return OldTag != Tag;
/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-10.0/llvm/lib/IR/
DAutoUpgrade.cpp4110 static MDString *upgradeLoopTag(LLVMContext &C, StringRef OldTag) { in upgradeLoopTag() argument
4112 assert(OldTag.startswith(OldPrefix) && "Expected old prefix"); in upgradeLoopTag()
4114 if (OldTag == "llvm.vectorizer.unroll") in upgradeLoopTag()
4118 C, (Twine("llvm.loop.vectorize.") + OldTag.drop_front(OldPrefix.size())) in upgradeLoopTag()
4128 auto *OldTag = dyn_cast_or_null<MDString>(T->getOperand(0)); in upgradeLoopArgument() local
4129 if (!OldTag) in upgradeLoopArgument()
4131 if (!OldTag->getString().startswith("llvm.vectorizer.")) in upgradeLoopArgument()
4137 Ops.push_back(upgradeLoopTag(T->getContext(), OldTag->getString())); in upgradeLoopArgument()
/external/llvm-project/llvm/lib/IR/
DAutoUpgrade.cpp4332 static MDString *upgradeLoopTag(LLVMContext &C, StringRef OldTag) { in upgradeLoopTag() argument
4334 assert(OldTag.startswith(OldPrefix) && "Expected old prefix"); in upgradeLoopTag()
4336 if (OldTag == "llvm.vectorizer.unroll") in upgradeLoopTag()
4340 C, (Twine("llvm.loop.vectorize.") + OldTag.drop_front(OldPrefix.size())) in upgradeLoopTag()
4350 auto *OldTag = dyn_cast_or_null<MDString>(T->getOperand(0)); in upgradeLoopArgument() local
4351 if (!OldTag) in upgradeLoopArgument()
4353 if (!OldTag->getString().startswith("llvm.vectorizer.")) in upgradeLoopArgument()
4359 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 …]
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp2299 auto *OldTag = OldTD->getAnonDeclWithTypedefName(/*AnyRedecl*/true); in MergeTypedefNameDecl() local
2302 if (OldTag && NewTag && in MergeTypedefNameDecl()
2303 OldTag->getCanonicalDecl() != NewTag->getCanonicalDecl() && in MergeTypedefNameDecl()
2304 !hasVisibleDefinition(OldTag, &Hidden)) { in MergeTypedefNameDecl()
15173 TagTypeKind OldTag = Previous->getTagKind(); in isAcceptableTagRedeclaration() local
15174 if (OldTag != NewTag && in isAcceptableTagRedeclaration()
15175 !(isClassCompatTagKind(OldTag) && isClassCompatTagKind(NewTag))) in isAcceptableTagRedeclaration()
15202 OldTag = Previous->getTagKind(); in isAcceptableTagRedeclaration()
15210 if (OldTag != NewTag) { in isAcceptableTagRedeclaration()
15215 << getRedeclDiagFromTagKind(OldTag); in isAcceptableTagRedeclaration()
[all …]