MLIR
17.0.0git
|
#include "mlir/IR/OperationSupport.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/OpDefinition.h"
#include "llvm/ADT/BitVector.h"
#include "llvm/Support/SHA1.h"
#include <numeric>
#include <optional>
Go to the source code of this file.
Functions | |
static bool | isRegionEquivalentTo (Region *lhs, Region *rhs, function_ref< LogicalResult(Value, Value)> checkEquivalent, function_ref< void(Value, Value)> markEquivalent, OperationEquivalence::Flags flags) |
template<typename T > | |
static void | addDataToHash (llvm::SHA1 &hasher, const T &data) |
|
static |
Definition at line 813 of file OperationSupport.cpp.
Referenced by mlir::OperationFingerPrint::OperationFingerPrint().
|
static |
Definition at line 654 of file OperationSupport.cpp.
References mlir::Block::getArguments(), mlir::Value::getLoc(), mlir::Block::getNumArguments(), mlir::Operation::getSuccessors(), mlir::Value::getType(), mlir::OperationEquivalence::IgnoreLocations, and mlir::OperationEquivalence::isEquivalentTo().
Referenced by mlir::OperationEquivalence::isEquivalentTo().