Lines Matching refs:getConstant
1319 SDValue Condition = DAG.getConstant(Predicate, DL, MVT_CC); in emitConditionalComparison()
1322 SDValue NZCVOp = DAG.getConstant(NZCV, DL, MVT::i32); in emitConditionalComparison()
1524 RHS = DAG.getConstant(C, dl, VT); in getAArch64Cmp()
1534 RHS = DAG.getConstant(C, dl, VT); in getAArch64Cmp()
1545 RHS = DAG.getConstant(C, dl, VT); in getAArch64Cmp()
1556 RHS = DAG.getConstant(C, dl, VT); in getAArch64Cmp()
1592 Cmp = emitComparison(SExt, DAG.getConstant(ValueofRHS, dl, in getAArch64Cmp()
1611 AArch64cc = DAG.getConstant(AArch64CC, dl, MVT_CC); in getAArch64Cmp()
1658 DAG.getConstant(0, DL, MVT::i64)); in getAArch64XALUOOp()
1671 DAG.getConstant(32, DL, MVT::i64)); in getAArch64XALUOOp()
1674 DAG.getConstant(31, DL, MVT::i64)); in getAArch64XALUOOp()
1687 DAG.getConstant(32, DL, MVT::i64)); in getAArch64XALUOOp()
1691 DAG.getConstant(0, DL, MVT::i64), in getAArch64XALUOOp()
1702 DAG.getConstant(63, DL, MVT::i64)); in getAArch64XALUOOp()
1713 DAG.getConstant(0, DL, MVT::i64), in getAArch64XALUOOp()
1786 DAG.getConstant(-1ULL, dl, Other.getValueType())); in LowerXOR()
1843 SDValue TVal = DAG.getConstant(1, dl, MVT::i32); in LowerXALUO()
1844 SDValue FVal = DAG.getConstant(0, dl, MVT::i32); in LowerXALUO()
1849 SDValue CCVal = DAG.getConstant(getInvertedCondCode(CC), dl, MVT::i32); in LowerXALUO()
1885 DAG.getConstant(PrfOp, DL, MVT::i32), Op.getOperand(1)); in LowerPREFETCH()
2168 Ops.push_back(DAG.getConstant(CInt.zextOrTrunc(32), dl, MVT::i32)); in skipExtensionForVectorMULL()
2669 DAG.getNode(ISD::ADD, DL, PtrVT, FIN, DAG.getConstant(8, DL, PtrVT)); in saveVarArgRegisters()
2699 DAG.getConstant(16, DL, PtrVT)); in saveVarArgRegisters()
3137 DAG.getConstant(Outs[i].Flags.getByValSize(), DL, MVT::i64); in LowerCall()
3629 RHS = DAG.getConstant(0, dl, LHS.getValueType()); in LowerBR_CC()
3653 SDValue CCVal = DAG.getConstant(OFCC, dl, MVT::i32); in LowerBR_CC()
3678 DAG.getConstant(Log2_64(Mask), dl, MVT::i64), in LowerBR_CC()
3694 DAG.getConstant(Log2_64(Mask), dl, MVT::i64), in LowerBR_CC()
3705 DAG.getConstant(Mask, dl, MVT::i64), Dest); in LowerBR_CC()
3715 DAG.getConstant(Mask, dl, MVT::i64), Dest); in LowerBR_CC()
3731 SDValue CC1Val = DAG.getConstant(CC1, dl, MVT::i32); in LowerBR_CC()
3735 SDValue CC2Val = DAG.getConstant(CC2, dl, MVT::i32); in LowerBR_CC()
3797 SDValue BuildVec = DAG.getConstant(EltMask, DL, VecVT); in LowerFCOPYSIGN()
3845 DAG.getConstant(Intrinsic::aarch64_neon_uaddlv, DL, MVT::i32), CtPop); in LowerCTPOP()
3864 SDValue TVal = DAG.getConstant(1, dl, VT); in LowerSETCC()
3865 SDValue FVal = DAG.getConstant(0, dl, VT); in LowerSETCC()
3902 SDValue CC1Val = DAG.getConstant(CC1, dl, MVT::i32); in LowerSETCC()
3915 SDValue CC1Val = DAG.getConstant(CC1, dl, MVT::i32); in LowerSETCC()
3919 SDValue CC2Val = DAG.getConstant(CC2, dl, MVT::i32); in LowerSETCC()
3936 RHS = DAG.getConstant(0, dl, LHS.getValueType()); in LowerSELECT_CC()
4051 SDValue CC1Val = DAG.getConstant(CC1, dl, MVT::i32); in LowerSELECT_CC()
4057 SDValue CC2Val = DAG.getConstant(CC2, dl, MVT::i32); in LowerSELECT_CC()
4096 SDValue CCVal = DAG.getConstant(OFCC, DL, MVT::i32); in LowerSELECT()
4111 RHS = DAG.getConstant(0, DL, CCVal.getValueType()); in LowerSELECT()
4247 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getConstant(8, DL, PtrVT)); in LowerAAPCS_VASTART()
4251 DAG.getConstant(GPRSize, DL, PtrVT)); in LowerAAPCS_VASTART()
4262 DAG.getConstant(16, DL, PtrVT)); in LowerAAPCS_VASTART()
4266 DAG.getConstant(FPRSize, DL, PtrVT)); in LowerAAPCS_VASTART()
4274 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getConstant(24, DL, PtrVT)); in LowerAAPCS_VASTART()
4276 DAG.getConstant(-GPRSize, DL, MVT::i32), in LowerAAPCS_VASTART()
4282 DAG.getNode(ISD::ADD, DL, PtrVT, VAList, DAG.getConstant(28, DL, PtrVT)); in LowerAAPCS_VASTART()
4284 DAG.getConstant(-FPRSize, DL, MVT::i32), in LowerAAPCS_VASTART()
4308 DAG.getConstant(VaListSize, DL, MVT::i32), in LowerVACOPY()
4332 DAG.getConstant(Align - 1, DL, PtrVT)); in LowerVAARG()
4334 DAG.getConstant(-(int64_t)Align, DL, PtrVT)); in LowerVAARG()
4354 DAG.getConstant(ArgSize, DL, PtrVT)); in LowerVAARG()
4416 SDValue Offset = DAG.getConstant(8, DL, getPointerTy(DAG.getDataLayout())); in LowerRETURNADDR()
4443 DAG.getConstant(VTBits, dl, MVT::i64), ShAmt); in LowerShiftRightParts()
4448 SDValue Cmp = emitComparison(ShAmt, DAG.getConstant(0, dl, MVT::i64), in LowerShiftRightParts()
4450 SDValue CCVal = DAG.getConstant(AArch64CC::EQ, dl, MVT::i32); in LowerShiftRightParts()
4452 DAG.getNode(AArch64ISD::CSEL, dl, VT, DAG.getConstant(0, dl, MVT::i64), in LowerShiftRightParts()
4456 DAG.getConstant(VTBits, dl, MVT::i64)); in LowerShiftRightParts()
4462 Cmp = emitComparison(ExtraShAmt, DAG.getConstant(0, dl, MVT::i64), ISD::SETGE, in LowerShiftRightParts()
4464 CCVal = DAG.getConstant(AArch64CC::GE, dl, MVT::i32); in LowerShiftRightParts()
4475 DAG.getConstant(VTBits - 1, dl, MVT::i64)) in LowerShiftRightParts()
4476 : DAG.getConstant(0, dl, VT); in LowerShiftRightParts()
4499 DAG.getConstant(VTBits, dl, MVT::i64), ShAmt); in LowerShiftLeftParts()
4504 SDValue Cmp = emitComparison(ShAmt, DAG.getConstant(0, dl, MVT::i64), in LowerShiftLeftParts()
4506 SDValue CCVal = DAG.getConstant(AArch64CC::EQ, dl, MVT::i32); in LowerShiftLeftParts()
4508 DAG.getNode(AArch64ISD::CSEL, dl, VT, DAG.getConstant(0, dl, MVT::i64), in LowerShiftLeftParts()
4512 DAG.getConstant(VTBits, dl, MVT::i64)); in LowerShiftLeftParts()
4519 Cmp = emitComparison(ExtraShAmt, DAG.getConstant(0, dl, MVT::i64), ISD::SETGE, in LowerShiftLeftParts()
4521 CCVal = DAG.getConstant(AArch64CC::GE, dl, MVT::i32); in LowerShiftLeftParts()
4527 SDValue LoForBigShift = DAG.getConstant(0, dl, VT); in LowerShiftLeftParts()
4903 V64Reg, DAG.getConstant(0, DL, MVT::i32)); in WidenVector()
5036 DAG.getConstant(NumSrcElts, dl, MVT::i64)); in ReconstructShuffle()
5042 DAG.getConstant(0, dl, MVT::i64)); in ReconstructShuffle()
5047 DAG.getConstant(0, dl, MVT::i64)); in ReconstructShuffle()
5050 DAG.getConstant(NumSrcElts, dl, MVT::i64)); in ReconstructShuffle()
5055 DAG.getConstant(Imm, dl, MVT::i32)); in ReconstructShuffle()
5390 DAG.getConstant(0, DL, MVT::i64)); in tryFormConcatFromShuffle()
5394 DAG.getConstant(0, DL, MVT::i64)); in tryFormConcatFromShuffle()
5472 SDValue Lane = DAG.getConstant(OpNum - OP_VDUP0, dl, MVT::i64); in GeneratePerfectShuffle()
5480 DAG.getConstant(Imm, dl, MVT::i32)); in GeneratePerfectShuffle()
5517 TBLMask.push_back(DAG.getConstant(Offset, DL, MVT::i32)); in GenerateTBL()
5537 DAG.getConstant(Intrinsic::aarch64_neon_tbl1, DL, MVT::i32), V1Cst, in GenerateTBL()
5545 DAG.getConstant(Intrinsic::aarch64_neon_tbl1, DL, MVT::i32), V1Cst, in GenerateTBL()
5557 DAG.getConstant(Intrinsic::aarch64_neon_tbl2, DL, MVT::i32), V1Cst, in GenerateTBL()
5625 return DAG.getNode(Opcode, dl, VT, V1, DAG.getConstant(Lane, dl, MVT::i64)); in LowerVECTOR_SHUFFLE()
5642 DAG.getConstant(Imm, dl, MVT::i32)); in LowerVECTOR_SHUFFLE()
5646 DAG.getConstant(Imm, dl, MVT::i32)); in LowerVECTOR_SHUFFLE()
5684 SDValue DstLaneV = DAG.getConstant(Anomaly, dl, MVT::i64); in LowerVECTOR_SHUFFLE()
5692 SDValue SrcLaneV = DAG.getConstant(SrcLane, dl, MVT::i64); in LowerVECTOR_SHUFFLE()
5782 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerVectorAND()
5783 DAG.getConstant(0, dl, MVT::i32)); in LowerVectorAND()
5791 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerVectorAND()
5792 DAG.getConstant(8, dl, MVT::i32)); in LowerVectorAND()
5800 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerVectorAND()
5801 DAG.getConstant(16, dl, MVT::i32)); in LowerVectorAND()
5809 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerVectorAND()
5810 DAG.getConstant(24, dl, MVT::i32)); in LowerVectorAND()
5818 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerVectorAND()
5819 DAG.getConstant(0, dl, MVT::i32)); in LowerVectorAND()
5827 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerVectorAND()
5828 DAG.getConstant(8, dl, MVT::i32)); in LowerVectorAND()
5932 DAG.getConstant(Intrin, DL, MVT::i32), X, Y, in tryLowerToSLI()
5982 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerVectorOR()
5983 DAG.getConstant(0, dl, MVT::i32)); in LowerVectorOR()
5991 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerVectorOR()
5992 DAG.getConstant(8, dl, MVT::i32)); in LowerVectorOR()
6000 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerVectorOR()
6001 DAG.getConstant(16, dl, MVT::i32)); in LowerVectorOR()
6009 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerVectorOR()
6010 DAG.getConstant(24, dl, MVT::i32)); in LowerVectorOR()
6018 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerVectorOR()
6019 DAG.getConstant(0, dl, MVT::i32)); in LowerVectorOR()
6027 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerVectorOR()
6028 DAG.getConstant(8, dl, MVT::i32)); in LowerVectorOR()
6062 Lane = DAG.getConstant(LowBits.getZExtValue(), dl, MVT::i32); in NormalizeBuildVector()
6100 DAG.getConstant(CnstVal, dl, MVT::i32)); in LowerBUILD_VECTOR()
6106 DAG.getConstant(CnstVal, dl, MVT::i32)); in LowerBUILD_VECTOR()
6114 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6115 DAG.getConstant(0, dl, MVT::i32)); in LowerBUILD_VECTOR()
6123 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6124 DAG.getConstant(8, dl, MVT::i32)); in LowerBUILD_VECTOR()
6132 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6133 DAG.getConstant(16, dl, MVT::i32)); in LowerBUILD_VECTOR()
6141 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6142 DAG.getConstant(24, dl, MVT::i32)); in LowerBUILD_VECTOR()
6150 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6151 DAG.getConstant(0, dl, MVT::i32)); in LowerBUILD_VECTOR()
6159 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6160 DAG.getConstant(8, dl, MVT::i32)); in LowerBUILD_VECTOR()
6168 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6169 DAG.getConstant(264, dl, MVT::i32)); in LowerBUILD_VECTOR()
6177 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6178 DAG.getConstant(272, dl, MVT::i32)); in LowerBUILD_VECTOR()
6186 DAG.getConstant(CnstVal, dl, MVT::i32)); in LowerBUILD_VECTOR()
6195 DAG.getConstant(CnstVal, dl, MVT::i32)); in LowerBUILD_VECTOR()
6203 DAG.getConstant(CnstVal, dl, MVT::i32)); in LowerBUILD_VECTOR()
6213 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6214 DAG.getConstant(0, dl, MVT::i32)); in LowerBUILD_VECTOR()
6222 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6223 DAG.getConstant(8, dl, MVT::i32)); in LowerBUILD_VECTOR()
6231 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6232 DAG.getConstant(16, dl, MVT::i32)); in LowerBUILD_VECTOR()
6240 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6241 DAG.getConstant(24, dl, MVT::i32)); in LowerBUILD_VECTOR()
6249 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6250 DAG.getConstant(0, dl, MVT::i32)); in LowerBUILD_VECTOR()
6258 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6259 DAG.getConstant(8, dl, MVT::i32)); in LowerBUILD_VECTOR()
6267 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6268 DAG.getConstant(264, dl, MVT::i32)); in LowerBUILD_VECTOR()
6276 DAG.getConstant(CnstVal, dl, MVT::i32), in LowerBUILD_VECTOR()
6277 DAG.getConstant(272, dl, MVT::i32)); in LowerBUILD_VECTOR()
6383 SDValue LaneIdx = DAG.getConstant(i, dl, MVT::i64); in LowerBUILD_VECTOR()
6435 SDValue LaneIdx = DAG.getConstant(i, dl, MVT::i64); in LowerBUILD_VECTOR()
6640 DAG.getConstant(Cnt, DL, MVT::i32)); in LowerVectorSRA_SRL_SHL()
6642 DAG.getConstant(Intrinsic::aarch64_neon_ushl, DL, in LowerVectorSRA_SRL_SHL()
6652 DAG.getConstant(Cnt, DL, MVT::i32)); in LowerVectorSRA_SRL_SHL()
6664 DAG.getConstant(Opc, DL, MVT::i32), Op.getOperand(0), in LowerVectorSRA_SRL_SHL()
7467 SDValue Neg = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), in performIntegerAbsCombine()
7472 N0.getOperand(0), DAG.getConstant(0, DL, VT)); in performIntegerAbsCombine()
7474 DAG.getConstant(AArch64CC::PL, DL, MVT::i32), in performIntegerAbsCombine()
7509 SDValue Zero = DAG.getConstant(0, DL, VT); in BuildSDIVPow2()
7510 SDValue Pow2MinusOne = DAG.getConstant((1ULL << Lg2) - 1, DL, VT); in BuildSDIVPow2()
7526 DAG.getNode(ISD::SRA, DL, VT, CSel, DAG.getConstant(Lg2, DL, MVT::i64)); in BuildSDIVPow2()
7535 return DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), SRA); in BuildSDIVPow2()
7559 DAG.getConstant(VM1.logBase2(), DL, MVT::i64)); in performMulCombine()
7568 DAG.getConstant(VP1.logBase2(), DL, MVT::i64)); in performMulCombine()
7578 DAG.getConstant(VNP1.logBase2(), DL, MVT::i64)); in performMulCombine()
7587 DAG.getConstant(VNM1.logBase2(), DL, MVT::i64)); in performMulCombine()
7590 return DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), Add); in performMulCombine()
7746 DAG.getConstant(IntrinsicOpcode, DL, MVT::i32), in performFpToIntCombine()
7747 Op->getOperand(0), DAG.getConstant(C, DL, MVT::i32)); in performFpToIntCombine()
7815 DAG.getConstant(IntrinsicOpcode, DL, MVT::i32), ConvInput, in performFDivCombine()
7816 DAG.getConstant(C, DL, MVT::i32)); in performFDivCombine()
7880 DAG.getConstant(ShiftRHS, DL, MVT::i64)); in tryCombineToEXTR()
8032 SDValue HalfIdx = DAG.getConstant(NumElements, dl, MVT::i64); in performBitcastCombine()
8093 DAG.getConstant(0, dl, MVT::i64)); in performConcatVectorsCombine()
8217 DAG.getConstant(NumElems, dl, MVT::i64)); in tryExtendDUPToExtractHigh()
8341 CCVal = DAG.getConstant( in performSetccAddFolding()
8352 LHS = DAG.getNode(ISD::ADD, dl, VT, RHS, DAG.getConstant(1, dl, VT)); in performSetccAddFolding()
8495 DAG.getConstant(-ShiftAmount, dl, MVT::i32)); in tryCombineShiftImm()
8499 DAG.getConstant(ShiftAmount, dl, MVT::i32)); in tryCombineShiftImm()
8528 DAG.getConstant(0, dl, MVT::i64)); in combineAcrossLanesIntrinsic()
8674 DAG.getConstant(0, DL, MVT::i64)); in performExtendCombine()
8676 DAG.getConstant(InNVT.getVectorNumElements(), DL, MVT::i64)); in performExtendCombine()
8736 DAG.getConstant(Offset, DL, MVT::i64)); in replaceSplatVectorStore()
8795 DAG.getConstant(0, DL, MVT::i64)); in split16BStores()
8797 DAG.getConstant(NumElts, DL, MVT::i64)); in split16BStores()
8803 DAG.getConstant(8, DL, MVT::i64)); in split16BStores()
9042 DAG.getConstant(Opcode, DL, MVT::i32), PreOp) in tryMatchAcrossLaneShuffleForReduction()
9046 DAG.getConstant(0, DL, MVT::i64)); in tryMatchAcrossLaneShuffleForReduction()
9738 DAG.getConstant(Bit, DL, MVT::i64), N->getOperand(3)); in performTBZCombine()