Home
last modified time | relevance | path

Searched refs:SwitchOp (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dcontrol_flow_ops.h39 class SwitchOp : public OpKernel {
41 explicit SwitchOp(OpKernelConstruction* context) : OpKernel(context) {} in SwitchOp() function
44 ~SwitchOp() override {} in ~SwitchOp()
46 TF_DISALLOW_COPY_AND_ASSIGN(SwitchOp);
Dcontrol_flow_ops.cc26 void SwitchOp::Compute(OpKernelContext* context) { in Compute()
56 Name("Switch").Device(DEVICE_DEFAULT).HostMemory("pred"), SwitchOp);
58 Name("Switch").Device(DEVICE_TPU_SYSTEM).HostMemory("pred"), SwitchOp);
69 SwitchOp) \
81 SwitchOp)
88 SwitchOp) \
100 SwitchOp)
131 SwitchOp) \
148 SwitchOp)
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_device_propagation.cc80 tf_executor::SwitchOp>(op); in IsSupportedExecutorOp()
116 const bool is_switch = llvm::isa<tf_executor::SwitchOp>(op); in FindDeviceFromOperands()
Dshape_inference.cc119 tf_executor::SwitchOp, tf_executor::YieldOp>(op); in IsSupportedNonTFOp()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dtf_to_tfl_flatbuffer.cc53 return mlir::isa<mlir::tf_executor::SwitchOp, mlir::tf_executor::MergeOp, in IsControlFlowV1Op()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_executor.cc438 void Print(SwitchOp switch_op, OpAsmPrinter &p) { in Print()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp1964 SDValue SwitchOp = getValue(JTH.SValue); in visitJumpTableHeader() local
1965 EVT VT = SwitchOp.getValueType(); in visitJumpTableHeader()
1966 SDValue Sub = DAG.getNode(ISD::SUB, dl, VT, SwitchOp, in visitJumpTableHeader()
1975 SwitchOp = DAG.getZExtOrTrunc(Sub, dl, TLI.getPointerTy(DAG.getDataLayout())); in visitJumpTableHeader()
1980 JumpTableReg, SwitchOp); in visitJumpTableHeader()
2140 SDValue SwitchOp = getValue(B.SValue); in visitBitTestHeader() local
2141 EVT VT = SwitchOp.getValueType(); in visitBitTestHeader()
2142 SDValue Sub = DAG.getNode(ISD::SUB, dl, VT, SwitchOp, in visitBitTestHeader()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp2455 SDValue SwitchOp = getValue(JTH.SValue); in visitJumpTableHeader() local
2456 EVT VT = SwitchOp.getValueType(); in visitJumpTableHeader()
2457 SDValue Sub = DAG.getNode(ISD::SUB, dl, VT, SwitchOp, in visitJumpTableHeader()
2466 SwitchOp = DAG.getZExtOrTrunc(Sub, dl, TLI.getPointerTy(DAG.getDataLayout())); in visitJumpTableHeader()
2471 JumpTableReg, SwitchOp); in visitJumpTableHeader()
2654 SDValue SwitchOp = getValue(B.SValue); in visitBitTestHeader() local
2655 EVT VT = SwitchOp.getValueType(); in visitBitTestHeader()
2657 DAG.getNode(ISD::SUB, dl, VT, SwitchOp, DAG.getConstant(B.First, dl, VT)); in visitBitTestHeader()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp2428 SDValue SwitchOp = getValue(JTH.SValue); in visitJumpTableHeader() local
2429 EVT VT = SwitchOp.getValueType(); in visitJumpTableHeader()
2430 SDValue Sub = DAG.getNode(ISD::SUB, dl, VT, SwitchOp, in visitJumpTableHeader()
2439 SwitchOp = DAG.getZExtOrTrunc(Sub, dl, TLI.getPointerTy(DAG.getDataLayout())); in visitJumpTableHeader()
2444 JumpTableReg, SwitchOp); in visitJumpTableHeader()
2628 SDValue SwitchOp = getValue(B.SValue); in visitBitTestHeader() local
2629 EVT VT = SwitchOp.getValueType(); in visitBitTestHeader()
2631 DAG.getNode(ISD::SUB, dl, VT, SwitchOp, DAG.getConstant(B.First, dl, VT)); in visitBitTestHeader()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc1744 return builder_.create<mlir::tf_executor::SwitchOp>(loc, types, operands, in CreateOperation()