| /llvm-project-15.0.7/mlir/lib/Conversion/GPUCommon/ |
| H A D | OpToFuncCallLowering.h | 89 SmallVector<Type> operandTypes(operands.getTypes()); in getFunctionType() 90 return LLVM::LLVMFunctionType::get(resultType, operandTypes); in getFunctionType()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/OpenACC/IR/ |
| H A D | OpenACC.cpp | 237 SmallVector<Type, 8> operandTypes; in parse() local 520 SmallVector<Type, 8> operandTypes; in parse() local 568 operandTypes, result))) in parse() 573 privateOperands, operandTypes, result))) in parse() 578 reductionOperands, operandTypes, result))) in parse()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/ |
| H A D | NVVMDialect.cpp | 281 SmallVector<Type, 3> operandTypes; in parse() local 286 if (failed(parser.parseTypeList(operandTypes))) in parse() 289 if (operandTypes.size() != 3) in parse() 293 Twine(operandTypes.size()) + " types"); in parse() 294 for (const auto &iter : llvm::enumerate(operandTypes)) { in parse()
|
| H A D | LLVMDialect.cpp | 353 SmallVector<Type> operandTypes; in parseSwitchOpCases() local 359 parser.parseColonTypeList(operandTypes) || parser.parseRParen()) in parseSwitchOpCases() 364 caseOperandTypes.emplace_back(operandTypes); in parseSwitchOpCases()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Operation.cpp | 1164 auto operandTypes = op->getOperandTypes(); in verifyCastInterfaceOp() local 1165 if (!areCastCompatible(operandTypes, resultTypes)) { in verifyCastInterfaceOp() 1167 if (llvm::empty(operandTypes)) in verifyCastInterfaceOp() 1169 else if (llvm::size(operandTypes) == 1) in verifyCastInterfaceOp() 1170 diag << " " << *operandTypes.begin(); in verifyCastInterfaceOp() 1172 diag << "s " << operandTypes; in verifyCastInterfaceOp()
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/ |
| H A D | LLVMToLLVMIRTranslation.cpp | 306 SmallVector<Type, 8> operandTypes; in convertOperationImpl() local 307 llvm::append_range(operandTypes, inlineAsmOp.getOperands().getTypes()); in convertOperationImpl() 316 auto ft = LLVM::LLVMFunctionType::get(resultType, operandTypes); in convertOperationImpl()
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll/CodeGen/MLIR/ |
| H A D | decl.pdll | 47 erase op<>(operands: ValueRange<operandTypes: TypeRange>) -> (results: TypeRange);
|
| /llvm-project-15.0.7/mlir/lib/Dialect/ControlFlow/IR/ |
| H A D | ControlFlowOps.cpp | 522 SmallVector<Type> operandTypes; in parseSwitchOpCases() local 529 failed(parser.parseColonTypeList(operandTypes)) || in parseSwitchOpCases() 535 caseOperandTypes.emplace_back(operandTypes); in parseSwitchOpCases()
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | OpFormatGen.cpp | 299 operandTypes.resize(op.getNumOperands(), TypeResolution()); in OperationFormat() 358 std::vector<TypeResolution> operandTypes, resultTypes; member 1345 llvm::concat<TypeResolution>(resultTypes, operandTypes)) { in genParserTypeResolution() 1472 emitTypeResolver(operandTypes[i], op.getOperand(i).name); in genParserOperandTypeResolution() 1477 emitTypeResolver(operandTypes.front(), op.getOperand(0).name); in genParserOperandTypeResolution() 1492 TypeResolution &operandType = operandTypes[i]; in genParserOperandTypeResolution() 2498 fmt.operandTypes[i].setResolver(resolver.resolver, resolver.transformer); in verifyOperands() 2515 fmt.operandTypes[i].setBuilderIdx(it.first->second); in verifyOperands()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Test/ |
| H A D | TestDialect.cpp | 1418 SmallVector<Type, 2> operandTypes; in parse() local 1427 parser.parseColonTypeList(operandTypes) || in parse() 1437 return parser.resolveOperands(operandInfos, operandTypes, in parse()
|
| H A D | TestOps.td | 2380 ::mlir::TypeRange operandTypes = operands.getTypes(); 2381 inferredReturnTypes.assign(operandTypes.begin(), operandTypes.end());
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | Parser.cpp | 1310 ArrayRef<Type> operandTypes = parsedFnType->getInputs(); in parseGenericOperationAfterOpName() local 1311 if (operandTypes.size() != parsedOperandUseInfo->size()) { in parseGenericOperationAfterOpName() 1315 << " but had " << operandTypes.size(); in parseGenericOperationAfterOpName() 1321 resolveSSAUse((*parsedOperandUseInfo)[i], operandTypes[i])); in parseGenericOperationAfterOpName()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVOps.cpp | 784 SmallVector<Type, 2> operandTypes; in parseAtomicUpdateOp() local 785 operandTypes.push_back(ptrType); in parseAtomicUpdateOp() 787 operandTypes.push_back(ptrType.getPointeeType()); in parseAtomicUpdateOp() 788 if (parser.resolveOperands(operandInfo, operandTypes, parser.getNameLoc(), in parseAtomicUpdateOp() 2879 SmallVector<Type, 2> operandTypes(2, structType.getElementType(0)); in parse() local 2880 if (parser.resolveOperands(operands, operandTypes, loc, state.operands)) in parse()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Shape/IR/ |
| H A D | Shape.cpp | 65 static bool isErrorPropagationPossible(TypeRange operandTypes) { in isErrorPropagationPossible() argument 66 return llvm::any_of(operandTypes, [](Type ty) { in isErrorPropagationPossible()
|