search for: last_it

Displaying 6 results from an estimated 6 matches for "last_it".

Did you mean: last_io
2012 Dec 17
4
[LLVMdev] BasicBlock back()
...ce.html#l00199>of file BasicBlock.h <http://llvm.org/doxygen/BasicBlock_8h_source.html>.) 2. I also tried : bool patternDC::runOnBasicBlock(BasicBlock &BB) { ... BasicBlock::const_iterator I = BB.begin(); BasicBlock::const_iterator E = BB.end(); BasicBlock::const_iterator prev_iter,last_iter; prev_iter = NULL; last_iter = NULL; for(;I!=E;I++){ prev_iter = last_iter; last_iter = I; } if(prev_iter){ errs() << "prev_iter: " << *(dyn_cast<Instruction>(prev_iter)) << "\n"; } if(last_iter){ errs() << "last_iter: "...
2012 Dec 17
0
[LLVMdev] BasicBlock back()
...have a TerminatorInst as their last instruction). > > > > 2. I also tried : > > bool patternDC::runOnBasicBlock(BasicBlock &BB) { > ... > BasicBlock::const_iterator I = BB.begin(); > BasicBlock::const_iterator E = BB.end(); > BasicBlock::const_iterator prev_iter,last_iter; > prev_iter = NULL; last_iter = NULL; > for(;I!=E;I++){ > prev_iter = last_iter; > last_iter = I; > } > if(prev_iter){ > errs() << "prev_iter: " << *(dyn_cast<Instruction>(prev_iter)) << > "\n"; > } > if(last_...
2012 Dec 18
1
[LLVMdev] BasicBlock back()
...natorInst as their last instruction). > > > > > > > 2. I also tried : > > bool patternDC::runOnBasicBlock(BasicBlock &BB) { > ... > BasicBlock::const_iterator I = BB.begin(); > BasicBlock::const_iterator E = BB.end(); > BasicBlock::const_iterator prev_iter,last_iter; > prev_iter = NULL; last_iter = NULL; > for(;I!=E;I++){ > prev_iter = last_iter; > last_iter = I; > } > if(prev_iter){ > errs() << "prev_iter: " << *(dyn_cast<Instruction>(prev_iter)) << "\n"; > } > if(last_iter){...
2007 Jan 11
0
[PATCH 6/8] HVM save restore: guest memory handling
...+ + ERROR("Unable to suspend domain."); + + return -1; +} + int xc_hvm_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters, uint32_t max_factor, uint32_t flags, int (*suspend)(int)) { - - return 0; -} + xc_dominfo_t info; + + int rc = 1, i, last_iter, iter = 0; + int live = (flags & XCFLAGS_LIVE); + int debug = (flags & XCFLAGS_DEBUG); + int sent_last_iter, skip_this_iter; + + /* The new domain''s shared-info frame number. */ + unsigned long shared_info_frame; + + /* A copy of the CPU context of the guest. *...
2011 May 06
14
[PATCH 0 of 4] Use superpages on restore/migrate
This patch series restores the use of superpages when restoring or migrating a VM, while retaining efficient batching of 4k pages when superpages are not appropriate or available. Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2008 Sep 28
2
is_mapped() in xc_domain_save()
...ll interfaces operate in PFNs for HVM guests * and MFNs for PV guests */ if ( hvm ) pfn_type[batch] = n; else pfn_type[batch] = pfn_to_mfn(n); if ( !is_mapped(pfn_type[batch]) ) { /* ** not currently in psuedo-physical map -- set bit ** in to_fix since we must send this page in last_iter ** unless its sent sooner anyhow, or it never enters ** pseudo-physical map (e.g. for ballooned down doms) */ set_bit(n, to_fix); continue; } This chunk of code makes sense for saving PV domains. The is_mapped() function checks the MSB of the mfn returned by pfn_to_mfn() to...