Searched refs:llvm (Results 1 – 16 of 16) sorted by relevance
/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 | 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()
|
D | clang.h | 13 using namespace llvm; variable 23 std::unique_ptr<llvm::SmallVectorImpl<char>> 24 getBPFObjectFromModule(llvm::Module *Module);
|
/tools/perf/tests/ |
D | .gitignore | 1 llvm-src-base.c 2 llvm-src-kbuild.c 3 llvm-src-prologue.c 4 llvm-src-relocation.c
|
D | Build | 38 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>' > $@
|
/tools/build/feature/ |
D | test-llvm.cpp | 11 llvm::errs() << "Hello World!\n"; in main() 12 llvm::llvm_shutdown(); in main()
|
D | test-clang.cpp | 20 llvm::llvm_shutdown(); in main()
|
D | Makefile | 66 test-llvm.bin \ 67 test-llvm-version.bin \ 76 LLVM_CONFIG ?= llvm-config 288 $(OUTPUT)test-llvm.bin: 296 $(OUTPUT)test-llvm-version.bin:
|
/tools/testing/selftests/bpf/ |
D | Makefile | 17 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 \
|
/tools/testing/selftests/tc-testing/bpf/ |
D | Makefile | 29 -O2 -target bpf -emit-llvm -c $< -o - | \
|
/tools/build/ |
D | Makefile.feature | 97 llvm \ 98 llvm-version \
|
/tools/perf/Documentation/ |
D | perf-config.txt | 127 [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::
|
D | perf-record.txt | 549 'perf record --dry-run -e' can act as a BPF script compiler if llvm.dump-obj
|
/tools/perf/ |
D | Makefile.config | 959 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)
|
D | Makefile.perf | 171 LLVM_CONFIG ?= llvm-config 963 $(OUTPUT)tests/llvm-src-{base,kbuild,prologue,relocation}.c \
|
/tools/perf/util/ |
D | Build | 20 perf-y += llvm-utils.o
|