/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/ |
D | DecomposeCallGraphTypes.cpp | 108 SmallVector<Value, 2> newOperands; in matchAndRewrite() local 111 operand, newOperands); in matchAndRewrite() 112 rewriter.replaceOpWithNewOp<ReturnOp>(op, newOperands); in matchAndRewrite() 135 SmallVector<Value, 2> newOperands; in matchAndRewrite() local 138 operand, newOperands); in matchAndRewrite() 156 newResultTypes, newOperands); in matchAndRewrite()
|
D | FuncConversions.cpp | 65 SmallVector<Value, 4> newOperands(op->operand_begin(), op->operand_end()); in matchAndRewrite() local 74 newOperands[idx] = operands[idx]; in matchAndRewrite() 78 op, [newOperands, op]() { op->setOperands(newOperands); }); in matchAndRewrite()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | strength_reduction_pass.cpp | 98 std::vector<Operand> newOperands; in ReplaceMultiplyByPowerOf2() local 99 newOperands.push_back((*inst)->GetInOperand(1 - i)); in ReplaceMultiplyByPowerOf2() 102 newOperands.push_back(shiftOperand); in ReplaceMultiplyByPowerOf2() 105 (*inst)->type_id(), newResultId, newOperands)); in ReplaceMultiplyByPowerOf2()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | strength_reduction_pass.cpp | 98 std::vector<Operand> newOperands; in ReplaceMultiplyByPowerOf2() local 99 newOperands.push_back((*inst)->GetInOperand(1 - i)); in ReplaceMultiplyByPowerOf2() 102 newOperands.push_back(shiftOperand); in ReplaceMultiplyByPowerOf2() 105 (*inst)->type_id(), newResultId, newOperands)); in ReplaceMultiplyByPowerOf2()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | strength_reduction_pass.cpp | 98 std::vector<Operand> newOperands; in ReplaceMultiplyByPowerOf2() local 99 newOperands.push_back((*inst)->GetInOperand(1 - i)); in ReplaceMultiplyByPowerOf2() 102 newOperands.push_back(shiftOperand); in ReplaceMultiplyByPowerOf2() 105 (*inst)->type_id(), newResultId, newOperands)); in ReplaceMultiplyByPowerOf2()
|
/external/llvm-project/mlir/lib/Transforms/ |
D | BufferResultsToOutParams.cpp | 108 auto newOperands = llvm::to_vector<6>(op.getOperands()); in updateCalls() local 109 newOperands.append(outParams.begin(), outParams.end()); in updateCalls() 113 newResultTypes, newOperands); in updateCalls()
|
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | Utils.cpp | 378 SmallVector<Value, 4> newOperands(opInst->getOperands()); in createAffineComputationSlice() local 379 for (unsigned i = 0, e = newOperands.size(); i < e; i++) { in createAffineComputationSlice() 383 if (newOperands[i] == subOperands[j]) in createAffineComputationSlice() 387 newOperands[i] = (*sliceOps)[j]; in createAffineComputationSlice() 390 for (unsigned idx = 0, e = newOperands.size(); idx < e; idx++) { in createAffineComputationSlice() 391 opInst->setOperand(idx, newOperands[idx]); in createAffineComputationSlice()
|
/external/llvm-project/mlir/lib/IR/ |
D | OperationSupport.cpp | 215 void OperationState::addOperands(ValueRange newOperands) { in addOperands() argument 216 operands.append(newOperands.begin(), newOperands.end()); in addOperands() 356 MutableArrayRef<OpOperand> newOperands = newStorage->getOperands(); in resize() local 359 newOperands.begin()); in resize() 367 new (&newOperands[numOperands]) OpOperand(owner); in resize() 376 return newOperands; in resize()
|
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
D | Bufferize.cpp | 158 SmallVector<Value, 8> newOperands = inputs; in finalizeBufferAllocation() local 159 newOperands.append(outputs.begin(), outputs.end()); in finalizeBufferAllocation() 161 newOperands.append(otherOperands.begin(), otherOperands.end()); in finalizeBufferAllocation() 164 newOperands)); in finalizeBufferAllocation()
|
/external/llvm-project/mlir/lib/Dialect/Linalg/IR/ |
D | LinalgOps.cpp | 1692 SmallVector<Value, 4> newOperands; in matchAndRewrite() local 1693 newOperands.reserve(op->getNumOperands()); in matchAndRewrite() 1697 newOperands.push_back( in matchAndRewrite() 1701 newOperands.append(linalgOp.getOutputBuffers().begin(), in matchAndRewrite() 1707 newOperands.push_back(fold ? tensorCastOp.getOperand() : v); in matchAndRewrite() 1708 newResultTypes.push_back(newOperands.back().getType()); in matchAndRewrite() 1711 newOperands.append(extraOperands.begin(), extraOperands.end()); in matchAndRewrite() 1714 linalgOp.clone(rewriter, op->getLoc(), newResultTypes, newOperands); in matchAndRewrite() 1764 SmallVector<Value, 6> newOperands; in matchAndRewrite() local 1767 newOperands.push_back(v.value()); in matchAndRewrite() [all …]
|
/external/llvm-project/mlir/lib/Dialect/Affine/IR/ |
D | AffineOps.cpp | 1667 SmallVector<Value, 4> newOperands(lbOperands.begin(), lbOperands.end()); in setLowerBound() local 1670 newOperands.append(ubOperands.begin(), ubOperands.end()); in setLowerBound() 1672 newOperands.append(iterOperands.begin(), iterOperands.end()); in setLowerBound() 1673 (*this)->setOperands(newOperands); in setLowerBound() 1682 SmallVector<Value, 4> newOperands(getLowerBoundOperands()); in setUpperBound() local 1683 newOperands.append(ubOperands.begin(), ubOperands.end()); in setUpperBound() 1685 newOperands.append(iterOperands.begin(), iterOperands.end()); in setUpperBound() 1686 (*this)->setOperands(newOperands); in setUpperBound() 2627 SmallVector<Value, 4> newOperands(lbOperands); in setLowerBounds() local 2628 newOperands.append(ubOperands.begin(), ubOperands.end()); in setLowerBounds() [all …]
|
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/ |
D | Ops.cpp | 318 SmallVector<Value, 4> newOperands; in matchAndRewrite() local 335 newOperands.push_back(alloc.getOperand(dynamicDimPos)); in matchAndRewrite() 343 assert(static_cast<int64_t>(newOperands.size()) == in matchAndRewrite() 348 newOperands, IntegerAttr()); in matchAndRewrite() 1817 SmallVector<Value, 4> newOperands; in matchAndRewrite() local 1829 newOperands.push_back(*operandsIt++); in matchAndRewrite() 1836 if (newOperands.size() == tensorFromElements.dynamicExtents().size()) in matchAndRewrite() 1842 newOperands); in matchAndRewrite() 4256 SmallVector<Value, 4> newOperands; in matchAndRewrite() local 4280 newOperands.push_back(viewOp.sizes()[dynamicDimPos]); in matchAndRewrite() [all …]
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | OperationSupport.h | 411 void addOperands(ValueRange newOperands);
|
/external/llvm-project/mlir/docs/ |
D | OpDefinitions.md | 1062 void process(AddOp op, ArrayRef<Value> newOperands) { 1064 zip(Adaptor<AddOp>(newOperands));
|