Displaying 7 results from an estimated 7 matches for "callbackfn".
Did you mean:
callback_fn
2010 Jun 04
3
[LLVMdev] Is there a "callback optimization"?
By that I mean an optimization pass (or a combination of them) that turns:
void useCallback(void (*callbackfn)())
{
// Do something
callbackfn();
// Do something else
}
void myCallback()
{
// Respond one way
}
void myOtherCallback()
{
// Respond another way
}
void foo()
{
useCallback(myCallback);
useCallback(myOtherCallback);
}
into:
// Keep the original; it'll get removed
// by other passes if i...
2020 Aug 10
2
Orc JIT v2 breaks OpenMP in 11.x branch?
...::operator()(clang::CodeGen::CodeGenFunction
> &, clang::CodeGen::PrePostActionTy &) const (__closure=0x7fffd4fd8940,
> CGF=...) at
> /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp:3346
> #17 0x00007fb71199771f in
>
> clang::CodeGen::RegionCodeGenTy::CallbackFn<clang::CodeGen::CodeGenFunction::EmitOMPForDirective(const
> clang::OMPForDirective&)::<lambda(clang::CodeGen::CodeGenFunction&,
> clang::CodeGen::PrePostActionTy&)> >(intptr_t,
> clang::CodeGen::CodeGenFunction &, clang::CodeGen::PrePostActionTy &)
> (Co...
2020 Aug 03
2
Orc JIT v2 breaks OpenMP in 11.x branch?
Greetings, Lang and other JITters,
Last week I moved our Orc v2-based app from top-of-tree to the new
11.x branch, and it no longer handles C++ code containing OpenMP
directives correctly.
More specifically, if I JIT compile a function containing OpenMP
parallel/for pragmas, using a release version of LLVM, the code
compiles and seems to work, but if I try to write the module's bitcode
to
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...ang::CodeGen::CodeGenFunction
>> &, clang::CodeGen::PrePostActionTy &) const (__closure=0x7fffd4fd8940,
>> CGF=...) at
>> /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp:3346
>> #17 0x00007fb71199771f in
>> clang::CodeGen::RegionCodeGenTy::CallbackFn<clang::CodeGen::CodeGenFunction::EmitOMPForDirective(const
>> clang::OMPForDirective&)::<lambda(clang::CodeGen::CodeGenFunction&,
>> clang::CodeGen::PrePostActionTy&)> >(intptr_t,
>> clang::CodeGen::CodeGenFunction &, clang::CodeGen::PrePostActionTy &am...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...; &, clang::CodeGen::PrePostActionTy &) const (__closure=0x7fffd4fd8940,
> >>> CGF=...) at
> >>> /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp:3346
> >>> #17 0x00007fb71199771f in
> >>> clang::CodeGen::RegionCodeGenTy::CallbackFn<clang::CodeGen::CodeGenFunction::EmitOMPForDirective(const
> >>> clang::OMPForDirective&)::<lambda(clang::CodeGen::CodeGenFunction&,
> >>> clang::CodeGen::PrePostActionTy&)> >(intptr_t,
> >>> clang::CodeGen::CodeGenFunction &, clang::C...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...ctionTy &) const (__closure=0x7fffd4fd8940,
> >>>>> CGF=...) at
> >>>>> /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp:3346
> >>>>> #17 0x00007fb71199771f in
> >>>>> clang::CodeGen::RegionCodeGenTy::CallbackFn<clang::CodeGen::CodeGenFunction::EmitOMPForDirective(const
> >>>>> clang::OMPForDirective&)::<lambda(clang::CodeGen::CodeGenFunction&,
> >>>>> clang::CodeGen::PrePostActionTy&)> >(intptr_t,
> >>>>> clang::CodeGen::CodeGen...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...) const (__closure=0x7fffd4fd8940,
>>>>>>> CGF=...) at
>>>>>>> /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CGStmtOpenMP.cpp:3346
>>>>>>> #17 0x00007fb71199771f in
>>>>>>> clang::CodeGen::RegionCodeGenTy::CallbackFn<clang::CodeGen::CodeGenFunction::EmitOMPForDirective(const
>>>>>>> clang::OMPForDirective&)::<lambda(clang::CodeGen::CodeGenFunction&,
>>>>>>> clang::CodeGen::PrePostActionTy&)> >(intptr_t,
>>>>>>> clang::CodeGen...