clang 24.0.0git
CIRPasses.cpp File Reference
#include "mlir/IR/BuiltinOps.h"
#include "mlir/Pass/PassManager.h"
#include "clang/AST/ASTContext.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/CIR/Dialect/Passes.h"
#include "llvm/Support/TimeProfiler.h"
#include "llvm/TargetParser/Triple.h"

Go to the source code of this file.

Namespaces

namespace  cir
namespace  mlir

Functions

static CallConvTarget cir::getCallConvTarget (const llvm::Triple &triple)
 Map a target triple to the ABI target that drives CallConvLowering.
mlir::LogicalResult cir::runCIRToCIRPasses (mlir::ModuleOp theModule, mlir::MLIRContext &mlirCtx, clang::ASTContext &astCtx, bool enableVerifier, bool enableIdiomRecognizer, bool enableCIRSimplify, bool enableLibOpt, llvm::StringRef libOptOptions, bool enableCallConvLowering)
void mlir::populateCIRPreLoweringPasses (OpPassManager &pm)