Searched refs:llvm (Results 1 – 21 of 21) sorted by relevance
/Linux-v4.19/tools/perf/util/c++/ |
D | clang.cpp | 34 static std::unique_ptr<llvm::LLVMContext> LLVMCtx; 39 createCompilerInvocation(llvm::opt::ArgStringList CFlags, StringRef& Path, in createCompilerInvocation() 42 llvm::opt::ArgStringList CCArgs { in createCompilerInvocation() 67 static std::unique_ptr<llvm::Module> 68 getModuleFromSource(llvm::opt::ArgStringList CFlags, in getModuleFromSource() 90 return std::unique_ptr<llvm::Module>(nullptr); in getModuleFromSource() 95 std::unique_ptr<llvm::Module> 96 getModuleFromSource(llvm::opt::ArgStringList CFlags, in getModuleFromSource() 101 llvm::IntrusiveRefCntPtr<OverlayFileSystem> OverlayFS( in getModuleFromSource() 103 llvm::IntrusiveRefCntPtr<InMemoryFileSystem> MemFS( in getModuleFromSource() [all …]
|
D | clang-test.cpp | 17 static std::unique_ptr<llvm::Module> 23 return std::unique_ptr<llvm::Module>(nullptr); in __test__clang_to_IR() 28 std::unique_ptr<llvm::Module> M = in __test__clang_to_IR() 43 for (llvm::Function& F : *M) in test__clang_to_IR()
|
D | clang.h | 13 using namespace llvm; variable 23 std::unique_ptr<llvm::SmallVectorImpl<char>> 24 getBPFObjectFromModule(llvm::Module *Module);
|
/Linux-v4.19/tools/perf/tests/ |
D | Build | 35 perf-y += llvm.o llvm-src-base.o llvm-src-kbuild.o llvm-src-prologue.o llvm-src-relocation.o 53 $(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c tests/Build 55 $(Q)echo '#include <tests/llvm.h>' > $@ 60 $(OUTPUT)tests/llvm-src-kbuild.c: tests/bpf-script-test-kbuild.c tests/Build 62 $(Q)echo '#include <tests/llvm.h>' > $@ 67 $(OUTPUT)tests/llvm-src-prologue.c: tests/bpf-script-test-prologue.c tests/Build 69 $(Q)echo '#include <tests/llvm.h>' > $@ 74 $(OUTPUT)tests/llvm-src-relocation.c: tests/bpf-script-test-relocation.c tests/Build 76 $(Q)echo '#include <tests/llvm.h>' > $@
|
D | .gitignore | 1 llvm-src-base.c 2 llvm-src-kbuild.c 3 llvm-src-prologue.c 4 llvm-src-relocation.c
|
/Linux-v4.19/samples/bpf/ |
D | README.rst | 12 * llvm >= version 3.7.1 48 By default llvm will build all non-experimental backends including bpf. 56 $ git clone http://llvm.org/git/llvm.git 57 $ cd llvm/tools 58 $ git clone --depth 1 http://llvm.org/git/clang.git 66 make samples/bpf/ LLC=~/git/llvm/build/bin/llc CLANG=~/git/llvm/build/bin/clang 76 make samples/bpf/ LLC=~/git/llvm/build/bin/llc CLANG=~/git/llvm/build/bin/clang
|
D | Makefile | 198 LLVM_OBJCOPY ?= llvm-objcopy 275 -O2 -emit-llvm -c $< -o -| $(LLC) -march=bpf $(LLC_FLAGS) -filetype=obj -o $@
|
/Linux-v4.19/tools/build/feature/ |
D | test-llvm.cpp | 11 llvm::errs() << "Hello World!\n"; in main() 12 llvm::llvm_shutdown(); in main()
|
D | Makefile | 60 test-llvm.bin \ 61 test-llvm-version.bin 68 LLVM_CONFIG ?= llvm-config 262 $(OUTPUT)test-llvm.bin: 270 $(OUTPUT)test-llvm-version.bin:
|
D | test-clang.cpp | 20 llvm::llvm_shutdown(); in main()
|
/Linux-v4.19/Documentation/process/ |
D | clang-format.rst | 35 http://releases.llvm.org/download.html 39 https://clang.llvm.org/docs/ClangFormat.html 41 https://clang.llvm.org/docs/ClangFormatStyleOptions.html 66 https://clang.llvm.org/docs/ClangFormat.html#script-for-patch-reformatting 102 https://clang.llvm.org/docs/ClangFormat.html
|
/Linux-v4.19/tools/build/ |
D | Makefile.feature | 88 llvm \ 89 llvm-version \
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | Makefile | 84 LLVM_OBJCOPY ?= llvm-objcopy 129 -O2 -target bpf -emit-llvm -c $< -o - | \
|
/Linux-v4.19/ |
D | .clang-format | 8 # https://clang.llvm.org/docs/ClangFormat.html 9 # https://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
/Linux-v4.19/tools/perf/ |
D | Makefile.config | 861 msg := $(warning No g++ found, disable clang and llvm support. Please install g++) 863 $(call feature_check,llvm) 864 $(call feature_check,llvm-version) 865 ifneq ($(feature-llvm), 1) 866 …le libLLVM found, disabling builtin clang and LLVM support. Please install llvm-dev(el) (>= 3.9.0)) 879 ifneq ($(feature-llvm-version),1)
|
D | Makefile.perf | 156 LLVM_CONFIG ?= llvm-config 861 $(OUTPUT)tests/llvm-src-{base,kbuild,prologue,relocation}.c \
|
/Linux-v4.19/Documentation/bpf/ |
D | bpf_devel_QA.rst | 471 LLVM (http://llvm.org/): 489 All LLVM releases can be found at: http://releases.llvm.org/ 497 $ git clone http://llvm.org/git/llvm.git 498 $ cd llvm/tools 499 $ git clone --depth 1 http://llvm.org/git/clang.git 532 https://bugs.llvm.org/buglist.cgi?quicksearch=bpf
|
D | bpf_design_QA.rst | 120 A: Because it would be rarely used. llvm errors in such case and
|
/Linux-v4.19/tools/perf/util/ |
D | Build | 15 libperf-y += llvm-utils.o
|
/Linux-v4.19/scripts/ |
D | Makefile.build | 159 cmd_cc_ll_c = $(CC) $(c_flags) -emit-llvm -S -o $@ $<
|
/Linux-v4.19/tools/perf/Documentation/ |
D | perf-record.txt | 478 'perf record --dry-run -e' can act as a BPF script compiler if llvm.dump-obj
|