Searched refs:llvm (Results 1 – 25 of 55) sorted by relevance
123
42 llvm::opt::ArgStringList CCArgs { in createCompilerInvocation()69 static std::unique_ptr<llvm::Module>101 std::unique_ptr<llvm::Module>122 std::unique_ptr<llvm::Module>129 std::unique_ptr<llvm::SmallVectorImpl<char>>130 getBPFObjectFromModule(llvm::Module *Module) in getBPFObjectFromModule()132 using namespace llvm; in getBPFObjectFromModule()138 llvm::errs() << Error; in getBPFObjectFromModule()142 llvm::TargetOptions Opt; in getBPFObjectFromModule()190 llvm::llvm_shutdown(); in perf_clang__cleanup()[all …]
19 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()46 for (llvm::Function& F : *M) in test__clang_to_IR()
13 using namespace llvm; variable23 std::unique_ptr<llvm::SmallVectorImpl<char>>24 getBPFObjectFromModule(llvm::Module *Module);
23 - clang (preferably built from sources, https://github.com/llvm/llvm-project);69 __ https://reviews.llvm.org/D85570119 __ https://reviews.llvm.org/D78466158 __ https://reviews.llvm.org/D97479175 .. _0: https://reviews.llvm.org/D74572176 .. _1: https://reviews.llvm.org/D74668188 __ https://reviews.llvm.org/D83289202 __ https://reviews.llvm.org/D93563216 __ https://reviews.llvm.org/D111588225 __ https://reviews.llvm.org/D100362[all …]
15 <https://clang.llvm.org/>`_ and `LLVM <https://llvm.org/>`_ utilities to be59 make CC=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip \60 OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump READELF=llvm-readelf \61 HOSTCC=clang HOSTCXX=clang++ HOSTAR=llvm-ar HOSTLD=ld.lld133 - `Mailing List <https://lore.kernel.org/llvm/>`_: <llvm@lists.linux.dev>146 - https://releases.llvm.org/download.html147 - https://github.com/llvm/llvm-project148 - https://llvm.org/docs/GettingStarted.html149 - https://llvm.org/docs/CMake.html150 - https://apt.llvm.org/[all …]
23 llvm
39 perf-y += llvm.o llvm-src-base.o llvm-src-kbuild.o llvm-src-prologue.o llvm-src-relocation.o69 $(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c tests/Build71 $(Q)echo '#include <tests/llvm.h>' > $@76 $(OUTPUT)tests/llvm-src-kbuild.c: tests/bpf-script-test-kbuild.c tests/Build78 $(Q)echo '#include <tests/llvm.h>' > $@83 $(OUTPUT)tests/llvm-src-prologue.c: tests/bpf-script-test-prologue.c tests/Build85 $(Q)echo '#include <tests/llvm.h>' > $@90 $(OUTPUT)tests/llvm-src-relocation.c: tests/bpf-script-test-relocation.c tests/Build92 $(Q)echo '#include <tests/llvm.h>' > $@
2 llvm-src-base.c3 llvm-src-kbuild.c4 llvm-src-prologue.c5 llvm-src-relocation.c
12 * llvm >= version 3.7.160 By default llvm will build all non-experimental backends including bpf.72 $ git clone https://github.com/llvm/llvm-project.git73 $ mkdir -p llvm-project/llvm/build74 $ cd llvm-project/llvm/build84 …make M=samples/bpf LLC=~/git/llvm-project/llvm/build/bin/llc CLANG=~/git/llvm-project/llvm/build/b…
230 LLVM_DIS ?= llvm-dis231 LLVM_OBJCOPY ?= llvm-objcopy232 LLVM_READELF ?= llvm-readelf437 -O2 -emit-llvm -Xclang -disable-llvm-passes -c $< -o - | \
56 $(call allow-override,AR,llvm-ar)59 $(call allow-override,STRIP,llvm-strip)72 HOSTAR ?= llvm-ar84 LLVM_CONFIG ?= llvm-config85 LLVM_OBJCOPY ?= llvm-objcopy86 LLVM_STRIP ?= llvm-strip
64 git clone https://github.com/llvm/llvm-project.git65 ln -s ../../clang llvm-project/llvm/tools/66 mkdir llvm-project-build67 cd llvm-project-build72 ../llvm-project/llvm201 - `Building LLVM <https://llvm.org/docs/CMake.html>`_
32 the code with ``llvm-objdump -dr test.o``::52 The following ``llvm-readelf -r test.o`` shows the binary values of the four66 The following is the symbol table with ``llvm-readelf -s test.o``::130 ``.BTF.ext`` sections. For cases like bcc where llvm ``ExecutionEngine RuntimeDyld``159 following code with `llvm-objdump -dr test.o``::206 ``llvm-readelf -r test.o``::215 With ``llvm-readelf`` output, we can see that dwarf sections have a bunch of
494 LLVM (http://llvm.org/):513 All LLVM releases can be found at: http://releases.llvm.org/525 $ git clone https://github.com/llvm/llvm-project.git526 $ mkdir -p llvm-project/llvm/build527 $ cd llvm-project/llvm/build538 will find a full list of targets within the llvm-project/llvm/lib/Target563 https://bugs.llvm.org/buglist.cgi?quicksearch=bpf
11 llvm::errs() << "Hello World!\n"; in main()12 llvm::llvm_shutdown(); in main()
70 test-llvm.bin \71 test-llvm-version.bin \298 $(OUTPUT)test-llvm.bin:306 $(OUTPUT)test-llvm-version.bin:
26 llvm::llvm_shutdown(); in main()
35 https://releases.llvm.org/download.html39 https://clang.llvm.org/docs/ClangFormat.html41 https://clang.llvm.org/docs/ClangFormatStyleOptions.html66 https://clang.llvm.org/docs/ClangFormat.html#script-for-patch-reformatting102 https://clang.llvm.org/docs/ClangFormat.html
43 http://releases.llvm.org/download.html47 https://clang.llvm.org/docs/ClangFormat.html49 https://clang.llvm.org/docs/ClangFormatStyleOptions.html76 https://clang.llvm.org/docs/ClangFormat.html#script-for-patch-reformatting114 https://clang.llvm.org/docs/ClangFormat.html
171 则使用 llvm-cov_ 。174 .. _llvm-cov: https://llvm.org/docs/CommandGuide/llvm-cov.html
26 llvm)
51 min_version=$($min_tool_version llvm)
48 min_version=$($min_tool_version llvm)
97 llvm \98 llvm-version \
28 -O2 -target bpf -emit-llvm -c $< -o - | \
Completed in 29 milliseconds