clang 24.0.0git
LowerToLLVM.h File Reference
#include "mlir/Dialect/LLVMIR/LLVMAttrs.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Transforms/DialectConversion.h"
#include "clang/CIR/Dialect/IR/CIRDialect.h"
#include "clang/CIR/Interfaces/CIROpInterfaces.h"
#include "clang/CIR/Dialect/IR/CIRLowering.inc"

Go to the source code of this file.

Classes

struct  cir::direct::LLVMBlockAddressInfo

Namespaces

namespace  cir
namespace  cir::direct

Macros

#define GET_LLVM_LOWERING_PATTERNS

Functions

mlir::Value cir::direct::lowerCirAttrAsValue (mlir::Operation *parentOp, const mlir::Attribute attr, mlir::ConversionPatternRewriter &rewriter, mlir::SymbolTableCollection &symbolTables, const mlir::TypeConverter *converter, LLVMBlockAddressInfo *blockInfoAddr)
 Switches on the type of attribute and calls the appropriate conversion.
mlir::LLVM::Linkage cir::direct::convertLinkage (cir::GlobalLinkageKind linkage)
void cir::direct::convertSideEffectForCall (mlir::Operation *callOp, bool isNothrow, cir::SideEffect sideEffect, mlir::LLVM::MemoryEffectsAttr &memoryEffect, bool &noUnwind, bool &willReturn, bool &noReturn)
mlir::LogicalResult cir::direct::lowerToConstrainedFPIntrinsic (mlir::Operation *op, mlir::ValueRange operands, cir::FenvAttr fenv, mlir::Type llvmResTy, mlir::ConversionPatternRewriter &rewriter, llvm::StringRef constrainedMnemonic, bool hasRoundingMode, mlir::LLVM::FastmathFlags fastmathFlags)
template<typename LLVMOp>
mlir::LogicalResult cir::direct::lowerConstrainableFPOp (mlir::Operation *op, mlir::ValueRange operands, cir::FenvAttr fenv, const mlir::TypeConverter &typeConverter, mlir::ConversionPatternRewriter &rewriter, llvm::StringRef constrainedMnemonic, bool hasRoundingMode)

Macro Definition Documentation

◆ GET_LLVM_LOWERING_PATTERNS

#define GET_LLVM_LOWERING_PATTERNS

Definition at line 98 of file LowerToLLVM.h.