Home
last modified time | relevance | path

Searched refs:ControlType (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_executor.cc106 addTypes<ControlType, TokenType>(); in TensorFlowExecutorDialect()
113 if (data_type == "control") return ControlType::get(getContext()); in parseType()
122 if (type.isa<ControlType>()) { in printType()
144 if (op->getOperand(operand_idx).getType().isa<ControlType>()) { in VerifyControlOperandsAfterAllData()
196 if (operand.getType().isa<ControlType>()) { in Verify()
242 if (type.isa<ControlType>()) break; in ParseGraphOp()
303 Type control_type = ControlType::get(island.getContext()); in Verify()
343 Type control_type = ControlType::get(parser.getBuilder().getContext()); in ParseIslandOp()
422 Type control_type = ControlType::get(parser.getBuilder().getContext()); in ParseSwitchOp()
483 if (output_type.isa<ControlType>()) break; in Verify()
[all …]
Dtf_executor.h50 class ControlType : public Type::TypeBase<ControlType, Type, TypeStorage> {
Dtf_executor_ops.td50 def TfeControlType : Type<CPred<"$_self.isa<ControlType>()">, "control">,
51 BuildableType<"$_builder.getType<ControlType>()">;
467 Type control_type = ControlType::get($_builder.getContext());
628 Type control_type = ControlType::get($_builder.getContext());
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_device_propagation.cc95 if (result.getType().isa<tf_executor::ControlType>()) break; in PopulateDeviceForOpResults()
119 if (operand.getType().isa<tf_executor::ControlType>()) break; in FindDeviceFromOperands()
215 if (operand.get().getType().isa<tf_executor::ControlType>()) break; in PropagateDevicesToResults()
Dexecutor_island_coarsening.cc184 result_types.push_back(ControlType::get(parent.getContext())); in CreateNewIsland()
294 if (value.getType().isa<ControlType>()) { in InsertDummyIslandForFetch()
303 /*control=*/ControlType::get(fetch.getContext()), in InsertDummyIslandForFetch()
Dreplicate_to_island.cc148 auto control_type = tf_executor::ControlType::get(island_op.getContext()); in ExpandReplicateIntoReplicas()
270 tf_executor::ControlType::get(island_op.getContext()), island_operands); in CreateIslandsFromReplicate()
Dexecutor_tpuv1_island_coarsening.cc210 /*control=*/ControlType::get(island.getContext()), in MergeIsland()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dexport_graphdef.cc301 if (input_result.getType().isa<mlir::tf_executor::ControlType>()) { in AddEdgeBetweenNodes()
325 if (operand.getType().isa<mlir::tf_executor::ControlType>()) break; in AddEdge()
419 if (operand_and_idx.value().getType().isa<mlir::tf_executor::ControlType>()) in AddFetchNode()
440 if (fetch_operand.getType().isa<mlir::tf_executor::ControlType>()) { in GetControlRetNodes()
562 if (!type.isa<mlir::TensorType, mlir::tf_executor::ControlType, in Convert()
Dtf_functional_to_executor.cc78 tf_executor::ControlType::get(&getContext()), ArrayRef<Value>()); in runOnFunction()
Dbreakup-islands.cc151 const tf_executor::ControlType& control_type, in CreateIsland()
225 auto control_type = tf_executor::ControlType::get(&getContext()); in BreakUpIsland()
Dimport_model.cc1731 types.push_back(mlir::tf_executor::ControlType::get(builder_.getContext())); in CreateOperation()
/external/skqp/samplecode/
DSampleAAGeometry.cpp659 enum ControlType { enum in MyClick
688 MyClick(Sample* target, ClickType type, ControlType control) in MyClick()
699 , fControl((ControlType) index) in MyClick()
707 , fControl((ControlType) index) in MyClick()
733 MyClick::ControlType fControlType;
743 MyClick::ControlType fButtonType;
746 static void enable_verb_button(MyClick::ControlType type) { in enable_verb_button()
748 MyClick::ControlType testType = kButtonList[index].fButtonType; in enable_verb_button()
924 void set_controlList(int index, UniControl* control, MyClick::ControlType type) { in set_controlList()
947 void set_buttonList(int index, Button* button, MyClick::ControlType type) { in set_buttonList()