/external/llvm-project/llvm/tools/llvm-xray/ |
D | CMakeLists.txt | 9 add_llvm_tool(llvm-xray 11 llvm-xray.cpp 12 xray-account.cpp 13 xray-color-helper.cpp 14 xray-converter.cpp 15 xray-extract.cpp 16 xray-fdr-dump.cpp 17 xray-graph-diff.cpp 18 xray-graph.cpp 19 xray-registry.cpp [all …]
|
/external/llvm-project/llvm/utils/gn/secondary/llvm/tools/llvm-xray/ |
D | BUILD.gn | 1 executable("llvm-xray") { 12 "llvm-xray.cpp", 13 "xray-account.cpp", 14 "xray-color-helper.cpp", 15 "xray-converter.cpp", 16 "xray-extract.cpp", 17 "xray-fdr-dump.cpp", 18 "xray-graph-diff.cpp", 19 "xray-graph.cpp", 20 "xray-registry.cpp", [all …]
|
/external/llvm-project/llvm/include/llvm/XRay/ |
D | YAMLXRayRecord.h | 21 namespace xray { 55 template <> struct ScalarEnumerationTraits<xray::RecordTypes> { 56 static void enumeration(IO &IO, xray::RecordTypes &Type) { 57 IO.enumCase(Type, "function-enter", xray::RecordTypes::ENTER); 58 IO.enumCase(Type, "function-exit", xray::RecordTypes::EXIT); 59 IO.enumCase(Type, "function-tail-exit", xray::RecordTypes::TAIL_EXIT); 60 IO.enumCase(Type, "function-enter-arg", xray::RecordTypes::ENTER_ARG); 61 IO.enumCase(Type, "custom-event", xray::RecordTypes::CUSTOM_EVENT); 62 IO.enumCase(Type, "typed-event", xray::RecordTypes::TYPED_EVENT); 66 template <> struct MappingTraits<xray::YAMLXRayFileHeader> { [all …]
|
D | InstrumentationMap.h | 27 namespace xray { 106 template <> struct ScalarEnumerationTraits<xray::SledEntry::FunctionKinds> { 107 static void enumeration(IO &IO, xray::SledEntry::FunctionKinds &Kind) { 108 IO.enumCase(Kind, "function-enter", xray::SledEntry::FunctionKinds::ENTRY); 109 IO.enumCase(Kind, "function-exit", xray::SledEntry::FunctionKinds::EXIT); 110 IO.enumCase(Kind, "tail-exit", xray::SledEntry::FunctionKinds::TAIL); 112 xray::SledEntry::FunctionKinds::LOG_ARGS_ENTER); 114 xray::SledEntry::FunctionKinds::CUSTOM_EVENT); 118 template <> struct MappingTraits<xray::YAMLXRaySledEntry> { 119 static void mapping(IO &IO, xray::YAMLXRaySledEntry &Entry) { [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/ |
D | YAMLXRayRecord.h | 21 namespace xray { 55 template <> struct ScalarEnumerationTraits<xray::RecordTypes> { 56 static void enumeration(IO &IO, xray::RecordTypes &Type) { 57 IO.enumCase(Type, "function-enter", xray::RecordTypes::ENTER); 58 IO.enumCase(Type, "function-exit", xray::RecordTypes::EXIT); 59 IO.enumCase(Type, "function-tail-exit", xray::RecordTypes::TAIL_EXIT); 60 IO.enumCase(Type, "function-enter-arg", xray::RecordTypes::ENTER_ARG); 61 IO.enumCase(Type, "custom-event", xray::RecordTypes::CUSTOM_EVENT); 62 IO.enumCase(Type, "typed-event", xray::RecordTypes::TYPED_EVENT); 66 template <> struct MappingTraits<xray::YAMLXRayFileHeader> { [all …]
|
D | InstrumentationMap.h | 27 namespace xray { 103 template <> struct ScalarEnumerationTraits<xray::SledEntry::FunctionKinds> { 104 static void enumeration(IO &IO, xray::SledEntry::FunctionKinds &Kind) { 105 IO.enumCase(Kind, "function-enter", xray::SledEntry::FunctionKinds::ENTRY); 106 IO.enumCase(Kind, "function-exit", xray::SledEntry::FunctionKinds::EXIT); 107 IO.enumCase(Kind, "tail-exit", xray::SledEntry::FunctionKinds::TAIL); 109 xray::SledEntry::FunctionKinds::LOG_ARGS_ENTER); 111 xray::SledEntry::FunctionKinds::CUSTOM_EVENT); 115 template <> struct MappingTraits<xray::YAMLXRaySledEntry> { 116 static void mapping(IO &IO, xray::YAMLXRaySledEntry &Entry) { [all …]
|
/external/llvm-project/compiler-rt/lib/xray/tests/unit/ |
D | fdr_controller_test.cpp | 32 using ::llvm::xray::testing::FuncId; 33 using ::llvm::xray::testing::HasArg; 34 using ::llvm::xray::testing::RecordType; 35 using ::llvm::xray::testing::TSCIs; 71 auto TraceOrErr = llvm::xray::loadTrace(DE); in TEST_F() 75 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::ENTER)), in TEST_F() 76 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::EXIT))))); in TEST_F() 95 auto TraceOrErr = llvm::xray::loadTrace(DE); in TEST_F() 99 AllOf(FuncId(FId), RecordType(llvm::xray::RecordTypes::ENTER)), in TEST_F() 100 AllOf(FuncId(FId), RecordType(llvm::xray::RecordTypes::EXIT)), in TEST_F() [all …]
|
D | fdr_log_writer_test.cpp | 29 using ::llvm::xray::testing::FuncId; 30 using ::llvm::xray::testing::RecordType; 68 auto TraceOrErr = llvm::xray::loadTrace(DE); in TEST() 72 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::ENTER)), in TEST() 73 AllOf(FuncId(1), RecordType(llvm::xray::RecordTypes::EXIT))))); in TEST() 121 auto TraceOrErr = llvm::xray::loadTrace(DE); in TEST() 124 FuncId(1), RecordType(llvm::xray::RecordTypes::ENTER))))); in TEST() 156 auto TraceOrErr = llvm::xray::loadTrace(DE); in TEST()
|
/external/llvm-project/compiler-rt/lib/xray/ |
D | CMakeLists.txt | 146 add_compiler_rt_component(xray) 162 add_weak_symbols("xray" WEAK_SYMBOL_LINK_FLAGS) 198 add_compiler_rt_runtime(clang_rt.xray 209 PARENT_TARGET xray) 210 add_compiler_rt_runtime(clang_rt.xray-fdr 219 PARENT_TARGET xray) 220 add_compiler_rt_runtime(clang_rt.xray-basic 229 PARENT_TARGET xray) 230 add_compiler_rt_runtime(clang_rt.xray-profiling 239 PARENT_TARGET xray) [all …]
|
D | xray_flags.inc | 18 XRAY_FLAG(const char *, xray_logfile_base, "xray-log.", 19 "Filename base for the xray logfile.") 27 "DEPRECATED: Use xray_mode=xray-basic instead.") 40 "DEPRECATED: Use xray_mode=xray-fdr instead.")
|
/external/llvm-project/llvm/docs/ |
D | XRayExample.rst | 63 $ XRAY_OPTIONS="patch_premain=true xray_mode=xray-basic verbosity=1" ./bin/llc input.ll 64 ==69819==XRay: Log file in 'xray-log.llc.m35qPB' 68 The ``llvm-xray`` Tool 73 sense of this data, we use the ``llvm-xray`` tool which has a few subcommands 77 been instrumented. We can see an example accounting with ``llvm-xray account``: 81 $ llvm-xray account xray-log.llc.m35qPB -top=10 -sort=sum -sortorder=dsc -instr_map ./bin/llc 101 ``llvm-xray convert`` tool to get YAML output. The first few lines of that 106 $ llvm-xray convert -f yaml -symbolize -instr_map=./bin/llc xray-log.llc.m35qPB 152 ==69819==XRay: Log file in 'xray-log.llc.5rqxkU' 154 $ llvm-xray account xray-log.llc.5rqxkU -top=10 -sort=sum -sortorder=dsc -instr_map ./bin/llc [all …]
|
D | XRay.rst | 92 `libclang_rt.xray-{arch}` where `{arch}` is the mnemonic supported by clang 104 define i32 @always_instrument() uwtable "function-instrument"="xray-always" { 108 define i32 @never_instrument() uwtable "function-instrument"="xray-never" { 112 You can also set the ``xray-instruction-threshold`` attribute and provide a 118 define i32 @maybe_instrument() uwtable "xray-instruction-threshold"="2" { 156 Also by default the filename of the XRay trace is ``xray-log.XXXXXX`` where the 173 | xray_logfile_base | ``const char*`` | ``xray-log.`` | Filename base for the | 184 ``xray_log_interface.h`` from the compiler-rt ``xray`` directory. The important API 189 ``XRayLogImpl`` defined in ``xray/xray_log_interface.h``. 195 ``xray/xray_log_interface.h`` for details, part of the XRay compiler-rt [all …]
|
/external/llvm-project/llvm/utils/gn/secondary/compiler-rt/include/ |
D | BUILD.gn | 22 "xray/xray_interface.h", 23 "xray/xray_log_interface.h", 24 "xray/xray_records.h",
|
/external/llvm-project/compiler-rt/include/ |
D | CMakeLists.txt | 31 xray/xray_interface.h 32 xray/xray_log_interface.h 33 xray/xray_records.h 78 # Install xray headers. 82 DESTINATION ${COMPILER_RT_INSTALL_PATH}/include/xray)
|
/external/llvm-project/compiler-rt/test/xray/ |
D | CMakeLists.txt | 11 list(APPEND XRAY_TEST_DEPS xray) 30 add_lit_testsuite(check-xray "Running the XRay tests" 33 set_target_properties(check-xray PROPERTIES FOLDER "Compiler-RT Misc")
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | xray-log-args.ll | 6 define i32 @callee(i32 %arg) nounwind noinline uwtable "function-instrument"="xray-always" "xray-lo… 28 define i32 @caller(i32 %arg) nounwind noinline uwtable "function-instrument"="xray-always" "xray-lo…
|
D | xray-partial-instrumentation-skip-exit.ll | 6 define i32 @foo() nounwind noinline uwtable "function-instrument"="xray-always" "xray-skip-exit" { 26 define i32 @bar(i32 %i) nounwind noinline uwtable "function-instrument"="xray-always" "xray-skip-ex…
|
D | xray-partial-instrumentation-skip-entry.ll | 6 define i32 @foo() nounwind noinline uwtable "function-instrument"="xray-always" "xray-skip-entry" { 25 define i32 @bar(i32 %i) nounwind noinline uwtable "function-instrument"="xray-always" "xray-skip-en…
|
D | xray-custom-log.ll | 5 define i32 @fn() nounwind noinline uwtable "function-instrument"="xray-always" { 10 call void @llvm.xray.customevent(i8* %eventptr, i32 %val) 36 declare void @llvm.xray.customevent(i8*, i32)
|
/external/llvm-project/llvm/test/tools/llvm-xray/X86/ |
D | convert-with-yaml-instrmap.txt | 1 ; RUN: llvm-xray convert -m %S/Inputs/simple-xray-instrmap.yaml %S/Inputs/naive-log-simple.xray -f=…
|
D | no-such-file.txt | 1 ; RUN: not llvm-xray extract no-such-file 2>&1 | FileCheck %s 3 ; CHECK: llvm-xray: Cannot extract instrumentation map from 'no-such-file'.
|
D | no-instr-map.txt | 1 ; RUN: not llvm-xray extract %S/Inputs/elf64-noinstr-map.bin 2>&1 | FileCheck %s 3 ; CHECK: llvm-xray: Cannot extract instrumentation map from '{{.*}}elf64-noinstr-map.bin'.
|
D | empty.txt | 1 ; RUN: not llvm-xray extract %S/Inputs/empty-file.bin 2>&1 | FileCheck %s 3 ; CHECK: llvm-xray: Cannot extract instrumentation map from '{{.*}}empty-file.bin'.
|
D | unsupported-elf32.txt | 1 ; RUN: not llvm-xray extract %S/Inputs/elf32-noxray.bin 2>&1 | FileCheck %s 2 ; CHECK: llvm-xray: Cannot extract instrumentation map from '{{.*}}elf32-noxray.bin'.
|
D | bad-instrmap-sizes.txt | 1 ; RUN: not llvm-xray extract %S/Inputs/elf64-badentrysizes.bin 2>&1 | FileCheck %s 2 ; CHECK: llvm-xray: Cannot extract instrumentation map from '{{.*}}elf64-badentrysizes.bin'.
|