diff options
Diffstat (limited to 'utils/bazel/llvm-project-overlay')
7 files changed, 119 insertions, 1 deletions
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel index 5d87e32..599bc4b 100644 --- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel @@ -3092,8 +3092,12 @@ libc_support_library( libc_support_library( name = "__support_sincosf_utils", - hdrs = ["src/__support/math/sincosf_utils.h"], + hdrs = [ + "src/__support/math/sincosf_float_eval.h", + "src/__support/math/sincosf_utils.h", + ], deps = [ + ":__support_fputil_double_double", ":__support_fputil_fp_bits", ":__support_fputil_polyeval", ":__support_range_reduction", diff --git a/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel index b442731..522a2bd 100644 --- a/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/test/UnitTest/BUILD.bazel @@ -110,6 +110,7 @@ libc_test_library( "//libc:__support_fputil_rounding_mode", "//libc:__support_libc_errno", "//libc:__support_macros_config", + "//libc:__support_macros_optimization", "//libc:__support_macros_properties_architectures", "//libc:hdr_fenv_macros", "//libc:hdr_math_macros", diff --git a/utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl b/utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl index d2297d5..4b8a346 100644 --- a/utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl +++ b/utils/bazel/llvm-project-overlay/libc/test/src/math/libc_math_test_rules.bzl @@ -35,6 +35,7 @@ def math_test(name, hdrs = [], deps = [], **kwargs): "//libc:__support_fputil_manipulation_functions", "//libc:__support_fputil_nearest_integer_operations", "//libc:__support_fputil_normal_float", + "//libc:__support_macros_optimization", "//libc:__support_macros_properties_architectures", "//libc:__support_macros_properties_os", "//libc:__support_macros_properties_types", diff --git a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel index b415a36..63d4aea 100644 --- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel @@ -5697,10 +5697,17 @@ cc_binary( copts = llvm_copts, stamp = 0, deps = [ + ":AllTargetsAsmParsers", + ":AllTargetsCodeGens", + ":AllTargetsMCAs", ":Analysis", + ":CodeGen", ":Core", ":IRReader", + ":MC", ":Support", + ":Target", + ":TargetParser", ":config", ], ) diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel index b5f14ff..d528dae 100644 --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -9397,6 +9397,7 @@ cc_library( ":MemRefTransforms", ":NVGPUTransforms", ":OpenACCTransforms", + ":OpenMPTransforms", ":QuantTransforms", ":SCFTransforms", ":SPIRVTransforms", @@ -10162,6 +10163,42 @@ gentbl_cc_library( ) cc_library( + name = "OpenACCAnalysis", + srcs = glob( + [ + "lib/Dialect/OpenACC/Analysis/*.cpp", + ], + ), + hdrs = glob(["include/mlir/Dialect/OpenACC/Analysis/*.h"]), + includes = ["include"], + deps = [ + ":IR", + ":OpenACCDialect", + ":OpenACCUtils", + ":Pass", + ], +) + +cc_library( + name = "OpenACCUtils", + srcs = glob( + [ + "lib/Dialect/OpenACC/Utils/*.cpp", + ], + ), + includes = ["include"], + deps = [ + ":OpenACCDialect", + ":OpenACCOpsIncGen", + ":OpenACCPassIncGen", + ":OpenACCTypeInterfacesIncGen", + ":Support", + ":ViewLikeInterface", + "//llvm:Support", + ], +) + +cc_library( name = "OpenACCTransforms", srcs = glob( [ @@ -10314,6 +10351,40 @@ cc_library( ], ) +gentbl_cc_library( + name = "OpenMPPassIncGen", + tbl_outs = {"include/mlir/Dialect/OpenMP/Transforms/Passes.h.inc": [ + "-gen-pass-decls", + "-name=OpenMP", + ]}, + tblgen = ":mlir-tblgen", + td_file = "include/mlir/Dialect/OpenMP/Transforms/Passes.td", + deps = [":PassBaseTdFiles"], +) + +cc_library( + name = "OpenMPTransforms", + srcs = glob( + [ + "lib/Dialect/OpenMP/Transforms/*.cpp", + ], + ), + hdrs = glob(["include/mlir/Dialect/OpenMP/Transforms/*.h"]), + includes = ["include"], + deps = [ + ":Analysis", + ":FuncDialect", + ":IR", + ":LLVMDialect", + ":OpenMPDialect", + ":OpenMPPassIncGen", + ":Pass", + ":Support", + ":Transforms", + "//llvm:Support", + ], +) + cc_library( name = "OpenACCToSCF", srcs = glob([ diff --git a/utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel index 0a84bd2..be18ba5b 100644 --- a/utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel @@ -1010,6 +1010,39 @@ filegroup( ) ##---------------------------------------------------------------------------## +# Shard dialect. +##---------------------------------------------------------------------------## + +gentbl_filegroup( + name = "ShardOpsPyGen", + tbl_outs = { + "mlir/dialects/_shard_enum_gen.py": [ + "-gen-python-enum-bindings", + "-bind-dialect=shard", + ], + "mlir/dialects/_shard_ops_gen.py": [ + "-gen-python-op-bindings", + "-bind-dialect=shard", + ], + }, + tblgen = "//mlir:mlir-tblgen", + td_file = "mlir/dialects/ShardOps.td", + deps = [ + "//mlir:OpBaseTdFiles", + "//mlir:ShapeOpsTdFiles", + "//mlir:ShardTdFiles", + ], +) + +filegroup( + name = "ShardOpsPyFiles", + srcs = [ + "mlir/dialects/shard.py", + ":ShardOpsPyGen", + ], +) + +##---------------------------------------------------------------------------## # Shape dialect. ##---------------------------------------------------------------------------## diff --git a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel index 56e4e70..778f0be 100644 --- a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel @@ -963,6 +963,7 @@ cc_library( "//mlir:FuncDialect", "//mlir:IR", "//mlir:MemRefDialect", + "//mlir:OpenACCAnalysis", "//mlir:OpenACCDialect", "//mlir:Pass", "//mlir:Support", |