My Project
Namespaces | Functions
CommonFolders.h File Reference
#include "mlir/IR/Attributes.h"
#include "mlir/IR/StandardTypes.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/STLExtras.h"
Include dependency graph for CommonFolders.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlir
 

Functions

template<class AttrElementT , class ElementValueT = typename AttrElementT::ValueType, class CalculationT = function_ref<ElementValueT(ElementValueT, ElementValueT)>>
Attribute mlir::constFoldBinaryOp (ArrayRef< Attribute > operands, const CalculationT &calculate)