| /llvm-project/flang/runtime/ |
| H A D | unit.cpp | 48 std::size_t elementBytes, IoErrorHandler &handler) { in Emit() argument 71 handler.SignalError(IostatRecordWriteOverrun, in Emit() 87 handler.SignalError(IostatWriteAfterEndfile); in Emit() 90 CheckDirectAccess(handler); in Emit() 91 WriteFrame(frameOffsetInFile_, recordOffsetInFrame_ + furthestAfter, handler); in Emit() 108 std::size_t elementBytes, IoErrorHandler &handler) { in Receive() argument 109 RUNTIME_CHECK(handler, direction_ == Direction::Input); in Receive() 113 handler.SignalError(IostatRecordReadOverrun, in Receive() 120 auto got{ReadFrame(frameOffsetInFile_, need, handler)}; in Receive() 130 HitEndOnRead(handler); in Receive() 136 GetNextInputBytes(const char * & p,IoErrorHandler & handler) GetNextInputBytes() argument 152 FrameNextInput(IoErrorHandler & handler,std::size_t bytes) FrameNextInput() argument 185 BeginReadingRecord(IoErrorHandler & handler) BeginReadingRecord() argument 229 FinishReadingRecord(IoErrorHandler & handler) FinishReadingRecord() argument 273 AdvanceRecord(IoErrorHandler & handler) AdvanceRecord() argument 345 BackspaceRecord(IoErrorHandler & handler) BackspaceRecord() argument 378 FlushOutput(IoErrorHandler & handler) FlushOutput() argument 394 FlushIfTerminal(IoErrorHandler & handler) FlushIfTerminal() argument 400 Endfile(IoErrorHandler & handler) Endfile() argument 419 Rewind(IoErrorHandler & handler) Rewind() argument 432 SetPosition(std::int64_t pos,IoErrorHandler & handler) SetPosition() argument 442 SetStreamPos(std::int64_t oneBasedPos,IoErrorHandler & handler) SetStreamPos() argument 467 SetDirectRec(std::int64_t oneBasedRec,IoErrorHandler & handler) SetDirectRec() argument 493 BeginSequentialVariableUnformattedInputRecord(IoErrorHandler & handler) BeginSequentialVariableUnformattedInputRecord() argument 535 BeginVariableFormattedInputRecord(IoErrorHandler & handler) BeginVariableFormattedInputRecord() argument 563 BackspaceFixedRecord(IoErrorHandler & handler) BackspaceFixedRecord() argument 573 BackspaceVariableUnformattedRecord(IoErrorHandler & handler) BackspaceVariableUnformattedRecord() argument 624 BackspaceVariableFormattedRecord(IoErrorHandler & handler) BackspaceVariableFormattedRecord() argument 664 DoImpliedEndfile(IoErrorHandler & handler) DoImpliedEndfile() argument 678 DoEndfile(IoErrorHandler & handler) DoEndfile() argument 724 CheckDirectAccess(IoErrorHandler & handler) CheckDirectAccess() argument 736 HitEndOnRead(IoErrorHandler & handler) HitEndOnRead() argument [all...] |
| H A D | pseudo-unit.cpp | 39 IoErrorHandler &handler) { in LookUpOrCreateAnonymous() argument 41 handler.Crash("ExternalFileUnit only supports output IO"); in LookUpOrCreateAnonymous() 43 return New<ExternalFileUnit>{handler}(unit).release(); in LookUpOrCreateAnonymous() 64 std::size_t, Convert, IoErrorHandler &handler) { in OpenUnit() argument 65 handler.Crash("%s: unsupported", RT_PRETTY_FUNCTION); in OpenUnit() 70 IoErrorHandler &handler) { in OpenAnonymousUnit() argument 71 handler.Crash("%s: unsupported", RT_PRETTY_FUNCTION); in OpenAnonymousUnit() 74 void ExternalFileUnit::CloseUnit(CloseStatus, IoErrorHandler &handler) { in CloseUnit() argument 75 handler.Crash("%s: unsupported", RT_PRETTY_FUNCTION); in CloseUnit() 94 int ExternalFileUnit::GetAsynchronousId(IoErrorHandler &handler) { in GetAsynchronousId() argument [all …]
|
| H A D | external-unit.cpp | 39 IoErrorHandler handler{terminator}; in FlushOutputOnCrash() local 40 handler.HasIoStat(); // prevent nested crash if flush has error in FlushOutputOnCrash() 43 defaultOutput->FlushOutput(handler); in FlushOutputOnCrash() 46 errorOutput->FlushOutput(handler); in FlushOutputOnCrash() 61 IoErrorHandler &handler) { in LookUpOrCreateAnonymous() argument 66 ExternalFileUnit *result{GetUnitMap().LookUpOrCreate(unit, handler, exists)}; in LookUpOrCreateAnonymous() 74 action, Position::Rewind, Convert::Unknown, handler)) { in LookUpOrCreateAnonymous() 115 IoErrorHandler &handler) { in OpenUnit() 127 handler.SignalError("OPEN statement for connected unit may not have " in OpenUnit() 137 DoImpliedEndfile(handler); in OpenUnit() 111 OpenUnit(Fortran::common::optional<OpenStatus> status,Fortran::common::optional<Action> action,Position position,OwningPtr<char> && newPath,std::size_t newPathLength,Convert convert,IoErrorHandler & handler) OpenUnit() argument 196 OpenAnonymousUnit(Fortran::common::optional<OpenStatus> status,Fortran::common::optional<Action> action,Position position,Convert convert,IoErrorHandler & handler) OpenAnonymousUnit() argument 206 CloseUnit(CloseStatus status,IoErrorHandler & handler) CloseUnit() argument 243 IoErrorHandler handler{terminator}; CreateUnitMap() local 280 IoErrorHandler handler{"Fortran program termination"}; CloseAllExternalUnits() local 299 CloseAll(IoErrorHandler & handler) CloseAll() argument 310 FlushAll(IoErrorHandler & handler) FlushAll() argument 317 GetAsynchronousId(IoErrorHandler & handler) GetAsynchronousId() argument [all...] |
| H A D | file.cpp | 33 static int openfile_mkstemp(IoErrorHandler &handler) { in openfile_mkstemp() argument 55 handler.SignalErrno(); in openfile_mkstemp() 64 Position position, IoErrorHandler &handler) { in Open() argument 69 CloseFd(handler); in Open() 72 handler.SignalError("FILE= must not appear with STATUS='SCRATCH'"); in Open() 78 fd_ = openfile_mkstemp(handler); in Open() 81 handler.SignalError("FILE= is required"); in Open() 128 handler.SignalErrno(); in Open() 132 RUNTIME_CHECK(handler, action.has_value()); in Open() 135 handler in Open() 175 Close(CloseStatus status,IoErrorHandler & handler) Close() argument 192 Read(FileOffset at,char * buffer,std::size_t minBytes,std::size_t maxBytes,IoErrorHandler & handler) Read() argument 221 Write(FileOffset at,const char * buffer,std::size_t bytes,IoErrorHandler & handler) Write() argument 257 Truncate(FileOffset at,IoErrorHandler & handler) Truncate() argument 271 ReadAsynchronously(FileOffset at,char * buffer,std::size_t bytes,IoErrorHandler & handler) ReadAsynchronously() argument 300 WriteAsynchronously(FileOffset at,const char * buffer,std::size_t bytes,IoErrorHandler & handler) WriteAsynchronously() argument 324 Wait(int id,IoErrorHandler & handler) Wait() argument 343 WaitAll(IoErrorHandler & handler) WaitAll() argument 374 Seek(FileOffset at,IoErrorHandler & handler) Seek() argument 414 CloseFd(IoErrorHandler & handler) CloseFd() argument [all...] |
| H A D | buffer.h | 71 FileOffset at, std::size_t bytes, IoErrorHandler &handler) { in ReadFrame() argument 72 Flush(handler); in ReadFrame() 73 Reallocate(bytes, handler); in ReadFrame() 80 RUNTIME_CHECK(handler, at == fileOffset_ + frame_); in ReadFrame() 82 DiscardLeadingBytes(frame_, handler); in ReadFrame() 83 MakeDataContiguous(handler, bytes); in ReadFrame() 84 RUNTIME_CHECK(handler, at == fileOffset_ + frame_); in ReadFrame() 88 RUNTIME_CHECK(handler, next < size_); in ReadFrame() 92 fileOffset_ + length_, buffer_ + next, minBytes, maxBytes, handler)}; in ReadFrame() 94 RUNTIME_CHECK(handler, length_ <= size_); in ReadFrame() [all …]
|
| H A D | namelist.cpp | 162 IoErrorHandler &handler{io.GetIoErrorHandler()}; in HandleSubscripts() local 182 handler.SignalError( in HandleSubscripts() 190 handler.SignalError("Subscript %jd out of range %jd..%jd in NAMELIST " in HandleSubscripts() 208 handler.SignalError( in HandleSubscripts() 248 handler.SignalError( in HandleSubscripts() 252 handler.SignalError( in HandleSubscripts() 284 IoErrorHandler &handler{io.GetIoErrorHandler()}; in HandleSubstring() local 287 handler.SignalError("Substring reference to non-character item '%s'", name); in HandleSubstring() 334 handler.SignalError( in HandleSubstring() 337 handler.SignalError( in HandleSubstring() [all …]
|
| H A D | internal-unit.cpp | 50 const char *data, std::size_t bytes, IoErrorHandler &handler) { in Emit() 52 handler.Crash("InternalDescriptorUnit<Direction::Input>::Emit() called"); in Emit() 60 handler.SignalError(IostatInternalWriteOverrun); in Emit() 67 handler.SignalError(IostatRecordWriteOverrun); in Emit() 84 const char *&p, IoErrorHandler &handler) { in GetNextInputBytes() 87 handler.Crash("InternalDescriptorUnit<Direction::Output>::" in GetNextInputBytes() 93 handler.SignalEnd(); in GetNextInputBytes() 128 IoErrorHandler &handler) { in BlankFill() 131 handler.SignalEnd(); in BlankFill() 133 handler in BlankFill() 48 Emit(const char * data,std::size_t bytes,IoErrorHandler & handler) Emit() argument 82 GetNextInputBytes(const char * & p,IoErrorHandler & handler) GetNextInputBytes() argument 103 AdvanceRecord(IoErrorHandler & handler) AdvanceRecord() argument 151 BackspaceRecord(IoErrorHandler & handler) BackspaceRecord() argument [all...] |
| H A D | descriptor-io.cpp | 27 IoErrorHandler &handler{io.GetIoErrorHandler()}; in DefinedFormattedIo() local 29 RUNTIME_CHECK(handler, edit.descriptor == peek->descriptor); in DefinedFormattedIo() 53 external = &ExternalFileUnit::NewUnit(handler, true); in DefinedFormattedIo() 86 handler.Forward(ioStat, ioMsg, sizeof ioMsg); in DefinedFormattedIo() 91 RUNTIME_CHECK(handler, external == closing); in DefinedFormattedIo() 97 return handler.GetIoStat() == IostatOk; in DefinedFormattedIo() 111 IoErrorHandler &handler{io.GetIoErrorHandler()}; in DefinedUnformattedIo() local 114 handler.SignalError(IostatNonExternalDefinedUnformattedIo); in DefinedUnformattedIo() 150 handler.Forward(ioStat, ioMsg, sizeof ioMsg); in DefinedUnformattedIo() 152 return handler.GetIoStat() == IostatOk; in DefinedUnformattedIo()
|
| H A D | io-api.cpp | 496 IoErrorHandler &handler{cookie->GetIoErrorHandler()}; in IODEF() local 498 handler.HasIoStat(); in IODEF() 501 handler.HasErrLabel(); in IODEF() 504 handler.HasEndLabel(); in IODEF() 507 handler.HasEorLabel(); in IODEF() 510 handler.HasIoMsg(); in IODEF() 515 const char *what, IoErrorHandler &handler) { in YesOrNo() argument 523 handler.SignalError(IostatErrorInKeyword, "Invalid %s='%.*s'", what, in YesOrNo() 531 IoErrorHandler &handler{io.GetIoErrorHandler()}; in IODEF() local 532 bool nonAdvancing{!YesOrNo(keyword, length, "ADVANCE", handler)}; in IODEF() 602 IoErrorHandler &handler{io.GetIoErrorHandler()}; IODEF() local 609 IoErrorHandler &handler{io.GetIoErrorHandler()}; IODEF() local 620 IoErrorHandler &handler{io.GetIoErrorHandler()}; IODEF() local 764 IoErrorHandler &handler{io.GetIoErrorHandler()}; IODEF() local 1174 IoErrorHandler &handler{io.GetIoErrorHandler()}; IODEF() local 1191 IoErrorHandler &handler{io.GetIoErrorHandler()}; IODEF() local 1207 IoErrorHandler &handler{io.GetIoErrorHandler()}; IODEF() local 1218 IoErrorHandler &handler{io.GetIoErrorHandler()}; IODEF() local [all...] |
| H A D | descriptor-io.h | 280 IoErrorHandler &handler{io.GetIoErrorHandler()}; in DefaultComponentwiseFormattedIO() 282 RUNTIME_CHECK(handler, compArray.rank() == 1); in DefaultComponentwiseFormattedIO() 291 io, component, descriptor, subscripts, handler, table)) { in DefaultComponentwiseFormattedIO() 306 IoErrorHandler &handler{io.GetIoErrorHandler()}; in DefaultComponentwiseUnformattedIO() 308 RUNTIME_CHECK(handler, compArray.rank() == 1); in DefaultComponentwiseUnformattedIO() 322 io, component, descriptor, subscripts, handler, table)) { in DefaultComponentwiseUnformattedIO() 337 IoErrorHandler &handler{io.GetIoErrorHandler()}; in FormattedDerivedTypeIO() 340 RUNTIME_CHECK(handler, addendum != nullptr); in FormattedDerivedTypeIO() 342 RUNTIME_CHECK(handler, type != nullptr); in FormattedDerivedTypeIO() 400 IoErrorHandler &handler{i [all...] |
| /llvm-project/mlir/test/python/ir/ |
| H A D | diagnostic_handler.py | 22 handler = ctx.attach_diagnostic_handler(callback) 23 assert handler.attached 27 assert not handler.attached 30 handler = None 41 handler = ctx.attach_diagnostic_handler(callback) 42 assert handler.attached 43 handler.detach() 44 assert not handler.attached 54 with ctx.attach_diagnostic_handler(callback) as handler: 55 assert handler.attached [all …]
|
| /llvm-project/compiler-rt/test/asan/TestCases/Linux/ |
| H A D | preinstalled_signal.cpp | 31 const char *handler = nullptr; 32 void SigHandler(int signum) { handler = "TestSigHandler"; } 33 void SigAction(int, siginfo_t *, void *) { handler = "TestSigAction"; } 39 __sighandler_t handler; 41 __sighandler_t handler; 68 assert(pre_asan.handler == SIG_DFL || pre_asan.handler == SIG_IGN); in Init() 71 pre_asan.handler = &SigHandler; in Init() 77 pre_asan.handler = (__sighandler_t)&SigAction; in Init() 97 assert(post_asan.handler ! in main() 28 const char *handler = nullptr; global() variable 36 __sighandler_t handler; global() member [all...] |
| /llvm-project/clang/test/SemaObjC/ |
| H A D | attr-swift-async-error.m | 8 void test_good(void (^handler)(int)); 12 void test_good2(double, void (^handler)(double, int, double)); 18 void test_good3(void (^handler)(enum SomeEnum, double)); 22 void test_rev_order(void (^handler)(int)); 28 void test_nserror(void (^handler)(NSError *)); 34 void test_cferror(void (^handler)(CFErrorRef)); 37 …ll_error' convention can only be applied to a function with a completion handler with an error par… 38 void test_interror(void (^handler)(int)); 41 …argument' convention must have an integral-typed parameter in completion handler at index 1, type … 42 void test_not_integral(void (^handler)(double)); [all …]
|
| H A D | warn-called-once.m | 1 // RUN: %clang_cc1 -verify -fsyntax-only -fblocks -fobjc-exceptions -Wcompletion-handler -Wno-point… 673 // expected-warning@-1{{completion handler is never called}} 677 // expected-warning@-1{{completion handler is never called}} 681 // expected-warning@-1{{completion handler is never called}} 727 // expected-warning@-1{{completion handler is never called when taking true branch}} 774 completionHandler:(void (^)(void))handler; 775 - (void)indirect_call_conv_3WithCompletion:(void (^)(void))handler; 776 - (void)indirect_call_conv_4:(void (^)(void))handler 806 [self indirect_call_conv_2:1 // expected-warning{{completion handler is called twice}} 813 [self indirect_call_conv_2:1 // expected-warning{{completion handler is called twice}} [all …]
|
| /llvm-project/llvm/test/CodeGen/X86/ |
| H A D | wineh-coreclr.ll | 168 ; ^ flags (0 => catch handler) 174 ; ^ offset of start of handler 176 ; ^ offset of end of handler 181 ; ^ flags (0 => catch handler) 187 ; ^ offset of start of handler 189 ; ^ offset of end of handler 194 ; ^ flags (2 => finally handler) 200 ; ^ offset of start of handler 202 ; ^ offset of end of handler 210 ; ^ flags (2 => finally handler | 8 => duplicate) [all …]
|
| /llvm-project/mlir/lib/Transforms/Utils/ |
| H A D | InliningUtils.cpp | 78 if (auto *handler = getInterfaceFor(call)) in isLegalToInline() 79 return handler->isLegalToInline(call, callable, wouldBeCloned); in isLegalToInline() local 86 if (auto *handler = getInterfaceFor(dest->getParentOp())) in shouldAnalyzeRecursively() 87 return handler->isLegalToInline(dest, src, wouldBeCloned, valueMapping); in shouldAnalyzeRecursively() 94 if (auto *handler = getInterfaceFor(op)) in handleTerminator() 95 return handler->isLegalToInline(op, dest, wouldBeCloned, valueMapping); in handleTerminator() 100 auto *handler = getInterfaceFor(op); in handleTerminator() 101 return handler ? handler->shouldAnalyzeRecursively(op) : true; in handleTerminator() local 107 auto *handler in handleArgument() 63 if (auto *handler = getInterfaceFor(call)) isLegalToInline() local 71 if (auto *handler = getInterfaceFor(dest->getParentOp())) isLegalToInline() local 85 auto *handler = getInterfaceFor(op); shouldAnalyzeRecursively() local 92 auto *handler = getInterfaceFor(op); handleTerminator() local 109 auto *handler = getInterfaceFor(callable); handleArgument() local 118 auto *handler = getInterfaceFor(callable); handleResult() local 125 auto *handler = getInterfaceFor(call); processInlinedCallBlocks() local [all...] |
| /llvm-project/flang/unittests/Runtime/ |
| H A D | BufferTest.cpp | 33 std::size_t maxBytes, IoErrorHandler &handler) { in Read() argument 35 handler.SignalError("Read(%d,%d,%d) not at expected %d", in Read() 39 handler.SignalError("Read(%d,%d,%d) is out of bounds", in Read() 49 IoErrorHandler &handler) { in Write() argument 51 handler.SignalError("Write(%d,%d) not at expected %d", in Write() 55 handler.SignalError("Write(%d,%d) is out of bounds", static_cast<int>(at), in Write() 84 IoErrorHandler handler{terminator}; in TEST() local 92 store.WriteFrame(at, chunk, handler); in TEST() 100 store.Flush(handler); in TEST() 106 std::size_t frame{store.ReadFrame(at, chunk, handler)}; in TEST()
|
| /llvm-project/lldb/unittests/Utility/ |
| H A D | LogTest.cpp | 109 static std::string GetDumpAsString(const RotatingLogHandler &handler) { in GetDumpAsString() argument 112 handler.Dump(stream); in GetDumpAsString() 183 CallbackLogHandler handler(TestCallback, &test_baton); in TEST() local 184 handler.Emit("Foobar"); in TEST() 189 RotatingLogHandler handler(3); in TEST() local 191 handler.Emit("foo"); in TEST() 192 handler.Emit("bar"); in TEST() 193 EXPECT_EQ(GetDumpAsString(handler), "foobar"); in TEST() 195 handler.Emit("baz"); in TEST() 196 handler.Emit("qux"); in TEST() [all …]
|
| /llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
| H A D | replace_sigaction.cpp | 14 template <typename T> void install(T *handler, struct sigaction *prev) { in install() argument 15 bool siginfo = handler == (T *)&sasigaction; in install() 19 act.sa_sigaction = (decltype(act.sa_sigaction))handler; in install() 21 act.sa_handler = (decltype(act.sa_handler))handler; in install() 26 if (handler == (T *)&sahandler) { in install() 32 if (handler == (T *)&sasigaction) { in install()
|
| /llvm-project/llvm/test/CodeGen/AMDGPU/ |
| H A D | trap.ll | 4 ; RUN: llc -global-isel=0 -mtriple=amdgcn--amdhsa -mattr=+trap-handler -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=HSA-TRAP %s 5 ; RUN: llc -global-isel=1 -mtriple=amdgcn--amdhsa -mattr=+trap-handler -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=HSA-TRAP %s 6 ; RUN: llc -global-isel=0 -mtriple=amdgcn--amdhsa -mattr=-trap-handler -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=NO-HSA-TRAP %s 7 ; RUN: llc -global-isel=1 -mtriple=amdgcn--amdhsa -mattr=-trap-handler -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=NO-HSA-TRAP %s 8 ; RUN: llc -global-isel=0 -mtriple=amdgcn--amdhsa -mattr=-trap-handler -verify-machineinstrs < %s 2>&1 | FileCheck -check-prefix=GCN -check-prefix=GCN-WARNING %s 9 ; RUN: llc -global-isel=1 -mtriple=amdgcn--amdhsa -mattr=-trap-handler -verify-machineinstrs < %s 2>&1 | FileCheck -check-prefix=GCN -check-prefix=GCN-WARNING %s 11 ; enable trap handler feature 12 ; RUN: llc -global-isel=0 -mtriple=amdgcn-unknown-mesa3d -mattr=+trap-handler -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=NO-MESA-TRAP -check-prefix=TRAP-BIT -check-prefix=MESA-TRAP %s 13 ; RUN: llc -global-isel=1 -mtriple=amdgcn-unknown-mesa3d -mattr=+trap-handler -verify-machineinstrs < %s | FileCheck -check-prefix=GCN -check-prefix=NO-MESA-TRAP -check-prefix=TRAP-BIT -check-prefix=MESA-TRAP %s 14 ; RUN: llc -global-isel=0 -mtriple=amdgcn-unknown-mesa3d -mattr=+trap-handler [all...] |
| /llvm-project/mlir/include/mlir/Tools/PDLL/AST/ |
| H A D | Diagnostic.h | 156 if (handler) in report() 157 handler(diagnostic); in report() 161 const HandlerFn &getHandlerFn() const { return handler; } in getHandlerFn() 165 HandlerFn oldHandler = std::move(handler); in takeHandlerFn() 166 handler = {}; in takeHandlerFn() 171 void setHandlerFn(HandlerFn &&newHandler) { handler = std::move(newHandler); } in setHandlerFn() 175 HandlerFn handler;
|
| /llvm-project/llvm/lib/Support/ |
| H A D | ErrorHandling.cpp | 65 void llvm::install_fatal_error_handler(fatal_error_handler_t handler, in install_fatal_error_handler() 70 assert(!ErrorHandler && "Error handler already registered!\n"); in install_fatal_error_handler() 71 ErrorHandler = handler; in install_fatal_error_handler() 92 llvm::fatal_error_handler_t handler = nullptr; in report_fatal_error() 95 // Only acquire the mutex while reading the handler, so as not to invoke a in report_fatal_error() 100 handler = ErrorHandler; in report_fatal_error() 104 if (handler) { in report_fatal_error() 105 handler(handlerData, Reason.str().c_str(), GenCrashDiag); in report_fatal_error() 129 void llvm::install_bad_alloc_error_handler(fatal_error_handler_t handler, in install_bad_alloc_error_handler() 135 "Bad alloc error handler alread in install_bad_alloc_error_handler() 64 install_fatal_error_handler(fatal_error_handler_t handler,void * user_data) install_fatal_error_handler() argument 91 llvm::fatal_error_handler_t handler = nullptr; report_fatal_error() local 128 install_bad_alloc_error_handler(fatal_error_handler_t handler,void * user_data) install_bad_alloc_error_handler() argument 223 LLVMFatalErrorHandler handler = bindingsErrorHandler() local [all...] |
| /llvm-project/llvm/utils/UpdateTestChecks/ |
| H A D | isel.py | 40 handler = None 44 handler = s 47 if handler is None: 49 handler = (scrub_isel_default, ISEL_FUNCTION_DEFAULT_RE) 51 return handler
|
| /llvm-project/mlir/lib/Dialect/GPU/Transforms/ |
| H A D | ModuleToBinary.cpp | 84 OffloadingLLVMTranslationAttrInterface handler, in moduleSerializer() 115 !handler && moduleHandler) in moduleSerializer() 116 handler = moduleHandler; in moduleSerializer() 118 builder.create<gpu::BinaryOp>(op.getLoc(), op.getName(), handler, in moduleSerializer() 126 Operation *op, OffloadingLLVMTranslationAttrInterface handler, in transformGpuModulesToBinaries() 132 if (failed(moduleSerializer(module, handler, targetOptions))) in transformGpuModulesToBinaries() 82 moduleSerializer(GPUModuleOp op,OffloadingLLVMTranslationAttrInterface handler,const TargetOptions & targetOptions) moduleSerializer() argument 123 transformGpuModulesToBinaries(Operation * op,OffloadingLLVMTranslationAttrInterface handler,const gpu::TargetOptions & targetOptions) transformGpuModulesToBinaries() argument
|
| /llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interceptors_libdispatch.cpp | 416 dispatch_source_t source, dispatch_block_t handler) { in TSAN_INTERCEPTOR() argument 417 SCOPED_TSAN_INTERCEPTOR(dispatch_source_set_event_handler, source, handler); in TSAN_INTERCEPTOR() 418 if (handler == nullptr) in TSAN_INTERCEPTOR() 422 q, handler, &invoke_block, false, false, false, 0 }; in TSAN_INTERCEPTOR() 424 new_context.orig_context = handler; // To explicitly capture "handler". in TSAN_INTERCEPTOR() 434 dispatch_source_t source, dispatch_function_t handler) { in TSAN_INTERCEPTOR() argument 435 SCOPED_TSAN_INTERCEPTOR(dispatch_source_set_event_handler_f, source, handler); in TSAN_INTERCEPTOR() 436 if (handler == nullptr) in TSAN_INTERCEPTOR() 439 handler(dispatch_get_context(source)); in TSAN_INTERCEPTOR() 445 dispatch_source_t source, dispatch_block_t handler) { in TSAN_INTERCEPTOR() argument [all …]
|