logger.debug("-- Got " + instrPrototypes.size() + " simplification groups.");
Map<RTLExpression, RTLExpression> wholeMapping = new LinkedHashMap<RTLExpression, RTLExpression>();
for (Map.Entry<String, SSLFunction> entry : instrPrototypes.entrySet()) {
Map<RTLExpression, RTLExpression> mapping = prep.convertSimplificationTemplates(entry.getValue().getAST());
wholeMapping.putAll(mapping);
}
patterns = wholeMapping.keySet().toArray(new RTLExpression[0]);
results = wholeMapping.values().toArray(new RTLExpression[0]);