Lines Matching refs:buildConstant
927 auto True = Builder.buildConstant( in applyOptBrCondByInvertingCond()
1035 return MIB.buildConstant(Ty, SplatVal).getReg(0); in getMemsetValue()
1042 return MIB.buildConstant(Ty, 0).getReg(0); in getMemsetValue()
1049 auto MagicMI = MIB.buildConstant(ExtType, Magic); in getMemsetValue()
1160 MIB.buildConstant(LLT::scalar(PtrTy.getSizeInBits()), DstOff); in optimizeMemset()
1261 Offset = MIB.buildConstant(LLT::scalar(PtrTy.getSizeInBits()), CurrOffset) in optimizeMemcpy()
1357 MIB.buildConstant(LLT::scalar(PtrTy.getSizeInBits()), CurrOffset); in optimizeMemmove()
1374 MIB.buildConstant(LLT::scalar(PtrTy.getSizeInBits()), CurrOffset); in optimizeMemmove()
1534 auto NewOffset = MIB.buildConstant(OffsetTy, MatchInfo.Imm); in applyPtrAddImmedChain()
1602 Builder.buildConstant(MI.getOperand(0), 0); in applyShiftImmedChain()
1612 Register NewImm = Builder.buildConstant(ImmTy, Imm).getReg(0); in applyShiftImmedChain()
1713 Register Const = Builder.buildConstant(ShlType, MatchInfo.ValSum).getReg(0); in applyShiftOfShiftedLogic()
1752 auto ShiftCst = MIB.buildConstant(ShiftTy, ShiftVal); in applyCombineMulToShl()
1805 auto ShiftAmt = Builder.buildConstant(ExtSrcTy, ShiftAmtVal); in applyCombineShlOfExtend()
1907 Builder.buildConstant(DstReg, Csts[Idx]); in applyCombineUnmergeConstant()
2001 ZeroReg = Builder.buildConstant(Dst0Ty, 0).getReg(0); in applyCombineUnmergeZExtToZExt()
2058 Builder.buildConstant(HalfTy, NarrowShiftAmt)).getReg(0); in applyCombineShiftToUnmerge()
2061 auto Zero = Builder.buildConstant(HalfTy, 0); in applyCombineShiftToUnmerge()
2071 Builder.buildConstant(HalfTy, NarrowShiftAmt)).getReg(0); in applyCombineShiftToUnmerge()
2074 auto Zero = Builder.buildConstant(HalfTy, 0); in applyCombineShiftToUnmerge()
2080 Builder.buildConstant(HalfTy, HalfSize - 1)); in applyCombineShiftToUnmerge()
2095 Builder.buildConstant(HalfTy, ShiftVal - HalfSize)); in applyCombineShiftToUnmerge()
2220 Builder.buildConstant(Dst, NewCst); in applyCombineConstPtrAddToI2P()
2304 Builder.buildSub(DstReg, Builder.buildConstant(DstTy, 0), SrcReg, in applyCombineMulByNegativeOne()
2593 Builder.buildConstant(MI.getOperand(0), C); in replaceInstWithConstant()