Home
last modified time | relevance | path

Searched refs:Arg (Results 1 – 25 of 762) sorted by relevance

12345678910>>...31

/external/tensorflow/tensorflow/contrib/lite/toco/
Dargs.h53 class Arg final {
55 explicit Arg(T default_ = T()) : value_(default_) {} in value_()
56 virtual ~Arg() {} in ~Arg()
74 return std::bind(&Arg::parse, this, std::placeholders::_1); in bind()
85 class Arg<toco::IntList> final {
109 return std::bind(&Arg::parse, this, std::placeholders::_1); in bind()
120 class Arg<toco::StringMapList> final {
176 return std::bind(&Arg::parse, this, std::placeholders::_1); in bind()
188 Arg<string> input_array;
189 Arg<string> input_arrays;
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dscatter_op_test.cc304 ->Arg(1)
305 ->Arg(10)
306 ->Arg(32)
307 ->Arg(50)
308 ->Arg(64)
309 ->Arg(80)
310 ->Arg(96)
311 ->Arg(112)
312 ->Arg(192)
313 ->Arg(256)
[all …]
Dconcat_op_test.cc78 BENCHMARK(BM_ConcatDim0Float)->Arg(1000)->Arg(100000)->Arg(1000000);
79 BENCHMARK(BM_ConcatDim1Float)->Arg(1000)->Arg(100000)->Arg(1000000);
88 BENCHMARK(BM_ConcatDim1int16)->Arg(1000)->Arg(100000)->Arg(1000000);
89 BENCHMARK(BM_ConcatDim1bfloat16)->Arg(1000)->Arg(100000)->Arg(1000000);
127 BENCHMARK(BM_ConcatManyDim1bfloat16)->Arg(18)->Arg(34)->Arg(60);
156 BENCHMARK(BM_MemcpyAlternativeDim0)->Arg(1000)->Arg(100000)->Arg(1000000);
157 BENCHMARK(BM_MemcpyAlternativeDim1)->Arg(1000)->Arg(100000)->Arg(1000000);
233 ->Arg(16)
234 ->Arg(17)
235 ->Arg(18)
[all …]
Dcast_op_test.cc101 BENCHMARK(BM_cpu_float_int64)->Arg(64 << 10)->Arg(32 << 20);
115 BENCHMARK(BM_gpu_float_int64)->Arg(64 << 10)->Arg(32 << 20);
124 BENCHMARK(BM_cpu_bool_float)->Arg(64 << 10)->Arg(32 << 20);
138 BENCHMARK(BM_gpu_bool_float)->Arg(64 << 10)->Arg(32 << 20);
147 BENCHMARK(BM_cpu_float_bfloat16)->Arg(64 << 10)->Arg(32 << 20);
156 BENCHMARK(BM_cpu_bfloat16_float)->Arg(64 << 10)->Arg(32 << 20);
165 BENCHMARK(BM_cpu_float_half)->Arg(64 << 10)->Arg(32 << 20);
174 BENCHMARK(BM_cpu_half_float)->Arg(64 << 10)->Arg(32 << 20);
185 BENCHMARK(BM_gpu_float_half)->Arg(64 << 10)->Arg(32 << 20);
196 BENCHMARK(BM_gpu_half_float)->Arg(64 << 10)->Arg(32 << 20);
Dscatter_nd_op_test.cc307 ->Arg(1)
308 ->Arg(10)
309 ->Arg(64)
310 ->Arg(256)
311 ->Arg(1024);
313 ->Arg(1)
314 ->Arg(10)
315 ->Arg(64)
316 ->Arg(256)
317 ->Arg(1024);
[all …]
Dquantized_concat_op_test.cc308 BENCHMARK(BM_QConcatDim0SameLimitQInt32)->Arg(1000)->Arg(20000)->Arg(100000);
309 BENCHMARK(BM_QConcatDim1SameLimitQInt32)->Arg(1000)->Arg(20000)->Arg(100000);
310 BENCHMARK(BM_QConcatDim0DifferLimitQInt32)->Arg(1000)->Arg(20000)->Arg(100000);
311 BENCHMARK(BM_QConcatDim1DifferLimitQInt32)->Arg(1000)->Arg(20000)->Arg(100000);
333 BENCHMARK(BM_QConcatDim0SameLimitQUint8)->Arg(1000)->Arg(20000)->Arg(100000);
334 BENCHMARK(BM_QConcatDim1SameLimitQUint8)->Arg(1000)->Arg(20000)->Arg(100000);
335 BENCHMARK(BM_QConcatDim0DifferLimitQUint8)->Arg(1000)->Arg(20000)->Arg(100000);
336 BENCHMARK(BM_QConcatDim1DifferLimitQUint8)->Arg(1000)->Arg(20000)->Arg(100000);
/external/clang/tools/scan-build/libexec/
Dccc-analyzer505 my $Arg = $ARGV[$i];
506 my ($ArgKey) = split /=/,$Arg,2;
514 if ($Arg =~ /^-(E|MM?)$/) { $Action = 'preprocess'; }
515 elsif ($Arg eq '-c') { $Action = 'compile'; }
516 elsif ($Arg =~ /^-print-prog-name/) { exit 0; }
519 if ($Arg eq "-arch") {
531 if ($Arg =~ /^-isysroot/) {
538 push @CompileOpts,$Arg;
543 if ($Arg =~ /^-iquote.*/) {
544 push @CompileOpts,$Arg;
[all …]
/external/llvm/lib/Option/
DArgList.cpp37 void ArgList::append(Arg *A) { in append()
43 [=](Arg *A) { return A->getOption().matches(Id); }), in eraseArg()
47 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id) const { in getLastArgNoClaim()
55 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1) const { in getLastArgNoClaim()
64 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1, in getLastArgNoClaim()
74 Arg *ArgList::getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1, in getLastArgNoClaim()
84 Arg *ArgList::getLastArg(OptSpecifier Id) const { in getLastArg()
85 Arg *Res = nullptr; in getLastArg()
96 Arg *ArgList::getLastArg(OptSpecifier Id0, OptSpecifier Id1) const { in getLastArg()
97 Arg *Res = nullptr; in getLastArg()
[all …]
DArg.cpp21 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const Arg *BaseArg) in Arg() function in Arg
25 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, in Arg() function in Arg
26 const Arg *BaseArg) in Arg()
32 Arg::Arg(const Option Opt, StringRef S, unsigned Index, const char *Value0, in Arg() function in Arg
33 const char *Value1, const Arg *BaseArg) in Arg()
40 Arg::~Arg() { in ~Arg()
47 void Arg::print(raw_ostream& O) const { in print()
64 LLVM_DUMP_METHOD void Arg::dump() const { print(dbgs()); } in dump()
66 std::string Arg::getAsString(const ArgList &Args) const { in getAsString()
82 void Arg::renderAsInput(const ArgList &Args, ArgStringList &Output) const { in renderAsInput()
[all …]
/external/pcre/pcrecpp/include/
Dpcrecpparg.h57 class Arg {
60 Arg();
63 Arg(void*);
69 Arg(type* p) : arg_(p), parser_(name) { } \
70 Arg(type* p, Parser parser) : arg_(p), parser_(parser) { }
95 template <class T> Arg(T*, Parser parser);
97 template <class T> Arg(T* p) in Arg() function
138 inline Arg::Arg() : arg_(NULL), parser_(parse_null) { } in Arg() function
139 inline Arg::Arg(void* p) : arg_(p), parser_(parse_null) { } in Arg() function
141 inline bool Arg::Parse(const char* str, int n) const { in Parse()
[all …]
/external/libcxx/benchmarks/
Dunordered_set_operations.bench.cpp127 getRandomIntegerInputs<uint32_t>) -> Arg(TestNumInputs);
132 getRandomIntegerInputs<uint32_t>) -> Arg(TestNumInputs);
137 getSortedTopBitsIntegerInputs<uint32_t>) -> Arg(TestNumInputs);
142 getSortedTopBitsIntegerInputs<uint32_t>) -> Arg(TestNumInputs);
154 getRandomIntegerInputs<uint32_t>)->Arg(TestNumInputs);
159 getSortedIntegerInputs<uint32_t>)->Arg(TestNumInputs);
165 getSortedTopBitsIntegerInputs<uint32_t>)->Arg(TestNumInputs);
170 getSortedTopBitsIntegerInputs<uint32_t>)->Arg(TestNumInputs);
176 getRandomStringInputs)->Arg(TestNumInputs);
181 getRandomStringInputs)->Arg(TestNumInputs);
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerKernelArgs.cpp105 void handleByValParam(Argument *Arg);
143 void NVPTXLowerKernelArgs::handleByValParam(Argument *Arg) { in handleByValParam() argument
144 Function *Func = Arg->getParent(); in handleByValParam()
146 PointerType *PType = dyn_cast<PointerType>(Arg->getType()); in handleByValParam()
151 AllocaInst *AllocA = new AllocaInst(StructType, Arg->getName(), FirstInst); in handleByValParam()
155 AllocA->setAlignment(Func->getParamAlignment(Arg->getArgNo() + 1)); in handleByValParam()
156 Arg->replaceAllUsesWith(AllocA); in handleByValParam()
159 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), in handleByValParam()
161 LoadInst *LI = new LoadInst(ArgInParam, Arg->getName(), FirstInst); in handleByValParam()
171 if (Argument *Arg = dyn_cast<Argument>(Ptr)) { in markPointerAsGlobal() local
[all …]
/external/jcommander/src/test/java/com/beust/jcommander/
DPositiveIntegerTest.java11 class Arg { in validateTest() class
15 Arg arg = new Arg(); in validateTest()
23 class Arg { in validateTest2() class
27 Arg arg = new Arg(); in validateTest2()
34 class Arg { in validateTest3() class
38 Arg arg = new Arg(); in validateTest3()
45 class Arg { in validateTest4() class
49 Arg arg = new Arg(); in validateTest4()
56 class Arg { in validateTest5() class
61 Arg arg = new Arg(); in validateTest5()
DFinderTest.java12 class Arg { in caseInsensitiveOption() class
17 Arg a = new Arg(); in caseInsensitiveOption()
37 class Arg { in abbreviatedOptions() class
41 Arg a = new Arg(); in abbreviatedOptions()
49 class Arg { in abbreviatedOptionsCaseInsensitive() class
53 Arg a = new Arg(); in abbreviatedOptionsCaseInsensitive()
63 class Arg { in ambiguousAbbreviatedOptions() class
69 Arg a = new Arg(); in ambiguousAbbreviatedOptions()
78 class Arg { in ambiguousAbbreviatedOptionsCaseInsensitive() class
84 Arg a = new Arg(); in ambiguousAbbreviatedOptionsCaseInsensitive()
/external/clang/lib/Driver/
DSanitizerArgs.cpp58 static SanitizerMask parseArgValues(const Driver &D, const llvm::opt::Arg *A,
63 static int parseCoverageFeatures(const Driver &D, const llvm::opt::Arg *A);
77 static std::string describeSanitizeArg(const llvm::opt::Arg *A,
128 const auto *Arg = *I; in parseSanitizeTrapArgs() local
129 if (Arg->getOption().matches(options::OPT_fsanitize_trap_EQ)) { in parseSanitizeTrapArgs()
130 Arg->claim(); in parseSanitizeTrapArgs()
131 SanitizerMask Add = parseArgValues(D, Arg, true); in parseSanitizeTrapArgs()
140 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_trap_EQ)) { in parseSanitizeTrapArgs()
141 Arg->claim(); in parseSanitizeTrapArgs()
142 TrapRemove |= expandSanitizerGroups(parseArgValues(D, Arg, true)); in parseSanitizeTrapArgs()
[all …]
DJob.cpp82 void Command::printArg(raw_ostream &OS, const char *Arg, bool Quote) { in printArg() argument
83 const bool Escape = std::strpbrk(Arg, "\"\\$"); in printArg()
86 OS << Arg; in printArg()
92 while (const char c = *Arg++) { in printArg()
103 for (const char *Arg : InputFileList) { in writeResponseFile() local
104 OS << Arg << '\n'; in writeResponseFile()
112 for (const char *Arg : Arguments) { in writeResponseFile() local
115 for (; *Arg != '\0'; Arg++) { in writeResponseFile()
116 if (*Arg == '\"' || *Arg == '\\') { in writeResponseFile()
119 OS << *Arg; in writeResponseFile()
[all …]
/external/clang/test/OpenMP/
Dtask_if_codegen.cpp20 int Arg; variable
47 int tmain(T Arg) { in tmain() argument
52 #pragma omp task if (Arg) in tmain()
54 #pragma omp task if (task: Arg) depend(in : Arg) in tmain()
56 #pragma omp task if (Arg) depend(out : Arg) in tmain()
58 #pragma omp task if (Arg) depend(inout : Arg) in tmain()
90 #pragma omp task if (Arg) in main()
105 #pragma omp task if (Arg) depend(inout : Arg) in main()
108 return tmain(Arg); in main()
/external/llvm/include/llvm/Option/
DArgList.h33 SmallVectorImpl<Arg*>::const_iterator Current;
51 typedef Arg * const * value_type;
52 typedef Arg * const & reference;
53 typedef Arg * const * pointer;
57 arg_iterator(SmallVectorImpl<Arg *>::const_iterator it, const ArgList &Args,
64 operator const Arg*() { return *Current; }
96 typedef SmallVector<Arg*, 16> arglist_type;
131 void append(Arg *A);
198 Arg *getLastArgNoClaim(OptSpecifier Id) const;
199 Arg *getLastArgNoClaim(OptSpecifier Id0, OptSpecifier Id1) const;
[all …]
DArg.h31 class Arg {
32 Arg(const Arg &) = delete;
33 void operator=(const Arg &) = delete;
41 const Arg *BaseArg;
62 Arg(const Option Opt, StringRef Spelling, unsigned Index,
63 const Arg *BaseArg = nullptr);
64 Arg(const Option Opt, StringRef Spelling, unsigned Index,
65 const char *Value0, const Arg *BaseArg = nullptr);
66 Arg(const Option Opt, StringRef Spelling, unsigned Index,
67 const char *Value0, const char *Value1, const Arg *BaseArg = nullptr);
[all …]
/external/libchrome/base/strings/
Dsafe_sprintf.h137 struct Arg { struct
141 Arg(signed char c) : type(INT) { in Arg() argument
145 Arg(unsigned char c) : type(UINT) { in Arg() function
149 Arg(signed short j) : type(INT) { in Arg() argument
153 Arg(unsigned short j) : type(UINT) { in Arg() argument
157 Arg(signed int j) : type(INT) { in Arg() argument
161 Arg(unsigned int j) : type(UINT) { in Arg() function
165 Arg(signed long j) : type(INT) { in Arg() function
169 Arg(unsigned long j) : type(UINT) { in Arg() argument
173 Arg(signed long long j) : type(INT) { in Arg() argument
[all …]
/external/llvm/include/llvm/IR/
DPassManager.h71 PreservedAnalyses(const PreservedAnalyses &Arg) in PreservedAnalyses() argument
72 : PreservedPassIDs(Arg.PreservedPassIDs) {} in PreservedAnalyses()
73 PreservedAnalyses(PreservedAnalyses &&Arg) in PreservedAnalyses() argument
74 : PreservedPassIDs(std::move(Arg.PreservedPassIDs)) {} in PreservedAnalyses()
107 void intersect(const PreservedAnalyses &Arg) { in intersect() argument
108 if (Arg.areAllPreserved()) in intersect()
111 PreservedPassIDs = Arg.PreservedPassIDs; in intersect()
115 if (!Arg.PreservedPassIDs.count(P)) in intersect()
123 void intersect(PreservedAnalyses &&Arg) { in intersect() argument
124 if (Arg.areAllPreserved()) in intersect()
[all …]
/external/llvm/include/llvm/Analysis/
DAliasAnalysisEvaluator.h44 AAEvaluator(AAEvaluator &&Arg) in AAEvaluator() argument
45 : FunctionCount(Arg.FunctionCount), NoAliasCount(Arg.NoAliasCount), in AAEvaluator()
46 MayAliasCount(Arg.MayAliasCount), in AAEvaluator()
47 PartialAliasCount(Arg.PartialAliasCount), in AAEvaluator()
48 MustAliasCount(Arg.MustAliasCount), NoModRefCount(Arg.NoModRefCount), in AAEvaluator()
49 ModCount(Arg.ModCount), RefCount(Arg.RefCount), in AAEvaluator()
50 ModRefCount(Arg.ModRefCount) { in AAEvaluator()
51 Arg.FunctionCount = 0; in AAEvaluator()
/external/swiftshader/third_party/LLVM/lib/Support/
DCommandLine.cpp159 static Option *LookupOption(StringRef &Arg, StringRef &Value, in LookupOption() argument
162 if (Arg.empty()) return 0; in LookupOption()
164 size_t EqualPos = Arg.find('='); in LookupOption()
169 StringMap<Option*>::const_iterator I = OptionsMap.find(Arg); in LookupOption()
176 OptionsMap.find(Arg.substr(0, EqualPos)); in LookupOption()
179 Value = Arg.substr(EqualPos+1); in LookupOption()
180 Arg = Arg.substr(0, EqualPos); in LookupOption()
188 static Option *LookupNearestOption(StringRef Arg, in LookupNearestOption() argument
192 if (Arg.empty()) return 0; in LookupNearestOption()
195 std::pair<StringRef, StringRef> SplitArg = Arg.split('='); in LookupNearestOption()
[all …]
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dbasic_batch_scheduler_benchmark_test.cc357 ->Arg(1)
358 ->Arg(2)
359 ->Arg(4)
360 ->Arg(8)
361 ->Arg(16)
362 ->Arg(32)
363 ->Arg(64);
369 ->Arg(1)
370 ->Arg(2)
371 ->Arg(4)
[all …]
/external/llvm/tools/llvm-config/
Dllvm-config.cpp455 StringRef Arg = argv[i]; in main() local
457 if (Arg.startswith("-")) { in main()
459 if (Arg == "--version") { in main()
461 } else if (Arg == "--prefix") { in main()
463 } else if (Arg == "--bindir") { in main()
465 } else if (Arg == "--includedir") { in main()
467 } else if (Arg == "--libdir") { in main()
469 } else if (Arg == "--cppflags") { in main()
471 } else if (Arg == "--cflags") { in main()
473 } else if (Arg == "--cxxflags") { in main()
[all …]

12345678910>>...31