Home
last modified time | relevance | path

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

/external/llvm/utils/TableGen/
DX86RecognizableInstr.cpp477 void RecognizableInstr::handleOperand(bool optional, unsigned &operandIndex, in handleOperand() argument
491 while (operandMapping[operandIndex] != operandIndex) { in handleOperand()
492 Spec->operands[operandIndex].encoding = ENCODING_DUP; in handleOperand()
493 Spec->operands[operandIndex].type = in handleOperand()
494 (OperandType)(TYPE_DUP0 + operandMapping[operandIndex]); in handleOperand()
495 ++operandIndex; in handleOperand()
498 const std::string &typeName = (*Operands)[operandIndex].Rec->getName(); in handleOperand()
503 Spec->operands[operandIndex].encoding = encoding; in handleOperand()
504 Spec->operands[operandIndex].type = typeFromString(typeName, in handleOperand()
507 ++operandIndex; in handleOperand()
[all …]
DX86RecognizableInstr.h177 unsigned &operandIndex,
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/Dialect/gml_st/IR/
Dgml_st_legacy_ops.td186 auto operandIndex = operand.getOperandNumber();
188 operandIndex >= getNumControlOperands() &&
189 operandIndex < getNumOperands() &&
191 return getBody()->getArgument(operandIndex - 2 * getNumLoops());
200 int operandIndex = opOperand.getOperandNumber();
204 if (operandIndex < outputIndexStart || operandIndex >= outputIndexEnd)
209 for (int i = outputIndexStart; i <= operandIndex; ++i)
256 int operandIndex = operand.getOperandNumber();
257 assert(operandIndex >= numControlOperands &&
258 operandIndex < static_cast<int>(getNumOperands()) &&
[all …]
/external/armnn/shim/sl/canonical/
DConversionUtils.cpp233 const uint32_t operandIndex = operation.inputs[inputIndex]; in ConvertToLayerInputHandle() local
237 …if (data.m_OutputSlotForOperand.size() >= operandIndex && data.m_OutputSlotForOperand[operandIndex in ConvertToLayerInputHandle()
239 operandTensorInfo = data.m_OutputSlotForOperand[operandIndex]->GetTensorInfo(); in ConvertToLayerInputHandle()
277 const uint32_t operandIndex = operation.inputs[inputIndex]; in ConvertToLayerInputHandle() local
278 … return LayerInputHandle(true, data.m_OutputSlotForOperand[operandIndex], operandTensorInfo); in ConvertToLayerInputHandle()
734 size_t operandIndex, in DequantizeAndMakeConstTensorPin() argument
737 DequantizeResult dequantized = DequantizeIfRequired(operandIndex,operation, model, data); in DequantizeAndMakeConstTensorPin()
750 operation, operandIndex, model, data, g_DontPermute, nullptr, optional); in DequantizeAndMakeConstTensorPin()
1016 const uint32_t operandIndex = operation.outputs[operationOutputIndex]; in SetupAndTrackLayerOutputSlot() local
1030 data.m_OutputSlotForOperand[operandIndex] = &activationOutputSlot; in SetupAndTrackLayerOutputSlot()
[all …]
DConversionUtils.hpp1024 size_t operandIndex,
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/lhlo/transforms/
Dlhlo_legalize_to_affine.cc357 SmallVector<Value, 4> operandIndex; in matchAndRewrite() local
365 operandIndex.push_back(forOp.getInductionVar()); in matchAndRewrite()
368 operandIndex.push_back(oIn[i]); in matchAndRewrite()
398 Value loadValue = rewriter.create<AffineLoadOp>(loc, operand, operandIndex); in matchAndRewrite()
407 loc, arith::CmpIPredicate::eq, addStartIndexOffset, operandIndex[i]); in matchAndRewrite()
/external/armnn/delegate/classic/src/
DClassicDelegateUtils.hpp467 bool IsOptionalOperandPresent(TfLiteNode* tfLiteNode, const int operandIndex) in IsOptionalOperandPresent() argument
471 if (tfLiteNode->inputs->size > operandIndex && tfLiteNode->inputs->data[operandIndex] >= 0) in IsOptionalOperandPresent()
/external/armnn/delegate/opaque/src/
DOpaqueDelegateUtils.hpp550 bool IsOptionalOperandPresent(TfLiteOpaqueNode* tfLiteNode, const int operandIndex) in IsOptionalOperandPresent() argument
566 if (numInputs > operandIndex && inputIndexArray[operandIndex] >= 0) in IsOptionalOperandPresent()
/external/android-nn-driver/
DConversionUtils.hpp1266 const uint32_t operandIndex = operation.inputs[inputIndex]; in ConvertToLayerInputHandle() local
1267 … return LayerInputHandle(true, data.m_OutputSlotForOperand[operandIndex], operandTensorInfo); in ConvertToLayerInputHandle()
1356 const uint32_t operandIndex = operation.inputs[inputIndex]; in ConvertToLayerInputHandle() local
1360 …if (data.m_OutputSlotForOperand.size() >= operandIndex && data.m_OutputSlotForOperand[operandIndex in ConvertToLayerInputHandle()
1362 operandTensorInfo = data.m_OutputSlotForOperand[operandIndex]->GetTensorInfo(); in ConvertToLayerInputHandle()
1400 const uint32_t operandIndex = operation.inputs[inputIndex]; in ConvertToLayerInputHandle() local
1401 … return LayerInputHandle(true, data.m_OutputSlotForOperand[operandIndex], operandTensorInfo); in ConvertToLayerInputHandle()
1516 const uint32_t operandIndex = operation.outputs[operationOutputIndex]; in SetupAndTrackLayerOutputSlot() local
1530 data.m_OutputSlotForOperand[operandIndex] = &activationOutputSlot; in SetupAndTrackLayerOutputSlot()
1534 data.m_OutputSlotForOperand[operandIndex] = &outputSlot; in SetupAndTrackLayerOutputSlot()
[all …]
DConversionUtils_1_2.hpp129 const uint32_t operandIndex = operation.outputs[operationOutputIndex]; in SetupAndTrackLayerOutputSlotAndOverrideTensorInfo() local
130 data.m_OutputSlotForOperand[operandIndex] = &outputSlot; in SetupAndTrackLayerOutputSlotAndOverrideTensorInfo()
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Transforms/
Dsymbolic_shape_optimization.cc52 size_t operandIndex; member
118 Value operand = shapes[symResultDim->operandIndex]; in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/gml_st/IR/
Dgml_st_ops.cc1191 for (size_t operandIndex = op.getNumControlOperands(), in fold() local
1193 operandIndex < e; ++operandIndex, ++bbArgIndex) { in fold()
1194 OpOperand &operand = op->getOpOperand(operandIndex); in fold()