Home
last modified time | relevance | path

Searched refs:FirstArg (Results 1 – 25 of 38) sorted by relevance

12

/external/llvm-project/llvm/unittests/Transforms/Utils/
DSSAUpdaterBulkTest.cpp46 Argument *FirstArg = &*(F->arg_begin()); in TEST() local
56 Value *AddOp1 = B.CreateAdd(FirstArg, ConstantInt::get(I32Ty, 1)); in TEST()
57 Value *SubOp1 = B.CreateSub(FirstArg, ConstantInt::get(I32Ty, 2)); in TEST()
61 Value *AddOp2 = B.CreateAdd(FirstArg, ConstantInt::get(I32Ty, 3)); in TEST()
62 Value *SubOp2 = B.CreateSub(FirstArg, ConstantInt::get(I32Ty, 4)); in TEST()
133 Argument *FirstArg = &*F->arg_begin(); in TEST() local
140 Value *AddOp1 = B.CreateAdd(FirstArg, ConstantInt::get(I32Ty, 1)); in TEST()
144 Value *AddOp2 = B.CreateAdd(FirstArg, ConstantInt::get(I32Ty, 2)); in TEST()
153 ReturnInst *Return = B.CreateRet(FirstArg); in TEST()
174 Updater.AddAvailableValue(VarNum, &F->getEntryBlock(), FirstArg); in TEST()
[all …]
/external/llvm-project/clang/tools/diagtool/
DShowEnabledWarnings.cpp91 StringRef FirstArg(*argv); in run() local
92 if (FirstArg.equals("--no-levels")) { in run()
96 } else if (FirstArg.equals("--levels")) { in run()
DTreeView.cpp147 StringRef FirstArg(*argv); in run() local
148 if (FirstArg.equals("--internal")) { in run()
/external/clang/tools/diagtool/
DShowEnabledWarnings.cpp92 StringRef FirstArg(*argv); in run() local
93 if (FirstArg.equals("--no-levels")) { in run()
97 } else if (FirstArg.equals("--levels")) { in run()
DTreeView.cpp150 StringRef FirstArg(*argv); in run() local
151 if (FirstArg.equals("--flags-only")) { in run()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp303 Info.FirstArg = Deduced[NTTP->getIndex()]; in DeduceNonTypeTemplateArgument()
334 Info.FirstArg = Deduced[NTTP->getIndex()]; in DeduceNonTypeTemplateArgument()
364 Info.FirstArg = Deduced[NTTP->getIndex()]; in DeduceNonTypeTemplateArgument()
395 Info.FirstArg = Deduced[TempParam->getIndex()]; in DeduceTemplateArguments()
409 Info.FirstArg = TemplateArgument(Param); in DeduceTemplateArguments()
467 Info.FirstArg = TemplateArgument(QualType(Param, 0)); in DeduceTemplateArguments()
475 Info.FirstArg = TemplateArgument(QualType(Param, 0)); in DeduceTemplateArguments()
711 Info.FirstArg = OldPack; in finish()
1000 Info.FirstArg = TemplateArgument(ParamIn); in DeduceTemplateArgumentsByTypeMatch()
1083 Info.FirstArg = TemplateArgument(Param); in DeduceTemplateArgumentsByTypeMatch()
[all …]
/external/clang/lib/AST/
DTypePrinter.cpp1450 bool FirstArg = true; in PrintTemplateArgumentList() local
1456 if (Arg.pack_size() && !FirstArg) in PrintTemplateArgumentList()
1462 if (!FirstArg) in PrintTemplateArgumentList()
1471 if (FirstArg && !ArgString.empty() && ArgString[0] == ':') in PrintTemplateArgumentList()
1477 FirstArg = false; in PrintTemplateArgumentList()
1499 bool FirstArg = true; in PrintTemplateArgumentList() local
1501 if (!FirstArg) in PrintTemplateArgumentList()
1519 if (FirstArg && !ArgString.empty() && ArgString[0] == ':') in PrintTemplateArgumentList()
1525 FirstArg = false; in PrintTemplateArgumentList()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp750 Value *FirstArg = CS.getArgument(FnData->FstParam); in visitCallSite() local
751 FirstArg = Builder.CreateZExt(FirstArg, IntTy); in visitCallSite()
753 return std::make_pair(FirstArg, Zero); in visitCallSite()
757 Value *Size = Builder.CreateMul(FirstArg, SecondArg); in visitCallSite()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DIteratorModeling.cpp382 const Expr *FirstArg = Call.getArgExpr(0); in handleOverloadedOperator() local
384 const QualType FirstType = FirstArg->getType(); in handleOverloadedOperator()
392 const SVal FirstArg = Call.getArgSVal(0); in handleOverloadedOperator() local
394 const SVal &Iterator = IsIterFirst ? FirstArg : SecondArg; in handleOverloadedOperator()
395 const SVal &Amount = IsIterFirst ? SecondArg : FirstArg; in handleOverloadedOperator()
/external/llvm-project/clang/tools/driver/
Ddriver.cpp399 auto FirstArg = std::find_if(argv.begin() + 1, argv.end(), in main() local
401 if (FirstArg != argv.end() && StringRef(*FirstArg).startswith("-cc1")) { in main()
/external/clang/tools/driver/
Ddriver.cpp374 auto FirstArg = std::find_if(argv.begin() + 1, argv.end(), in main() local
376 if (FirstArg != argv.end() && StringRef(*FirstArg).startswith("-cc1")) { in main()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateDeduction.cpp398 Info.FirstArg = Deduced[NTTP->getIndex()]; in DeduceNonTypeTemplateArgument()
522 Info.FirstArg = Deduced[TempParam->getIndex()]; in DeduceTemplateArguments()
536 Info.FirstArg = TemplateArgument(Param); in DeduceTemplateArguments()
598 Info.FirstArg = TemplateArgument(QualType(Param, 0)); in DeduceTemplateArguments()
606 Info.FirstArg = TemplateArgument(QualType(Param, 0)); in DeduceTemplateArguments()
965 Info.FirstArg = OldPack; in finish()
975 Info.FirstArg = Result; in finish()
1422 Info.FirstArg = TemplateArgument(ParamIn); in DeduceTemplateArgumentsByTypeMatch()
1501 Info.FirstArg = TemplateArgument(Param); in DeduceTemplateArgumentsByTypeMatch()
1535 Info.FirstArg = TemplateArgument(Param); in DeduceTemplateArgumentsByTypeMatch()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemoryBuiltins.cpp941 Value *FirstArg = CS.getArgument(FnData->FstParam); in visitCallSite() local
942 FirstArg = Builder.CreateZExtOrTrunc(FirstArg, IntTy); in visitCallSite()
944 return std::make_pair(FirstArg, Zero); in visitCallSite()
948 Value *Size = Builder.CreateMul(FirstArg, SecondArg); in visitCallSite()
/external/llvm-project/llvm/lib/Analysis/
DMemoryBuiltins.cpp966 Value *FirstArg = CB.getArgOperand(FnData->FstParam); in visitCallBase() local
967 FirstArg = Builder.CreateZExtOrTrunc(FirstArg, IntTy); in visitCallBase()
969 return std::make_pair(FirstArg, Zero); in visitCallBase()
973 Value *Size = Builder.CreateMul(FirstArg, SecondArg); in visitCallBase()
/external/clang/include/clang/Sema/
DTemplateDeduction.h148 TemplateArgument FirstArg; variable
/external/llvm-project/clang/include/clang/Sema/
DTemplateDeduction.h204 TemplateArgument FirstArg; variable
/external/clang/test/SemaCXX/
Dcxx1y-generic-lambdas.cpp572 template<class F, class ... Rest> F& FirstArg(F& f, Rest...) { return f; } in FirstArg() function
774 template<class F, class ... Rest> F& FirstArg(F& f, Rest& ... r) { return f; }; in FirstArg() function
777 return FirstArg(ts...); in vfun()
/external/llvm-project/clang/test/SemaCXX/
Dcxx1y-generic-lambdas.cpp586 template<class F, class ... Rest> F& FirstArg(F& f, Rest...) { return f; } in FirstArg() function
788 template<class F, class ... Rest> F& FirstArg(F& f, Rest& ... r) { return f; }; in FirstArg() function
791 return FirstArg(ts...); in vfun()
/external/llvm-project/clang/lib/AST/
DComputeDependence.cpp413 if (auto *FirstArg = E->getTemplateArgs()) { in computeDependence() local
415 for (auto *Arg = FirstArg, *End = FirstArg + NumArgs; Arg < End; ++Arg) in computeDependence()
DTypePrinter.cpp1981 bool FirstArg = true; in printTo() local
1988 if (Argument.pack_size() && !FirstArg) in printTo()
1992 if (!FirstArg) in printTo()
2002 if (FirstArg && !ArgString.empty() && ArgString[0] == ':') in printTo()
2011 FirstArg = false; in printTo()
/external/tensorflow/tensorflow/compiler/xla/service/
Dpattern_matcher.h2132 template <typename Matcher, typename FirstArg>
2133 inline auto WithOperands(Matcher&& m, int64 operand_num, FirstArg&& first_arg) {
2134 return m.WithOperand(operand_num, std::forward<FirstArg>(first_arg));
2137 template <typename Matcher, typename FirstArg, typename... Args>
2138 inline auto WithOperands(Matcher&& m, int64 operand_num, FirstArg&& first_arg,
2141 m.WithOperand(operand_num, std::forward<FirstArg>(first_arg)),
/external/llvm/lib/Support/
DCommandLine.cpp1033 int FirstArg = 1; in ParseCommandLineOptions() local
1035 if (argc >= 2 && argv[FirstArg][0] != '-') { in ParseCommandLineOptions()
1038 ChosenSubCommand = LookupSubCommand(argv[FirstArg]); in ParseCommandLineOptions()
1040 FirstArg = 2; in ParseCommandLineOptions()
1105 for (int i = FirstArg; i < argc; ++i) { in ParseCommandLineOptions()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DCommandLine.cpp1060 int FirstArg = 1; in ParseCommandLineOptions() local
1062 if (argc >= 2 && argv[FirstArg][0] != '-') { in ParseCommandLineOptions()
1065 ChosenSubCommand = LookupSubCommand(StringRef(argv[FirstArg])); in ParseCommandLineOptions()
1067 FirstArg = 2; in ParseCommandLineOptions()
1132 for (int i = FirstArg; i < argc; ++i) { in ParseCommandLineOptions()
/external/llvm-project/clang-tools-extra/clangd/
DFindTarget.cpp168 const TemplateArgument &FirstArg = TST->getArg(0); in getPointeeType() local
169 if (FirstArg.getKind() != TemplateArgument::Type) in getPointeeType()
171 return FirstArg.getAsType().getTypePtrOrNull(); in getPointeeType()
/external/llvm-project/llvm/lib/Support/
DCommandLine.cpp1358 int FirstArg = 1; in ParseCommandLineOptions() local
1360 if (argc >= 2 && argv[FirstArg][0] != '-') { in ParseCommandLineOptions()
1363 ChosenSubCommand = LookupSubCommand(StringRef(argv[FirstArg])); in ParseCommandLineOptions()
1365 FirstArg = 2; in ParseCommandLineOptions()
1433 for (int i = FirstArg; i < argc; ++i) { in ParseCommandLineOptions()

12