Searched refs:canReplaceReg (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
D | Utils.h | 101 bool canReplaceReg(Register DstReg, Register SrcReg, MachineRegisterInfo &MRI);
|
D | LegalizationArtifactCombiner.h | 490 if (!llvm::canReplaceReg(DstReg, SrcReg, MRI)) { in replaceRegOrBuildCopy()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | CombinerHelper.cpp | 91 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()
|
D | Utils.cpp | 172 bool llvm::canReplaceReg(Register DstReg, Register SrcReg, in canReplaceReg() function in llvm
|