Displaying 4 results from an estimated 4 matches for "omp_data_i".
Did you mean:
omp_data_s
2012 Sep 03
1
[LLVMdev] Accessing structure members of .omp_data_i
Hello,
I want to find out the member variable of the structure (.omp_data_i) being
accessed but the metadata and the use don't seem to be linked.
Here's is a portion of the IR generated for a function containing an OpenMP
pragma:
define internal void @bpnn_adjust_weights.omp_fn.0(i8* nocapture
%.omp_data_i) nounwind uwtable {
entry:
%0 = getelementptr inbounds...
2012 Jul 12
4
[LLVMdev] Documentation about converting GIMPLE IR to LLVM IR in LLVM-GCC/DragonEgg
Dear All,
I am trying to understand the process followed for converting GIMPLE IR to
LLVM IR in LLVM-GCC/DragonEgg - more importantly conversion of OpenMP
extended GIMPLE IR to LLVM IR. It would be great if anybody points me to
some documentation before I my-self delve into the understanding of related
source code.
--
Cheers
-mahesha
-------------- next part --------------
An HTML attachment
2012 Jul 13
0
[LLVMdev] Fwd: Documentation about converting GIMPLE IR to LLVM IR in LLVM-GCC/DragonEgg
...ident\09\22GCC: (GNU) 4.7.1 20120603 (prerelease) LLVM:
>> 3.2svn\22"
>>
>> %struct..omp_data_s.2 = type { i32* }
>> %struct..omp_data_s.1 = type { i32* }
>> %struct..omp_data_s.0 = type { i32 }
>>
>> define internal void @foo._omp_fn.2(i8* nocapture %.omp_data_i) nounwind
>> uwtable {
>> entry:
>> %0 = bitcast i8* %.omp_data_i to i32**
>> %1 = load i32** %0, align 8
>> %2 = load i32* %1, align 4
>> %3 = add i32 %2, 1
>> store i32 %3, i32* %1, align 4
>> ret void
>> }
>>
>>...
2007 Nov 29
2
[LLVMdev] LLVM and OpenMP
...oid @GOMP_parallel_end( ) nounwind
%tmp3 = load i32* %sum, align 4 ; <i32> [#uses=1]
%tmp5 = call i32 (i8*, ...)* @printf( i8* getelementptr ([10 x
i8]* @.str, i32 0, i32 0), i32 %tmp3 ) nounwind $
ret i32 undef
}
define internal void @main.omp_fn.0(i8* %.omp_data_i) {
entry:
%tmp1 = tail call i32 (...)*
@omp_get_thread_num( ) ; <i32> [#uses=1]
%tmp3 = bitcast i8* %.omp_data_i to i32** ;
<i32**> [#uses=1]
%tmp4 = load i32** %tmp3, align 4 ; <i32*>
[#uses=1]
%tmp45 = bitca...