/external/swiftshader/third_party/subzero/pydir/ |
D | gen_test_arith_ll.py | 1 def mangle(op, op_type, signed): argument 18 return '_Z' + str(len(base)) + base + suffixMap[op_type][signed] 49 for op_type in ['i1', 'i8', 'i16', 'i32']: 50 arith('i32', op_type, op) 51 for op_type in ['i64', '<4 x i32>', '<8 x i16>', '<16 x i8>']: 52 arith(op_type, op_type, op) 55 for op_type in ['float', 'double', '<4 x float>']: 56 arith(op_type, op_type, op)
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/vectorization/ |
D | vectorizer_registry.h | 35 Vectorizer* Get(const string& op_type); 38 void Register(const string& op_type, std::unique_ptr<Vectorizer> vectorizer); 48 VectorizerRegistration(const string& op_type, in VectorizerRegistration() argument 50 VectorizerRegistry::Global()->Register(op_type, std::move(vectorizer)); in VectorizerRegistration() 56 #define REGISTER_VECTORIZER(op_type, vectorizer) \ argument 57 REGISTER_VECTORIZER_UNIQ_HELPER(__COUNTER__, op_type, vectorizer) 59 #define REGISTER_VECTORIZER_UNIQ_HELPER(ctr, op_type, vectorizer) \ argument 60 REGISTER_VECTORIZER_UNIQ(ctr, op_type, vectorizer) 62 #define REGISTER_VECTORIZER_UNIQ(ctr, op_type, vectorizer) \ argument 65 op_type, ::std::unique_ptr<::tensorflow::grappler::Vectorizer>( \
|
D | vectorizer_registry.cc | 28 Vectorizer* VectorizerRegistry::Get(const string& op_type) { in Get() argument 29 auto found = vectorizers_.find(op_type); in Get() 36 void VectorizerRegistry::Register(const string& op_type, in Register() argument 38 auto existing = Get(op_type); in Register() 40 << "Vectorizer for op type: " << op_type << " already registered"; in Register() 42 op_type, std::move(vectorizer))); in Register()
|
/external/v8/src/interpreter/ |
D | bytecode-decoder.cc | 139 OperandType op_type = Bytecodes::GetOperandType(bytecode, i); in Decode() local 144 switch (op_type) { in Decode() 148 << DecodeUnsignedOperand(operand_start, op_type, operand_scale) in Decode() 153 DecodeUnsignedOperand(operand_start, op_type, operand_scale)); in Decode() 158 auto id = DecodeUnsignedOperand(operand_start, op_type, operand_scale); in Decode() 164 operand_start, op_type, operand_scale)) in Decode() 168 os << "[" << DecodeSignedOperand(operand_start, op_type, operand_scale) in Decode() 173 << DecodeUnsignedOperand(operand_start, op_type, operand_scale); in Decode() 178 DecodeRegisterOperand(operand_start, op_type, operand_scale); in Decode() 184 DecodeRegisterListOperand(operand_start, 3, op_type, operand_scale); in Decode() [all …]
|
/external/tensorflow/tensorflow/cc/gradients/ |
D | image_grad_test.cc | 54 void MakeOp(const OpType op_type, const Tensor& x_data, const Input& y_shape, in MakeOp() argument 58 switch (op_type) { in MakeOp() 79 void TestResizedShapeForType(const OpType op_type, const bool align_corners, in TestResizedShapeForType() argument 84 MakeOp<T>(op_type, x_data, {4, 6}, align_corners, half_pixel_centers, &x, in TestResizedShapeForType() 94 void TestResizedShape(OpType op_type) { in TestResizedShape() argument 100 TestResizedShapeForType<Eigen::half>(op_type, align_corners, in TestResizedShape() 102 TestResizedShapeForType<float>(op_type, align_corners, in TestResizedShape() 104 TestResizedShapeForType<double>(op_type, align_corners, in TestResizedShape() 111 void TestResizeToSmallerAndAlign(const OpType op_type, in TestResizeToSmallerAndAlign() argument 117 MakeOp<X_T>(op_type, x_data, {2, 3}, align_corners, half_pixel_centers, &x, in TestResizeToSmallerAndAlign() [all …]
|
/external/tensorflow/tensorflow/python/eager/ |
D | execution_callbacks.py | 59 op_type, argument 76 self._op_type = op_type 105 def op_type(self): member in InfOrNanError 125 def inf_nan_callback(op_type, argument 193 error = InfOrNanError(op_type, op_name, index, len(outputs), value) 206 def inf_callback(op_type, argument 214 op_type, 224 def nan_callback(op_type, argument 232 op_type,
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/ |
D | ld-st-addrrspace.py | 54 for op_type, volatile, space in product( 71 "type": op_type, 76 "ptx_reg": llvm_type_to_ptx_reg[op_type], 77 "ptx_type": llvm_type_to_ptx_type[op_type],
|
/external/tensorflow/tensorflow/core/framework/ |
D | memory_types.cc | 63 bool IsFunctionCallOp(const string& op_type) { in IsFunctionCallOp() argument 64 return op_type == "SymbolicGradient" || op_type == "PartitionedCall" || in IsFunctionCallOp() 65 op_type == "StatefulPartitionedCall" || op_type == "While"; in IsFunctionCallOp()
|
D | op_kernel_test.cc | 135 NodeDef CreateNodeDef(const string& op_type, const DataTypeVector& inputs) { in CreateNodeDef() argument 136 NodeDefBuilder builder(op_type + "-op", op_type); in CreateNodeDef() 156 void ExpectSuccess(const string& op_type, DeviceType device_type, in ExpectSuccess() argument 162 CreateNodeDef(op_type, inputs), TF_GRAPH_DEF_VERSION, &status)); in ExpectSuccess() 407 NodeDef CreateNodeDef(const string& op_type, in CreateNodeDef() argument 410 node_def.set_name(op_type + "-op"); in CreateNodeDef() 411 node_def.set_op(op_type); in CreateNodeDef() 423 std::unique_ptr<OpKernel> ExpectSuccess(const string& op_type, in ExpectSuccess() argument 428 NodeDef def = CreateNodeDef(op_type, attrs); 463 void ExpectFailure(const string& op_type, const DeviceType& device_type, in ExpectFailure() argument [all …]
|
/external/capstone/ |
D | cs.c | 948 int CAPSTONE_API cs_op_count(csh ud, const cs_insn *insn, unsigned int op_type) in cs_op_count() argument 980 if (insn->detail->arm.operands[i].type == (arm_op_type)op_type) in cs_op_count() 985 if (insn->detail->arm64.operands[i].type == (arm64_op_type)op_type) in cs_op_count() 990 if (insn->detail->x86.operands[i].type == (x86_op_type)op_type) in cs_op_count() 995 if (insn->detail->mips.operands[i].type == (mips_op_type)op_type) in cs_op_count() 1000 if (insn->detail->ppc.operands[i].type == (ppc_op_type)op_type) in cs_op_count() 1005 if (insn->detail->sparc.operands[i].type == (sparc_op_type)op_type) in cs_op_count() 1010 if (insn->detail->sysz.operands[i].type == (sysz_op_type)op_type) in cs_op_count() 1015 if (insn->detail->xcore.operands[i].type == (xcore_op_type)op_type) in cs_op_count() 1024 int CAPSTONE_API cs_op_index(csh ud, const cs_insn *insn, unsigned int op_type, in cs_op_index() argument [all …]
|
/external/tensorflow/tensorflow/core/kernels/hexagon/ |
D | hexagon_ops_definitions.cc | 288 const string& op_type, const DataTypeVector& dt_vec, in EmplaceOpType() argument 291 if (map->count(op_type) <= 0) { in EmplaceOpType() 292 map->emplace(op_type, std::vector<DataTypeToOp>()); in EmplaceOpType() 294 map->at(op_type).emplace_back( in EmplaceOpType() 385 int HexagonOpsDefinitions::GetOpIdFor(const string& op_type, in GetOpIdFor() argument 387 if (op_name_to_soc_op_type_map_.count(op_type) > 0) { in GetOpIdFor() 389 op_name_to_soc_op_type_map_.at(op_type); in GetOpIdFor()
|
D | hexagon_ops_definitions.h | 34 int GetOpIdFor(const string& op_type, const DataTypeVector& dt) const final; 43 const string& op_type, const DataTypeVector& dt_vec,
|
/external/tensorflow/tensorflow/python/ops/parallel_for/ |
D | pfor.py | 736 op_type = self.op_type 744 "with converted inputs\n%s" % (input_name, op_type, 751 op_type = self.op_type 759 "with converted inputs\n%s" % (input_name, op_type, 768 def op_type(self): member in _PforInput 803 def __init__(self, op_type): argument 805 self.op_type = op_type 808 name = self.op_type 827 def __init__(self, op_type, *args, **kw_args): argument 828 super(RegisterPForWithArgs, self).__init__(op_type) [all …]
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | debug_utils.py | 155 op_type = op.type 159 if op_type_pattern and not op_type_pattern.match(op_type): 248 op_type = op.type 252 if op_type_pattern and op_type_pattern.match(op_type):
|
D | profiling.py | 33 op_type): argument 54 self.op_type = op_type
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl33.c | 57 int op_type; member 139 if (test_cases[i].op_type == OP_OPEN_RDONLY) in do_test() 146 if (test_cases[i].op_type == OP_OPEN_RDONLY) { in do_test() 176 switch (test_cases[i].op_type) { in do_child()
|
/external/capstone/bindings/vb6/ |
D | vbCapstone.cpp | 81 int __stdcall bs_op_index(csh handle, const cs_insn *insn, unsigned int op_type, unsigned int posit… in bs_op_index() argument 83 return cs_op_index(handle,insn,op_type,position); in bs_op_index() 86 int __stdcall bs_op_count(csh handle, const cs_insn *insn, unsigned int op_type){ in bs_op_count() argument 88 return cs_op_count(handle,insn,op_type); in bs_op_count()
|
/external/tensorflow/tensorflow/core/util/ |
D | stat_summarizer.cc | 151 std::string op_type = "<>"; in ProcessStepStats() local 161 op_type = "gpu:" + parts[1]; in ProcessStepStats() 170 op_type = "gpu:" + parts.back(); in ProcessStepStats() 173 op_type = OpType(ds, ns); in ProcessStepStats() 204 stats_calculator_->AddNodeStats(name, op_type, node_num, start_us, in ProcessStepStats()
|
/external/tensorflow/tensorflow/python/autograph/converters/ |
D | logical_expressions.py | 76 op_type = type(operator) 77 return op_type in OP_MAPPING 80 op_type = type(operator) 81 return OP_MAPPING[op_type]
|
/external/tensorflow/tensorflow/python/framework/ |
D | ops.py | 1743 def _NodeDef(op_type, name, device=None, attrs=None): # pylint: disable=redefined-outer-name argument 1759 node_def.op = compat.as_bytes(op_type) 2647 def __init__(self, op_type): argument 2654 if not isinstance(op_type, six.string_types): 2656 self._op_type = op_type 2666 def no_gradient(op_type): argument 2694 if not isinstance(op_type, six.string_types): 2696 _gradient_registry.register(None, op_type) 2709 op_type = op.get_attr("_gradient_op_type") 2711 op_type = op.type [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | lower_while_op.cc | 270 string op_type = "Switch"; in CreateSwitchNodes() local 272 op_type = "RefSwitch"; in CreateSwitchNodes() 274 TF_RETURN_IF_ERROR(NodeBuilder(NewName(op_name), op_type, in CreateSwitchNodes() 299 string op_type = "Identity"; in CreateBodyFuncCallNode() local 301 op_type = "RefIdentity"; in CreateBodyFuncCallNode() 303 TF_RETURN_IF_ERROR(NodeBuilder(NewName("loop_body_control"), op_type, in CreateBodyFuncCallNode()
|
D | constant_folding.cc | 94 DataType op_type = n->output_type(0); in MaybeReplaceShapeOrShapeNOp() local 95 Tensor t(op_type, TensorShape({rank})); in MaybeReplaceShapeOrShapeNOp() 96 if (op_type == DT_INT64) { in MaybeReplaceShapeOrShapeNOp() 102 CHECK(op_type == DT_INT32); in MaybeReplaceShapeOrShapeNOp() 149 DataType op_type = n->output_type(0); in MaybeReplaceSizeOp() local 150 Tensor t(op_type, TensorShape({})); in MaybeReplaceSizeOp() 152 if (op_type == DT_INT64) { in MaybeReplaceSizeOp() 155 CHECK(op_type == DT_INT32); in MaybeReplaceSizeOp()
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | identify_lstm.cc | 39 OperatorType op_type, Operator** source_op) { in ValidateSourceOp() argument 40 if (op_type == OperatorType::kNone) { in ValidateSourceOp() 50 if ((*source_op)->type != op_type) { in ValidateSourceOp() 63 OperatorType op_type, Operator** connected_op) { in MatchOperatorInputs() argument 70 if (!ValidateSourceOp(model, op.inputs[0], op_type, connected_op)) { in MatchOperatorInputs()
|
/external/google-breakpad/src/third_party/libdisasm/ |
D | ia32_operand.c | 232 static size_t decode_operand_size( unsigned int op_type, x86_insn_t *insn, in decode_operand_size() argument 237 switch (op_type) { in decode_operand_size() 383 unsigned int addr_meth, op_type, op_size, gen_regs; in ia32_decode_operand() local 389 op_type = raw_flags & OPTYPE_MASK; in ia32_decode_operand() 404 op_size = decode_operand_size(op_type, insn, op); in ia32_decode_operand()
|
/external/tensorflow/tensorflow/python/debug/cli/ |
D | analyzer_cli.py | 566 op_type = self._debug_dump.node_op_type(dump.node_name) 567 if not op_type_regex.match(op_type): 573 op_type = self._debug_dump.node_op_type(dump.node_name) 579 line += op_type 635 op_type = self._debug_dump.node_op_type(dump.node_name) 636 if len(op_type) + 1 > max_op_type_width: 637 max_op_type_width = len(op_type) + 1 904 parsed.op_type, 1082 parsed.op_type, 1280 op_type, argument [all …]
|