search for: createcopi

Displaying 1 result from an estimated 1 matches for "createcopi".

Did you mean: createconf
2009 Jun 03
2
[LLVMdev] Adding instructions to MachineBlock
...std::vector<MachineInstr *> toRemove; std::vector<MachineInstr *> copies; for(MachineBasicBlock::iterator II=BB->begin(), IE=BB->end(); II!=IE; ++II) { MachineInstr *Instr = &*II; if(!isVectorInstr(Instr)) continue; copies.clear(); createCopies(F, Instr, copies); for(unsigned i=0, e=copies.size(); i!=e; ++i) BB->insert(II, copies[i]); } for(unsigned i=0, e=toRemove.size(); i!=e; ++i) BB->remove(toRemove[i]); } The createCopies function creates a set of instructions. Say we have a vector instruction v...