search for: getnumber

Displaying 20 results from an estimated 42 matches for "getnumber".

2009 Aug 05
1
S4 method dispatch: coercion of arguments with setAs defined
...because I want class B to also work with objects of classes that inherit from class A and that I don't know the names. So I tried to dispatch the methods of class A to slot obj using function setAs as follows: setClass('A', representation(number='numeric')) setGeneric('getNumber', function(object) standardGeneric('getNumber')) setMethod('getNumber', 'A', function(object) object at number) setClass('B', representation(obj='A', extra='list')) setAs('B', 'A', def= function(from) from at obj ) objB <- new...
2006 Aug 21
0
[LLVMdev] Recalculating live intervals
...ineInstr * mi = use_sites[u]; if(mi == last_seen) { continue; // this happens when the same virtual is used multiple // times in the same instruction. } unsigned new_reg = create_new_virtual_register(v_reg); if(mi->getParent()->getNumber() == ks.get_basic_block()->getNumber()) { ks.replace_used_reg(mi, new_reg, v_reg); } this->vrm->grow(); this->reg_mapping->grow(); this->vrm->assignVirt2StackSlot(new_reg, slot); for(unsigned t = 0; t < mi->getNumOperand...
2013 Nov 18
3
[LLVMdev] possible thumb bug in constant islands
...achineInstr *MI = Br.MI; MachineBasicBlock *MBB = MI->getParent(); if (!isThumb1) llvm_unreachable("fixupUnconditionalBr is Thumb1 only!"); // Use BL to implement far jump. Br.MaxDisp = (1 << 21) * 2; MI->setDesc(TII->get(ARM::tBfar)); BBInfo[MBB->getNumber()].Size += 2; adjustBBOffsetsAfter(MBB); HasFarJump = true; ++NumUBrFixed; DEBUG(dbgs() << " Changed B to long jump " << *MI); return true; }
2005 May 24
1
Fax detection: Problem with extension number
...g wrong or is this a problem with Asterisk? The fully log is below. Thank you in advance Jean-Yves When I looked in the console on what what happening I say this: -- Accepting call from '' to '85735200' on channel 0/10, span 1 -- Executing AGI("Zap/10-1", "getnumber.agi|200") in new stack -- Launched AGI Script /data/asterisk/var/lib/asterisk/agi-bin/ getnumber.agi -- AGI Script getnumber.agi completed, returning 0 -- Executing Set("Zap/10-1", "EXTENSION=00") in new stack -- Executing Goto("Zap/10-1", &qu...
2006 Aug 21
2
[LLVMdev] Recalculating live intervals
So what addIntervalsToSpills returns are new intervals to allocate with infinite weights, right? And I need not to allocate the old interval. Should hasStackSlot return true on its register then? On 8/21/06, Fernando Magno Quintao Pereira <fernando at cs.ucla.edu> wrote: > > > Well, someone correct me if am wrong, but, you still have to allocate > physical registers to them,
2008 Apr 16
3
[LLVMdev] Possible bug in LiveIntervalAnalysis?
...bool inserted = mi2iMap_.insert(std::make_pair(I, MIIndex)).second; assert(inserted && "multiple MachineInstr -> index mappings"); i2miMap_.push_back(I); MIIndex += InstrSlots::NUM; } // Set the MBB2IdxMap entry for this MBB. MBB2IdxMap[MBB->getNumber()] = std::make_pair(StartIdx, MIIndex - 1); For empty MBBs, the last line would create a pair, where the end element is smaller than the start element, which is a bit counter-intuitive. This may lead to some assertion failures in other parts of the code generator, if they use MBB2IdxMap for check...
2010 Oct 07
2
[LLVMdev] [LLVMDev] Has anyone written this?
...cBlock * start, *block; start = block = mf.getBlockNumbered(i); std::vector< MachineBasicBlock* > blocks; while( block->succ_size() == 1 && (*block->succ_begin())->pred_size() == 1 ) { block = *block->succ_begin(); seen[block->getNumber()] = true; blocks.push_back( block ); } // TODO: // For each basic block bb in blocks in order of insersion: // 1. Remove basic blocks in the block vector from the machine function. // 2. Remove the jump from the start block if it exists. //...
2008 Apr 16
0
[LLVMdev] Being able to know the jitted code-size before emitting
...; unsigned BlockSize = 0; > for (MachineBasicBlock::iterator MBBI = MBB->begin(), EE = MBB- > >end(); > MBBI != EE; ++MBBI) > - BlockSize += getNumBytesForInstruction(MBBI); > + BlockSize += TII->GetInstSize(MBBI); > > BlockSizes[MBB->getNumber()] = BlockSize; > FuncSize += BlockSize; > @@ -124,7 +104,7 @@ > for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); > I != E; ++I) { > if (I->getOpcode() != PPC::BCC || I- > >getOperand(2).isImmediate()) { > - MBBStartO...
2008 Apr 15
4
[LLVMdev] Being able to know the jitted code-size before emitting
OK, here's a new patch that adds the infrastructure and the implementation for X86, ARM and PPC of GetInstSize and GetFunctionSize. Both functions are virtual functions defined in TargetInstrInfo.h. For X86, I moved some commodity functions from X86CodeEmitter to X86InstrInfo. What do you think? Nicolas Evan Cheng wrote: > > I think both of these belong to TargetInstrInfo. And
2004 May 07
1
meetme conf-background.agi
...ryTime:60\n"; print MYCALL "WaitTime:30\n"; print MYCALL "Context:default\n"; print MYCALL "Extension:22\n"; print MYCALL "Priority:1\n"; close MYCALL; cp($srcfile,$dstfile); #used to hold the AGI, otherwise it quits $AGI->get_data('ccs-getnumber','100000000','2'); print STDERR "dialing complete...\n"; **************************************************************************** Some one can sort out, where things are going wrong Thank you Atif 35,1 Top -------------- next part ----------...
2008 Dec 02
1
func_odbc and hash problem
Hello, Now I'm testing func_odbc and hash. My configurations are: func_odbc.conf [GETNUMBER] dsn=sqlserver ;mode=multirow ;rowlimit=10 readsql=SELECT number,real_number1,real_number2,status FROM ivr.dbo.numbers WHERE number=${SQL_ESC(${ARG1})} extensions.conf exten => s,1,Ringing exten => s,n,Wait(4) exten => s,n,Answer exten => s,n,Set(NUMERIS=37037210602) exten => s,n,Se...
2013 Nov 19
0
[LLVMdev] possible thumb bug in constant islands
...gt; MachineBasicBlock *MBB = MI->getParent(); > if (!isThumb1) > llvm_unreachable("fixupUnconditionalBr is Thumb1 only!"); > > // Use BL to implement far jump. > Br.MaxDisp = (1 << 21) * 2; > MI->setDesc(TII->get(ARM::tBfar)); > BBInfo[MBB->getNumber()].Size += 2; > adjustBBOffsetsAfter(MBB); > HasFarJump = true; > ++NumUBrFixed; > > DEBUG(dbgs() << " Changed B to long jump " << *MI); > > return true; > } > > _______________________________________________ > LLVM Developers mailing...
2007 Jan 08
1
No CDR from Outbound Call
...he call that it makes outbound on # 17. Any idea why? Here is the extensions info: [default] exten => 2211,1,Answer exten => 2211,2,Wait(1) exten => 2211,3,Playback(/etc/asterisk/recording/getshop) exten => 2211,4,playback(beep) exten => 2211,5,Read(shopid) exten => 2211,6,AGI,getnumber.agi|${shopid} exten => 2211,7,Noop,${shopid} exten => 2211,8,GotoIf($[${SHOPPHONE} = 1]?20:9) exten => 2211,9,Noop,${SHOPPHONE} exten => 2211,10,GotoIf($[${SHOPPHONE} = 2]?22:11) exten => 2211,11,Noop,${SHOPNO} exten => 2211,12,GotoIf($[${SHOPPHONE} = 3]?24:13) exten => 2211,13...
2013 Jun 17
0
[LLVMdev] RFC - Profile Guided Optimization in LLVM
...= mf.begin(), E = mf.end(); I != E; ++I) { - float Freq = LiveIntervals::getSpillWeight(true, false, - loops->getLoopDepth(I)); + float Freq = + LiveIntervals::getSpillWeight(true, false, MBFI.getBlockFreq(I)); unsigned Num = I->getNumber(); BlockFrequency[Num] = Freq; I think you should leave LiveIntervals out of this and just the block frequency directly, scaled as above. The getSpillWeight() function is just used here to get the non-overflowing frequency approximation. Otherwise, looks good. Thanks, /jakob
2008 Apr 16
0
[LLVMdev] Possible bug in LiveIntervalAnalysis?
...make_pair(I, > MIIndex)).second; > assert(inserted && "multiple MachineInstr -> index mappings"); > i2miMap_.push_back(I); > MIIndex += InstrSlots::NUM; > } > > // Set the MBB2IdxMap entry for this MBB. > MBB2IdxMap[MBB->getNumber()] = std::make_pair(StartIdx, MIIndex - > 1); > > For empty MBBs, the last line would create a pair, where the end > element is smaller than the start element, which is a bit > counter-intuitive. This may lead to some assertion failures in other > parts of the code generator...
2013 Nov 19
1
[LLVMdev] possible thumb bug in constant islands
...>getParent(); >> if (!isThumb1) >> llvm_unreachable("fixupUnconditionalBr is Thumb1 only!"); >> >> // Use BL to implement far jump. >> Br.MaxDisp = (1 << 21) * 2; >> MI->setDesc(TII->get(ARM::tBfar)); >> BBInfo[MBB->getNumber()].Size += 2; >> adjustBBOffsetsAfter(MBB); >> HasFarJump = true; >> ++NumUBrFixed; >> >> DEBUG(dbgs() << " Changed B to long jump " << *MI); >> >> return true; >> } >> >> __________________________________...
2013 Jun 17
2
[LLVMdev] RFC - Profile Guided Optimization in LLVM
On 17.06.2013, at 15:56, Diego Novillo <dnovillo at google.com> wrote: > On 2013-06-15 16:39 , Benjamin Kramer wrote: >> Do you want to take over this effort or should I poke more at it? > > Since you've already started, it's easier if you poke more at it. Thanks. I've got a whole bunch of other things to go through. OK, will do. Jakob any comments on the
2008 Apr 18
1
[LLVMdev] Possible bug in LiveIntervalAnalysis?
...ndex)).second; >> assert(inserted && "multiple MachineInstr -> index mappings"); >> i2miMap_.push_back(I); >> MIIndex += InstrSlots::NUM; >> } >> >> // Set the MBB2IdxMap entry for this MBB. >> MBB2IdxMap[MBB->getNumber()] = std::make_pair(StartIdx, MIIndex - >> 1); >> >> For empty MBBs, the last line would create a pair, where the end >> element is smaller than the start element, which is a bit >> counter-intuitive. This may lead to some assertion failures in other >> parts of...
2018 May 25
1
MSP430: interrupt vector number out of bounds error in v6/trunk (with patch)
...bounds) << AL.getName() << (int)NumParams.getSExtValue() << NumParamsExpr->getSourceRange(); return; } Also, the __isr_ symbol is emitted with the vector number divided by 2. // Step 3: Emit ISR vector alias. unsigned Num = attr->getNumber() / 2; llvm::GlobalAlias::create(llvm::Function::ExternalLinkage, "__isr_" + Twine(Num), F); Eliminating the check causes a duplicate symbol error among __isr_ symbols, because odd and even vector numbers generate the same symbol. Neither the check for...
2006 Aug 21
3
[LLVMdev] Recalculating live intervals
...> if(mi == last_seen) { > continue; // this happens when the same virtual is used > multiple > // times in the same instruction. > } > unsigned new_reg = create_new_virtual_register(v_reg); > if(mi->getParent()->getNumber() == > ks.get_basic_block()->getNumber()) { > ks.replace_used_reg(mi, new_reg, v_reg); > } > this->vrm->grow(); > this->reg_mapping->grow(); > this->vrm->assignVirt2StackSlot(new_reg, slot); > for(unsigned t = 0...