From 10806b5b69818d3dcfbb9f339feaece52f9add13 Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Tue, 29 Aug 2023 09:44:35 -0500 Subject: [PATCH] [NFC] remove dead code --- include/circt/Dialect/HW/HWStructure.td | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/include/circt/Dialect/HW/HWStructure.td b/include/circt/Dialect/HW/HWStructure.td index 70a0f475ea..b75cd43d7b 100644 --- a/include/circt/Dialect/HW/HWStructure.td +++ b/include/circt/Dialect/HW/HWStructure.td @@ -254,13 +254,6 @@ def HWModuleOp : HWModuleOpBase<"module", } void getAsmBlockArgumentNames(mlir::Region ®ion, mlir::OpAsmSetValueNameFn setNameFn); - - /// Returns the argument types of this function. - ArrayRef getArgumentTypes() { return getFunctionType().getInputs(); } - - /// Returns the result types of this function. - ArrayRef getResultTypes() { return getFunctionType().getResults(); } - /// Verify the type attribute of this function. Returns failure and emits /// an error if the attribute is invalid. LogicalResult verifyType() { @@ -349,12 +342,6 @@ def HWModuleExternOp : HWModuleOpBase<"module.extern"> { void getAsmBlockArgumentNames(mlir::Region ®ion, mlir::OpAsmSetValueNameFn setNameFn); - /// Returns the argument types of this function. - ArrayRef getArgumentTypes() { return getFunctionType().getInputs(); } - - /// Returns the result types of this function. - ArrayRef getResultTypes() { return getFunctionType().getResults(); } - /// Verify the type attribute of this function. Returns failure and emits /// an error if the attribute is invalid. LogicalResult verifyType() { @@ -458,12 +445,6 @@ def HWModuleGeneratedOp : HWModuleOpBase<"module.generated", [ void getAsmBlockArgumentNames(mlir::Region ®ion, mlir::OpAsmSetValueNameFn setNameFn); - /// Returns the argument types of this function. - ArrayRef getArgumentTypes() { return getFunctionType().getInputs(); } - - /// Returns the result types of this function. - ArrayRef getResultTypes() { return getFunctionType().getResults(); } - /// Verify the type attribute of this function. Returns failure and emits /// an error if the attribute is invalid. LogicalResult verifyType() {