Lines Matching refs:src

254       void addHazard(Instruction *i, const ValueRef *src);
437 // we need to hold on to the (phi, bb) -> src mapping, and fix up the phi
497 // insert MOVs (phi->src(j) should stem from j-th in-BB)
691 assert(i->src(s).getInsn());
814 void copyCompound(Value *dst, Value *src);
899 return insn->srcExists(1) && insn->src(1).getFile() == FILE_IMMEDIATE &&
951 GCRA::copyCompound(Value *dst, Value *src)
954 LValue *lsrc = src->asLValue();
976 GCRA::coalesceValues(Value *dst, Value *src, bool force)
979 LValue *val = src->join->asLValue();
982 rep = src->join->asLValue();
988 if (src->reg.file != dst->reg.file) {
993 if (!force && dst->reg.size != src->reg.size)
1025 copyCompound(dst, src);
1551 if (insn->src(0).getFile() != FILE_GPR ||
1552 insn->src(1).getFile() != FILE_GPR ||
1553 insn->src(2).getFile() != FILE_GPR)
1569 if (!insn->src(0).getImmediate(imm) &&
1570 !insn->src(1).getImmediate(imm))
2121 RegAlloc::InsertConstraintsPass::addHazard(Instruction *i, const ValueRef *src)
2124 hzd->setSrc(0, src->get());
2514 // make src and def count match
2582 if (i->src(0).isIndirect(0) && typeSizeof(i->dType) >= 8)
2583 addHazard(i, i->src(0).getIndirect(0));
2584 if (i->src(0).isIndirect(1) && typeSizeof(i->dType) >= 8)
2585 addHazard(i, i->src(0).getIndirect(1));
2613 const uint8_t size = cst->src(s).getSize();
2620 defi->src(0).getFile() == FILE_IMMEDIATE;
2622 defi->src(0).getFile() == FILE_MEMORY_CONST &&
2623 !defi->src(0).isIndirect(0);
2636 LValue *lval = new_LValue(func, cst->src(s).getFile());
2691 const uint8_t size = cst->src(s).getSize();