/llvm-project/llvm/test/CodeGen/AMDGPU/ |
H A D | amdgpu-simplify-libcall-log.ll | 30 ; CHECK-NEXT: [[LOG:%.*]] = tail call float @_Z3logf(float [[ARG]]), !fpmath !0 31 ; CHECK-NEXT: ret float [[LOG]] 33 %log = tail call float @_Z3logf(float %arg), !fpmath !0 34 ret float %log 40 ; CHECK-NEXT: [[LOG:%.*]] = tail call <2 x float> @_Z3logDv2_f(<2 x float> [[ARG]]), !fpmath !0 41 ; CHECK-NEXT: ret <2 x float> [[LOG]] 43 %log = tail call <2 x float> @_Z3logDv2_f(<2 x float> %arg), !fpmath !0 44 ret <2 x float> %log 50 ; CHECK-NEXT: [[LOG:%.*]] = tail call <3 x float> @_Z3logDv3_f(<3 x float> [[ARG]]), !fpmath !0 51 ; CHECK-NEXT: ret <3 x float> [[LOG]] [all …]
|
H A D | llvm.amdgcn.log.ll | 11 %log = call float @llvm.amdgcn.log.f32(float %src) 12 ret float %log 22 %log = call float @llvm.amdgcn.log.f32(float %fabs.src) 23 ret float %log 34 %log = call float @llvm.amdgcn.log.f32(float %neg.fabs.src) 35 ret float %log 44 %log = call half @llvm.amdgcn.log.f16(half %src) 45 ret half %log 55 %log = call half @llvm.amdgcn.log.f16(half %fabs.src) 56 ret half %log [all …]
|
/llvm-project/lldb/include/lldb/Utility/ |
H A D | LLDBLog.h | 12 #include "lldb/Utility/Log.h" 18 enum class LLDBLog : Log::MaskType { 19 API = Log::ChannelFlag<0>, 20 AST = Log::ChannelFlag<1>, 21 Breakpoints = Log::ChannelFlag<2>, 22 Commands = Log::ChannelFlag<3>, 23 Communication = Log::ChannelFlag<4>, 24 Connection = Log::ChannelFlag<5>, 25 DataFormatters = Log::ChannelFlag<6>, 26 Demangle = Log::ChannelFlag<7>, [all …]
|
H A D | Log.h | 1 //===-- Log.h ---------------------------------------------------*- C++ -*-===// 115 /// A T-style log handler that multiplexes messages to two log handlers. 132 class Log final { 134 /// The underlying type of all log channel enums. Declare them as: 136 /// Channel0 = Log::ChannelFlag<0>, 137 /// Channel1 = Log::ChannelFlag<1>, 146 // Description of a log channel category. 157 std::is_same<Log::MaskType, std::underlying_type_t<Cat>>::value); in Category() 161 // This class describes a log channe 165 friend class Log; global() variable 185 Log *log = log_ptr.load(std::memory_order_relaxed); GetLog() local 231 Log(Channel &channel) : m_channel(channel) {} Log() function 359 LLDB_LOG(log,...) global() argument 366 LLDB_LOGF(log,...) global() argument 373 LLDB_LOGV(log,...) global() argument 382 LLDB_LOG_ERROR(log,error,...) global() argument 396 LLDB_LOG_ERRORV(log,error,...) global() argument [all...] |
/llvm-project/clang/test/Driver/ |
H A D | darwin-ld.c | 3 // RUN: %clang -target i386-apple-darwin9 -arch i386 -arch x86_64 %s -### -o foo 2> %t.log 4 // RUN: grep '".*ld.*" .*"-arch_multiple" "-final_output" "foo"' %t.log 7 // RUN: %clang -target i386-apple-darwin9 -### -g %s -o BAR 2> %t.log 8 // RUN: grep -E '".*dsymutil(\.exe)?" "-o" "BAR.dSYM" "BAR"' %t.log 9 // RUN: %clang -target i386-apple-darwin9 -### -g -filelist FOO %s -o BAR 2> %t.log 10 // RUN: grep -E '".*dsymutil(\.exe)?" "-o" "BAR.dSYM" "BAR"' %t.log 14 …e-darwin9 -fuse-ld= -mlinker-version=400 -### -arch armv6 -miphoneos-version-min=3.0 %t.o 2> %t.log 15 …se-ld= -mlinker-version=400 -### -arch armv6 -miphoneos-version-min=3.0 -dynamiclib %t.o 2>> %t.log 16 … -fuse-ld= -mlinker-version=400 -### -arch armv6 -miphoneos-version-min=3.0 -bundle %t.o 2>> %t.log 17 // RUN: FileCheck -check-prefix=LINK_IPHONE_3_0 %s < %t.log [all …]
|
/llvm-project/lldb/source/Utility/ |
H A D | LLDBLog.cpp | 10 #include "lldb/Utility/Log.h" 16 static constexpr Log::Category g_categories[] = { 17 {{"api"}, {"log API calls and return values"}, LLDBLog::API}, 18 {{"ast"}, {"log AST"}, LLDBLog::AST}, 19 {{"break"}, {"log breakpoints"}, LLDBLog::Breakpoints}, 20 {{"commands"}, {"log command argument parsing"}, LLDBLog::Commands}, 21 {{"comm"}, {"log communication activities"}, LLDBLog::Communication}, 22 {{"conn"}, {"log connection details"}, LLDBLog::Connection}, 24 {"log mangled names to catch demangler crashes"}, 27 {"log shared library related activities"}, [all …]
|
H A D | Log.cpp | 1 //===-- Log.cpp -----------------------------------------------------------===// 9 #include "lldb/Utility/Log.h" 44 llvm::ManagedStatic<Log::ChannelMap> Log::g_channel_map; 46 // The error log is used by LLDB_LOG_ERROR. If the given log channel passed to in ForEachCategory() 47 // LLDB_LOG_ERROR is not enabled, error messages are logged to the error log. in ForEachCategory() 48 static std::atomic<Log *> g_error_log = nullptr; in ForEachCategory() 50 void Log::ForEachCategory( in ForEachCategory() 51 const Log in ForEachCategory() [all...] |
/llvm-project/llvm/test/Transforms/InstCombine/ |
H A D | log-pow.ll | 6 ; CHECK-NEXT: [[LOG1:%.*]] = call fast double @llvm.log.f64(double [[X:%.*]]) 11 %log = call fast double @log(double %pow) 12 ret double %log 17 ; CHECK-NEXT: [[LOG1:%.*]] = call fast double @llvm.log.f64(double [[X:%.*]]) 22 %log = call fast double @log(double %pow) 23 ret double %log 28 ; CHECK-NEXT: [[LOG1:%.*]] = call fast double @llvm.log.f64(double [[X:%.*]]) 34 %log [all...] |
/llvm-project/clang-tools-extra/clangd/test/remote-index/ |
H A D | public-log.test | 3 …elper.py --input-file-name=%s --server-arg=--log=verbose --server-arg=-log-public --server-log=%t.… 4 …on %S/pipeline_helper.py --input-file-name=%s --server-arg=--log=verbose --server-log=%t.log --pro… 5 # RUN: FileCheck --check-prefixes=LOG,LOG-PUBLIC %s < %t.public.log 6 # RUN: FileCheck --check-prefixes=LOG,LOG-ALL %s < %t.log 9 # LOG: Server listening on 13 # but not when --log-public is on. 16 # LOG-ALL: <<< FuzzyFindRequest 17 # LOG-ALL: query: "gFoo" 18 # LOG-ALL: >>> FuzzyFindReply 19 # LOG-ALL: name: "getFoo" [all …]
|
/llvm-project/llvm/tools/llvm-rc/ |
H A D | ResourceScriptStmt.cpp | 26 raw_ostream &OptionalStmtList::log(raw_ostream &OS) const { in log() function in llvm::rc::OptionalStmtList 29 Stmt->log(OS); in log() 34 raw_ostream &LanguageResource::log(raw_ostream &OS) const { in log() function in llvm::rc::LanguageResource 46 raw_ostream &AcceleratorsResource::log(raw_ostream &OS) const { in log() function in llvm::rc::AcceleratorsResource 48 OptStatements->log(OS); in log() 59 raw_ostream &BitmapResource::log(raw_ostream &OS) const { in log() function in llvm::rc::BitmapResource 63 raw_ostream &CursorResource::log(raw_ostream &OS) const { in log() function in llvm::rc::CursorResource 67 raw_ostream &IconResource::log(raw_ostream &OS) const { in log() function in llvm::rc::IconResource 71 raw_ostream &HTMLResource::log(raw_ostream &OS) const { in log() function in llvm::rc::HTMLResource 88 raw_ostream &MenuDefinitionList::log(raw_ostream &OS) const { in log() function in llvm::rc::MenuDefinitionList [all …]
|
/llvm-project/lldb/source/Symbol/ |
H A D | SymbolFileOnDemand.cpp | 49 Log *log = GetLog(); in ParseLanguage() local 50 LLDB_LOG(log, "[{0}] {1} is skipped", GetSymbolFileName(), __FUNCTION__); in ParseLanguage() 51 if (log) { in ParseLanguage() 54 LLDB_LOG(log, "Language {0} would return if hydrated.", langType); in ParseLanguage() 63 Log *log = GetLog(); in ParseXcodeSDK() local 64 LLDB_LOG(log, "[{0}] {1} is skipped", GetSymbolFileName(), __FUNCTION__); in ParseXcodeSDK() 66 if (log) { in ParseXcodeSDK() 69 LLDB_LOG(log, "SD in ParseXcodeSDK() 128 Log *log = GetLog(); ParseIsOptimized() local 154 Log *log = GetLog(); ParseImportedModules() local 189 Log *log = GetLog(); ResolveTypeUID() local 223 Log *log = GetLog(); GetDeclForUID() local 332 Log *log = GetLog(); FindGlobalVariables() local 361 Log *log = GetLog(); FindFunctions() local 394 Log *log = GetLog(); FindFunctions() local 425 Log *log = GetLog(); GetMangledNamesForFunction() local 457 Log *log = GetLog(); GetTypeSystemForLanguage() local 483 Log *log = GetLog(); ParseCallEdgesInFunction() local 512 Log *log = GetLog(); GetParameterStackSize() local [all...] |
/llvm-project/lldb/source/Plugins/Process/Windows/Common/ |
H A D | DebuggerThread.cpp | 22 #include "lldb/Utility/Log.h" 52 Log *log = GetLog(WindowsLog::Process); in DebugLaunch() local 53 LLDB_LOG(log, "launching '{0}'", launch_info.GetExecutableFile().GetPath()); in DebugLaunch() 61 LLDB_LOG(log, "couldn't launch debugger thread. {0}", result); in DebugLaunch() 69 Log *log = GetLog(WindowsLog::Process); in DebugAttach() local 70 LLDB_LOG(log, "attaching to '{0}'", pid); in DebugAttach() 79 LLDB_LOG(log, "couldn't attach to process '{0}'. {1}", pid, result); in DebugAttach() 91 Log *lo in DebuggerThreadLaunchRoutine() local 118 Log *log = GetLog(WindowsLog::Process); DebuggerThreadAttachRoutine() local 141 Log *log = GetLog(WindowsLog::Process); StopDebugging() local 215 Log *log = GetLog(WindowsLog::Process | WindowsLog::Exception); ContinueAsyncException() local 233 Log *log = GetLog(WindowsLog::Event); DebugLoop() local 314 Log *log = GetLog(WindowsLog::Event | WindowsLog::Exception); HandleExceptionEvent() local 357 Log *log = GetLog(WindowsLog::Event | WindowsLog::Thread); HandleCreateThreadEvent() local 369 Log *log = GetLog(WindowsLog::Event | WindowsLog::Process); HandleCreateProcessEvent() local 397 Log *log = GetLog(WindowsLog::Event | WindowsLog::Thread); HandleExitThreadEvent() local 407 Log *log = GetLog(WindowsLog::Event | WindowsLog::Thread); HandleExitProcessEvent() local 474 Log *log = GetLog(WindowsLog::Event); HandleLoadDllEvent() local 525 Log *log = GetLog(WindowsLog::Event); HandleUnloadDllEvent() local 542 Log *log = GetLog(WindowsLog::Event); HandleRipEvent() local [all...] |
H A D | ProcessWindowsLog.h | 12 #include "lldb/Utility/Log.h" 17 enum class WindowsLog : Log::MaskType { 18 Breakpoints = Log::ChannelFlag<0>, // Log breakpoint operations 19 Event = Log::ChannelFlag<1>, // Low level debug events 20 Exception = Log::ChannelFlag<2>, // Log exceptions 21 Memory = Log::ChannelFlag<3>, // Log memory reads/writes calls 22 Process = Log::ChannelFlag<4>, // Log process operations 23 Registers = Log::ChannelFlag<5>, // Log register operations 24 Step = Log::ChannelFlag<6>, // Log step operations 25 Thread = Log::ChannelFlag<7>, // Log thread operations [all …]
|
H A D | ProcessDebugger.cpp | 75 Log *log = GetLog(WindowsLog::Process); in DetachProcess() local 85 LLDB_LOG(log, "there is no active session."); in DetachProcess() 94 LLDB_LOG(log, "detaching from process {0}.", in DetachProcess() 111 Log *log = GetLog(WindowsLog::Process); in LaunchProcess() local 133 LLDB_LOG(log, "error: {0}", message); in LaunchProcess() 145 LLDB_LOG(log, "failed launching '{0}'. {1}", in LaunchProcess() 153 LLDB_LOG(log, "failed launching '{0}'. {1}", in LaunchProcess() 158 LLDB_LOG(log, "successfull in LaunchProcess() 174 Log *log = GetLog(WindowsLog::Process); AttachProcess() local 212 Log *log = GetLog(WindowsLog::Process); DestroyProcess() local 248 Log *log = GetLog(WindowsLog::Process); HaltProcess() local 266 Log *log = GetLog(WindowsLog::Memory); ReadMemory() local 296 Log *log = GetLog(WindowsLog::Memory); WriteMemory() local 326 Log *log = GetLog(WindowsLog::Memory); AllocateMemory() local 354 Log *log = GetLog(WindowsLog::Memory); DeallocateMemory() local 378 Log *log = GetLog(WindowsLog::Memory); GetMemoryRegionInfo() local 483 Log *log = GetLog(WindowsLog::Exception); OnDebugException() local 537 Log *log = GetLog(WindowsLog::Process); OnDebuggerError() local 563 Log *log = GetLog(WindowsLog::Process | WindowsLog::Breakpoints); WaitForDebuggerConnection() local [all...] |
/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | NativeRegisterContextDBReg_arm64.cpp | 12 #include "lldb/Utility/Log.h" 19 Log *log = GetLog(LLDBLog::Watchpoints); 20 LLDB_LOG(log, "wp_index: {0}", wp_index); 33 Log *log = GetLog(LLDBLog::Breakpoints); NumSupportedHardwareBreakpoints() local 47 Log *log = GetLog(LLDBLog::Breakpoints); SetHardwareBreakpoint() local 108 Log *log = GetLog(LLDBLog::Breakpoints); ClearHardwareBreakpoint() local 148 Log *log = GetLog(LLDBLog::Breakpoints); GetHardwareBreakHitIndex() local 168 Log *log = GetLog(LLDBLog::Breakpoints); ClearAllHardwareBreakpoints() local 210 Log *log = GetLog(LLDBLog::Watchpoints); NumSupportedHardwareWatchpoints() local 223 Log *log = GetLog(LLDBLog::Watchpoints); SetHardwareWatchpoint() local 316 Log *log = GetLog(LLDBLog::Watchpoints); ClearHardwareWatchpoint() local 388 Log *log = GetLog(LLDBLog::Watchpoints); GetWatchpointSize() local 406 Log *log = GetLog(LLDBLog::Watchpoints); WatchpointIsEnabled() local 417 Log *log = GetLog(LLDBLog::Watchpoints); GetWatchpointHitIndex() local 448 Log *log = GetLog(LLDBLog::Watchpoints); GetWatchpointAddress() local 461 Log *log = GetLog(LLDBLog::Watchpoints); GetWatchpointHitAddress() local
|
/llvm-project/lldb/unittests/Utility/ |
H A D | LogTest.cpp | 12 #include "lldb/Utility/Log.h" 22 enum class TestChannel : Log::MaskType { 23 FOO = Log::ChannelFlag<0>, 24 BAR = Log::ChannelFlag<1>, 30 static constexpr Log::Category test_categories[] = { 31 {{"foo"}, {"log foo"}, TestChannel::FOO}, 32 {{"bar"}, {"log bar"}, TestChannel::BAR}, 35 static Log::Channel test_channel(test_categories, TestChannel::FOO); 38 template <> Log::Channel &LogChannelFor<TestChannel>() { return test_channel; } in LogChannelFor() 48 return Log::EnableLogChannel(log_handler_sp, log_options, channel, categories, in EnableChannel() [all …]
|
/llvm-project/libc/AOR_v20.02/math/test/testcases/directed/ |
H A D | log.tst | 1 ; Directed test cases for log 7 func=log op1=7ff80000.00000001 result=7ff80000.00000001 errno=0 8 func=log op1=fff80000.00000001 result=7ff80000.00000001 errno=0 9 func=log op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i 10 func=log op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i 11 func=log op1=7ff00000.00000000 result=7ff00000.00000000 errno=0 12 func=log op1=fff00000.00000000 result=7ff80000.00000001 errno=EDOM status=i 13 func=log op1=7fefffff.ffffffff result=40862e42.fefa39ef.354 errno=0 14 func=log op1=ffefffff.ffffffff result=7ff80000.00000001 errno=EDOM status=i 15 func=log op1=3ff00000.00000000 result=00000000.00000000 errno=0 [all …]
|
/llvm-project/clang/test/CodeGenHLSL/builtins/ |
H A D | log.hlsl | 9 // NATIVE_HALF: call reassoc nnan ninf nsz arcp afn half @llvm.log.f16( 11 // NO_HALF: call reassoc nnan ninf nsz arcp afn float @llvm.log.f32( 12 half test_log_half(half p0) { return log(p0); } 14 // NATIVE_HALF: call reassoc nnan ninf nsz arcp afn <2 x half> @llvm.log.v2f16 16 // NO_HALF: call reassoc nnan ninf nsz arcp afn <2 x float> @llvm.log.v2f32( 17 half2 test_log_half2(half2 p0) { return log(p0); } 19 // NATIVE_HALF: call reassoc nnan ninf nsz arcp afn <3 x half> @llvm.log.v3f16 21 // NO_HALF: call reassoc nnan ninf nsz arcp afn <3 x float> @llvm.log.v3f32( 22 half3 test_log_half3(half3 p0) { return log(p0); } 24 // NATIVE_HALF: call reassoc nnan ninf nsz arcp afn <4 x half> @llvm.log [all...] |
/llvm-project/libc/test/src/math/performance_testing/ |
H A D | BinaryOpSingleOutputPerf.h | 31 size_t N, size_t rounds, std::ofstream &log) { in run_perf_in_range() 61 log << "-- My function --\n"; in run_perf_in_range() 62 log << " Total time : " << timer.nanoseconds() << " ns \n"; in run_perf_in_range() 63 log << " Average runtime : " << my_average << " ns/op \n"; in run_perf_in_range() 64 log << " Ops per second : " in run_perf_in_range() 73 log << "-- Other function --\n"; in run_perf_in_range() 74 log << " Total time : " << timer.nanoseconds() << " ns \n"; in run_perf_in_range() 75 log << " Average runtime : " << other_average << " ns/op \n"; in run_perf_in_range() 76 log << " Ops per second : " in run_perf_in_range() 79 log << " in run_perf_in_range() 29 run_perf_in_range(Func myFunc,Func otherFunc,StorageType startingBit,StorageType endingBit,size_t N,size_t rounds,std::ofstream & log) run_perf_in_range() argument [all...] |
/llvm-project/lldb/source/Plugins/Process/MacOSX-Kernel/ |
H A D | ProcessKDPLog.h | 12 #include "lldb/Utility/Log.h" 17 enum class KDPLog : Log::MaskType { 18 Async = Log::ChannelFlag<0>, 19 Breakpoints = Log::ChannelFlag<1>, 20 Comm = Log::ChannelFlag<2>, 21 MemoryDataLong = Log::ChannelFlag<3>, // Log all memory reads/writes bytes 22 MemoryDataShort = Log::ChannelFlag<4>, // Log short memory reads/writes bytes 23 Memory = Log::ChannelFlag<5>, // Log memory reads/writes calls 24 Packets = Log::ChannelFlag<6>, 25 Process = Log::ChannelFlag<7>, [all …]
|
/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | ProcessGDBRemoteLog.h | 12 #include "lldb/Utility/Log.h" 18 enum class GDBRLog : Log::MaskType { 19 Async = Log::ChannelFlag<0>, 20 Breakpoints = Log::ChannelFlag<1>, 21 Comm = Log::ChannelFlag<2>, 22 Memory = Log::ChannelFlag<3>, // Log memory reads/writes calls 23 MemoryDataLong = Log::ChannelFlag<4>, // Log all memory reads/writes bytes 24 MemoryDataShort = Log::ChannelFlag<5>, // Log short memory reads/writes bytes 25 Packets = Log::ChannelFlag<6>, 26 Process = Log::ChannelFlag<7>, [all …]
|
/llvm-project/mlir/test/python/ |
H A D | pass_manager.py | 10 # Log everything to stderr and flush so that we have a unified stream to match 12 def log(*args): function 18 log("\nTEST:", f.__name__) 47 log(f"pm1: '{pm1}'") 48 log(f"pm2: '{pm2}'") 62 log("ValueError exception:", e) 64 log("Exception not produced") 69 log("Roundtrip: ", pm) 86 log("Roundtrip: ", pm) 103 log("ValueErro [all...] |
/llvm-project/lldb/test/API/commands/log/basic/ |
H A D | TestLogging.py | 18 self.log_file = self.getBuildArtifact("log-file.txt") 28 # By default, Debugger::EnableLog() will set log options to 31 self.runCmd("log enable -f '%s' lldb commands" % (self.log_file)) 39 self.runCmd("log disable lldb") 47 self.assertGreater(len(log_lines), 0, "Something was written to the log file.") 49 # Check that lldb truncates its log files 51 # put something in our log file 56 self.runCmd("log enable -f '%s' lldb commands" % self.log_file) 57 self.runCmd("help log") 58 self.runCmd("log disable lldb") [all …]
|
/llvm-project/lldb/source/Target/ |
H A D | ThreadPlan.cpp | 16 #include "lldb/Utility/Log.h" 80 Log *log = GetLog(LLDBLog::Step); in ShouldReportStop() local 86 LLDB_LOG(log, "returning previous thread plan vote: {0}", prev_vote); in ShouldReportStop() 90 LLDB_LOG(log, "Returning vote: {0}", m_report_stop_vote); in ShouldReportStop() 120 Log *log = GetLog(LLDBLog::Step); in WillResume() local 122 if (log) { in WillResume() 129 log, in WillResume() 203 Log *lo in ValidatePlan() [all...] |
/llvm-project/clang/test/APINotes/ |
H A D | module-cache.m | 10 …cache-path=%t/ModulesCache -iapinotes-modules %t/APINotes -F %t/Frameworks %s > %t/before.log 2>&1 11 // RUN: FileCheck -check-prefix=CHECK-METHODB %s < %t/before.log 12 // RUN: FileCheck -check-prefix=CHECK-REBUILD %s < %t/before.log 13 // RUN: FileCheck -check-prefix=CHECK-ONE-ERROR %s < %t/before.log 16 …cache-path=%t/ModulesCache -iapinotes-modules %t/APINotes -F %t/Frameworks %s > %t/before.log 2>&1 17 // RUN: FileCheck -check-prefix=CHECK-METHODB %s < %t/before.log 18 // RUN: FileCheck -check-prefix=CHECK-WITHOUT-REBUILD %s < %t/before.log 19 // RUN: FileCheck -check-prefix=CHECK-ONE-ERROR %s < %t/before.log 24 …cache-path=%t/ModulesCache -iapinotes-modules %t/APINotes -F %t/Frameworks %s > %t/before.log 2>&1 25 // RUN: FileCheck -check-prefix=CHECK-METHODB %s < %t/before.log [all …]
|