/llvm-project/utils/bazel/llvm-project-overlay/mlir/test/ |
H A D | BUILD.bazel | 7 load("//mlir:tblgen.bzl", "gentbl_cc_library", "gentbl_sharded_ops", "td_library") 34 "@MLIR_SOURCE_DIR@": package_path("//mlir:BUILD"), 35 "@MLIR_TOOLS_DIR@": package_path("//mlir:BUILD"), 94 "//mlir:AffineAnalysis", 95 "//mlir:AffineDialect", 96 "//mlir:Analysis", 97 "//mlir:CallOpInterfaces", 98 "//mlir:ControlFlowInterfaces", 99 "//mlir:FuncDialect", 100 "//mlir [all...] |
/llvm-project/flang/include/flang/Optimizer/Builder/Runtime/ |
H A D | Reduction.h | 19 #include "mlir/Dialect/Func/IR/FuncOps.h" 31 void genAllDescriptor(fir::FirOpBuilder &builder, mlir::Location loc, 32 mlir::Value resultBox, mlir::Value maskBox, 33 mlir::Value dim); 38 void genAnyDescriptor(fir::FirOpBuilder &builder, mlir::Location loc, 39 mlir::Value resultBox, mlir::Value maskBox, 40 mlir::Value dim); 45 void genParityDescriptor(fir::FirOpBuilder &builder, mlir::Location loc, 46 mlir::Value resultBox, mlir::Value maskBox, 47 mlir::Value dim); [all …]
|
H A D | Transformational.h | 13 #include "mlir/Dialect/Func/IR/FuncOps.h" 22 void genBesselJn(fir::FirOpBuilder &builder, mlir::Location loc, 23 mlir::Value resultBox, mlir::Value n1, mlir::Value n2, 24 mlir::Value x, mlir::Value bn2, mlir::Value bn2_1); 26 void genBesselJnX0(fir::FirOpBuilder &builder, mlir::Location loc, 27 mlir::Type xTy, mlir::Value resultBox, mlir::Value n1, 28 mlir::Value n2); 30 void genBesselYn(fir::FirOpBuilder &builder, mlir::Location loc, 31 mlir::Value resultBox, mlir::Value n1, mlir::Value n2, 32 mlir::Value x, mlir::Value bn1, mlir::Value bn1_1); [all …]
|
H A D | Intrinsics.h | 9 // Builder routines for constructing the FIR dialect of MLIR. As FIR is a 10 // dialect of MLIR, it makes extensive use of MLIR interfaces and MLIR's coding 11 // style (https://mlir.llvm.org/getting_started/DeveloperGuide/) is used in this 21 namespace mlir { 25 } // namespace mlir 33 mlir::Value genAssociated(fir::FirOpBuilder &, mlir::Location, 34 mlir [all...] |
H A D | Numeric.h | 12 #include "mlir/Dialect/Func/IR/FuncOps.h" 22 mlir::Value genErfcScaled(fir::FirOpBuilder &builder, mlir::Location loc, 23 mlir::Value x); 26 mlir::Value genExponent(fir::FirOpBuilder &builder, mlir::Location loc, 27 mlir::Type resultType, mlir::Value x); 30 mlir::Value genFraction(fir::FirOpBuilder &builder, mlir::Location loc, 31 mlir::Value x); 34 mlir::Value genMod(fir::FirOpBuilder &builder, mlir::Location loc, 35 mlir::Value a, mlir::Value p); 38 mlir::Value genModulo(fir::FirOpBuilder &builder, mlir::Location loc, [all …]
|
H A D | Character.h | 12 #include "mlir/Dialect/Arith/IR/Arith.h" 13 #include "mlir/Dialect/Func/IR/FuncOps.h" 30 void genAdjustL(fir::FirOpBuilder &builder, mlir::Location loc, 31 mlir::Value resultBox, mlir::Value stringBox); 41 void genAdjustR(fir::FirOpBuilder &builder, mlir::Location loc, 42 mlir::Value resultBox, mlir::Value stringBox); 46 mlir::Value genCharCompare(fir::FirOpBuilder &builder, mlir::Location loc, 47 mlir::arith::CmpIPredicate cmp, 55 mlir::Value genCharCompare(fir::FirOpBuilder &builder, mlir::Location loc, 56 mlir::arith::CmpIPredicate cmp, mlir::Value lhsBuff, [all …]
|
/llvm-project/flang/include/flang/Optimizer/Builder/ |
H A D | IntrinsicCall.h | 20 #include "mlir/Dialect/Complex/IR/Complex.h" 21 #include "mlir/Dialect/LLVMIR/LLVMDialect.h" 22 #include "mlir/Dialect/Math/IR/Math.h" 33 /// (null mlir::Value for subroutine calls), and a boolean that indicates if 36 genIntrinsicCall(fir::FirOpBuilder &, mlir::Location, llvm::StringRef name, 37 std::optional<mlir::Type> resultType, 45 genIntrinsicCall(fir::FirOpBuilder &, mlir::Location, 47 std::optional<mlir::Type> resultType, 60 // MLIR/LLVM yet. The IEEE behaviors come with requirements regarding this 90 // LLVM/MLIR d [all...] |
H A D | FIRBuilder.h | 9 // Builder routines for constructing the FIR dialect of MLIR. As FIR is a 10 // dialect of MLIR, it makes extensive use of MLIR interfaces and MLIR's coding 11 // style (https://mlir.llvm.org/getting_started/DeveloperGuide/) is used in this 25 #include "mlir/IR/Builders.h" 26 #include "mlir/IR/BuiltinOps.h" 31 namespace mlir { 43 inline mlir::Type getIntPtrType(mlir [all...] |
/llvm-project/flang/include/flang/Optimizer/CodeGen/ |
H A D | FIROpPatterns.h | 13 #include "mlir/Conversion/LLVMCommon/Pattern.h" 14 #include "mlir/Dialect/LLVMIR/LLVMDialect.h" 22 class ConvertFIRToLLVMPattern : public mlir::ConvertToLLVMPattern { 25 mlir::MLIRContext *context, 28 mlir::PatternBenefit benefit = 1); 31 mlir::Type convertType(mlir::Type ty) const { in convertType() 37 mlir::Type convertObjectType(mlir::Type firType) const; 39 mlir [all...] |
/llvm-project/mlir/test/mlir-tblgen/ |
H A D | op-decl-and-defs.td | 1 // RUN: mlir-tblgen -gen-op-decls -I %S/../../include %s | FileCheck %s 2 // RUN: mlir-tblgen -gen-op-decls -op-include-regex="test.a_op" -I %S/../../include %s | FileCheck %s --check-prefix=REDUCE_INC 3 // RUN: mlir-tblgen -gen-op-decls -op-exclude-regex="test.a_op" -I %S/../../include %s | FileCheck %s --check-prefix=REDUCE_EXC 5 // RUN: mlir-tblgen -gen-op-defs -I %S/../../include %s | FileCheck %s --check-prefix=DEFS 7 include "mlir/IR/AttrTypeBase.td" 8 include "mlir/IR/OpBase.td" 9 include "mlir/Interfaces/InferTypeOpInterface.td" 10 include "mlir/Interfaces/SideEffectInterfaces.td" 61 // CHECK: AOpGenericAdaptorBase(::mlir::DictionaryAttr attrs = {}, const ::mlir [all...] |
/llvm-project/flang/lib/Optimizer/CodeGen/ |
H A D | FIROpPatterns.cpp | 9 // Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/ 14 #include "mlir/Dialect/OpenMP/OpenMPDialect.h" 17 static inline mlir::Type getLlvmPtrType(mlir::MLIRContext *context, in getLlvmPtrType() 19 return mlir::LLVM::LLVMPointerType::get(context, addressSpace); in getLlvmPtrType() 22 static unsigned getTypeDescFieldId(mlir::Type ty) { in getTypeDescFieldId() 23 auto isArray = mlir::isa<fir::SequenceType>(fir::dyn_cast_ptrOrBoxEleTy(ty)); in getTypeDescFieldId() 30 llvm::StringRef rootOpName, mlir::MLIRContext *context, in ConvertFIRToLLVMPattern() 32 const fir::FIRToLLVMPassOptions &options, mlir::PatternBenefit benefit) in ConvertFIRToLLVMPattern() 38 mlir [all...] |
H A D | CodeGen.cpp | 9 // Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/ 31 #include "mlir/Conversion/ArithCommon/AttrToLLVMConverter.h" 32 #include "mlir/Conversion/ArithToLLVM/ArithToLLVM.h" 33 #include "mlir/Conversion/ComplexToLLVM/ComplexToLLVM.h" 34 #include "mlir/Conversion/ComplexToStandard/ComplexToStandard.h" 35 #include "mlir/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.h" 36 #include "mlir/Conversion/FuncToLLVM/ConvertFuncToLLVM.h" 37 #include "mlir/Conversion/LLVMCommon/Pattern.h" 38 #include "mlir/Conversion/MathToFuncs/MathToFuncs.h" 39 #include "mlir/Conversio [all...] |
/llvm-project/utils/bazel/llvm-project-overlay/mlir/unittests/ |
H A D | BUILD.bazel | 5 load("//mlir:tblgen.bzl", "gentbl_cc_library") 23 "//mlir:Debug", 24 "//mlir:IR", 25 "//mlir:Support", 40 "//mlir:BytecodeReader", 41 "//mlir:CallOpInterfaces", 42 "//mlir:FunctionInterfaces", 43 "//mlir:IR", 44 "//mlir:Parser", 45 "//mlir [all...] |
/llvm-project/mlir/include/mlir/Conversion/ |
H A D | Passes.h | 12 #include "mlir/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.h" 13 #include "mlir/Conversion/AffineToStandard/AffineToStandard.h" 14 #include "mlir/Conversion/ArithToAMDGPU/ArithToAMDGPU.h" 15 #include "mlir/Conversion/ArithToArmSME/ArithToArmSME.h" 16 #include "mlir/Conversion/ArithToEmitC/ArithToEmitCPass.h" 17 #include "mlir/Conversion/ArithToLLVM/ArithToLLVM.h" 18 #include "mlir/Conversion/ArithToSPIRV/ArithToSPIRV.h" 19 #include "mlir/Conversion/ArmNeon2dToIntr/ArmNeon2dToIntr.h" 20 #include "mlir/Conversion/ArmSMEToLLVM/ArmSMEToLLVM.h" 21 #include "mlir/Conversio [all...] |
/llvm-project/cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/ |
H A D | mlir-support.gdb | 4 # RUN: -ex 'source -v %s' %llvm_tools_dir/check-gdb-mlir-support \ 7 # REQUIRES: mlir 27 # CHECK: typeID = mlir::TypeID::get<mlir::IndexType>() 31 # CHECK: typeID = mlir::TypeID::get<mlir::IntegerType>() 32 # CHECK: members of mlir::detail::IntegerTypeStorage 36 # CHECK: typeID = mlir::TypeID::get<mlir::Float32Type>() 40 # CHECK: typeID = mlir::TypeID::get<mlir::MemRefType>() 41 # CHECK: members of mlir::detail::MemRefTypeStorage 45 # CHECK: typeID = mlir::TypeID::get<mlir::UnrankedMemRefType>() 46 # CHECK: members of mlir::detail::UnrankedMemRefTypeStorage [all …]
|
H A D | mlir-support.cpp | 1 #include "mlir/IR/BuiltinAttributes.h" 2 #include "mlir/IR/BuiltinTypes.h" 3 #include "mlir/IR/Location.h" 4 #include "mlir/IR/MLIRContext.h" 5 #include "mlir/IR/OperationSupport.h" 7 mlir::MLIRContext Context; 9 auto Identifier = mlir::StringAttr::get(&Context, "foo"); 10 mlir::OperationName OperationName("FooOp", &Context); 12 mlir::Type Type(nullptr); 13 mlir::Type IndexType = mlir::IndexType::get(&Context); [all …]
|
/llvm-project/mlir/tools/mlir-opt/ |
H A D | mlir-opt.cpp | 1 //===- mlir-opt.cpp - MLIR Optimizer Driver -------------------------------===// 9 // Main entry function for mlir-opt for when built as standalone binary. 13 #include "mlir/Config/mlir-config.h" 14 #include "mlir/IR/AsmState.h" 15 #include "mlir/IR/Dialect.h" 16 #include "mlir/IR/MLIRContext.h" 17 #include "mlir/InitAllDialects.h" 18 #include "mlir/InitAllExtension 34 namespace mlir { global() namespace [all...] |
/llvm-project/flang/lib/Optimizer/Transforms/ |
H A D | SimplifyIntrinsics.cpp | 38 #include "mlir/Dialect/LLVMIR/LLVMDialect.h" 39 #include "mlir/IR/Matchers.h" 40 #include "mlir/IR/Operation.h" 41 #include "mlir/Pass/Pass.h" 42 #include "mlir/Transforms/DialectConversion.h" 43 #include "mlir/Transforms/GreedyPatternRewriteDriver.h" 44 #include "mlir/Transforms/RegionUtils.h" 48 #include <mlir/Dialect/Arith/IR/Arith.h> 49 #include <mlir/IR/BuiltinTypes.h> 50 #include <mlir/I [all...] |
/llvm-project/utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch7/ |
H A D | BUILD.bazel | 2 # MLIR Tutorial 4 load("//mlir:tblgen.bzl", "gentbl_cc_library", "td_library") 18 "//mlir:CallInterfacesTdFiles", 19 "//mlir:CastInterfacesTdFiles", 20 "//mlir:FunctionInterfacesTdFiles", 21 "//mlir:OpBaseTdFiles", 22 "//mlir:SideEffectInterfacesTdFiles", 38 tblgen = "//mlir:mlir-tblgen", 63 tblgen = "//mlir:mlir-tblgen", 70 strip_include_prefix = "mlir", [all …]
|
/llvm-project/utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch6/ |
H A D | BUILD.bazel | 2 # MLIR Tutorial 4 load("//mlir:tblgen.bzl", "gentbl_cc_library", "td_library") 18 "//mlir:CallInterfacesTdFiles", 19 "//mlir:CastInterfacesTdFiles", 20 "//mlir:FunctionInterfacesTdFiles", 21 "//mlir:OpBaseTdFiles", 22 "//mlir:SideEffectInterfacesTdFiles", 38 tblgen = "//mlir:mlir-tblgen", 63 tblgen = "//mlir:mlir-tblgen", 70 strip_include_prefix = "mlir", [all …]
|
/llvm-project/utils/bazel/llvm-project-overlay/mlir/python/ |
H A D | BUILD.bazel | 6 # Python bindings for MLIR. 11 load("//mlir:tblgen.bzl", "gentbl_filegroup", "td_library") 24 "mlir/dialects/_ods_common.py", 31 "mlir/execution_engine.py", 38 "mlir/_mlir_libs/_mlirExecutionEngine.pyi", 45 "mlir/ir.py", 52 "mlir/extras/*.py", 59 "mlir/_mlir_libs/_mlir/__init__.pyi", 60 "mlir/_mlir_libs/_mlir/ir.pyi", 67 "mlir/_mlir_lib [all...] |
/llvm-project/mlir/include/mlir/Dialect/OpenACC/ |
H A D | OpenACC.h | 1 //===- OpenACC.h - MLIR OpenACC Dialect -------------------------*- C++ -*-===// 3 // Part of the MLIR Project, under the Apache License v2.0 with LLVM Exceptions. 9 // This file declares the OpenACC dialect in MLIR. 16 #include "mlir/IR/BuiltinTypes.h" 17 #include "mlir/IR/Dialect.h" 18 #include "mlir/IR/OpDefinition.h" 19 #include "mlir/IR/PatternMatch.h" 20 #include "mlir/IR/SymbolTable.h" 22 #include "mlir/Bytecode/BytecodeOpInterface.h" 23 #include "mlir/Dialec [all...] |
/llvm-project/mlir/include/mlir/ |
H A D | InitAllDialects.h | 1 //===- InitAllDialects.h - MLIR Dialects Registration -----------*- C++ -*-===// 17 #include "mlir/Dialect/AMDGPU/IR/AMDGPUDialect.h" 18 #include "mlir/Dialect/AMX/AMXDialect.h" 19 #include "mlir/Dialect/Affine/IR/AffineOps.h" 20 #include "mlir/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.h" 21 #include "mlir/Dialect/Arith/IR/Arith.h" 22 #include "mlir/Dialect/Arith/IR/ValueBoundsOpInterfaceImpl.h" 23 #include "mlir/Dialect/Arith/Transforms/BufferDeallocationOpInterfaceImpl.h" 24 #include "mlir/Dialect/Arith/Transforms/BufferViewFlowOpInterfaceImpl.h" 25 #include "mlir/Dialec [all...] |
/llvm-project/flang/lib/Optimizer/Builder/ |
H A D | FIRBuilder.cpp | 25 #include "mlir/Dialect/LLVMIR/LLVMDialect.h" 26 #include "mlir/Dialect/OpenACC/OpenACC.h" 27 #include "mlir/Dialect/OpenMP/OpenMPDialect.h" 42 mlir::func::FuncOp in createFunction() 43 fir::FirOpBuilder::createFunction(mlir::Location loc, mlir::ModuleOp module, in createFunction() 44 llvm::StringRef name, mlir::FunctionType ty, in createFunction() 45 mlir::SymbolTable *symbolTable) { in createFunction() 49 mlir::func::FuncOp in getNamedFunction() 50 fir::FirOpBuilder::getNamedFunction(mlir in getNamedFunction() [all...] |
/llvm-project/utils/bazel/llvm-project-overlay/mlir/ |
H A D | BUILD.bazel | 6 # The MLIR "Multi-Level Intermediate Representation" Compiler Infrastructure 30 "utils/textmate/mlir.json", 47 out = "include/mlir/Config/mlir-config.h", 56 template = "include/mlir/Config/mlir-config.h.cmake", 62 "include/mlir/Config/mlir-config.h", 68 srcs = glob(["include/mlir-c/**/*"]), # <== i.e. match the entire tree 79 "include/mlir/I [all...] |