Lines Matching refs:ConstantSDNode
115 const ConstantSDNode *CN = cast<ConstantSDNode>(N); in SelectCMOVPred()
366 Imm = cast<ConstantSDNode>(N)->getZExtValue(); in isInt32Immediate()
396 const ConstantSDNode *C = dyn_cast<ConstantSDNode>(Node); in isScaledConstantInRange()
559 ConstantSDNode *MulConst = dyn_cast<ConstantSDNode>(N.getOperand(1)); in canExtractShiftFromMul()
618 ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1)); in SelectImmShifterOperand()
642 ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1)); in SelectRegShifterOperand()
690 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectAddrModeImm12()
719 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectLdStSOReg()
766 if (ConstantSDNode *Sh = in SelectLdStSOReg()
767 dyn_cast<ConstantSDNode>(N.getOperand(1).getOperand(1))) { in SelectLdStSOReg()
788 if (ConstantSDNode *Sh = in SelectLdStSOReg()
789 dyn_cast<ConstantSDNode>(N.getOperand(0).getOperand(1))) { in SelectLdStSOReg()
841 if (ConstantSDNode *Sh = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectAddrMode2OffsetReg()
1085 if (ConstantSDNode *NC = dyn_cast<ConstantSDNode>(N)) { in SelectAddrMode6Offset()
1097 Label = CurDAG->getTargetConstant(cast<ConstantSDNode>(N1)->getZExtValue(), in SelectAddrModePC()
1118 if (auto C = dyn_cast<ConstantSDNode>(N.getOperand(1))) in shouldUseZeroOffsetLdSt()
1127 ConstantSDNode *NC = dyn_cast<ConstantSDNode>(N); in SelectThumbAddrModeRRSext()
1306 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectT2AddrModeImm12()
1367 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectT2AddrModeImm8()
1491 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectT2AddrModeSoReg()
1515 if (ConstantSDNode *Sh = dyn_cast<ConstantSDNode>(OffReg.getOperand(1))) { in SelectT2AddrModeSoReg()
1553 ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1)); in SelectT2AddrModeExclusive()
1671 auto *COffs = dyn_cast<ConstantSDNode>(LD->getOffset()); in tryT1IndexedLoad()
1936 unsigned Alignment = cast<ConstantSDNode>(Align)->getZExtValue(); in GetVLDSTAlign()
2097 auto C = dyn_cast<ConstantSDNode>(Inc); in isPerfectIncrement()
2207 assert(isa<ConstantSDNode>(Inc.getNode()) && in SelectVLD()
2382 assert(isa<ConstantSDNode>(Inc.getNode()) && in SelectVST()
2417 cast<ConstantSDNode>(N->getOperand(Vec0Idx + NumVecs))->getZExtValue(); in SelectVLDSTLane()
2423 Alignment = cast<ConstantSDNode>(Align)->getZExtValue(); in SelectVLDSTLane()
2577 int32_t ImmValue = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(); in SelectMVE_WB()
2612 int32_t ImmValue = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(); in SelectMVE_LongShift()
2620 int32_t SatOp = cast<ConstantSDNode>(N->getOperand(4))->getZExtValue(); in SelectMVE_LongShift()
2646 ConstantSDNode *CarryInConstant = dyn_cast<ConstantSDNode>(CarryIn); in SelectMVE_VADCSBC()
2675 int32_t ImmValue = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(); in SelectMVE_VSHLC()
2687 assert(isa<ConstantSDNode>(SDVal) && "expected a compile-time constant"); in SDValueToConstBool()
2688 ConstantSDNode *SDValConstant = dyn_cast<ConstantSDNode>(SDVal); in SDValueToConstBool()
2710 if (ConstantSDNode *OpConst = dyn_cast<ConstantSDNode>(N->getOperand(OpNo))) in SelectBaseMVE_VMLLDAV()
2865 int ImmValue = cast<ConstantSDNode>(ImmOp)->getZExtValue(); in SelectMVE_VxDUP()
2886 uint32_t ImmCoprocVal = cast<ConstantSDNode>(ImmCorpoc)->getZExtValue(); in SelectCDE_CXxD()
2905 uint32_t ImmVal = cast<ConstantSDNode>(Imm)->getZExtValue(); in SelectCDE_CXxD()
2959 Alignment = cast<ConstantSDNode>(Align)->getZExtValue(); in SelectVLDDup()
3083 !isa<ConstantSDNode>(Ins1.getOperand(2)) || in tryInsertVectorElt()
3084 !isa<ConstantSDNode>(Ins2.getOperand(2)) || in tryInsertVectorElt()
3105 isa<ConstantSDNode>(Val1.getOperand(1)) && in tryInsertVectorElt()
3106 isa<ConstantSDNode>(Val2.getOperand(1)) && in tryInsertVectorElt()
3198 if (!isa<ConstantSDNode>(ImmNode.getOperand(0))) in transformFixedFloatingPointConversion()
3486 ConstantSDNode *SRAConstant = dyn_cast<ConstantSDNode>(SRASrc1); in tryABSOp()
3552 if (!isa<ConstantSDNode>(Zero) || !cast<ConstantSDNode>(Zero)->isNullValue() || in SelectCMPZ()
3556 auto C = dyn_cast<ConstantSDNode>(And.getOperand(1)); in SelectCMPZ()
3677 unsigned Val = cast<ConstantSDNode>(N)->getZExtValue(); in Select()
3772 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(N->getOperand(1))) { in Select()
3823 auto *N1C = dyn_cast<ConstantSDNode>(N->getOperand(1)); in Select()
3876 N1C = dyn_cast<ConstantSDNode>(N1); in Select()
3881 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in Select()
3963 auto *Zero = dyn_cast<ConstantSDNode>(Subc.getOperand(0)); in Select()
4110 unsigned CC = (unsigned) cast<ConstantSDNode>(N2)->getZExtValue(); in Select()
4115 uint64_t ID = cast<ConstantSDNode>(Int->getOperand(1))->getZExtValue(); in Select()
4121 cast<ConstantSDNode>(Int.getOperand(3))->getZExtValue(), dl, in Select()
4181 auto *C = dyn_cast<ConstantSDNode>(N->getOperand(1).getNode()); in Select()
4223 (ARMCC::CondCodes)cast<ConstantSDNode>(ARMcc)->getZExtValue(); in Select()
4726 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue(); in Select()
4743 … Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(2))->getZExtValue(), dl)); /* coproc */ in Select()
4744 … Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(), dl)); /* opc */ in Select()
4745 … Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(4))->getZExtValue(), dl)); /* CRm */ in Select()
5192 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue(); in Select()
5744 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(N->getOperand(i))) { in tryInlineAsm()