Displaying 9 results from an estimated 9 matches for "adroit".
2010 Apr 18
4
[LLVMdev] create two Twine object
I need to generate variables like
status1, status2, status3, ......
request1, request2, request3, ......
this is my code, other unrelated detail are eliminated.
static int varNum;
static const char *getVarNum() {
++varNum;
std::stringstream ss;
ss << varNum;
std::string *varname = new std::string(ss.str());
return varname->c_str();
}
const char *VarNum = getVarNum();
Twine *x1 = new
2011 Jun 07
0
[LLVMdev] llvm-gfortran
On Tue, Jun 7, 2011 at 2:33 PM, Yuanfang Chen <tabloid.adroit at gmail.com> wrote:
> Hello folks,
> I want to compile some fortran code to IR, but llvm-gfortran 4.2-2.9 does
> compile my fortran code. gfortran 4.2.1 fail with the same error. but
> gfortran 4.4.6 and ifort compiles fine. Attached is the file causing
> error. Error message is...
2011 Jun 07
2
[LLVMdev] llvm-gfortran
Hello folks,
I want to compile some fortran code to IR, but llvm-gfortran 4.2-2.9 does
compile my fortran code. gfortran 4.2.1 fail with the same error. but
gfortran 4.4.6 and ifort compiles fine. Attached is the file causing
error. Error message is
m_List.F90: In function 'exporttostring_':
m_List.F90:925: error: conversion to non-scalar type requested
I wonder if there any way I can
2010 Apr 18
0
[LLVMdev] create two Twine object
...n *sstatusInst = new AllocaInst(StatusTy, Twine("status") +
Twine(varNum), entry_inst);
Instruction *sreqInst = new AllocaInst(ReqTy, Twine("request") +
Twine(varNum), entry_inst);
btw, your getVarNum() leaks.
Eugene
On Sun, Apr 18, 2010 at 5:55 AM, Yuanfang Chen <tabloid.adroit at gmail.com> wrote:
> I need to generate variables like
> status1, status2, status3, ......
> request1, request2, request3, ......
> this is my code, other unrelated detail are eliminated.
> static int varNum;
> static const char *getVarNum() {
> ++varNum;
> std::strings...
2010 Apr 18
1
[LLVMdev] create two Twine object
...e("status") +
> Twine(varNum), entry_inst);
> Instruction *sreqInst = new AllocaInst(ReqTy, Twine("request") +
> Twine(varNum), entry_inst);
>
>
> btw, your getVarNum() leaks.
>
> Eugene
>
> On Sun, Apr 18, 2010 at 5:55 AM, Yuanfang Chen <tabloid.adroit at gmail.com> wrote:
>> I need to generate variables like
>> status1, status2, status3, ......
>> request1, request2, request3, ......
>> this is my code, other unrelated detail are eliminated.
>> static int varNum;
>> static const char *getVarNum() {
>>...
2010 Dec 01
2
parametric estimators for species richness in R
Dear everyone,
I am doing some work about species richness estimation. Nonparametric estimation (such as Chao1, Jacknife1) can be done just using function "specpool()" and "estimateR()" in package "vegan". The problem is that I can not found any functions for parametric estimation (such as MMMeans, MMruns, Michaelis-Menten). Do you know any function for doing this?
2010 Apr 11
0
[LLVMdev] how to use a named type?
Hi, all
I'm currently doing some minor change to a function argument list.
I want to add this named type to a function's argument list.
%struct.ompi_request_t = type opaque
But I don't know how to use it. I have already add it to the TypeSymbolTable
of the Module, and I plan to add construct a argument of
"struct.ompi_request_t" type, but there is no handle to this type,
2010 Apr 23
2
[LLVMdev] variable sized array
Hi all,
just a quick question, in llvm::TargetData,
uint64_t MemberOffsets[1]; // variable sized array!
MemberOffsets has two elements, why it's variable sized ?
yuanfang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100423/6e0d57a5/attachment.html>
2010 May 18
0
[LLVMdev] suggestion: add a member in llvm::CodeMetrics
Is it worthwhile to add a
void analyzeInstRange(InstIter begin, InstIter end) {}
which estimate code metrics of any instruction range in a basic block.
Or we are good with analyzeBasicBlock as an upperbound?
thanks
yuanfang