Home
last modified time | relevance | path

Searched refs:canReplaceReg (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DUtils.h101 bool canReplaceReg(Register DstReg, Register SrcReg, MachineRegisterInfo &MRI);
DLegalizationArtifactCombiner.h490 if (!llvm::canReplaceReg(DstReg, SrcReg, MRI)) { in replaceRegOrBuildCopy()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp91 return canReplaceReg(DstReg, SrcReg, MRI); in matchCombineCopy()
2540 assert(canReplaceReg(OldReg, Replacement, MRI) && "Cannot replace register?"); in replaceSingleDefInstWithOperand()
2550 assert(canReplaceReg(OldReg, Replacement, MRI) && "Cannot replace register?"); in replaceSingleDefInstWithReg()
2560 canReplaceReg(MI.getOperand(0).getReg(), MI.getOperand(2).getReg(), in matchSelectSameVal()
2566 canReplaceReg(MI.getOperand(0).getReg(), MI.getOperand(1).getReg(), in matchBinOpSameVal()
2572 canReplaceReg(MI.getOperand(0).getReg(), MI.getOperand(OpIdx).getReg(), in matchOperandIsZero()
2873 if (canReplaceReg(AndDst, LHS, MRI) && in matchRedundantAnd()
2880 if (canReplaceReg(AndDst, RHS, MRI) && in matchRedundantAnd()
2919 if (canReplaceReg(OrDst, LHS, MRI) && in matchRedundantOr()
2926 if (canReplaceReg(OrDst, RHS, MRI) && in matchRedundantOr()
DUtils.cpp172 bool llvm::canReplaceReg(Register DstReg, Register SrcReg, in canReplaceReg() function in llvm