Home
last modified time | relevance | path

Searched refs:NumInputs (Results 1 – 25 of 207) sorted by relevance

123456789

/external/clang/include/clang/AST/
DASTVector.h181 size_type NumInputs = std::distance(in_start, in_end); in append() local
183 if (NumInputs == 0) in append()
187 if (NumInputs > size_type(this->capacity_ptr()-this->end())) in append()
188 this->grow(C, this->size()+NumInputs); in append()
194 this->setEnd(this->end() + NumInputs); in append()
199 void append(const ASTContext &C, size_type NumInputs, const T &Elt) { in append() argument
201 if (NumInputs > size_type(this->capacity_ptr()-this->end())) in append()
202 this->grow(C, this->size()+NumInputs); in append()
205 std::uninitialized_fill_n(this->end(), NumInputs, Elt); in append()
206 this->setEnd(this->end() + NumInputs); in append()
/external/llvm-project/clang/include/clang/AST/
DASTVector.h185 size_type NumInputs = std::distance(in_start, in_end); in append() local
187 if (NumInputs == 0) in append()
191 if (NumInputs > size_type(this->capacity_ptr()-this->end())) in append()
192 this->grow(C, this->size()+NumInputs); in append()
198 this->setEnd(this->end() + NumInputs); in append()
202 void append(const ASTContext &C, size_type NumInputs, const T &Elt) { in append() argument
204 if (NumInputs > size_type(this->capacity_ptr()-this->end())) in append()
205 this->grow(C, this->size()+NumInputs); in append()
208 std::uninitialized_fill_n(this->end(), NumInputs, Elt); in append()
209 this->setEnd(this->end() + NumInputs); in append()
/external/tensorflow/tensorflow/lite/kernels/
Dreshape.cc115 if (NumInputs(node) == 2 && ShapeIsVector(context, node)) { in GetOutputShape()
123 TF_LITE_ENSURE(context, NumInputs(node) == 1 || NumInputs(node) == 2); in Prepare()
134 if (NumInputs(node) == 1 || in Prepare()
Dlsh_projection.cc73 TF_LITE_ENSURE(context, NumInputs(node) == 2 || NumInputs(node) == 3); in Resize()
86 if (NumInputs(node) == 3) { in Resize()
185 NumInputs(node) == 2 ? nullptr : GetInput(context, node, 2); in Eval()
Dadd_n.cc32 int num_inputs = NumInputs(node); in Prepare()
65 int num_inputs = NumInputs(node); in EvalAddN()
Dpad.cc45 if (NumInputs(node) == 3) { in PadContext()
110 TF_LITE_ENSURE(context, NumInputs(node) == 2 || NumInputs(node) == 3); in Prepare()
Dnon_max_suppression.cc73 const int num_inputs = NumInputs(node); in Prepare()
77 NumInputs(node)); in Prepare()
202 const bool is_soft_nms = NumInputs(node) == 6; in Eval()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dreshape.cc45 if (NumInputs(node) == 1 && // Legacy scalar supported with params. in ReshapeOutput()
75 TF_LITE_ENSURE(context, NumInputs(node) == 1 || NumInputs(node) == 2); in Prepare()
Dpad.cc49 TF_LITE_ENSURE(context, NumInputs(node) == 2 || NumInputs(node) == 3); in Prepare()
57 NumInputs(node) == 3 ? GetInput(context, node, /*index=*/2) : nullptr; in Prepare()
142 NumInputs(node) == 3 in Eval()
Dadd_n.cc32 int num_inputs = NumInputs(node); in Prepare()
65 int num_inputs = NumInputs(node); in EvalAddN()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_pair_regalloc.c66 unsigned int NumInputs; member
259 if (input >= s->NumInputs) in alloc_input_simple()
278 s->Temporary[i].Index = i + s->NumInputs; in do_regalloc_inputs_only()
559 for (i = 0; i < s->NumInputs; i++) { in do_advanced_regalloc()
570 node_count + s->NumInputs); in do_advanced_regalloc()
600 for (i = 0, input_node = 0; i< s->NumInputs; i++) { in do_advanced_regalloc()
762 s.NumInputs = rc_get_max_index(cc, RC_FILE_INPUT) + 1; in rc_pair_regalloc()
764 s.NumInputs * sizeof(struct register_info)); in rc_pair_regalloc()
765 memset(s.Input, 0, s.NumInputs * sizeof(struct register_info)); in rc_pair_regalloc()
/external/llvm/lib/IR/
DInlineAsm.cpp255 unsigned NumOutputs = 0, NumInputs = 0, NumClobbers = 0; in Verify() local
261 if ((NumInputs-NumIndirect) != 0 || NumClobbers != 0) in Verify()
271 ++NumInputs; in Verify()
293 if (Ty->getNumParams() != NumInputs) return false; in Verify()
/external/llvm-project/llvm/lib/IR/
DInlineAsm.cpp261 unsigned NumOutputs = 0, NumInputs = 0, NumClobbers = 0; in Verify() local
267 if ((NumInputs-NumIndirect) != 0 || NumClobbers != 0) in Verify()
277 ++NumInputs; in Verify()
299 if (Ty->getNumParams() != NumInputs) return false; in Verify()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInlineAsm.cpp261 unsigned NumOutputs = 0, NumInputs = 0, NumClobbers = 0; in Verify() local
267 if ((NumInputs-NumIndirect) != 0 || NumClobbers != 0) in Verify()
277 ++NumInputs; in Verify()
299 if (Ty->getNumParams() != NumInputs) return false; in Verify()
/external/llvm-project/clang/lib/Sema/
DSemaStmtAsm.cpp243 unsigned NumInputs, IdentifierInfo **Names, in ActOnGCCAsmStmt() argument
278 NumInputs, Names, Constraints, Exprs.data(), AsmString, in ActOnGCCAsmStmt()
347 NumInputs, Names, Constraints, Exprs.data(), AsmString, in ActOnGCCAsmStmt()
354 for (unsigned i = NumOutputs, e = NumOutputs + NumInputs; i != e; i++) { in ActOnGCCAsmStmt()
369 NumInputs, Names, Constraints, Exprs.data(), AsmString, in ActOnGCCAsmStmt()
468 NumInputs, Names, Constraints, Exprs.data(), AsmString, in ActOnGCCAsmStmt()
475 NumInputs, Names, Constraints, Exprs.data(), in ActOnGCCAsmStmt()
689 for (unsigned i = 0, e = NumOutputs + NumInputs + NumLabels; i != e; ++i) in ActOnGCCAsmStmt()
902 unsigned NumOutputs, unsigned NumInputs, in ActOnMSAsmStmt() argument
907 bool IsSimple = (NumOutputs != 0 || NumInputs != 0); in ActOnMSAsmStmt()
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DParallel.h173 size_t NumInputs = std::distance(Begin, End); in parallel_transform_reduce() local
174 if (NumInputs == 0) in parallel_transform_reduce()
176 size_t NumTasks = std::min(static_cast<size_t>(MaxTasksPerGroup), NumInputs); in parallel_transform_reduce()
183 size_t TaskSize = NumInputs / NumTasks; in parallel_transform_reduce()
184 size_t RemainingInputs = NumInputs % NumTasks; in parallel_transform_reduce()
/external/llvm/include/llvm/ADT/
DSmallVector.h390 size_type NumInputs = std::distance(in_start, in_end); in append() local
392 if (NumInputs > size_type(this->capacity_ptr()-this->end())) in append()
393 this->grow(this->size()+NumInputs); in append()
397 this->setEnd(this->end() + NumInputs); in append()
401 void append(size_type NumInputs, const T &Elt) { in append() argument
403 if (NumInputs > size_type(this->capacity_ptr()-this->end())) in append()
404 this->grow(this->size()+NumInputs); in append()
407 std::uninitialized_fill_n(this->end(), NumInputs, Elt); in append()
408 this->setEnd(this->end() + NumInputs); in append()
DSmallString.h78 void append(size_t NumInputs, char Elt) { in append() argument
79 SmallVectorImpl<char>::append(NumInputs, Elt); in append()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallVector.h393 size_type NumInputs = std::distance(in_start, in_end); in append() local
395 if (NumInputs > size_type(this->capacity_ptr()-this->end())) in append()
396 this->grow(this->size()+NumInputs); in append()
400 this->setEnd(this->end() + NumInputs); in append()
404 void append(size_type NumInputs, const T &Elt) { in append() argument
406 if (NumInputs > size_type(this->capacity_ptr()-this->end())) in append()
407 this->grow(this->size()+NumInputs); in append()
410 std::uninitialized_fill_n(this->end(), NumInputs, Elt); in append()
411 this->setEnd(this->end() + NumInputs); in append()
DSmallString.h79 void append(size_t NumInputs, char Elt) { in append() argument
80 SmallVectorImpl<char>::append(NumInputs, Elt); in append()
/external/llvm-project/llvm/include/llvm/ADT/
DSmallVector.h519 size_type NumInputs = std::distance(in_start, in_end); in append() local
520 if (NumInputs > this->capacity() - this->size()) in append()
521 this->grow(this->size()+NumInputs); in append()
524 this->set_size(this->size() + NumInputs); in append()
528 void append(size_type NumInputs, const T &Elt) { in append() argument
529 this->assertSafeToAdd(&Elt, NumInputs); in append()
530 if (NumInputs > this->capacity() - this->size()) in append()
531 this->grow(this->size()+NumInputs); in append()
533 std::uninitialized_fill_n(this->end(), NumInputs, Elt); in append()
534 this->set_size(this->size() + NumInputs); in append()
/external/clang/lib/Sema/
DSemaStmtAsm.cpp143 unsigned NumInputs, IdentifierInfo **Names, in ActOnGCCAsmStmt() argument
162 Context, AsmLoc, IsSimple, IsVolatile, NumOutputs, NumInputs, Names, in ActOnGCCAsmStmt()
246 for (unsigned i = NumOutputs, e = NumOutputs + NumInputs; i != e; i++) { in ActOnGCCAsmStmt()
349 NumInputs, Names, Constraints, Exprs.data(), in ActOnGCCAsmStmt()
726 unsigned NumOutputs, unsigned NumInputs, in ActOnMSAsmStmt() argument
731 bool IsSimple = (NumOutputs != 0 || NumInputs != 0); in ActOnMSAsmStmt()
735 /*IsVolatile*/ true, AsmToks, NumOutputs, NumInputs, in ActOnMSAsmStmt()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallVector.h388 size_type NumInputs = std::distance(in_start, in_end); in append() local
389 if (NumInputs > this->capacity() - this->size()) in append()
390 this->grow(this->size()+NumInputs); in append()
393 this->set_size(this->size() + NumInputs); in append()
397 void append(size_type NumInputs, const T &Elt) { in append() argument
398 if (NumInputs > this->capacity() - this->size()) in append()
399 this->grow(this->size()+NumInputs); in append()
401 std::uninitialized_fill_n(this->end(), NumInputs, Elt); in append()
402 this->set_size(this->size() + NumInputs); in append()
DSmallString.h78 void append(size_t NumInputs, char Elt) { in append() argument
79 SmallVectorImpl<char>::append(NumInputs, Elt); in append()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dkernel_and_device_test.cc113 .NumInputs(2) in BM_KernelAndDeviceInit()
134 .NumInputs(inputs.size()) in BM_KernelAndDeviceRun()

123456789