Displaying 7 results from an estimated 7 matches for "omp_outlined".
2016 Jul 31
0
[Openmp-dev] How to get the function definition of a kmpc_micro call
...anks Arpith for this pointer but it did not contain what I was looking
for.
However, I solved my issue by finding that the BitCastInst used when
outlining OpenMP parallel region offers a method for retrieving the
original value within the bitcast via stripPointerCasts().
So what I did to retrieve omp_outlined..45 is:
//bitcast is the third argument of __kmpc_fork_call
Value *vcall = callInst->getArgOperand(2);
//This will return the outlined function in __kmpc_fork_call
Function *f = dyn_cast<Function>(vcall->stripPointerCasts());
f->getName returns ".omp_outlined..45" So thi...
2015 Oct 11
2
How to add NOP?
Can you send the IR you are using?
Volkan
On Thu, Oct 8, 2015 at 6:28 AM Erdem Derebaşoğlu <
erdemderebasoglu at hotmail.com> wrote:
> Thanks. I enabled my pass. I have one resolved issue though:
> MachineMemOperand::getAddrSpace() always returns zero. How can I use it to
> distinguish private memory accesses?
>
> Erdem
>
> ------------------------------
> From:
2016 Jul 30
0
How to get the function definition of a kmpc_micro call
...callInst->getArgOperand...), but once I get this value, i am stuck in
knowing its class type. An example of this value can be:
void (i32*, i32*, ...)* bitcast (void (i32*, i32*, double**, double**,
double**, double**, double**, double*, i32*, double*, double*, i32**,
double**, i32**, double*)* @.omp_outlined..45 to void (i32*, i32*, ...)*)
I tried bitcast instruction, instruction, function call and did not work.
Is there a clean way (other than manipulating strings) to get the
defintion of the outlined function from the call __kmpc_fork_call? By
clean I mean where I can manipulate IR and LLVM meth...
2018 Dec 21
2
[OpenMP][AArch64][GlobalISel] AArch64 OMPT tests failing
Curious. I removed -fno-experimental-isel and all of the tests *except*
control_tool.c passed. I would have expected all of them to pass if
blockaddress works.
I'll try to look at some asm and see what's going on.
-David
Jonas Hahnfeld <hahnjo at hahnjo.de> writes:
> Hi David,
>
> I was the one who originally added the flag to fix failures
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...ure!
%struct.ident_t.21* @2
%struct.ident_t* call void (%struct.ident_t*, i32, void (i32*, i32*,
...)*, ...) @__kmpc_fork_call(%struct.ident_t.21* @2, i32 4, void
(i32*, i32*, ...)* bitcast (void (i32*, i32*, i64*,
%"class.std::vector.22"*, %"class.std::vector.22"*, float*)*
@.omp_outlined. to void (i32*, i32*, ...)*), i64* %_n,
%"class.std::vector.22"* %5, %"class.std::vector.22"* %6, float*
%b.addr)
in function _ZN39kp_8d75c6d9_5169_4aa9_9900_7e97ce4e9b897executeERKSt6vectorIfSaIfEEfRS2_PN5kirpi11GraphTimingE
LLVM ERROR: Broken function found, compilation aborte...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...2
> %struct.ident_t* call void (%struct.ident_t*, i32, void (i32*, i32*,
> ...)*, ...) @__kmpc_fork_call(%struct.ident_t.21* @2, i32 4, void
> (i32*, i32*, ...)* bitcast (void (i32*, i32*, i64*,
> %"class.std::vector.22"*, %"class.std::vector.22"*, float*)*
> @.omp_outlined. to void (i32*, i32*, ...)*), i64* %_n,
> %"class.std::vector.22"* %5, %"class.std::vector.22"* %6, float*
> %b.addr)
> in function _ZN39kp_8d75c6d9_5169_4aa9_9900_7e97ce4e9b897executeERKSt6vectorIfSaIfEEfRS2_PN5kirpi11GraphTimingE
> LLVM ERROR: Broken function found...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
Thanks, Joseph and Johannes.
I have not merged in anything, I am using the code from the repository
as is. What is this -debug-only option, and to whom would I pass it? I
am running our own JIT application, which uses clang to compile
modules on the fly via clang::CompilerInstance::ExecuteAction().
Working on the assumption that there is a mismatch in the declared
type of an OpenMP runtime