Home
last modified time | relevance | path

Searched refs:getOperandTypes (Results 1 – 25 of 55) sorted by relevance

123

/llvm-project-15.0.7/mlir/lib/Conversion/OpenMPToLLVM/
H A DOpenMPToLLVM.cpp104 typeConverter.isLegal(op->getOperandTypes()) && in configureOpenMPToLLVMConversionLegality()
111 return typeConverter.isLegal(op->getOperandTypes()) && in configureOpenMPToLLVMConversionLegality()
115 return typeConverter.isLegal(op->getOperandTypes()); in configureOpenMPToLLVMConversionLegality()
/llvm-project-15.0.7/mlir/lib/IR/
H A DOperation.cpp739 for (auto opType : op->getOperandTypes()) { in verifyOperandsAreSignlessIntegerLike()
748 for (auto opType : op->getOperandTypes()) { in verifyOperandsAreFloatLike()
763 for (auto opType : llvm::drop_begin(op->getOperandTypes(), 1)) in verifySameTypeOperands()
826 if (failed(verifyCompatibleShapes(op->getOperandTypes()))) in verifySameOperandsShape()
837 SmallVector<Type, 8> types(op->getOperandTypes()); in verifySameOperandsAndResultShape()
898 for (auto opType : op->getOperandTypes()) { in verifySameOperandsAndResultType()
1051 llvm::make_filter_range(op->getOperandTypes(), isMappableType)); in verifyElementwise()
1164 auto operandTypes = op->getOperandTypes(); in verifyCastInterfaceOp()
H A DBuiltinDialect.cpp162 inputOp.getOperandTypes() != results.getTypes()) in fold()
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/
H A DSparseTensorPasses.cpp109 return converter.isLegal(op.getOperandTypes()); in runOnOperation()
112 return converter.isLegal(op.getOperandTypes()); in runOnOperation()
/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DShapeInferencePass.cpp96 return llvm::all_of(op->getOperandTypes(), [](Type operandType) { in allOperandsInferred()
H A DDialect.cpp130 if (llvm::all_of(op->getOperandTypes(), in printBinaryOp()
137 printer.printFunctionalType(op->getOperandTypes(), op->getResultTypes()); in printBinaryOp()
H A DLowerToAffineLoops.cpp343 return llvm::none_of(op->getOperandTypes(), in runOnOperation()
/llvm-project-15.0.7/mlir/examples/toy/Ch6/mlir/
H A DShapeInferencePass.cpp96 return llvm::all_of(op->getOperandTypes(), [](Type operandType) { in allOperandsInferred()
H A DDialect.cpp143 if (llvm::all_of(op->getOperandTypes(), in printBinaryOp()
150 printer.printFunctionalType(op->getOperandTypes(), op->getResultTypes()); in printBinaryOp()
/llvm-project-15.0.7/mlir/examples/toy/Ch4/mlir/
H A DShapeInferencePass.cpp96 return llvm::all_of(op->getOperandTypes(), [](Type operandType) { in allOperandsInferred()
H A DDialect.cpp143 if (llvm::all_of(op->getOperandTypes(), in printBinaryOp()
150 printer.printFunctionalType(op->getOperandTypes(), op->getResultTypes()); in printBinaryOp()
/llvm-project-15.0.7/mlir/examples/toy/Ch5/mlir/
H A DShapeInferencePass.cpp96 return llvm::all_of(op->getOperandTypes(), [](Type operandType) { in allOperandsInferred()
H A DDialect.cpp143 if (llvm::all_of(op->getOperandTypes(), in printBinaryOp()
150 printer.printFunctionalType(op->getOperandTypes(), op->getResultTypes()); in printBinaryOp()
/llvm-project-15.0.7/mlir/lib/Dialect/
H A DTraits.cpp234 hasTensorOrVectorType(op->getOperandTypes()); in verifyCompatibleOperandBroadcast()
243 op->getOperandTypes(), [](Type t) { return t.isa<RankedTensorType>(); }); in verifyCompatibleOperandBroadcast()
/llvm-project-15.0.7/mlir/examples/toy/Ch3/mlir/
H A DDialect.cpp81 if (llvm::all_of(op->getOperandTypes(), in printBinaryOp()
88 printer.printFunctionalType(op->getOperandTypes(), op->getResultTypes()); in printBinaryOp()
/llvm-project-15.0.7/mlir/examples/toy/Ch2/mlir/
H A DDialect.cpp81 if (llvm::all_of(op->getOperandTypes(), in printBinaryOp()
88 printer.printFunctionalType(op->getOperandTypes(), op->getResultTypes()); in printBinaryOp()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Func/
H A DTestDecomposeCallGraphTypes.cpp48 return typeConverter.isLegal(op.getOperandTypes()); in runOnOperation()
/llvm-project-15.0.7/mlir/lib/Dialect/Quant/IR/
H A DQuantOps.cpp76 for (auto input : llvm::zip(getOperandTypes(), getInputSpecs())) { in verify()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DElementwiseToLinalg.cpp26 return llvm::all_of(op->getOperandTypes(), in isElementwiseMappableOpOnRankedTensors()
/llvm-project-15.0.7/mlir/lib/Conversion/LinalgToStandard/
H A DLinalgToStandard.cpp30 for (auto type : op->getOperandTypes()) { in extractOperandTypes()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUToVulkan/
H A DConvertGPULaunchFuncToVulkanLaunchFunc.cpp106 SmallVector<Type, 8> gpuLaunchTypes(launchOp.getOperandTypes()); in declareVulkanLaunchFunc()
/llvm-project-15.0.7/mlir/lib/Conversion/ComplexToLibm/
H A DComplexToLibm.cpp83 rewriter.getContext(), op->getOperandTypes(), op->getResultTypes()); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/
H A DStructuralTypeConversions.cpp191 return typeConverter.isLegal(op.getOperandTypes()); in populateSCFStructuralTypeConversionsAndLegality()
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugFrame.cpp422 OperandType Type = CFIP.getOperandTypes()[Opcode][OperandIdx]; in getOperandAsUnsigned()
467 OperandType Type = CFIP.getOperandTypes()[Opcode][OperandIdx]; in getOperandAsSigned()
794 CFIProgram::getOperandTypes() { in getOperandTypes() function in CFIProgram
861 OperandType Type = getOperandTypes()[Opcode][OperandIdx]; in printOperand()
/llvm-project-15.0.7/mlir/lib/Conversion/MathToLibm/
H A DMathToLibm.cpp128 rewriter.getContext(), op->getOperandTypes(), op->getResultTypes()); in matchAndRewrite()

123