Home
last modified time | relevance | path

Searched refs:getOperandNumber (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dcollection_ops_util.cc180 body.getArgument(use.getOperandNumber()), module, infer_from_op); in GetElementTypeFromAccess()
187 then_branch.getArgument(use.getOperandNumber() - 1), module, in GetElementTypeFromAccess()
191 else_branch.getArgument(use.getOperandNumber() - 1), module, in GetElementTypeFromAccess()
197 callee.getArgument(use.getOperandNumber()), module, infer_from_op); in GetElementTypeFromAccess()
201 use.getOwner()->getResult(use.getOperandNumber()), module, in GetElementTypeFromAccess()
Dconstant_op_device_assignment.cc70 user_op->setOperand(use.getOperandNumber(), new_op->getResult(0)); in runOnOperation()
Dtpu_device_propagation.cc219 operand.getOperandNumber(), kFuncDeviceAttr); in PropagateDevicesToResults()
221 func.setResultAttr(operand.getOperandNumber(), kFuncDeviceAttr, in PropagateDevicesToResults()
Dtpu_sharding_identification_pass.cc103 func.getArgument(use.getOperandNumber())); in GetXlaShardingFromArg()
267 const int index = retval.getOperandNumber(); in IdentifyXlaShardingForComputationOutputs()
Dtpu_reorder_replicate_and_partitioned_inputs.cc85 unsigned core_id = pi_operand.getOperandNumber(); in ReorderReplicateAndPartitionedInputs()
Dtpu_cluster_formation.cc476 pi.setOperand(use.getOperandNumber(), block_arg); in ReplicateCluster()
615 << op->use_begin()->getOperandNumber() << " of " in FormClustersInFunction()
Dresource_op_lifting_cleanup.cc210 body_arg.use_begin()->getOperandNumber() == result_idx && in EliminateUnusedResultsForWhile()
Dresource_op_lifting.cc392 info.result_index = use.getOperandNumber(); in Analyze()
1131 retval_indices_to_preserve.push_back(val.getOperandNumber()); in HandlePartitionedCallOpCallee()
Dstack_ops_decomposition.cc475 << " of operand #" << operand.getOperandNumber() in HandleRegionControlFlowOps()
Dshape_inference.cc245 branch->getArgument(use.getOperandNumber()), in CanInferTensorListElementType()
254 parent->getResult(use.getOperandNumber()), initial_element_shape, in CanInferTensorListElementType()
/external/llvm-project/mlir/lib/IR/
DValue.cpp217 unsigned BlockOperand::getOperandNumber() { in getOperandNumber() function in BlockOperand
241 unsigned OpOperand::getOperandNumber() { in getOperandNumber() function in OpOperand
DBlock.cpp298 return I->getOperandNumber(); in getSuccessorIndex()
DOperationSupport.cpp410 return base->getOperandNumber(); in getBeginOperandIndex()
/external/llvm-project/mlir/include/mlir/IR/
DUseDefLists.h221 unsigned getOperandNumber();
262 unsigned getOperandNumber();
/external/llvm-project/mlir/lib/Conversion/PDLToPDLInterp/
DPredicate.h194 unsigned getOperandNumber() const { return key.second; } in getOperandNumber() function
438 index.push_back(p->getOperandNumber()); in getParent()
DPDLToPDLInterp.cpp239 operandPos->getOperandNumber()); in getValueAt()
588 if (!replOpUser || use.getOperandNumber() == 0) in generateOperationResultTypeRewriter()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Ddefault_quant_params.cc65 if (biases.find(use.getOperandNumber()) != biases.end()) return true; in UsedAsBias()
Dlower_static_tensor_list.cc363 .getArgument(use.getOperandNumber()) in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_device.cc628 if (operands.size() == 1) return operands.front().getOperandNumber(); in GetReplicaOperandIndexForBlockArgument()
630 return operands[replica].getOperandNumber(); in GetReplicaOperandIndexForBlockArgument()
Dtf_executor.cc1042 use.getOwner()->eraseOperand(use.getOperandNumber()); in matchAndRewrite()
1097 use.getOwner()->eraseOperand(use.getOperandNumber()); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dbuffer_reuse_pass.cc178 int32_t index = use.getOperandNumber(); in find_output_indices()
/external/llvm-project/mlir/lib/Dialect/PDL/IR/
DPDL.cpp227 if (!replOpUser || use.getOperandNumber() == 0) in verifyResultTypesAreInferrable()
/external/llvm-project/mlir/lib/Transforms/Utils/
DRegionUtils.cpp164 unsigned operandIndex = use.getOperandNumber(); in isUseSpeciallyKnownDead()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_driver.cc685 uses.push_back({use.getOwner(), use.getOperandNumber()}); in PreprocessConstantOps()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dmlir_hlo_to_hlo.cc1311 unsigned index = ret.getOperandNumber(); in Lower()
1812 unsigned index = ret.getOperandNumber(); in BuildHloFromMlirHlo()

12