Home
last modified time | relevance | path

Searched refs:TArgs (Results 1 – 24 of 24) sorted by relevance

/external/llvm/lib/TableGen/
DTGParser.cpp154 ArrayRef<Init *> TArgs = SC->getTemplateArgs(); in AddSubClass() local
157 if (TArgs.size() < SubClass.TemplateArgs.size()) in AddSubClass()
163 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) { in AddSubClass()
166 if (SetValue(CurRec, SubClass.RefRange.Start, TArgs[i], in AddSubClass()
171 CurRec->resolveReferencesTo(CurRec->getValue(TArgs[i])); in AddSubClass()
174 CurRec->removeValue(TArgs[i]); in AddSubClass()
176 } else if (!CurRec->getValue(TArgs[i])->getValue()->isComplete()) { in AddSubClass()
179 Twine(i) + " (" + TArgs[i]->getAsUnquotedString() + in AddSubClass()
1639 ArrayRef<Init *> TArgs = ArgsRec->getTemplateArgs(); in ParseValueList() local
1640 if (TArgs.empty()) { in ParseValueList()
[all …]
DTGParser.h143 ArrayRef<Init *> TArgs,
147 ArrayRef<Init *> TArgs,
DRecord.cpp1699 ArrayRef<Init *> TArgs = R.getTemplateArgs(); in operator <<() local
1700 if (!TArgs.empty()) { in operator <<()
1703 for (const Init *TA : TArgs) { in operator <<()
/external/llvm-project/llvm/include/llvm/Analysis/
DInstructionSimplify.h43 template <typename T, typename... TArgs> class AnalysisManager;
331 template <class T, class... TArgs>
332 const SimplifyQuery getBestSimplifyQuery(AnalysisManager<T, TArgs...> &,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DInstructionSimplify.h41 template <typename T, typename... TArgs> class AnalysisManager;
300 template <class T, class... TArgs>
301 const SimplifyQuery getBestSimplifyQuery(AnalysisManager<T, TArgs...> &,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGParser.cpp235 ArrayRef<Init *> TArgs = SC->getTemplateArgs(); in AddSubClass() local
238 if (TArgs.size() < SubClass.TemplateArgs.size()) in AddSubClass()
246 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) { in AddSubClass()
249 if (SetValue(CurRec, SubClass.RefRange.Start, TArgs[i], in AddSubClass()
252 } else if (!CurRec->getValue(TArgs[i])->getValue()->isComplete()) { in AddSubClass()
255 Twine(i) + " (" + TArgs[i]->getAsUnquotedString() + in AddSubClass()
259 R.set(TArgs[i], CurRec->getValue(TArgs[i])->getValue()); in AddSubClass()
261 CurRec->removeValue(TArgs[i]); in AddSubClass()
2362 ArrayRef<Init *> TArgs = ArgsRec->getTemplateArgs(); in ParseValueList() local
2363 if (TArgs.empty()) { in ParseValueList()
[all …]
DRecord.cpp1665 ArrayRef<Init *> TArgs = Class->getTemplateArgs(); in instantiate() local
1668 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) { in instantiate()
1670 R.set(TArgs[i], getArg(i)); in instantiate()
1672 R.set(TArgs[i], NewRec->getValue(TArgs[i])->getValue()); in instantiate()
1674 NewRec->removeValue(TArgs[i]); in instantiate()
2164 ArrayRef<Init *> TArgs = R.getTemplateArgs(); in operator <<() local
2165 if (!TArgs.empty()) { in operator <<()
2168 for (const Init *TA : TArgs) { in operator <<()
/external/llvm-project/llvm/lib/TableGen/
DTGParser.cpp236 ArrayRef<Init *> TArgs = SC->getTemplateArgs(); in AddSubClass() local
239 if (TArgs.size() < SubClass.TemplateArgs.size()) in AddSubClass()
247 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) { in AddSubClass()
250 if (SetValue(CurRec, SubClass.RefRange.Start, TArgs[i], in AddSubClass()
253 } else if (!CurRec->getValue(TArgs[i])->getValue()->isComplete()) { in AddSubClass()
256 Twine(i) + " (" + TArgs[i]->getAsUnquotedString() + in AddSubClass()
260 R.set(TArgs[i], CurRec->getValue(TArgs[i])->getValue()); in AddSubClass()
262 CurRec->removeValue(TArgs[i]); in AddSubClass()
2439 ArrayRef<Init *> TArgs = ArgsRec->getTemplateArgs(); in ParseValueList() local
2440 if (TArgs.empty()) { in ParseValueList()
[all …]
DRecord.cpp1743 ArrayRef<Init *> TArgs = Class->getTemplateArgs(); in instantiate() local
1746 for (unsigned i = 0, e = TArgs.size(); i != e; ++i) { in instantiate()
1748 R.set(TArgs[i], getArg(i)); in instantiate()
1750 R.set(TArgs[i], NewRec->getValue(TArgs[i])->getValue()); in instantiate()
1752 NewRec->removeValue(TArgs[i]); in instantiate()
2311 ArrayRef<Init *> TArgs = R.getTemplateArgs(); in operator <<() local
2312 if (!TArgs.empty()) { in operator <<()
2315 for (const Init *TA : TArgs) { in operator <<()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DMismatchedIteratorChecker.cpp155 const auto *TArgs = Func->getTemplateSpecializationArgs(); in checkPreCall() local
166 const auto TAType = TArgs->get(I).getAsType(); in checkPreCall()
/external/llvm-project/clang/lib/AST/
DLinkage.h109 LinkageInfo getLVForTemplateArgumentList(const TemplateArgumentList &TArgs,
DDecl.cpp363 LinkageComputer::getLVForTemplateArgumentList(const TemplateArgumentList &TArgs, in getLVForTemplateArgumentList() argument
365 return getLVForTemplateArgumentList(TArgs.asArray(), computation); in getLVForTemplateArgumentList()
3825 const TemplateArgumentListInfo &TArgs) { in Create() argument
3828 TArgs.size(), Ts.size())); in Create()
3829 return new (Buffer) DependentFunctionTemplateSpecializationInfo(Ts, TArgs); in Create()
3834 const TemplateArgumentListInfo &TArgs) in DependentFunctionTemplateSpecializationInfo() argument
3835 : AngleLocs(TArgs.getLAngleLoc(), TArgs.getRAngleLoc()) { in DependentFunctionTemplateSpecializationInfo()
3837 NumArgs = TArgs.size(); in DependentFunctionTemplateSpecializationInfo()
3844 for (unsigned I = 0, E = TArgs.size(); I != E; ++I) in DependentFunctionTemplateSpecializationInfo()
3845 new (&ArgsArray[I]) TemplateArgumentLoc(TArgs[I]); in DependentFunctionTemplateSpecializationInfo()
DDeclPrinter.cpp646 else if (const TemplateArgumentList *TArgs = in VisitFunctionDecl() local
648 TArgPrinter.printTemplateArguments(TArgs->asArray()); in VisitFunctionDecl()
/external/llvm/include/llvm/Support/
DScopedPrinter.h324 template <typename S, typename T, typename... TArgs>
325 void printVersionInternal(S Value, T Value2, TArgs... Args) { in printVersionInternal()
/external/llvm-project/llvm/include/llvm/Support/
DScopedPrinter.h334 template <typename S, typename T, typename... TArgs>
335 void printVersionInternal(S Value, T Value2, TArgs... Args) { in printVersionInternal()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DScopedPrinter.h334 template <typename S, typename T, typename... TArgs>
335 void printVersionInternal(S Value, T Value2, TArgs... Args) { in printVersionInternal()
/external/clang/lib/AST/
DDecl.cpp360 getLVForTemplateArgumentList(const TemplateArgumentList &TArgs, in getLVForTemplateArgumentList() argument
362 return getLVForTemplateArgumentList(TArgs.asArray(), computation); in getLVForTemplateArgumentList()
3249 const TemplateArgumentListInfo &TArgs) { in Create() argument
3252 TArgs.size(), Ts.size())); in Create()
3253 return new (Buffer) DependentFunctionTemplateSpecializationInfo(Ts, TArgs); in Create()
3258 const TemplateArgumentListInfo &TArgs) in DependentFunctionTemplateSpecializationInfo() argument
3259 : AngleLocs(TArgs.getLAngleLoc(), TArgs.getRAngleLoc()) { in DependentFunctionTemplateSpecializationInfo()
3262 NumArgs = TArgs.size(); in DependentFunctionTemplateSpecializationInfo()
3269 for (unsigned I = 0, E = TArgs.size(); I != E; ++I) in DependentFunctionTemplateSpecializationInfo()
3270 new (&ArgsArray[I]) TemplateArgumentLoc(TArgs[I]); in DependentFunctionTemplateSpecializationInfo()
/external/llvm-project/flang/lib/Evaluate/
Dfold-implementation.h430 template <typename TR, typename... TArgs>
431 using ScalarFunc = std::function<Scalar<TR>(const Scalar<TArgs> &...)>;
432 template <typename TR, typename... TArgs>
434 std::function<Scalar<TR>(FoldingContext &, const Scalar<TArgs> &...)>;
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp211 const TemplateArgumentList *TArgs = Info->TemplateArguments; in getFunctionName() local
212 TemplateSpecializationType::PrintTemplateArgumentList(OS, TArgs->asArray(), in getFunctionName()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp11938 const TemplateTypeParmType *TArgs = in checkLiteralOperatorTemplateParameterList() local
11940 if (TArgs && TArgs->getDepth() == PmType->getDepth() && in checkLiteralOperatorTemplateParameterList()
11941 TArgs->getIndex() == PmType->getIndex()) { in checkLiteralOperatorTemplateParameterList()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp5611 template <class T, class... TArgs>
5612 const SimplifyQuery getBestSimplifyQuery(AnalysisManager<T, TArgs...> &AM, in getBestSimplifyQuery()
/external/llvm-project/clang/lib/CodeGen/
DCGDebugInfo.cpp277 const TemplateArgumentList *TArgs = Info->TemplateArguments; in getFunctionName() local
278 printTemplateArgumentList(OS, TArgs->asArray(), getPrintingPolicy()); in getFunctionName()
/external/llvm-project/llvm/lib/Analysis/
DInstructionSimplify.cpp5944 template <class T, class... TArgs>
5945 const SimplifyQuery getBestSimplifyQuery(AnalysisManager<T, TArgs...> &AM, in getBestSimplifyQuery()
/external/llvm-project/clang/lib/Sema/
DSemaDeclCXX.cpp15579 const TemplateTypeParmType *TArgs = in checkLiteralOperatorTemplateParameterList() local
15581 if (TArgs && TArgs->getDepth() == PmType->getDepth() && in checkLiteralOperatorTemplateParameterList()
15582 TArgs->getIndex() == PmType->getIndex()) { in checkLiteralOperatorTemplateParameterList()