#include "RemovalUtils.h"
#include "Interfaces/AutoDiffOpInterface.h"
#include "Interfaces/AutoDiffTypeInterface.h"
#include "Interfaces/GradientUtilsReverse.h"
#include "Utils.h"
#include "mlir/Analysis/TopologicalSortUtils.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Transforms/RegionUtils.h"
#include <cassert>
#include <deque>
#include "mlir/Dialect/SCF/IR/SCF.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/PointerIntPair.h"
#include "llvm/ADT/SetVector.h"
Go to the source code of this file.
|
| static llvm::cl::opt< bool > | DebugGraphviz ("mincut-print-graphviz", llvm::cl::init(false), llvm::cl::Hidden, llvm::cl::desc("Use with DEBUG_TYPE 'enzyme-mincut' to print " "the mincut graphs in GraphViz")) |
| |
| static LogicalResult | loopInvariantCacheImpl (CacheInfo info, LoopLikeOpInterface fwdLoop, LoopLikeOpInterface revLoop, IRMapping &mapping, int64_t threshold) |
| |
◆ DEBUG_TYPE
| #define DEBUG_TYPE "enzyme-mincut" |
◆ DebugGraphviz()
| static llvm::cl::opt< bool > DebugGraphviz |
( |
"mincut-print-graphviz" | , |
|
|
llvm::cl::init(false) | , |
|
|
llvm::cl::Hidden | , |
|
|
llvm::cl::desc("Use with DEBUG_TYPE 'enzyme-mincut' to print " "the mincut graphs in GraphViz") | ) |
|
static |
◆ loopInvariantCacheImpl()
| static LogicalResult loopInvariantCacheImpl |
( |
CacheInfo | info, |
|
|
LoopLikeOpInterface | fwdLoop, |
|
|
LoopLikeOpInterface | revLoop, |
|
|
IRMapping & | mapping, |
|
|
int64_t | threshold ) |
|
static |