search for: startidx

Displaying 7 results from an estimated 7 matches for "startidx".

Did you mean: start_idx
2010 Mar 30
1
[LLVMdev] Question on SelectionDAGBuilder
...for each operand, there's a look that looks at the ranges and determines whether an EXTRACT_SUBVECTOR can be used: for (int Input=0; Input < 2; ++Input) { if (MinRange[Input] == (int)(SrcNumElts+1) && MaxRange[Input] == -1) { RangeUse[Input] = 0; // Unused StartIdx[Input] = 0; } else if (MaxRange[Input] - MinRange[Input] < (int)MaskNumElts) { // Fits within range but we should see if we can find a good // start index that is a multiple of the mask length. if (MaxRange[Input] < (int)MaskNumElts) { RangeUse[Input] =...
2008 Apr 16
3
[LLVMdev] Possible bug in LiveIntervalAnalysis?
...In the LiveIntervalAnalysis::runOnMachineFunction, there is a code to compute the MBB2IdxMap, by remembering for each MBB its start and end instruction numbers: unsigned MIIndex = 0; for (MachineFunction::iterator MBB = mf_->begin(), E = mf_->end(); MBB != E; ++MBB) { unsigned StartIdx = MIIndex; for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E; ++I) { bool inserted = mi2iMap_.insert(std::make_pair(I, MIIndex)).second; assert(inserted && "multiple MachineInstr -> index mappings"); i2miMap_.push_ba...
2008 Apr 16
0
[LLVMdev] Possible bug in LiveIntervalAnalysis?
...chineFunction, there is a code to > compute the MBB2IdxMap, by remembering for each MBB its start and end > instruction numbers: > > unsigned MIIndex = 0; > for (MachineFunction::iterator MBB = mf_->begin(), E = mf_->end(); > MBB != E; ++MBB) { > unsigned StartIdx = MIIndex; > > for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); > I != E; ++I) { > bool inserted = mi2iMap_.insert(std::make_pair(I, > MIIndex)).second; > assert(inserted && "multiple MachineInstr -> index mappings&...
2008 Apr 18
1
[LLVMdev] Possible bug in LiveIntervalAnalysis?
...s a code to >> compute the MBB2IdxMap, by remembering for each MBB its start and end >> instruction numbers: >> >> unsigned MIIndex = 0; >> for (MachineFunction::iterator MBB = mf_->begin(), E = mf_->end(); >> MBB != E; ++MBB) { >> unsigned StartIdx = MIIndex; >> >> for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); >> I != E; ++I) { >> bool inserted = mi2iMap_.insert(std::make_pair(I, >> MIIndex)).second; >> assert(inserted && "multiple MachineInstr -&...
2006 May 17
0
[LLVMdev] Obfuscation with LLVM
...ata flow analysis ( http://gcc.gnu.org/onlinedocs/gccint/SSA.html). MovePHINodesToDispatcher( indexBBMap, disMainBB ); return madeChange; } // // Private methods. // unsigned MakeDispatcherPass::IndexSourceBasicBlocks( Function& function, BBindexBBMap& indexBBMap ) { unsigned startIdx = 0; // Keep all source basic blocks, including entry and exit blocks. unsigned idx = startIdx; for( Function::iterator i = function.begin(); i != function.end(); i++ ) { // Add basic block with index. indexBBMap[ &*i ] = idx++; } // Return the index of...
2010 Feb 08
1
Acer Aspire 5739G - Wine doesn't work
Hi, I've recently received said notebook as a gift. Currently it's running Kubuntu 9.10, however Wine just doesn't seem to work - any aplication I try to run on it gives an error message 'The program has encountered a serious problem and needs to close', whether it's a game, WinRar or an installer. In fact the only .exe files that work are the ones included in wine
2008 May 31
13
Heroes of Might and Magic 5 crash
Hi, all. Since wine 0.9.59 (before I used 0.9.50 and all was O.K., but from 0.9.59 till 1.0-rc2 appear described problem) I am find strange behaviour of heroes 5 at wine. After starting application it begin intensively put on console output string like that: fixme:win:SetLayeredWindowAttributes (0x30024,0x00000000,0,2): stub! but that is not so critical as I know. Realy worst things begins when