• Home
  • Raw
  • Download

Lines Matching refs:getSrc

445          phis.insert(std::make_pair(std::make_pair(phi, pb), phi->getSrc(j)));  in splitEdges()
508 mov->setSrc(0, phi->getSrc(j)); in visit()
537 LValue *tmp = new_LValue(func, cal->getSrc(s)->asLValue()); in visit()
543 mov->setSrc(0, cal->getSrc(s)); in visit()
637 if (i->getSrc(s)->asLValue()) in buildLiveSets()
638 bb->liveSet.set(i->getSrc(s)->id); in buildLiveSets()
692 if (i->getSrc(s)->getUniqueInsn()->bb == bb) // XXX: reachableBy ? in visit()
693 bb->liveSet.set(i->getSrc(s)->id); in visit()
695 bb->liveSet.clr(i->getSrc(s)->id); in visit()
715 if (!i->getSrc(s)->asLValue()) in visit()
717 if (!bb->liveSet.test(i->getSrc(s)->id)) { in visit()
718 bb->liveSet.set(i->getSrc(s)->id); in visit()
719 addLiveRange(i->getSrc(s), bb, i->serial); in visit()
900 insn->getSrc(1)->reg.data.u64; in isShortRegOp()
1097 LValue *rep = (split ? insn->getSrc(0) : insn->getDef(0))->asLValue(); in makeCompound()
1112 LValue *val = (split ? insn->getDef(c) : insn->getSrc(c))->asLValue(); in makeCompound()
1142 if (!coalesceValues(insn->getDef(0), insn->getSrc(c), false)) { in doCoalesce()
1153 coalesceValues(insn->getDef(0), insn->getSrc(c), true); in doCoalesce()
1165 coalesceValues(insn->getSrc(0), insn->getDef(c), true); in doCoalesce()
1177 i = insn->getSrc(0)->getUniqueInsn(); in doCoalesce()
1179 coalesceValues(insn->getDef(0), insn->getSrc(0), false); in doCoalesce()
1195 coalesceValues(insn->getDef(c), insn->getSrc(c), true); in doCoalesce()
1574 nodes[i].addRegPreference(getNode(insn->getSrc(2)->asLValue())); in allocateRegisters()
1984 unsigned int reg = regs.idToBytes(split->getSrc(0)); in resolveSplitsAndMerges()
2000 Value *v = merge->getSrc(s); in resolveSplitsAndMerges()
2009 phi->getSrc(phis)->join = v; in resolveSplitsAndMerges()
2010 phi->getSrc(phis)->reg.data.id = v->reg.data.id; in resolveSplitsAndMerges()
2064 Value *v = cst->getSrc(s); in detectConflict()
2075 if (v == cst->getSrc(c)) in detectConflict()
2097 if (cst->getSrc(d) != i->getSrc(d + s)) in addConstraint()
2109 cst->setSrc(d, i->getSrc(s)); in addConstraint()
2180 size += insn->getSrc(s)->reg.size; in condenseSrcs()
2192 merge->setSrc(i, insn->getSrc(s)); in condenseSrcs()
2518 tex->setSrc(c, new_LValue(func, tex->getSrc(0)->asLValue())); in texConstraintNV50()
2576 size -= i->getSrc(s)->reg.size; in visit()
2615 assert(cst->getSrc(s)->defs.size() == 1); // still SSA in insertConstraintMove()
2617 Instruction *defi = cst->getSrc(s)->defs.front()->getInsn(); in insertConstraintMove()
2625 if (cst->getSrc(s)->refCount() == 1 && !defi->constrainedDefs() in insertConstraintMove()
2641 mov->setSrc(0, cst->getSrc(s)); in insertConstraintMove()
2645 mov->setSrc(0, defi->getSrc(0)); in insertConstraintMove()
2647 mov->setSrc(0, defi->getSrc(0)); in insertConstraintMove()
2682 cst->setDef(d, mov->getSrc(0)); in insertConstraintMoves()
2685 cst->getSrc(0)->asLValue()->noSpill = 1; in insertConstraintMoves()
2686 mov->getSrc(0)->asLValue()->noSpill = 1; in insertConstraintMoves()
2693 if (!cst->getSrc(s)->defs.size()) { in insertConstraintMoves()
2695 mov->setDef(0, cst->getSrc(s)); in insertConstraintMoves()