Home
last modified time | relevance | path

Searched refs:llvm (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.4/tools/perf/util/c++/
Dclang.cpp34 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 …]
Dclang-test.cpp19 static std::unique_ptr<llvm::Module>
25 return std::unique_ptr<llvm::Module>(nullptr); in __test__clang_to_IR()
30 std::unique_ptr<llvm::Module> M = in __test__clang_to_IR()
45 for (llvm::Function& F : *M) in test__clang_to_IR()
Dclang.h13 using namespace llvm; variable
23 std::unique_ptr<llvm::SmallVectorImpl<char>>
24 getBPFObjectFromModule(llvm::Module *Module);
/Linux-v5.4/tools/perf/tests/
DBuild38 perf-y += llvm.o llvm-src-base.o llvm-src-kbuild.o llvm-src-prologue.o llvm-src-relocation.o
58 $(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c tests/Build
60 $(Q)echo '#include <tests/llvm.h>' > $@
65 $(OUTPUT)tests/llvm-src-kbuild.c: tests/bpf-script-test-kbuild.c tests/Build
67 $(Q)echo '#include <tests/llvm.h>' > $@
72 $(OUTPUT)tests/llvm-src-prologue.c: tests/bpf-script-test-prologue.c tests/Build
74 $(Q)echo '#include <tests/llvm.h>' > $@
79 $(OUTPUT)tests/llvm-src-relocation.c: tests/bpf-script-test-relocation.c tests/Build
81 $(Q)echo '#include <tests/llvm.h>' > $@
D.gitignore1 llvm-src-base.c
2 llvm-src-kbuild.c
3 llvm-src-prologue.c
4 llvm-src-relocation.c
/Linux-v5.4/samples/bpf/
DREADME.rst12 * 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
DMakefile194 LLVM_OBJCOPY ?= llvm-objcopy
293 -O2 -emit-llvm -c $< -o -| $(LLC) -march=bpf $(LLC_FLAGS) -filetype=obj -o $@
/Linux-v5.4/tools/build/feature/
Dtest-llvm.cpp11 llvm::errs() << "Hello World!\n"; in main()
12 llvm::llvm_shutdown(); in main()
DMakefile66 test-llvm.bin \
67 test-llvm-version.bin \
76 LLVM_CONFIG ?= llvm-config
288 $(OUTPUT)test-llvm.bin:
296 $(OUTPUT)test-llvm-version.bin:
Dtest-clang.cpp20 llvm::llvm_shutdown(); in main()
/Linux-v5.4/tools/testing/selftests/bpf/
DMakefile17 LLVM_OBJCOPY ?= llvm-objcopy
18 LLVM_READELF ?= llvm-readelf
43 $(CLANG) -target bpf -O2 -emit-llvm -S -x c - -o - | \
213 ($(CLANG) $(BPF_CFLAGS) $(CLANG_CFLAGS) -O2 -target bpf -emit-llvm \
252 ($(CLANG) $(BPF_CFLAGS) $(CLANG_CFLAGS) -O2 -emit-llvm -c $< -o - || \
260 ($(CLANG) $(BPF_CFLAGS) $(CLANG_CFLAGS) -O2 -target bpf -emit-llvm \
/Linux-v5.4/Documentation/process/
Dclang-format.rst35 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
Dprogramming-language.rst39 .. [clang] https://clang.llvm.org
/Linux-v5.4/Documentation/translations/it_IT/process/
Dclang-format.rst43 http://releases.llvm.org/download.html
47 https://clang.llvm.org/docs/ClangFormat.html
49 https://clang.llvm.org/docs/ClangFormatStyleOptions.html
76 https://clang.llvm.org/docs/ClangFormat.html#script-for-patch-reformatting
114 https://clang.llvm.org/docs/ClangFormat.html
Dprogramming-language.rst46 .. [clang] https://clang.llvm.org
/Linux-v5.4/tools/testing/selftests/tc-testing/bpf/
DMakefile29 -O2 -target bpf -emit-llvm -c $< -o - | \
/Linux-v5.4/tools/build/
DMakefile.feature97 llvm \
98 llvm-version \
/Linux-v5.4/tools/perf/Documentation/
Dperf-config.txt127 [llvm]
564 llvm.*::
565 llvm.clang-path::
568 llvm.clang-bpf-cmd-template::
578 llvm.clang-opt::
581 llvm.kbuild-dir::
585 llvm.kbuild-opts::
588 llvm.dump-obj::
591 llvm.opts::
/Linux-v5.4/Documentation/translations/zh_CN/process/
Dprogramming-language.rst47 https://clang.llvm.org
/Linux-v5.4/
D.clang-format8 # https://clang.llvm.org/docs/ClangFormat.html
9 # https://clang.llvm.org/docs/ClangFormatStyleOptions.html
/Linux-v5.4/Documentation/dev-tools/
Dgcov.rst172 GCC-generated .gcno and .gcda files, and use llvm-cov_ for Clang.
175 .. _llvm-cov: https://llvm.org/docs/CommandGuide/llvm-cov.html
/Linux-v5.4/tools/perf/
DMakefile.config959 msg := $(warning No g++ found, disable clang and llvm support. Please install g++)
961 $(call feature_check,llvm)
962 $(call feature_check,llvm-version)
963 ifneq ($(feature-llvm), 1)
964 …le libLLVM found, disabling builtin clang and LLVM support. Please install llvm-dev(el) (>= 3.9.0))
977 ifneq ($(feature-llvm-version),1)
/Linux-v5.4/Documentation/bpf/
Dbpf_devel_QA.rst471 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
Dbtf.rst170 bitfield encoding. Currently, both llvm and pahole generate
221 Currently, both pahole and llvm collapse multidimensional array into
225 more BTF usage is explored, pahole and llvm can be changed to generate proper
806 or llvm (8.0 or later). The pahole acts as a dwarf2btf converter. It doesn't
824 The llvm is able to generate .BTF and .BTF.ext directly with -g for bpf target
/Linux-v5.4/lib/
DKconfig.kasan113 https://bugs.llvm.org/show_bug.cgi?id=38809

12