Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DSSAUpdaterBulk.cpp47 Argument *FirstArg = &*(F->arg_begin()); in TEST() local
57 Value *AddOp1 = B.CreateAdd(FirstArg, ConstantInt::get(I32Ty, 1)); in TEST()
58 Value *SubOp1 = B.CreateSub(FirstArg, ConstantInt::get(I32Ty, 2)); in TEST()
62 Value *AddOp2 = B.CreateAdd(FirstArg, ConstantInt::get(I32Ty, 3)); in TEST()
63 Value *SubOp2 = B.CreateSub(FirstArg, ConstantInt::get(I32Ty, 4)); in TEST()
134 Argument *FirstArg = &*F->arg_begin(); in TEST() local
141 Value *AddOp1 = B.CreateAdd(FirstArg, ConstantInt::get(I32Ty, 1)); in TEST()
145 Value *AddOp2 = B.CreateAdd(FirstArg, ConstantInt::get(I32Ty, 2)); in TEST()
154 ReturnInst *Return = B.CreateRet(FirstArg); in TEST()
175 Updater.AddAvailableValue(VarNum, &F->getEntryBlock(), FirstArg); in TEST()
[all …]
/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 …]
DSemaDeclAttr.cpp2865 int FirstArg, in mergeFormatAttr() argument
2871 F->getFirstArg() == FirstArg) { in mergeFormatAttr()
2881 FirstArg, AttrSpellingListIndex); in mergeFormatAttr()
2972 uint32_t FirstArg; in handleFormatAttr() local
2973 if (!checkUInt32Argument(S, Attr, FirstArgExpr, FirstArg, 3)) in handleFormatAttr()
2977 if (FirstArg != 0) { in handleFormatAttr()
2989 if (FirstArg != 0) { in handleFormatAttr()
2995 } else if (FirstArg != 0 && FirstArg != NumArgs) { in handleFormatAttr()
3002 Idx, FirstArg, in handleFormatAttr()
DSemaChecking.cpp2668 Expr *FirstArg = TheCall->getArg(0); in SemaBuiltinAtomicOverloaded() local
2669 ExprResult FirstArgResult = DefaultFunctionArrayLvalueConversion(FirstArg); in SemaBuiltinAtomicOverloaded()
2672 FirstArg = FirstArgResult.get(); in SemaBuiltinAtomicOverloaded()
2673 TheCall->setArg(0, FirstArg); in SemaBuiltinAtomicOverloaded()
2675 const PointerType *pointerType = FirstArg->getType()->getAs<PointerType>(); in SemaBuiltinAtomicOverloaded()
2678 << FirstArg->getType() << FirstArg->getSourceRange(); in SemaBuiltinAtomicOverloaded()
2686 << FirstArg->getType() << FirstArg->getSourceRange(); in SemaBuiltinAtomicOverloaded()
2700 << ValType << FirstArg->getSourceRange(); in SemaBuiltinAtomicOverloaded()
2751 << FirstArg->getType() << FirstArg->getSourceRange(); in SemaBuiltinAtomicOverloaded()
DSemaOverload.cpp546 TemplateArgument FirstArg; member
589 Saved->FirstArg = Info.FirstArg; in MakeDeductionFailureInfo()
600 Saved->FirstArg = Info.FirstArg; in MakeDeductionFailureInfo()
611 Saved->FirstArg = Info.FirstArg; in MakeDeductionFailureInfo()
751 return &static_cast<DFIArguments*>(Data)->FirstArg; in getFirstArg()
3043 QualType FirstArg = CtorType->getParamType(0); in isFirstArgumentCompatibleWithType() local
3044 if (Context.hasSameUnqualifiedType(Type, FirstArg.getNonReferenceType())) in isFirstArgumentCompatibleWithType()
/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemoryBuiltins.cpp854 Value *FirstArg = CS.getArgument(FnData->FstParam); in visitCallSite() local
855 FirstArg = Builder.CreateZExt(FirstArg, IntTy); in visitCallSite()
857 return std::make_pair(FirstArg, Zero); in visitCallSite()
861 Value *Size = Builder.CreateMul(FirstArg, SecondArg); in visitCallSite()
/external/clang/include/clang/Sema/
DTemplateDeduction.h148 TemplateArgument FirstArg; variable
DSema.h2190 int FirstArg, unsigned AttrSpellingListIndex);
/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/tensorflow/tensorflow/compiler/xla/service/
Dpattern_matcher.h2226 template <typename Matcher, typename FirstArg>
2227 inline auto WithOperands(Matcher&& m, int64 operand_num, FirstArg&& first_arg)
2228 -> decltype(m.WithOperand(operand_num, std::forward<FirstArg>(first_arg))) {
2229 return m.WithOperand(operand_num, std::forward<FirstArg>(first_arg));
2232 template <typename Matcher, typename FirstArg, typename... Args>
2233 inline auto WithOperands(Matcher&& m, int64 operand_num, FirstArg&& first_arg,
2236 std::forward<FirstArg>(first_arg)),
2239 m.WithOperand(operand_num, std::forward<FirstArg>(first_arg)),
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DCommandLine.cpp1106 int FirstArg = 1; in ParseCommandLineOptions() local
1108 if (argc >= 2 && argv[FirstArg][0] != '-') { in ParseCommandLineOptions()
1111 ChosenSubCommand = LookupSubCommand(StringRef(argv[FirstArg])); in ParseCommandLineOptions()
1113 FirstArg = 2; in ParseCommandLineOptions()
1177 for (int i = FirstArg; i < argc; ++i) { in ParseCommandLineOptions()
/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.cpp1055 int FirstArg = 1; in ParseCommandLineOptions() local
1057 if (argc >= 2 && argv[FirstArg][0] != '-') { in ParseCommandLineOptions()
1060 ChosenSubCommand = LookupSubCommand(StringRef(argv[FirstArg])); in ParseCommandLineOptions()
1062 FirstArg = 2; in ParseCommandLineOptions()
1127 for (int i = FirstArg; i < argc; ++i) { in ParseCommandLineOptions()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DMemorySSA.cpp901 Argument *FirstArg = &*F->arg_begin(); in TEST_F() local
906 LoadInst *LoadInst = B.CreateLoad(FirstArg); in TEST_F()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp1650 Value *FirstArg = EmitScalarExpr(E->getArg(0)); in EmitBuiltinExpr() local
1651 llvm::Type *ArgType = FirstArg->getType(); in EmitBuiltinExpr()
1654 Builder.CreateCall(F, {FirstArg, EmitScalarExpr(E->getArg(1)), in EmitBuiltinExpr()
/external/clang/include/clang/Basic/
DAttr.td840 IntArgument<"FirstArg">];