Lines Matching refs:getConstant
1183 RHS = DAG.getConstant(C, VT); in getAArch64Cmp()
1193 RHS = DAG.getConstant(C, VT); in getAArch64Cmp()
1204 RHS = DAG.getConstant(C, VT); in getAArch64Cmp()
1215 RHS = DAG.getConstant(C, VT); in getAArch64Cmp()
1249 DAG.getConstant(ValueofRHS, RHS.getValueType()), in getAArch64Cmp()
1252 AArch64cc = DAG.getConstant(AArch64CC, MVT::i32); in getAArch64Cmp()
1260 AArch64cc = DAG.getConstant(AArch64CC, MVT::i32); in getAArch64Cmp()
1307 DAG.getConstant(0, MVT::i64)); in getAArch64XALUOOp()
1320 DAG.getConstant(32, MVT::i64)); in getAArch64XALUOOp()
1323 DAG.getConstant(31, MVT::i64)); in getAArch64XALUOOp()
1336 DAG.getConstant(32, MVT::i64)); in getAArch64XALUOOp()
1339 DAG.getNode(AArch64ISD::SUBS, DL, VTs, DAG.getConstant(0, MVT::i64), in getAArch64XALUOOp()
1350 DAG.getConstant(63, MVT::i64)); in getAArch64XALUOOp()
1360 DAG.getNode(AArch64ISD::SUBS, DL, VTs, DAG.getConstant(0, MVT::i64), in getAArch64XALUOOp()
1434 DAG.getConstant(-1ULL, Other.getValueType())); in LowerXOR()
1490 SDValue TVal = DAG.getConstant(1, MVT::i32); in LowerXALUO()
1491 SDValue FVal = DAG.getConstant(0, MVT::i32); in LowerXALUO()
1496 SDValue CCVal = DAG.getConstant(getInvertedCondCode(CC), MVT::i32); in LowerXALUO()
1532 DAG.getConstant(PrfOp, MVT::i32), Op.getOperand(1)); in LowerPREFETCH()
1805 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), MVT::i32)); in skipExtensionForVectorMULL()
2279 DAG.getConstant(8, getPointerTy())); in saveVarArgRegisters()
2308 DAG.getConstant(16, getPointerTy())); in saveVarArgRegisters()
2754 DAG.getConstant(Outs[i].Flags.getByValSize(), MVT::i64); in LowerCall()
2997 DAG.getConstant(GN->getOffset(), PtrVT)); in LowerGlobalAddress()
3247 RHS = DAG.getConstant(0, LHS.getValueType()); in LowerBR_CC()
3272 SDValue CCVal = DAG.getConstant(OFCC, MVT::i32); in LowerBR_CC()
3297 DAG.getConstant(Log2_64(Mask), MVT::i64), Dest); in LowerBR_CC()
3312 DAG.getConstant(Log2_64(Mask), MVT::i64), Dest); in LowerBR_CC()
3322 DAG.getConstant(Mask, MVT::i64), Dest); in LowerBR_CC()
3332 DAG.getConstant(Mask, MVT::i64), Dest); in LowerBR_CC()
3348 SDValue CC1Val = DAG.getConstant(CC1, MVT::i32); in LowerBR_CC()
3352 SDValue CC2Val = DAG.getConstant(CC2, MVT::i32); in LowerBR_CC()
3419 SDValue BuildVec = DAG.getConstant(EltMask, VecVT); in LowerFCOPYSIGN()
3467 DAG.getConstant(Intrinsic::aarch64_neon_uaddlv, MVT::i32), CtPop); in LowerCTPOP()
3486 SDValue TVal = DAG.getConstant(1, VT); in LowerSETCC()
3487 SDValue FVal = DAG.getConstant(0, VT); in LowerSETCC()
3524 SDValue CC1Val = DAG.getConstant(CC1, MVT::i32); in LowerSETCC()
3537 SDValue CC1Val = DAG.getConstant(CC1, MVT::i32); in LowerSETCC()
3541 SDValue CC2Val = DAG.getConstant(CC2, MVT::i32); in LowerSETCC()
3583 RHS = DAG.getConstant(0, LHS.getValueType()); in LowerSELECT_CC()
3736 SDValue CC1Val = DAG.getConstant(CC1, MVT::i32); in LowerSELECT_CC()
3742 SDValue CC2Val = DAG.getConstant(CC2, MVT::i32); in LowerSELECT_CC()
3781 SDValue CCVal = DAG.getConstant(OFCC, MVT::i32); in LowerSELECT()
3796 RHS = DAG.getConstant(0, CCVal.getValueType()); in LowerSELECT()
3932 DAG.getConstant(8, getPointerTy())); in LowerAAPCS_VASTART()
3936 DAG.getConstant(GPRSize, getPointerTy())); in LowerAAPCS_VASTART()
3947 DAG.getConstant(16, getPointerTy())); in LowerAAPCS_VASTART()
3951 DAG.getConstant(FPRSize, getPointerTy())); in LowerAAPCS_VASTART()
3959 DAG.getConstant(24, getPointerTy())); in LowerAAPCS_VASTART()
3960 MemOps.push_back(DAG.getStore(Chain, DL, DAG.getConstant(-GPRSize, MVT::i32), in LowerAAPCS_VASTART()
3966 DAG.getConstant(28, getPointerTy())); in LowerAAPCS_VASTART()
3967 MemOps.push_back(DAG.getStore(Chain, DL, DAG.getConstant(-FPRSize, MVT::i32), in LowerAAPCS_VASTART()
3989 Op.getOperand(2), DAG.getConstant(VaListSize, MVT::i32), in LowerVACOPY()
4012 DAG.getConstant(Align - 1, getPointerTy())); in LowerVAARG()
4014 DAG.getConstant(-(int64_t)Align, getPointerTy())); in LowerVAARG()
4034 DAG.getConstant(ArgSize, getPointerTy())); in LowerVAARG()
4095 SDValue Offset = DAG.getConstant(8, getPointerTy()); in LowerRETURNADDR()
4123 DAG.getConstant(VTBits, MVT::i64), ShAmt); in LowerShiftRightParts()
4126 DAG.getConstant(VTBits, MVT::i64)); in LowerShiftRightParts()
4129 SDValue Cmp = emitComparison(ExtraShAmt, DAG.getConstant(0, MVT::i64), in LowerShiftRightParts()
4131 SDValue CCVal = DAG.getConstant(AArch64CC::GE, MVT::i32); in LowerShiftRightParts()
4143 DAG.getConstant(VTBits - 1, MVT::i64)) in LowerShiftRightParts()
4144 : DAG.getConstant(0, VT); in LowerShiftRightParts()
4167 DAG.getConstant(VTBits, MVT::i64), ShAmt); in LowerShiftLeftParts()
4170 DAG.getConstant(VTBits, MVT::i64)); in LowerShiftLeftParts()
4176 SDValue Cmp = emitComparison(ExtraShAmt, DAG.getConstant(0, MVT::i64), in LowerShiftLeftParts()
4178 SDValue CCVal = DAG.getConstant(AArch64CC::GE, MVT::i32); in LowerShiftLeftParts()
4184 SDValue TrueValLo = DAG.getConstant(0, VT); in LowerShiftLeftParts()
4503 V64Reg, DAG.getConstant(0, MVT::i32)); in WidenVector()
4635 DAG.getConstant(NumSrcElts, MVT::i64)); in ReconstructShuffle()
4641 DAG.getConstant(0, MVT::i64)); in ReconstructShuffle()
4646 DAG.getConstant(0, MVT::i64)); in ReconstructShuffle()
4649 DAG.getConstant(NumSrcElts, MVT::i64)); in ReconstructShuffle()
4653 VEXTSrc2, DAG.getConstant(Imm, MVT::i32)); in ReconstructShuffle()
4988 DAG.getConstant(0, MVT::i64)); in tryFormConcatFromShuffle()
4992 DAG.getConstant(0, MVT::i64)); in tryFormConcatFromShuffle()
5070 SDValue Lane = DAG.getConstant(OpNum - OP_VDUP0, MVT::i64); in GeneratePerfectShuffle()
5078 DAG.getConstant(Imm, MVT::i32)); in GeneratePerfectShuffle()
5115 TBLMask.push_back(DAG.getConstant(Offset, MVT::i32)); in GenerateTBL()
5135 DAG.getConstant(Intrinsic::aarch64_neon_tbl1, MVT::i32), V1Cst, in GenerateTBL()
5143 DAG.getConstant(Intrinsic::aarch64_neon_tbl1, MVT::i32), V1Cst, in GenerateTBL()
5155 DAG.getConstant(Intrinsic::aarch64_neon_tbl2, MVT::i32), V1Cst, V2Cst, in GenerateTBL()
5224 return DAG.getNode(Opcode, dl, VT, V1, DAG.getConstant(Lane, MVT::i64)); in LowerVECTOR_SHUFFLE()
5241 DAG.getConstant(Imm, MVT::i32)); in LowerVECTOR_SHUFFLE()
5246 DAG.getConstant(Imm, MVT::i32)); in LowerVECTOR_SHUFFLE()
5285 SDValue DstLaneV = DAG.getConstant(Anomaly, MVT::i64); in LowerVECTOR_SHUFFLE()
5293 SDValue SrcLaneV = DAG.getConstant(SrcLane, MVT::i64); in LowerVECTOR_SHUFFLE()
5383 DAG.getConstant(CnstVal, MVT::i32), in LowerVectorAND()
5384 DAG.getConstant(0, MVT::i32)); in LowerVectorAND()
5392 DAG.getConstant(CnstVal, MVT::i32), in LowerVectorAND()
5393 DAG.getConstant(8, MVT::i32)); in LowerVectorAND()
5401 DAG.getConstant(CnstVal, MVT::i32), in LowerVectorAND()
5402 DAG.getConstant(16, MVT::i32)); in LowerVectorAND()
5410 DAG.getConstant(CnstVal, MVT::i32), in LowerVectorAND()
5411 DAG.getConstant(24, MVT::i32)); in LowerVectorAND()
5419 DAG.getConstant(CnstVal, MVT::i32), in LowerVectorAND()
5420 DAG.getConstant(0, MVT::i32)); in LowerVectorAND()
5428 DAG.getConstant(CnstVal, MVT::i32), in LowerVectorAND()
5429 DAG.getConstant(8, MVT::i32)); in LowerVectorAND()
5533 DAG.getConstant(Intrin, MVT::i32), X, Y, Shift.getOperand(1)); in tryLowerToSLI()
5583 DAG.getConstant(CnstVal, MVT::i32), in LowerVectorOR()
5584 DAG.getConstant(0, MVT::i32)); in LowerVectorOR()
5592 DAG.getConstant(CnstVal, MVT::i32), in LowerVectorOR()
5593 DAG.getConstant(8, MVT::i32)); in LowerVectorOR()
5601 DAG.getConstant(CnstVal, MVT::i32), in LowerVectorOR()
5602 DAG.getConstant(16, MVT::i32)); in LowerVectorOR()
5610 DAG.getConstant(CnstVal, MVT::i32), in LowerVectorOR()
5611 DAG.getConstant(24, MVT::i32)); in LowerVectorOR()
5619 DAG.getConstant(CnstVal, MVT::i32), in LowerVectorOR()
5620 DAG.getConstant(0, MVT::i32)); in LowerVectorOR()
5628 DAG.getConstant(CnstVal, MVT::i32), in LowerVectorOR()
5629 DAG.getConstant(8, MVT::i32)); in LowerVectorOR()
5664 Lane = DAG.getConstant(LowBits.getZExtValue(), MVT::i32); in NormalizeBuildVector()
5702 DAG.getConstant(CnstVal, MVT::i32)); in LowerBUILD_VECTOR()
5708 DAG.getConstant(CnstVal, MVT::i32)); in LowerBUILD_VECTOR()
5716 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5717 DAG.getConstant(0, MVT::i32)); in LowerBUILD_VECTOR()
5725 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5726 DAG.getConstant(8, MVT::i32)); in LowerBUILD_VECTOR()
5734 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5735 DAG.getConstant(16, MVT::i32)); in LowerBUILD_VECTOR()
5743 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5744 DAG.getConstant(24, MVT::i32)); in LowerBUILD_VECTOR()
5752 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5753 DAG.getConstant(0, MVT::i32)); in LowerBUILD_VECTOR()
5761 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5762 DAG.getConstant(8, MVT::i32)); in LowerBUILD_VECTOR()
5770 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5771 DAG.getConstant(264, MVT::i32)); in LowerBUILD_VECTOR()
5779 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5780 DAG.getConstant(272, MVT::i32)); in LowerBUILD_VECTOR()
5788 DAG.getConstant(CnstVal, MVT::i32)); in LowerBUILD_VECTOR()
5797 DAG.getConstant(CnstVal, MVT::i32)); in LowerBUILD_VECTOR()
5805 DAG.getConstant(CnstVal, MVT::i32)); in LowerBUILD_VECTOR()
5815 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5816 DAG.getConstant(0, MVT::i32)); in LowerBUILD_VECTOR()
5824 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5825 DAG.getConstant(8, MVT::i32)); in LowerBUILD_VECTOR()
5833 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5834 DAG.getConstant(16, MVT::i32)); in LowerBUILD_VECTOR()
5842 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5843 DAG.getConstant(24, MVT::i32)); in LowerBUILD_VECTOR()
5851 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5852 DAG.getConstant(0, MVT::i32)); in LowerBUILD_VECTOR()
5860 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5861 DAG.getConstant(8, MVT::i32)); in LowerBUILD_VECTOR()
5869 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5870 DAG.getConstant(264, MVT::i32)); in LowerBUILD_VECTOR()
5878 DAG.getConstant(CnstVal, MVT::i32), in LowerBUILD_VECTOR()
5879 DAG.getConstant(272, MVT::i32)); in LowerBUILD_VECTOR()
5985 SDValue LaneIdx = DAG.getConstant(i, MVT::i64); in LowerBUILD_VECTOR()
6035 SDValue LaneIdx = DAG.getConstant(i, MVT::i64); in LowerBUILD_VECTOR()
6259 DAG.getConstant(Cnt, MVT::i32)); in LowerVectorSRA_SRL_SHL()
6261 DAG.getConstant(Intrinsic::aarch64_neon_ushl, MVT::i32), in LowerVectorSRA_SRL_SHL()
6271 DAG.getConstant(Cnt, MVT::i32)); in LowerVectorSRA_SRL_SHL()
6283 DAG.getConstant(Opc, MVT::i32), Op.getOperand(0), NegShift); in LowerVectorSRA_SRL_SHL()
6899 SDValue Neg = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, VT), in performIntegerAbsCombine()
6904 N0.getOperand(0), DAG.getConstant(0, VT)); in performIntegerAbsCombine()
6906 DAG.getConstant(AArch64CC::PL, MVT::i32), in performIntegerAbsCombine()
6935 SDValue Zero = DAG.getConstant(0, VT); in BuildSDIVPow2()
6936 SDValue Pow2MinusOne = DAG.getConstant((1ULL << Lg2) - 1, VT); in BuildSDIVPow2()
6952 DAG.getNode(ISD::SRA, DL, VT, CSel, DAG.getConstant(Lg2, MVT::i64)); in BuildSDIVPow2()
6961 return DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, VT), SRA); in BuildSDIVPow2()
6984 DAG.getConstant(VM1.logBase2(), MVT::i64)); in performMulCombine()
6993 DAG.getConstant(VP1.logBase2(), MVT::i64)); in performMulCombine()
7003 DAG.getConstant(VNP1.logBase2(), MVT::i64)); in performMulCombine()
7012 DAG.getConstant(VNM1.logBase2(), MVT::i64)); in performMulCombine()
7015 return DAG.getNode(ISD::SUB, SDLoc(N), VT, DAG.getConstant(0, VT), Add); in performMulCombine()
7170 DAG.getConstant(ShiftRHS, MVT::i64)); in tryCombineToEXTR()
7298 SDValue HalfIdx = DAG.getConstant(NumElements, MVT::i64); in performBitcastCombine()
7359 DAG.getConstant(0, MVT::i64)); in performConcatVectorsCombine()
7483 NewDUP, DAG.getConstant(NumElems, MVT::i64)); in tryExtendDUPToExtractHigh()
7607 CCVal = DAG.getConstant( in performSetccAddFolding()
7617 LHS = DAG.getNode(ISD::ADD, dl, VT, RHS, DAG.getConstant(1, VT)); in performSetccAddFolding()
7759 DAG.getConstant(-ShiftAmount, MVT::i32)); in tryCombineShiftImm()
7762 DAG.getConstant(ShiftAmount, MVT::i32)); in tryCombineShiftImm()
7789 DAG.getConstant(0, MVT::i64)); in combineAcrossLanesIntrinsic()
7930 DAG.getConstant(0, MVT::i64)); in performExtendCombine()
7932 DAG.getConstant(InNVT.getVectorNumElements(), MVT::i64)); in performExtendCombine()
7992 DAG.getConstant(Offset, MVT::i64)); in replaceSplatVectorStore()
8053 DAG.getConstant(0, MVT::i64)); in performSTORECombine()
8055 DAG.getConstant(NumElts, MVT::i64)); in performSTORECombine()
8061 DAG.getConstant(8, MVT::i64)); in performSTORECombine()