/llvm-project/flang/docs/ |
H A D | GettingStarted.md | 1 <!--===- docs/GettingStarted.md 5 SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 --> 12 --- 14 --- 17 ## Building flang 18 There are two ways to build flang. The first method is to build it at the same 19 time that you build all of the projects on which it depends. This is called 20 building in tree. The second method is to first do an in tree build to create 21 all of the projects on which flang depends. Then, after creating this base [all …]
|
H A D | Real16MathSupport.md | 1 <!--===- docs/Real16MathSupport.md 5 SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 --> 9 # Flang support for REAL(16) math intrinsics 11 To support most `REAL(16)` (i.e. 128-bit float) math intrinsics Flang relies 12 on third-party libraries providing the implementation. 14 `-DFLANG_RUNTIME_F128_MATH_LIB=libquadmath` CMake option can be used 15 to build `FortranFloat128Math` library that has unresolved references 16 to GCC `libquadmath` library. A Flang driver built with this option 20 can find it. The `libquadmath` library installation into Flang project [all …]
|
H A D | ReleaseNotes.md | 1 # Flang |version| (In-Progress) Release Notes 5 > These are in-progress notes for the upcoming LLVM |version| release. 11 This document contains the release notes for the Flang Fortran frontend, 13 describe the status of Flang in some detail, including major 29 ## Non-comprehensive list of changes in this release 35 ## Fortran Language Changes in Flang 37 ## Build System Changes 44 Flang's documentation is located in the `flang/docs/` directory in the 47 If you have any questions or comments about Flang, please feel free to 49 forums](https://discourse.llvm.org/c/subprojects/flang/33).
|
H A D | conf.py | 1 # -*- coding: utf-8 -*- 2 # Flang documentation build configuration file. 18 # -- General configuration ----------------------------------------------------- 39 if not tags.has("builder-man"): 50 # source_encoding = 'utf-8-sig' 56 project = "Flang" 57 copyright = "2017-%d, The Flang Team" % date.today().year 75 # non-false value, then it is used: 87 # If true, '()' will be appended to :func: etc. cross-reference text. 105 # -- Options for HTML output --------------------------------------------------- [all …]
|
H A D | FlangDriver.md | 1 <!--===- docs/FlangDriver.md 5 SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 --> 9 # Flang driver [all...] |
/llvm-project/.github/workflows/ |
H A D | docs.yml | 4 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 name: "Test documentation build" 14 - 'main' 16 - 'llvm/docs/**' 17 - 'clang/docs/**' 18 - 'clang/include/clang/Basic/AttrDocs.td' 19 - 'clan [all...] |
/llvm-project/flang/ |
H A D | CMakeLists.txt | 2 set(LLVM_SUBPROJECT_TITLE "Flang") 12 # Flang requires C++17. 18 # To match with the flang guidelines we currently disable 20 message(FATAL_ERROR "Flang does not currently support building with \ 22 flang.") 28 message(FATAL_ERROR "In-source builds are not allowed. \ 35 option(FLANG_ENABLE_WERROR "Fail and stop building flang if a warning is triggered." OFF) 42 "Specifies the target library used for implementing IEEE-754 128-bit float \ 48 # Check for a standalone build an 52 project(Flang) global() project [all...] |
H A D | .drone.star | 4 "name": "%s-clang" % arch, 10 …"apt-get update && apt-get install -y clang-8 cmake ninja-build lld-8 llvm-8-dev libc++-8-dev libc… 11 … "git clone --depth=1 -b f18 https://github.com/flang-compiler/f18-llvm-project.git llvm-project", 12 "mkdir llvm-project/build && cd llvm-project/build", 13 …-8 CXX=clang++-8 CXXFLAGS="-stdlib=libc++" LDFLAGS="-fuse-ld=lld" cmake -GNinja -DCMAKE_BUILD_TYPE… 16 "mkdir build && cd build", 17 …-8 CXX=clang++-8 CXXFLAGS="-UNDEBUG -stdlib=libc++" LDFLAGS="-fuse-ld=lld" cmake -GNinja -DCMAKE_B… 18 "ninja -j8", 19 "ctest --output-on-failure -j24", 20 "ninja check-all", [all …]
|
/llvm-project/llvm/utils/release/ |
H A D | build-docs.sh | 2 #===-- build-docs.sh - Tag the LLVM release candidates ---------------------===# 6 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 8 #===------------------------------------------------------------------------===# 10 # Build documentation for LLVM releases. 14 # * dnf install doxygen texlive-epstopdf ghostscript \ 15 # ninja-build gcc-c++ 16 # * pip install --user -r ./llvm/docs/requirements.txt 18 # * apt-get install doxygen \ 19 # ninja-build graphviz texlive-font-utils 20 # * pip install --user -r ./llvm/docs/requirements.txt [all …]
|
H A D | test-release.sh | 2 #===-- test-release.sh - Test the LLVM release candidates ------ [all...] |
/llvm-project/flang/tools/flang-driver/ |
H A D | CMakeLists.txt | 1 # Infrastructure to build flang driver entry point. Flang driver depends on 15 add_flang_tool(flang 20 target_link_libraries(flang 26 clang_target_link_libraries(flang 35 set_target_properties(flang PROPERTIES VERSION ${FLANG_EXECUTABLE_VERSION}) 38 option(FLANG_PLUGIN_SUPPORT "Build Flang with plugin support." ON) 40 # Enable support for plugins, which need access to symbols from flang [all...] |
/llvm-project/flang/cmake/modules/ |
H A D | AddFlangOffloadRuntime.cmake | 21 "BUILD_SHARED_LIBS is not supported for CUDA build of Fortran runtime" 37 -Xclang -fcuda-allow-variadic-functions 42 --expt-relaxed-constexp [all...] |
H A D | CMakeLists.txt | 8 set(FLANG_INSTALL_PACKAGE_DIR "${CMAKE_INSTALL_PACKAGEDIR}/flang" CACHE STRING 9 "Path for CMake subdirectory for Flang (defaults to '${CMAKE_INSTALL_PACKAGEDIR}/flang')") 11 set(flang_cmake_builddir "${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/cmake/flang") 23 # Generate FlangConfig.cmake for the build tree. 47 get_config_exports_includes(Flang FLANG_CONFIG_INCLUDE_EXPORTS) 64 install_distribution_exports(Flang) 70 COMPONENT flang-cmake-exports) 74 add_custom_target(flang-cmake-exports) 75 add_llvm_install_targets(install-flang-cmake-exports 76 COMPONENT flang-cmake-exports)
|
/llvm-project/openmp/ |
H A D | CMakeLists.txt | 31 "Enable -Werror flags to turn warnings into errors for supporting compilers.") 70 # Check for flang 72 set(OPENMP_TEST_Fortran_COMPILER ${LLVM_RUNTIME_OUTPUT_INTDIR}/flang) 74 set(OPENMP_TEST_Fortran_COMPILER ${LLVM_RUNTIME_OUTPUT_INTDIR}/flang.exe) 77 # Set fortran test compiler if flang is found 79 message("Using local flang build at ${OPENMP_TEST_Fortran_COMPILER}") 92 include(config-ix) 107 # 32-bit systems are not supported either. 125 # Build hos [all...] |
/llvm-project/offload/ |
H A D | CMakeLists.txt | 2 # to build offload with CMake. 19 message(WARNING "Host compiler must support C++17 to build libomptarget!") 22 message(WARNING "libomptarget on 32-bit systems is not supported!") 61 "Enable -Werror flags to turn warnings into errors for supporting compilers.") 95 # Check for flang 97 set(OPENMP_TEST_Fortran_COMPILER ${LLVM_RUNTIME_OUTPUT_INTDIR}/flang) 99 set(OPENMP_TEST_Fortran_COMPILER ${LLVM_RUNTIME_OUTPUT_INTDIR}/flang.exe) 102 # Set fortran test compiler if flang is found 104 message("Using local flang build a [all...] |
/llvm-project/flang/test/ |
H A D | lit.cfg.py | 1 # -*- Python -*- 19 config.name = "Flang" 64 # ask llvm-config about asserts 65 llvm_config.feature_config([("--assertion-mode", {"ON": "asserts"})]) 70 config.available_features.add(arch.lower() + "-registere [all...] |
/llvm-project/llvm/runtimes/ |
H A D | CMakeLists.txt | 6 set(COMMON_CMAKE_ARGS "-DHAVE_LLVM_LIT=ON;-DCLANG_RESOURCE_DIR=${CLANG_RESOURCE_DIR}") 15 STRING(REGEX REPLACE "-" "_" canon_name ${canon_name}) 32 if("${projName}" MATCHES "compiler-rt") 47 compiler-rt for Darwin builds for all platforms and architectures using a \ 48 single configuration. Specify only a single darwin triple (e.g. x86_64-apple-darwin) \ 51 control the specific platforms and architectures to build.") 54 string(REPLACE "-" ";" triple_components ${triple}) 76 # AIX should fold 32-bi [all...] |
/llvm-project/flang/lib/Semantics/ |
H A D | program-tree.h |
|
H A D | program-tree.cpp | 1 //===-- lib/Semantics/program-tree.cpp ------- 133 ProgramTree ProgramTree::Build( Build() function in Fortran::semantics::ProgramTree 144 std::optional<ProgramTree> ProgramTree::Build( Build() function in Fortran::semantics::ProgramTree 156 std::optional<ProgramTree> ProgramTree::Build( Build() function in Fortran::semantics::ProgramTree 174 std::optional<ProgramTree> ProgramTree::Build( Build() function in Fortran::semantics::ProgramTree 190 std::optional<ProgramTree> ProgramTree::Build( Build() function in Fortran::semantics::ProgramTree 199 std::optional<ProgramTree> ProgramTree::Build( Build() function in Fortran::semantics::ProgramTree 207 std::optional<ProgramTree> ProgramTree::Build( Build() function in Fortran::semantics::ProgramTree 215 std::optional<ProgramTree> ProgramTree::Build( Build() function in Fortran::semantics::ProgramTree 226 std::optional<ProgramTree> ProgramTree::Build( Build() function in Fortran::semantics::ProgramTree 234 std::optional<ProgramTree> ProgramTree::Build( Build() function in Fortran::semantics::ProgramTree [all...] |
/llvm-project/flang/tools/f18/ |
H A D | CMakeLists.txt | 15 # sufficient to generate the module file via -fsyntax-only. 35 # Check if 128-bit float computations can be done via long double. 55 # these module files will be contributed from the CMakeLists in flang/tools/f18. 58 # Create module files directly from the top-level module source directory. 59 # If CMAKE_CROSSCOMPILING, then the newly built flang executable was 60 # cross compiled, and thus can't be executed on the build system and thus 72 set(opts -fc1 -xcuda) 75 set(opts -fc [all...] |
/llvm-project/flang/test/Driver/ |
H A D | exec.f90 | 1 ! UNSUPPORTED: system-windows 2 ! Verify that flang can correctly build executables. 4 ! RUN: %flang %s -o %t 6 ! RUN: rm -f %t
|
/llvm-project/flang/examples/FlangOmpReport/ |
H A D | yaml_summarizer.py | 3 The flang plugin ``flang-omp-report`` takes one Fortran 8 summary from all of the files generated by ``flang-omp-report``. 23 -d --directory Specify which directory to scan. Multiple directories can be searched by 26 -l --log Combine all yaml files into one log (instead of generating a summary) 28 -o --output Specify a directory in which to save the summary file 30 -r --recursive Recursively search directory for all yaml files 34 ``python3 yaml_summarizer.py -d ~/llvm-project/build/ -r`` 36 ``python3 yaml_summarizer.py -d "~/llvm-project/build/;~/llvm-project/flang/test/Examples"`` 38 ``python3 yaml_summarizer.py -l -o ~/examples/report.yaml`` 40 Pseudo-examples: [all …]
|
/llvm-project/flang/include/flang/Optimizer/CodeGen/ |
H A D | DescriptorModel.h | 1 //===-- DescriptorModel.h -- model of descriptors for codegen ---*- C++ -*- [all...] |
/llvm-project/flang/include/flang/Common/ |
H A D | visit.h | 1 //===-- include/flang/Common/visit.h ----------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // common::visit() is a drop-in replacement for std::visit() that reduces both 10 // compiler build time and compiler execution time modestly, and reduces 11 // compiler build memory requirements significantly (overall & maximum). 16 // the need to build a dispatch table. 25 #include "flang/Common/api-attrs.h" 36 switch (which - LOW) { in Log2VisitHelper() 72 visit(VISITOR &&visitor, VARIANT &&...u) -> decltype(visitor(std::get<0>( [all …]
|
/llvm-project/flang/include/flang/Optimizer/Support/ |
H A D | InitFIR.h | 1 //===-- Optimizer/Support/InitFIR.h -------- [all...] |