Displaying 5 results from an estimated 5 matches for "wubousc".
2012 Jan 18
2
[LLVMdev] getSmallConstantTripCount function doesn't work for obvious cases
Hi,
My pass heavily relies on llvm::Loop's getSmallConstantTripCount method.
However, I found that it doesn't work for some simple cases.
In the following example, I can get the constant trip count of the
outermost loop if statement "a[l] = a[l] + 1" is there. After commenting
out this line, the returned constant trip count for that loop is 0. In my
pass, I traverse the nested
2011 Nov 01
1
[LLVMdev] llvm configuration error
The problem was solved by setting environment variable CXX. But somehow a
new one came. The gcc is installed in /usr/local/gcc-4.2.3. I managed to
change
clang/lib/Frontend/InitHeaderSearch.cpp
clang/lib/Driver/ToolChains.cpp
to force clang use the crt lib for that version. For details, plz see
http://www.advogato.org/person/redi/diary/228.html.
So now I have no problem of using clang to
2011 Oct 31
3
[LLVMdev] llvm configuration error
I've compiled llvm several times, but this is the first time I saw this
error when I was trying to compile it in a cluster.
checking tool compatibility... configure: error: g++|clang++|icc required
but not found
I am pretty sure g++ is installed and in the path. I then downloaded
clang++ binary and set path. The error was still there.
OS: opensuse 10.1
gcc, g++ version: 4.2.3
Any idea?
Bo
2011 Jan 12
2
[LLVMdev] build a function type with char parameter
I can use Integer::Type.get() to set the type of a parameter to integer. My
question is how I can do this for char *?
Thanks,
Bo
--
View this message in context: http://old.nabble.com/build-a-function-type-with-char-parameter-tp30650603p30650603.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2011 Apr 22
1
[LLVMdev] line number of loop header
How can I get the line number in the .c or .cpp file for the loop header?
For example, in the following loop:
for(int i=0; i < n; i++) {
a += 1;
}
I'd like to now the line number of the for(...) line.
--
View this message in context: http://old.nabble.com/line-number-of-loop-header-tp31453948p31453948.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.