Searched refs:llvm (Results 1 – 25 of 47) sorted by relevance
12
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()94 return std::unique_ptr<llvm::Module>(nullptr); in getModuleFromSource()99 std::unique_ptr<llvm::Module>100 getModuleFromSource(llvm::opt::ArgStringList CFlags, in getModuleFromSource()105 llvm::IntrusiveRefCntPtr<OverlayFileSystem> OverlayFS( in getModuleFromSource()107 llvm::IntrusiveRefCntPtr<InMemoryFileSystem> MemFS( in getModuleFromSource()[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()45 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);
15 <https://clang.llvm.org/>`_ and `LLVM <https://llvm.org/>`_ utilities to be21 <https://www.aosabook.org/en/llvm.html>`_. Clang is a front-end to LLVM that59 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.lld82 - https://releases.llvm.org/download.html83 - https://github.com/llvm/llvm-project84 - https://llvm.org/docs/GettingStarted.html85 - https://llvm.org/docs/CMake.html86 - https://apt.llvm.org/[all …]
23 llvm
10 profiler[23] test failures with clang/llvm <12.0.013 With clang/llvm <12.0.0, the profiler[23] test may fail.34 https://reviews.llvm.org/D8557035 addresses it on the compiler side. It was committed on llvm 12.48 bpf_iter test failures with clang/llvm 10.0.051 With clang/llvm 10.0.0, the following two bpf_iter tests failed:80 This is due to a llvm BPF backend bug. The fix 81 https://reviews.llvm.org/D7846682 has been pushed to llvm 10.x release branch and will be83 available in 10.0.1. The fix is available in llvm 11.0.0 trunk.[all …]
23 LLVM_OBJCOPY ?= llvm-objcopy251 $(Q)($(CLANG) $3 -O2 -target bpf -emit-llvm \258 $(Q)($(CLANG) $3 -O2 -target bpf -emit-llvm \265 $(Q)($(CLANG) $3 -O2 -emit-llvm \
39 perf-y += llvm.o llvm-src-base.o llvm-src-kbuild.o llvm-src-prologue.o llvm-src-relocation.o66 $(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c tests/Build68 $(Q)echo '#include <tests/llvm.h>' > $@73 $(OUTPUT)tests/llvm-src-kbuild.c: tests/bpf-script-test-kbuild.c tests/Build75 $(Q)echo '#include <tests/llvm.h>' > $@80 $(OUTPUT)tests/llvm-src-prologue.c: tests/bpf-script-test-prologue.c tests/Build82 $(Q)echo '#include <tests/llvm.h>' > $@87 $(OUTPUT)tests/llvm-src-relocation.c: tests/bpf-script-test-relocation.c tests/Build89 $(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.68 $ git clone http://llvm.org/git/llvm.git69 $ cd llvm/tools70 $ git clone --depth 1 http://llvm.org/git/clang.git78 make M=samples/bpf LLC=~/git/llvm/build/bin/llc CLANG=~/git/llvm/build/bin/clang
215 LLVM_DIS ?= llvm-dis216 LLVM_OBJCOPY ?= llvm-objcopy324 -O2 -emit-llvm -Xclang -disable-llvm-passes -c $< -o - | \
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>`_
481 LLVM (http://llvm.org/):500 All LLVM releases can be found at: http://releases.llvm.org/508 $ git clone https://github.com/llvm/llvm-project.git509 $ mkdir -p llvm-project/llvm/build/install510 $ cd llvm-project/llvm/build522 will find a full list of targets within the llvm-project/llvm/lib/Target547 https://bugs.llvm.org/buglist.cgi?quicksearch=bpf
11 llvm::errs() << "Hello World!\n"; in main()12 llvm::llvm_shutdown(); in main()
68 test-llvm.bin \69 test-llvm-version.bin \79 LLVM_CONFIG ?= llvm-config298 $(OUTPUT)test-llvm.bin:306 $(OUTPUT)test-llvm-version.bin:
26 llvm::llvm_shutdown(); in main()
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
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
97 llvm \98 llvm-version \
29 -O2 -target bpf -emit-llvm -c $< -o - | \
5 LLVM_STRIP ?= llvm-strip
127 [llvm]626 llvm.*::627 llvm.clang-path::630 llvm.clang-bpf-cmd-template::640 llvm.clang-opt::643 llvm.kbuild-dir::647 llvm.kbuild-opts::650 llvm.dump-obj::653 llvm.opts::
47 https://clang.llvm.org
7 HOSTAR ?= llvm-ar