MLIR
20.0.0git
|
#include "mlir/Transforms/Passes.h"
#include "mlir/Analysis/CallGraph.h"
#include "mlir/Pass/PassManager.h"
#include "mlir/Transforms/Inliner.h"
#include "mlir/Transforms/Passes.h.inc"
Go to the source code of this file.
Namespaces | |
mlir | |
Include the generated interface declarations. | |
Macros | |
#define | GEN_PASS_DEF_INLINER |
#define | DEBUG_TYPE "inliner-pass" |
Functions | |
static void | defaultInlinerOptPipeline (OpPassManager &pm) |
This function implements the inliner optimization pipeline. More... | |
static bool | isProfitableToInline (const Inliner::ResolvedCall &resolvedCall, unsigned inliningThreshold) |
#define DEBUG_TYPE "inliner-pass" |
Definition at line 27 of file InlinerPass.cpp.
#define GEN_PASS_DEF_INLINER |
Definition at line 23 of file InlinerPass.cpp.
|
static |
This function implements the inliner optimization pipeline.
Definition at line 32 of file InlinerPass.cpp.
References mlir::OpPassManager::addPass(), and mlir::createCanonicalizerPass().
Referenced by mlir::createInlinerPass().
|
static |
Definition at line 96 of file InlinerPass.cpp.
References mlir::CallGraphNode::getCallableRegion(), mlir::Inliner::ResolvedCall::sourceNode, and mlir::Inliner::ResolvedCall::targetNode.