Lines Matching defs:defi
358 void spill(Instruction *defi, Value *slot, LValue *);
1716 SpillCodeInserter::spill(Instruction *defi, Value *slot, LValue *lval)
1743 defi->bb->insertAfter(defi, s);
1753 defi->bb->insertAfter(defi, st);
1839 Instruction *defi = (*d)->getInsn();
1865 assert(defi);
1866 if (defi->isPseudo()) {
1870 to_del.insert(defi);
1872 defi->setDef(0, slot);
1874 spill(defi, slot, dval);
2078 Instruction *defi = v->getInsn();
2080 return (!defi || defi->constrainedDefs());
2617 Instruction *defi = cst->getSrc(s)->defs.front()->getInsn();
2619 bool imm = defi->op == OP_MOV &&
2620 defi->src(0).getFile() == FILE_IMMEDIATE;
2621 bool load = defi->op == OP_LOAD &&
2622 defi->src(0).getFile() == FILE_MEMORY_CONST &&
2623 !defi->src(0).isIndirect(0);
2625 if (cst->getSrc(s)->refCount() == 1 && !defi->constrainedDefs()
2626 && defi->op != OP_MERGE && defi->op != OP_SPLIT) {
2628 // Move the defi right before the cst. No point in expanding
2630 defi->bb->remove(defi);
2631 cst->bb->insertBefore(cst, defi);
2645 mov->setSrc(0, defi->getSrc(0));
2647 mov->setSrc(0, defi->getSrc(0));
2650 if (defi->getPredicate())
2651 mov->setPredicate(defi->cc, defi->getPredicate());