reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
486 const MCInstrDesc &Desc = UseMI->getDesc(); 497 TII->isOperandLegal(*UseMI, UseOpIdx, &OpToFold)) { 498 UseMI->getOperand(UseOpIdx).ChangeToImmediate(OpToFold.getImm()); 509 if (llvm::find_if(FoldList, [UseMI](const FoldCandidate &FC) { 510 return FC.UseMI == UseMI; }) != FoldList.end()) 513 MachineRegisterInfo &MRI = UseMI->getParent()->getParent()->getRegInfo(); 528 !TII->isOperandLegal(*UseMI, UseOpIdx, Op)) 537 appendFoldCandidate(FoldList, UseMI, UseOpIdx, Defs[0].first);