| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | CustomIntrinsicCall.cpp | 120 std::size_t numOperands, in lowerMinOrMax() argument 122 assert(numOperands >= 2 && !isPresentCheck(0) && !isPresentCheck(1) && in lowerMinOrMax() 132 for (std::size_t opIndex = 2; opIndex < numOperands; ++opIndex) { in lowerMinOrMax() 191 std::size_t numOperands, in lowerIshftc() argument 193 assert(numOperands == 3 && !isPresentCheck(0) && !isPresentCheck(1) && in lowerIshftc() 244 const OperandGetter &getOperand, std::size_t numOperands, in lowerCustomIntrinsic() argument 248 numOperands, stmtCtx); in lowerCustomIntrinsic() 251 numOperands, stmtCtx); in lowerCustomIntrinsic()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | OperationSupport.cpp | 225 numOperands = capacity = values.size(); in OperandStorage() 226 for (unsigned i = 0; i < numOperands; ++i) in OperandStorage() 284 numOperands -= length; in eraseOperands() 287 if (start != numOperands) { in eraseOperands() 292 operands[numOperands + i].~OpOperand(); in eraseOperands() 305 numOperands = firstErasedIndice; in eraseOperands() 320 if (newSize <= numOperands) { in resize() 325 numOperands = newSize; in resize() 332 for (unsigned e = newSize; numOperands != e; ++numOperands) in resize() 333 new (&opBegin[numOperands]) OpOperand(owner); in resize() [all …]
|
| H A D | Operation.cpp | 60 unsigned numOperands = operands.size(); in create() local 692 unsigned numOperands) { in verifyNOperands() argument 693 if (op->getNumOperands() != numOperands) { in verifyNOperands() 694 return op->emitOpError() << "expected " << numOperands in verifyNOperands() 702 if (op->getNumOperands() < numOperands) in verifyAtLeastNOperands() 808 unsigned numOperands) { in verifyNResults() argument 809 if (op->getNumResults() != numOperands) in verifyNResults() 810 return op->emitOpError() << "expected " << numOperands << " results"; in verifyNResults() 815 unsigned numOperands) { in verifyAtLeastNResults() argument 816 if (op->getNumResults() < numOperands) in verifyAtLeastNResults() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Async/IR/ |
| H A D | Async.cpp | 99 int32_t numOperands = operands.size(); in build() local 102 {numDependencies, numOperands}); in build() 203 int32_t numOperands = valueArgs.size(); in parse() local 208 {numDependencies, numOperands}); in parse()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | R600AsmPrinter.cpp | 55 unsigned numOperands = MI.getNumOperands(); in EmitProgramInfoR600() local 56 for (unsigned op_idx = 0; op_idx < numOperands; op_idx++) { in EmitProgramInfoR600()
|
| /llvm-project-15.0.7/mlir/lib/Transforms/ |
| H A D | ViewOpGraph.cpp | 278 unsigned numOperands = op->getNumOperands(); in processOperation() local 279 for (unsigned i = 0; i < numOperands; i++) in processOperation() 281 /*label=*/numOperands == 1 ? "" : std::to_string(i), in processOperation()
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | LLVMIRConversionGen.cpp | 74 unsigned numOperands = op.getNumOperands(); in isVariadicOperandName() local 75 if (numOperands == 0) in isVariadicOperandName() 77 const auto &operand = op.getOperand(numOperands - 1); in isVariadicOperandName()
|
| H A D | OpDefinitionsGen.cpp | 1177 const int numOperands = op.getNumOperands(); in generateNamedOperandGetters() local 1179 const int numNormalOperands = numOperands - numVariadicOperands; in generateNamedOperandGetters() 1218 for (int i = 0; i != numOperands; ++i) { in generateNamedOperandGetters() 1654 int numOperands = op.getNumOperands(); in genInferredTypeCollectiveParamBuilder() local 1656 int numNonVariadicOperands = numOperands - numVariadicOperands; in genInferredTypeCollectiveParamBuilder() 1852 int numOperands = op.getNumOperands(); in genCollectiveParamBuilder() local 1854 int numNonVariadicOperands = numOperands - numVariadicOperands; in genCollectiveParamBuilder() 1979 for (int i = 0, e = op.getNumArgs(), numOperands = 0; i < e; ++i) { in buildParamList() local 1990 paramList.emplace_back(type, getArgumentName(op, numOperands++), in buildParamList() 2729 int numOperands = op.getNumOperands(); in genTraits() local [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/ |
| H A D | Nodes.h | 523 return {getTrailingObjects<Expr *>(), numOperands}; in getOperands() 531 return {getTrailingObjects<Expr *>() + numOperands, numResultTypes}; in getResultTypes() 547 unsigned numOperands, unsigned numResultTypes, in OperationExpr() argument 549 : Base(loc, type), nameDecl(nameDecl), numOperands(numOperands), in OperationExpr() 557 unsigned numOperands, numResultTypes, numAttributes; variable 565 return numOperands + numResultTypes; in numTrailingObjects()
|
| /llvm-project-15.0.7/mlir/lib/Target/SPIRV/Deserialization/ |
| H A D | DeserializeOps.cpp | 218 unsigned numOperands) { in processOpWithoutGrammarAttr() argument 251 for (; operandIndex < numOperands && wordIndex < words.size(); in processOpWithoutGrammarAttr() 258 if (operandIndex != numOperands) { in processOpWithoutGrammarAttr() 262 << opName << "; only " << operandIndex << " of " << numOperands in processOpWithoutGrammarAttr()
|
| H A D | Deserializer.h | 440 unsigned numOperands);
|
| /llvm-project-15.0.7/flang/include/flang/Lower/ |
| H A D | CustomIntrinsicCall.h | 94 const OperandGetter &getOperand, std::size_t numOperands,
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/ |
| H A D | AsyncToAsyncRuntime.cpp | 276 size_t numOperands = execute.operands().size(); in outlineExecuteOp() local 283 SmallVector<Value, 4> unwrappedOperands(numOperands); in outlineExecuteOp() 284 for (size_t i = 0; i < numOperands; ++i) { in outlineExecuteOp()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/GPUToNVVM/ |
| H A D | WmmaOpsToNvvm.cpp | 333 size_t numOperands = adaptor.getOperands().size(); in matchAndRewrite() local 339 for (size_t opIdx = 0; opIdx < numOperands; opIdx++) { in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/ |
| H A D | FuncBufferizableOpInterfaceImpl.cpp | 263 unsigned numOperands = callOp->getNumOperands(); in bufferize() local 277 SmallVector<Value> newOperands(numOperands, Value()); in bufferize()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/ |
| H A D | MemRefOps.cpp | 1074 unsigned numOperands = getNumOperands(); in verify() local 1078 if (numOperands < 4) in verify() 1086 if (numOperands < getSrcMemRefRank() + 4) in verify() 1098 if (numOperands < numExpectedOperands) in verify() 1114 if (numOperands < numExpectedOperands) in verify() 1124 if (numOperands != numExpectedOperands && in verify() 1125 numOperands != numExpectedOperands + 2) in verify()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | OperationSupport.h | 734 unsigned size() { return numOperands; } in size() 747 unsigned numOperands; variable
|
| H A D | OpDefinition.h | 269 LogicalResult verifyNOperands(Operation *op, unsigned numOperands); 272 LogicalResult verifyAtLeastNOperands(Operation *op, unsigned numOperands); 282 LogicalResult verifyNResults(Operation *op, unsigned numOperands); 283 LogicalResult verifyAtLeastNResults(Operation *op, unsigned numOperands);
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | X86RecognizableInstr.cpp | 432 unsigned numOperands = OperandList.size(); in emitInstructionSpecifier() local 438 assert(numOperands <= X86_MAX_OPERANDS && "X86_MAX_OPERANDS is not large enough"); in emitInstructionSpecifier() 440 for (unsigned operandIndex = 0; operandIndex < numOperands; ++operandIndex) { in emitInstructionSpecifier()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Affine/Analysis/ |
| H A D | Utils.cpp | 483 unsigned numOperands = accessValueMap.getNumOperands(); in compute() local 486 operands.resize(numOperands); in compute() 487 for (unsigned i = 0; i < numOperands; ++i) in compute()
|
| /llvm-project-15.0.7/mlir/test/CAPI/ |
| H A D | ir.c | 1709 intptr_t numOperands = mlirOperationGetNumOperands(op); in testOperands() local 1710 fprintf(stderr, "Num Operands: %" PRIdPTR "\n", numOperands); in testOperands()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Affine/IR/ |
| H A D | AffineOps.cpp | 2091 unsigned numOperands = lbMap.getNumInputs(); in matchingBoundOperandList() local 2094 if (getOperand(i) != getOperand(numOperands + i)) in matchingBoundOperandList()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Core.cpp | 1257 const unsigned numOperands = N->getNumOperands(); in LLVMGetMDNodeOperands() local 1259 for (unsigned i = 0; i < numOperands; i++) in LLVMGetMDNodeOperands()
|