MLIR  19.0.0git
Classes | Namespaces | Macros | Typedefs | Functions | Variables
LLVMDialect.h File Reference
#include "mlir/Bytecode/BytecodeOpInterface.h"
#include "mlir/Dialect/LLVMIR/LLVMAttrs.h"
#include "mlir/Dialect/LLVMIR/LLVMInterfaces.h"
#include "mlir/Dialect/LLVMIR/LLVMTypes.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/Dialect.h"
#include "mlir/IR/OpDefinition.h"
#include "mlir/IR/OpImplementation.h"
#include "mlir/IR/TypeSupport.h"
#include "mlir/IR/Types.h"
#include "mlir/Interfaces/CallInterfaces.h"
#include "mlir/Interfaces/ControlFlowInterfaces.h"
#include "mlir/Interfaces/FunctionInterfaces.h"
#include "mlir/Interfaces/InferTypeOpInterface.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
#include "mlir/Support/ThreadLocalCache.h"
#include "llvm/ADT/PointerEmbeddedInt.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Type.h"
#include "mlir/Dialect/LLVMIR/LLVMOps.h.inc"
#include "mlir/Dialect/LLVMIR/LLVMIntrinsicOps.h.inc"
#include "mlir/Dialect/LLVMIR/LLVMOpsDialect.h.inc"

Go to the source code of this file.

Classes

class  mlir::LLVM::GEPArg
 Class used for building a 'llvm.getelementptr'. More...
 
class  mlir::LLVM::GEPIndicesAdaptor< DynamicRange >
 Class used for convenient access and iteration over GEP indices. More...
 
class  mlir::LLVM::GEPIndicesAdaptor< DynamicRange >::iterator
 
struct  llvm::CastInfo< To, mlir::LLVM::GEPArg >
 
struct  llvm::CastInfo< To, const mlir::LLVM::GEPArg >
 

Namespaces

 llvm
 Include the generated interface declarations.
 
 llvm::sys
 
 mlir
 Include the generated interface declarations.
 
 mlir::LLVM
 
 mlir::LLVM::detail
 

Macros

#define GET_OP_CLASSES
 
#define GET_OP_CLASSES
 

Typedefs

using mlir::LLVM::GEPConstantIndex = llvm::PointerEmbeddedInt< int32_t, kGEPConstantBitWidth >
 Wrapper around a int32_t for use in a PointerUnion. More...
 

Functions

Value mlir::LLVM::createGlobalString (Location loc, OpBuilder &builder, StringRef name, StringRef value, Linkage linkage)
 Create an LLVM global containing the string "value" at the module containing surrounding the insertion point of builder. More...
 
bool mlir::LLVM::satisfiesLLVMModule (Operation *op)
 LLVM requires some operations to be inside of a Module operation. More...
 
template<typename IntT = int64_t>
SmallVector< IntT > mlir::LLVM::convertArrayToIndices (ArrayRef< Attribute > attrs)
 Convert an array of integer attributes to a vector of integers that can be used as indices in LLVM operations. More...
 
template<typename IntT = int64_t>
SmallVector< IntT > mlir::LLVM::convertArrayToIndices (ArrayAttr attrs)
 Convert an ArrayAttr of integer attributes to a vector of integers that can be used as indices in LLVM operations. More...
 

Variables

constexpr int mlir::LLVM::kGEPConstantBitWidth = 29
 Bit-width of a 'GEPConstantIndex' within GEPArg. More...
 

Macro Definition Documentation

◆ GET_OP_CLASSES [1/2]

#define GET_OP_CLASSES

Definition at line 92 of file LLVMDialect.h.

◆ GET_OP_CLASSES [2/2]

#define GET_OP_CLASSES

Definition at line 92 of file LLVMDialect.h.