search for: ii2

Displaying 10 results from an estimated 10 matches for "ii2".

Did you mean: i32
2011 Oct 14
0
[LLVMdev] BasicBlock succ iterator
...} }* * cout << "begin to delete loop" << endl; for (Loop::block_iterator bi = L->block_begin(), bi2; bi != L->block_end(); bi = bi2) { bi2 = bi; bi2++; BasicBlock * BB = *bi; for (BasicBlock::iterator ii = BB->begin(), ii2; ii != BB->end(); ii= ii2) { ii2 = ii; ii2++; Instruction *inst = ii; inst->replaceAllUsesWith(UndefValue::get(inst->getType())); inst->eraseFromParent(); } for (pred_iterator PI = pred_begin(BB); PI !=...
2011 Oct 06
1
[LLVMdev] replacing a global variable by a constant
...following code. cout << "begin to delete loop" << endl; for (Loop::block_iterator bi = L->block_begin(), bi2; bi != L->block_end(); bi = bi2) { bi2 = bi; bi2++; BasicBlock * BB = *bi; for (BasicBlock::iterator ii = BB->begin(), ii2; ii != BB->end(); ii= ii2) { ii2 = ii; ii2++; Instruction *inst = ii; inst->eraseFromParent(); } BB->eraseFromParent(); } But I get the following error: Use still stuck around after Def is destroyed: %t1 = icmp sle i32...
2011 Oct 05
2
[LLVMdev] replacing a global variable by a constant
hi i want replacing a global variable by a constant value for erase instruction. i had seen the code that as follows for (llvm::GlobalVariable::use_iterator U = gv->use_begin(); U != gv->use_end();--U ) { llvm::Instruction *I = llvm::cast<llvm::Instruction>(U); I->replaceAllUsesWith(constPtr); I->eraseFromParent(); } but i dont know how can declare constptr.
2011 Oct 05
0
[LLVMdev] replacing a global variable by a constant
Hi nada, > i want replacing a global variable by a constant value for erase instruction. I'm not sure what you mean exactly. A GlobalVariable has pointer type. Do you want to replace that pointer by a constant pointer? Or is it rather that you want to say that the contents of the memory pointed to by the GlobalVariable is constant, and have all places that load that GlobalVariable
2011 Oct 13
6
[LLVMdev] BasicBlock succ iterator
Hi, All I want to implement DSWP Which is used for parallelization of loops. For this purpose, the loop was replaced with a new basic block in main function. And new functions were created and basic blocks of Loop assigned to them.I have checked blocks and branches for Succ and Pred relation and I have not found any problems. However I get the following error: * **opt:
2000 Apr 25
0
Wrong SEs in predict.lm(..., type="terms")
...t;-apply(X,2,mean) X<-sweep(X,2,avX) # We'd best sweep out column means # before we start for (i in seq(1,nterms,length=nterms)){ ii<-piv[asgn[[i]]] predictor[,i]<-X[,ii,drop=F]%*%(beta[ii]) if (se.fit){ ii2_asgn[[i]] # X[,piv] matches rows & columns of R vci<-R[ii2,ii2]*res.var for(j in (1:NROW(X))){ xi<-X[j,ii,drop=F] # Do not multiply by beta[ii] ip[j,i]<-sum(xi%*% vci %*%t(xi)) } } } Here is the existing (1.0.0)...
2000 Apr 26
0
Wrong SEs in predict.lm(..., type="terms") (PR#528)
...(X,2,mean) X<-sweep(X,2,avX) # We'd best sweep out column means # before we start } for (i in seq(1,nterms,length=nterms)){ ii<-piv[asgn[[i]]] predictor[,i]<-X[,ii,drop=F]%*%(beta[ii]) if (se.fit){ ii2_asgn[[i]] # X[,piv] matches rows & columns of R vci<-R[ii2,ii2]*res.var for(j in (1:NROW(X))){ xi<-X[j,ii,drop=F] # Do not multiply by beta[ii] ip[j,i]<-sum(xi%*% vci %*%t(xi)) } } } Here is the existing section...
2011 Oct 06
0
[LLVMdev] MIPS 32bit code generation
...following code. cout << "begin to delete loop" << endl; for (Loop::block_iterator bi = L->block_begin(), bi2; bi != L->block_end(); bi = bi2) { bi2 = bi; bi2++; BasicBlock * BB = *bi; for (BasicBlock::iterator ii = BB->begin(), ii2; ii != BB->end(); ii= ii2) { ii2 = ii; ii2++; Instruction *inst = ii; inst->eraseFromParent(); } BB->eraseFromParent(); } But I get the following error: Use still stuck around after Def is destroyed: %t1 = icmp sle i32...
2010 Feb 22
2
Creating regularly spaced time series from irregular one
Hello, I have a series of intraday (high-frequency) price data in the form of POSIX timestamp followed by the value. I sucesfuly loaded that into "its" package object. I would like to create from it a regularly spaced time series of prices (for example 1min, 5min, etc apart) so i could calcualte returns. There is an interpolation function locf() that for timestamp with value NA uses last
2016 Aug 18
5
[PATCH v2 0/4] New getprogname module
...tests/test-obstack-printf.c | 3 - tests/test-openat.c | 3 - tests/test-parse-datetime.c | 3 - tests/test-pipe-filter-gi1.c | 3 - tests/test-pipe-filter-gi2-main.c | 3 - tests/test-pipe-filter-ii1.c | 3 - tests/test-pipe-filter-ii2-main.c | 3 - tests/test-quotearg-simple.c | 3 - tests/test-quotearg.c | 3 - tests/test-rbtree_list.c | 3 - tests/test-rbtree_oset.c | 3 - tests/test-rbtreehash_list.c | 3 - tests/test-sameacls.c | 3 - test...