Lines Matching defs:SrcVar
84 if (auto *SrcVar = llvm::dyn_cast<Variable>(Instr.getSrc(i))) {
85 const SizeT VarNum = getVarNum(SrcVar);
282 auto *SrcVar = llvm::cast<Variable>(Instr->getSrc(0));
283 const bool SrcIsInf = isInf(SrcVar);
284 const bool SrcIsAllocable = isAllocable(SrcVar);
291 if (DestIsInf && SrcIsAllocable && Dest->getType() == SrcVar->getType()) {
309 Variable *OldMapped = VarMap.get(SrcVar);
314 if (!VarMap.isInstLastUseOfVar(SrcVar, Instr)) {
315 Variable *NewMapped = VarMap.makeLinked(SrcVar);
341 Inst *Mov = Target->createLoweredMove(NewMapped, SrcVar);
347 Inst *Mov = Target->createLoweredMove(OldMapped, SrcVar);
393 if (auto *SrcVar = llvm::dyn_cast<Variable>(Instr->getSrc(i))) {
394 const bool SrcIsAllocable = isAllocable(SrcVar);
396 Variable *OldMapped = VarMap.get(SrcVar);
398 if (!VarMap.isInstLastUseOfVar(SrcVar, Instr)) {
399 Variable *NewMapped = VarMap.makeLinked(SrcVar);