From 49198a9e8c4c455be66cfc1fafc00bfdca780d99 Mon Sep 17 00:00:00 2001 From: Simon Camphausen Date: Mon, 12 Aug 2024 16:43:50 +0200 Subject: [PATCH] [EmitC] Remove unsused code from builders (#18191) This is a leftover from the refactorings in #16728 and #16730. Signed-off-by: Simon Camphausen --- .../VM/Conversion/VMToEmitC/EmitCBuilders.h | 36 ------------------- 1 file changed, 36 deletions(-) diff --git a/compiler/src/iree/compiler/Dialect/VM/Conversion/VMToEmitC/EmitCBuilders.h b/compiler/src/iree/compiler/Dialect/VM/Conversion/VMToEmitC/EmitCBuilders.h index 3f5899e92d4a..8979fff50aa6 100644 --- a/compiler/src/iree/compiler/Dialect/VM/Conversion/VMToEmitC/EmitCBuilders.h +++ b/compiler/src/iree/compiler/Dialect/VM/Conversion/VMToEmitC/EmitCBuilders.h @@ -45,42 +45,6 @@ enum PreprocessorDirective { PRAGMA }; -enum UnaryOperator { - // arithmetic - PLUS = 0, - MINUS, - BITWISE_NOT, - // logical - LOGICAL_NOT, -}; - -enum BinaryOperator { - // arithmetic - ADDITION = 0, - SUBTRACTION, - PRODUCT, - DIVISION, - REMAINDER, - BITWISE_AND, - BITWISE_OR, - BITWISE_XOR, - BITWISE_LEFT_SHIFT, - BITWISE_RIGHT_SHIFT, - // logical - LOGICAL_AND, - LOGICAL_OR, - // comparison - EQUAL_TO, - NOT_EQUAL_TO, - LESS_THAN, - GREATER_THAN, - LESS_THAN_OR_EQUAL, - GREATER_THAN_OR_EQUAL, -}; - -Value unaryOperator(OpBuilder builder, Location location, UnaryOperator op, - Value operand, Type resultType); - Value allocateVariable(OpBuilder builder, Location location, Type type, Attribute initializer);