MLIR 22.0.0git
EmitC.h File Reference
#include "mlir/Bytecode/BytecodeOpInterface.h"
#include "mlir/Dialect/EmitC/IR/EmitCInterfaces.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/BuiltinTypes.h"
#include "mlir/IR/Dialect.h"
#include "mlir/Interfaces/CastInterfaces.h"
#include "mlir/Interfaces/ControlFlowInterfaces.h"
#include "mlir/Interfaces/FunctionInterfaces.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
#include "mlir/Dialect/EmitC/IR/EmitCDialect.h.inc"
#include "mlir/Dialect/EmitC/IR/EmitCEnums.h.inc"
#include <variant>
#include "mlir/Dialect/EmitC/IR/EmitCAttributes.h.inc"
#include "mlir/Dialect/EmitC/IR/EmitCTypes.h.inc"
#include "mlir/Dialect/EmitC/IR/EmitC.h.inc"

Go to the source code of this file.

Classes

struct  mlir::emitc::Placeholder

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::emitc

Macros

#define GET_ATTRDEF_CLASSES
#define GET_TYPEDEF_CLASSES
#define GET_OP_CLASSES

Typedefs

using mlir::emitc::ReplacementItem = std::variant<StringRef, Placeholder>

Functions

void mlir::emitc::buildTerminatedBody (OpBuilder &builder, Location loc)
 Default callback for builders of ops carrying a region.
bool mlir::emitc::isSupportedEmitCType (mlir::Type type)
 Determines whether type is valid in EmitC.
bool mlir::emitc::isSupportedIntegerType (mlir::Type type)
 Determines whether type is a valid integer type in EmitC.
bool mlir::emitc::isIntegerIndexOrOpaqueType (Type type)
 Determines whether type is integer like, i.e.
bool mlir::emitc::isSupportedFloatType (mlir::Type type)
 Determines whether type is a valid floating-point type in EmitC.
bool mlir::emitc::isPointerWideType (mlir::Type type)
 Determines whether type is a emitc.size_t/ssize_t type.
bool mlir::emitc::isFundamentalType (mlir::Type type)
 Determines whether type is a valid fundamental C++ type in EmitC.

Macro Definition Documentation

◆ GET_ATTRDEF_CLASSES

#define GET_ATTRDEF_CLASSES

Definition at line 62 of file EmitC.h.

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 68 of file EmitC.h.

◆ GET_TYPEDEF_CLASSES

#define GET_TYPEDEF_CLASSES

Definition at line 65 of file EmitC.h.