python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
In LLVM, how do you get the all the instructions that is not inside the starting part of loop?
I have a code
#pragma omp for
for (i = 0; i < length; i++)
{
A[i] = A[i] * B[i];
}
After I compile it to LLVM IR, I need to get the instructions only that is not inside the "for" part...
Afif Ishamsyah
Votes: 0
Answers: 0
Keeping variable names for LLVM IR with swift compiler frontend
I am very new to compiler development. For a project I need to find a way to keep the naming of the variables in my swift code for the LLVM IR. This is because I want to run an analyzer pass on the IR...
Peter
Votes: 0
Answers: 1
In LLVM IR with OpenMP, how do I get all the omp loops and the Instructions?
I managed to use clang with "-fopenmp" to get the LLVM IR of an OpenMP program. I saw the content and there are so much "omp" loops inside. I need to get all Instructions only from...
Afif Ishamsyah
Votes: 0
Answers: 0
Algorithm that was supposed to go into recurse does not go into recurse
I am pretty new to LLVM IR and I am trying to convert the following into LLVM IR
double sum(double *input, int n) {
double result = input[0] + ... + input[n-1]
return result
}
and this is what I ...
ang0110
Votes: 0
Answers: 0