/external/swiftshader/third_party/llvm-7.0/llvm/test/ |
D | lit.cfg.py | 1 # -*- Python -*- 13 from lit.llvm import llvm_config 14 from lit.llvm.subst import FindTool 15 from lit.llvm.subst import ToolSubst 18 config.name = 'LLVM' 21 config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell) 25 config.suffixes = ['.ll', '.c', '.cxx', '.test', '.txt', '.s', '.mir'] 30 config.excludes = ['Inputs', 'CMakeLists.txt', 'README.txt', 'LICENSE.txt'] 33 config.test_source_root = os.path.dirname(__file__) 36 config.test_exec_root = os.path.join(config.llvm_obj_root, 'test') [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/ |
D | llvm-objcopy.cpp | 1 //===- llvm-objcopy.cpp ---------------------------------------------------===// 3 // The LLVM Compiler Infrastructure 8 //===----------------------------------------------------------------------===// 10 #include "llvm-objcopy.h" 12 #include "llvm/ADT/STLExtras.h" 13 #include "llvm/ADT/StringRef.h" 14 #include "llvm/ADT/Twine.h" 15 #include "llvm/BinaryFormat/ELF.h" 16 #include "llvm/Object/Archive.h" 17 #include "llvm/Object/ArchiveWriter.h" [all …]
|
/external/swiftshader/third_party/LLVM/tools/llvm-config/ |
D | Makefile | 1 ##===- tools/llvm-config/Makefile --------------------------*- Makefile -*-===## 3 # The LLVM Compiler Infrastructure 8 ##===----------------------------------------------------------------------===## 12 EXTRA_DIST = LibDeps.txt FinalLibDeps.txt llvm-config.in.in find-cycles.pl 17 # llvm-config depends. Therefore, only if we detect perl will we do anything 21 # Combine preprocessor flags (except for -I) and CXX flags. 28 # user to use libtool when linking against LLVM. 38 $(Verb) $(PERL) $(GenLibDeps) -flat $(LibDir) "$(NM_PATH)" > $(LibDepsTemp) 41 $(Verb) $(CMP) -s $@ $< || ( $(CP) $< $@ && \ 44 # Find all the cyclic dependencies between various LLVM libraries, so we [all …]
|
/external/swiftshader/third_party/LLVM/test/ |
D | lit.cfg | 1 # -*- Python -*- 10 config.name = 'LLVM' 13 config.test_format = lit.formats.TclTest() 16 #config.test_format = lit.formats.TclTest(ignoreStdErr=True) 20 config.suffixes = [] 23 config.test_source_root = os.path.dirname(__file__) 28 path = getattr(config, 'lit_tools_dir', None) 30 config.environment['PATH'], 34 config.environment['PATH'])) 35 config.environment['PATH'] = path [all …]
|
/external/swiftshader/third_party/LLVM/docs/CommandGuide/ |
D | llvm-config.pod | 5 llvm-config - Print LLVM compilation options 9 B<llvm-config> I<option> [I<components>...] 13 B<llvm-config> makes it easier to build applications that use LLVM. It can 15 against LLVM. 21 g++ `llvm-config --cxxflags` -o HowToUseJIT.o -c HowToUseJIT.cpp 22 g++ `llvm-config --ldflags` -o HowToUseJIT HowToUseJIT.o \ 23 `llvm-config --libs engine bcreader scalaropts` 29 =item B<--version> 31 Print the version number of LLVM. 33 =item B<-help> [all …]
|
/external/llvm/test/ |
D | lit.cfg | 1 # -*- Python -*- 14 config.name = 'LLVM' 19 path = getattr(config, 'lit_tools_dir', None) 21 config.environment['PATH'], 25 config.environment['PATH'])) 26 config.environment['PATH'] = path 40 config.test_format = lit.formats.ShTest(execute_external) 44 config.suffixes = ['.ll', '.c', '.cxx', '.test', '.txt', '.s', '.mir'] 49 config.excludes = ['Inputs', 'CMakeLists.txt', 'README.txt', 'LICENSE.txt'] 52 config.test_source_root = os.path.dirname(__file__) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/docs/CommandGuide/ |
D | llvm-config.rst | 1 llvm-config - Print LLVM compilation options 6 -------- 9 **llvm-config** *option* [*components*...] 13 ----------- 16 **llvm-config** makes it easier to build applications that use LLVM. It can 18 against LLVM. 22 -------- 28 .. code-block:: sh 30 g++ `llvm-config --cxxflags` -o HowToUseJIT.o -c HowToUseJIT.cpp 31 g++ `llvm-config --ldflags` -o HowToUseJIT HowToUseJIT.o \ [all …]
|
/external/llvm/docs/CommandGuide/ |
D | llvm-config.rst | 1 llvm-config - Print LLVM compilation options 6 -------- 9 **llvm-config** *option* [*components*...] 13 ----------- 16 **llvm-config** makes it easier to build applications that use LLVM. It can 18 against LLVM. 22 -------- 28 .. code-block:: sh 30 g++ `llvm-config --cxxflags` -o HowToUseJIT.o -c HowToUseJIT.cpp 31 g++ `llvm-config --ldflags` -o HowToUseJIT HowToUseJIT.o \ [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | tiled_dot_emitter.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 29 // Provides tiled access to an in-memory rank 2 array. 36 MemoryTile(VectorSupportLibrary* vsl, llvm::IRBuilder<>* b, in MemoryTile() 37 llvm::Value* matrix, int64 matrix_size_along_minor_dim, in MemoryTile() 38 llvm::Value* major_dim_offset, int64 tile_size_along_major_dim) in MemoryTile() 42 llvm::Value* total_offset = in MemoryTile() 43 b->CreateMul(b->getInt64(matrix_size_along_minor_dim), in MemoryTile() 44 b->CreateAdd(b->getInt64(i), major_dim_offset)); in MemoryTile() 45 pointers_.push_back(vsl_->ComputeOffsetPointer(matrix, total_offset)); in MemoryTile() 53 std::vector<llvm::Value*> LoadTile(llvm::Value* minor_dim_offset) const { in LoadTile() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | TargetSelect.h | 1 //===- TargetSelect.h - Target Selection & Registration ---------*- C++ -*-===// 3 // The LLVM Compiler Infrastructure 8 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===// 19 #include "llvm/Config/llvm-config.h" 22 // Declare all of the target-initialization functions that are available. 24 #include "llvm/Config/Targets.def" 27 #include "llvm/Config/Targets.def" 29 // Declare all of the target-MC-initialization functions that are available. 31 #include "llvm/Config/Targets.def" [all …]
|
/external/llvm/include/llvm/Support/ |
D | TargetSelect.h | 1 //===- TargetSelect.h - Target Selection & Registration ---------*- C++ -*-===// 3 // The LLVM Compiler Infrastructure 8 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===// 19 #include "llvm/Config/llvm-config.h" 22 // Declare all of the target-initialization functions that are available. 24 #include "llvm/Config/Targets.def" 27 #include "llvm/Config/Targets.def" 29 // Declare all of the target-MC-initialization functions that are available. 31 #include "llvm/Config/Targets.def" [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | TargetSelect.h | 1 //===- TargetSelect.h - Target Selection & Registration ---------*- C++ -*-===// 3 // The LLVM Compiler Infrastructure 8 //===----------------------------------------------------------------------===// 14 //===----------------------------------------------------------------------===// 19 #include "llvm/Config/llvm-config.h" 22 // Declare all of the target-initialization functions that are available. 24 #include "llvm/Config/Targets.def" 27 #include "llvm/Config/Targets.def" 29 // Declare all of the target-MC-initialization functions that are available. 31 #include "llvm/Config/Targets.def" [all …]
|
/external/swiftshader/third_party/subzero/tests_lit/ |
D | lit.cfg | 1 # -*- Python -*- 2 # Taken from utils/lit/tests in the LLVM tree and hacked together to support 11 # file, reading in the bitcode file and generating LLVM IR, and 12 # then convert LLVM IR to ICE IR. 13 # lc : Run Subzero's translator, directly parsing the .ll file into LLVM IR, 24 # like FileCheck expect non-empty input. 45 config.name = 'subzero' 48 config.test_format = lit.formats.ShTest() 51 config.suffixes = ['.ll', '.test'] 54 config.test_source_root = os.path.dirname(__file__) [all …]
|
/external/llvm/device/include/llvm/Config/ |
D | llvm-config.h | 1 /* include/llvm/Config/llvm-config.h. Generated from llvm-config.h.in by configure. */ 2 /*===-- llvm/config/llvm-config.h - llvm configure variable -------*- C -*-===*/ 4 /* The LLVM Compiler Infrastructure */ 9 /*===----------------------------------------------------------------------===*/ 11 /* This file enumerates all of the llvm variables from configure so that 13 directives. This is a C file so we can include it in the llvm-c headers. */ 16 headers and config.h, conditionally include these. */ 21 #define LLVM_BINDIR "/opt/llvm-android/bin" 23 /* Time at which LLVM was configured */ 27 #define LLVM_DATADIR "/opt/llvm-android/share/llvm" [all …]
|
/external/llvm/host/include/llvm/Config/ |
D | llvm-config.h | 1 /* include/llvm/Config/llvm-config.h. Generated from llvm-config.h.in by configure. */ 2 /*===-- llvm/config/llvm-config.h - llvm configure variable -------*- C -*-===*/ 4 /* The LLVM Compiler Infrastructure */ 9 /*===----------------------------------------------------------------------===*/ 11 /* This file enumerates all of the llvm variables from configure so that 13 directives. This is a C file so we can include it in the llvm-c headers. */ 16 headers and config.h, conditionally include these. */ 21 #define LLVM_BINDIR "/opt/llvm-android/bin" 23 /* Time at which LLVM was configured */ 27 #define LLVM_DATADIR "/opt/llvm-android/share/llvm" [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-config/ |
D | CMakeLists.txt | 6 # Add the llvm-config tool. 7 add_llvm_tool(llvm-config 8 llvm-config.cpp 18 if (l MATCHES "^-") 23 set(SYSTEM_LIBS ${SYSTEM_LIBS} "-l${l}") 30 get_property(COMPILE_FLAGS TARGET llvm-config PROPERTY COMPILE_FLAGS) 56 # Set build-time environment(s). 57 add_definitions(-DCMAKE_CFG_INTDIR="${CMAKE_CFG_INTDIR}") 60 target_compile_options(llvm-config PUBLIC 61 "-fmodules-ignore-macro=CMAKE_CFG_INTDIR" [all …]
|
/external/swiftshader/third_party/LLVM/utils/lit/lit/ExampleTests/LLVM.OutOfTree/src/test/ |
D | lit.cfg | 1 # -*- Python -*- 8 config.name = 'LLVM' 11 config.test_format = lit.formats.TclTest() 15 config.suffixes = [] 18 config.test_source_root = os.path.dirname(__file__) 21 llvm_obj_root = getattr(config, 'llvm_obj_root', None) 23 config.test_exec_root = os.path.join(llvm_obj_root, 'test') 30 if config.test_exec_root is None: 34 # out-of-tree build situation). 36 # Try to detect the situation where we are using an out-of-tree build by [all …]
|
/external/swiftshader/third_party/LLVM/utils/lit/lit/ExampleTests/LLVM.InTree/test/ |
D | lit.cfg | 1 # -*- Python -*- 8 config.name = 'LLVM' 11 config.test_format = lit.formats.TclTest() 15 config.suffixes = [] 18 config.test_source_root = os.path.dirname(__file__) 21 llvm_obj_root = getattr(config, 'llvm_obj_root', None) 23 config.test_exec_root = os.path.join(llvm_obj_root, 'test') 30 if config.test_exec_root is None: 34 # out-of-tree build situation). 36 # Try to detect the situation where we are using an out-of-tree build by [all …]
|
/external/llvm/include/llvm-c/ |
D | Target.h | 1 /*===-- llvm-c/Target.h - Target Lib C Iface --------------------*- C++ -*-===*/ 3 /* The LLVM Compiler Infrastructure */ 8 /*===----------------------------------------------------------------------===*/ 17 /*===----------------------------------------------------------------------===*/ 22 #include "llvm-c/Types.h" 23 #include "llvm/Config/llvm-config.h" 45 /* Declare all of the target-initialization functions that are available. */ 48 #include "llvm/Config/Targets.def" 52 #include "llvm/Config/Targets.def" 57 #include "llvm/Config/Targets.def" [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/ |
D | Target.h | 1 /*===-- llvm-c/Target.h - Target Lib C Iface --------------------*- C++ -*-===*/ 3 /* The LLVM Compiler Infrastructure */ 8 /*===----------------------------------------------------------------------===*/ 17 /*===----------------------------------------------------------------------===*/ 22 #include "llvm-c/Types.h" 23 #include "llvm/Config/llvm-config.h" 45 /* Declare all of the target-initialization functions that are available. */ 48 #include "llvm/Config/Targets.def" 52 #include "llvm/Config/Targets.def" 57 #include "llvm/Config/Targets.def" [all …]
|
/external/llvm/tools/llvm-config/ |
D | CMakeLists.txt | 6 # Add the llvm-config tool. 7 add_llvm_tool(llvm-config 8 llvm-config.cpp 17 if (l MATCHES "^-") 22 set(SYSTEM_LIBS ${SYSTEM_LIBS} "-l${l}") 29 get_property(COMPILE_FLAGS TARGET llvm-config PROPERTY COMPILE_FLAGS) 54 # Set build-time environment(s). 55 add_definitions(-DCMAKE_CFG_INTDIR="${CMAKE_CFG_INTDIR}") 58 add_file_dependencies(${CMAKE_CURRENT_SOURCE_DIR}/llvm-config.cpp ${BUILDVARIABLES_OBJPATH}) 61 set(${project}_LLVM_CONFIG_EXE "${LLVM_NATIVE_BUILD}/bin/llvm-config") [all …]
|
/external/swiftshader/third_party/LLVM/test/Unit/ |
D | lit.cfg | 1 # -*- Python -*- 8 config.name = 'LLVM-Unit' 11 config.suffixes = [] 15 llvm_obj_root = getattr(config, 'llvm_obj_root', None) 17 config.test_exec_root = os.path.join(llvm_obj_root, 'unittests') 18 config.test_source_root = config.test_exec_root 21 llvm_build_mode = getattr(config, 'llvm_build_mode', "Debug") 22 config.test_format = lit.formats.GoogleTest(llvm_build_mode, 'Tests') 27 config.environment['TMP'] = os.environ['TMP'] 29 config.environment['TEMP'] = os.environ['TEMP'] [all …]
|
/external/llvm/test/Unit/ |
D | lit.cfg | 1 # -*- Python -*- 10 config.name = 'LLVM-Unit' 13 config.suffixes = [] 16 config.is_early = True 20 llvm_obj_root = getattr(config, 'llvm_obj_root', None) 22 config.test_exec_root = os.path.join(llvm_obj_root, 'unittests') 23 config.test_source_root = config.test_exec_root 26 llvm_build_mode = getattr(config, 'llvm_build_mode', "Debug") 27 config.test_format = lit.formats.GoogleTest(llvm_build_mode, 'Tests') 32 config.environment['TMP'] = os.environ['TMP'] [all …]
|
/external/swiftshader/third_party/LLVM/ |
D | Makefile | 1 #===- ./Makefile -------------------------------------------*- Makefile -*--===# 3 # The LLVM Compiler Infrastructure 8 #===------------------------------------------------------------------------===# 12 # Top-Level LLVM Build Stages: 16 # 4. Build libs, which are needed by llvm-config. 17 # 5. Build llvm-config, which determines inter-lib dependencies for tools. 20 # When cross-compiling, there are some things (tablegen) that need to 24 # "llvmCore", then this is an "Apple-style" build; search for 25 # "Apple-style" in the comments for more info. Anything else is a 27 ifneq ($(findstring llvmCore, $(RC_ProjectName)),llvmCore) # Normal build (not "Apple-style"). [all …]
|
/external/llvm/ |
D | CMakeLists.txt | 1 # See docs/CMake.html for instructions about how to build LLVM with CMake. 48 project(LLVM project 59 message(STATUS "Found libtool - ${CMAKE_LIBTOOL}") 63 "${CMAKE_LIBTOOL} -static -o <TARGET> <LINK_FLAGS> <OBJECTS> ") 82 add_definitions(-DLLVM_BUILD_GLOBAL_ISEL) 119 "Append the version control system revision id to LLVM version" OFF) 125 set(PACKAGE_NAME LLVM) 127 set(PACKAGE_BUGREPORT "http://llvm.org/bugs/") 133 set(CPACK_PACKAGE_INSTALL_DIRECTORY "LLVM") 134 set(CPACK_PACKAGE_VENDOR "LLVM") [all …]
|