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()
557 ConstantSDNode *MulConst = dyn_cast<ConstantSDNode>(N.getOperand(1)); in canExtractShiftFromMul()
616 ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1)); in SelectImmShifterOperand()
640 ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1)); in SelectRegShifterOperand()
688 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectAddrModeImm12()
717 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectLdStSOReg()
764 if (ConstantSDNode *Sh = in SelectLdStSOReg()
765 dyn_cast<ConstantSDNode>(N.getOperand(1).getOperand(1))) { in SelectLdStSOReg()
786 if (ConstantSDNode *Sh = in SelectLdStSOReg()
787 dyn_cast<ConstantSDNode>(N.getOperand(0).getOperand(1))) { in SelectLdStSOReg()
839 if (ConstantSDNode *Sh = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectAddrMode2OffsetReg()
1083 if (ConstantSDNode *NC = dyn_cast<ConstantSDNode>(N)) { in SelectAddrMode6Offset()
1095 Label = CurDAG->getTargetConstant(cast<ConstantSDNode>(N1)->getZExtValue(), in SelectAddrModePC()
1116 if (auto C = dyn_cast<ConstantSDNode>(N.getOperand(1))) in shouldUseZeroOffsetLdSt()
1125 ConstantSDNode *NC = dyn_cast<ConstantSDNode>(N); in SelectThumbAddrModeRRSext()
1304 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectT2AddrModeImm12()
1365 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectT2AddrModeImm8()
1489 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectT2AddrModeSoReg()
1513 if (ConstantSDNode *Sh = dyn_cast<ConstantSDNode>(OffReg.getOperand(1))) { in SelectT2AddrModeSoReg()
1551 ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1)); in SelectT2AddrModeExclusive()
1669 auto *COffs = dyn_cast<ConstantSDNode>(LD->getOffset()); in tryT1IndexedLoad()
1937 unsigned Alignment = cast<ConstantSDNode>(Align)->getZExtValue(); in GetVLDSTAlign()
2098 auto C = dyn_cast<ConstantSDNode>(Inc); in isPerfectIncrement()
2208 assert(isa<ConstantSDNode>(Inc.getNode()) && in SelectVLD()
2383 assert(isa<ConstantSDNode>(Inc.getNode()) && in SelectVST()
2418 cast<ConstantSDNode>(N->getOperand(Vec0Idx + NumVecs))->getZExtValue(); in SelectVLDSTLane()
2424 Alignment = cast<ConstantSDNode>(Align)->getZExtValue(); in SelectVLDSTLane()
2582 int32_t ImmValue = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(); in SelectMVE_WB()
2617 int32_t ImmValue = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(); in SelectMVE_LongShift()
2625 int32_t SatOp = cast<ConstantSDNode>(N->getOperand(4))->getZExtValue(); in SelectMVE_LongShift()
2651 ConstantSDNode *CarryInConstant = dyn_cast<ConstantSDNode>(CarryIn); in SelectMVE_VADCSBC()
2680 int32_t ImmValue = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(); in SelectMVE_VSHLC()
2692 assert(isa<ConstantSDNode>(SDVal) && "expected a compile-time constant"); in SDValueToConstBool()
2693 ConstantSDNode *SDValConstant = dyn_cast<ConstantSDNode>(SDVal); in SDValueToConstBool()
2715 if (ConstantSDNode *OpConst = dyn_cast<ConstantSDNode>(N->getOperand(OpNo))) in SelectBaseMVE_VMLLDAV()
2870 int ImmValue = cast<ConstantSDNode>(ImmOp)->getZExtValue(); in SelectMVE_VxDUP()
2891 uint32_t ImmCoprocVal = cast<ConstantSDNode>(ImmCorpoc)->getZExtValue(); in SelectCDE_CXxD()
2910 uint32_t ImmVal = cast<ConstantSDNode>(Imm)->getZExtValue(); in SelectCDE_CXxD()
2964 Alignment = cast<ConstantSDNode>(Align)->getZExtValue(); in SelectVLDDup()
3088 !isa<ConstantSDNode>(Ins1.getOperand(2)) || in tryInsertVectorElt()
3089 !isa<ConstantSDNode>(Ins2.getOperand(2)) || in tryInsertVectorElt()
3110 isa<ConstantSDNode>(Val1.getOperand(1)) && in tryInsertVectorElt()
3111 isa<ConstantSDNode>(Val2.getOperand(1)) && in tryInsertVectorElt()
3203 if (!isa<ConstantSDNode>(ImmNode.getOperand(0))) in transformFixedFloatingPointConversion()
3492 ConstantSDNode *SRAConstant = dyn_cast<ConstantSDNode>(SRASrc1); in tryABSOp()
3557 if (!isa<ConstantSDNode>(Zero) || !cast<ConstantSDNode>(Zero)->isZero() || in SelectCMPZ()
3561 auto C = dyn_cast<ConstantSDNode>(And.getOperand(1)); in SelectCMPZ()
3682 unsigned Val = cast<ConstantSDNode>(N)->getZExtValue(); in Select()
3779 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(N->getOperand(1))) { in Select()
3830 auto *N1C = dyn_cast<ConstantSDNode>(N->getOperand(1)); in Select()
3883 N1C = dyn_cast<ConstantSDNode>(N1); in Select()
3888 ConstantSDNode *N2C = dyn_cast<ConstantSDNode>(N2); in Select()
3970 auto *Zero = dyn_cast<ConstantSDNode>(Subc.getOperand(0)); in Select()
4117 unsigned CC = (unsigned) cast<ConstantSDNode>(N2)->getZExtValue(); in Select()
4122 uint64_t ID = cast<ConstantSDNode>(Int->getOperand(1))->getZExtValue(); in Select()
4128 cast<ConstantSDNode>(Int.getOperand(3))->getZExtValue(), dl, in Select()
4188 auto *C = dyn_cast<ConstantSDNode>(N->getOperand(1).getNode()); in Select()
4230 (ARMCC::CondCodes)cast<ConstantSDNode>(ARMcc)->getZExtValue(); in Select()
4733 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue(); in Select()
4750 … Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(2))->getZExtValue(), dl)); /* coproc */ in Select()
4751 … Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(), dl)); /* opc */ in Select()
4752 … Ops.push_back(getI32Imm(cast<ConstantSDNode>(N->getOperand(4))->getZExtValue(), dl)); /* CRm */ in Select()
5199 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue(); in Select()
5750 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(N->getOperand(i))) { in tryInlineAsm()