Lines Matching refs:ConstantSDNode
137 if (auto *CI = dyn_cast<ConstantSDNode>(OffImm)) { in SelectAddrModeIndexedUImm()
169 if (auto CN = dyn_cast<ConstantSDNode>(Opnd0)) in SelectDupZeroOrUndef()
189 if (auto CN = dyn_cast<ConstantSDNode>(Opnd0)) in SelectDupZero()
225 if (!isa<ConstantSDNode>(N)) in SelectCntImm()
228 int64_t MulImm = cast<ConstantSDNode>(N)->getSExtValue(); in SelectCntImm()
246 if (!isa<ConstantSDNode>(N)) in SelectEXTImm()
249 int64_t MulImm = cast<ConstantSDNode>(N)->getSExtValue(); in SelectEXTImm()
380 if (const ConstantSDNode *C = dyn_cast<const ConstantSDNode>(N)) { in isIntImmediate()
436 if (!isa<ConstantSDNode>(N.getNode())) in SelectArithImmed()
439 uint64_t Immed = cast<ConstantSDNode>(N.getNode())->getZExtValue(); in SelectArithImmed()
466 if (!isa<ConstantSDNode>(N.getNode())) in SelectNegArithImmed()
470 uint64_t Immed = cast<ConstantSDNode>(N.getNode())->getZExtValue(); in SelectNegArithImmed()
512 auto *CSD = dyn_cast<ConstantSDNode>(V.getOperand(1)); in isWorthFoldingSHL()
568 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectShiftedRegister()
615 ConstantSDNode *CSD = dyn_cast<ConstantSDNode>(N.getOperand(1)); in getExtendTypeForNode()
649 ConstantSDNode *DLidx = cast<ConstantSDNode>(DL->getOperand(1).getNode()); in checkHighLaneIndex()
650 ConstantSDNode *EVidx = cast<ConstantSDNode>(EV.getOperand(1).getNode()); in checkHighLaneIndex()
782 if (!isa<ConstantSDNode>(N)) in SelectRDVLImm()
785 int64_t MulImm = cast<ConstantSDNode>(N)->getSExtValue(); in SelectRDVLImm()
805 ConstantSDNode *CSD = dyn_cast<ConstantSDNode>(N.getOperand(1)); in SelectArithExtendedRegister()
883 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectAddrModeIndexedBitWidth()
955 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectAddrModeIndexed()
994 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectAddrModeUnscaled()
1031 ConstantSDNode *CSD = dyn_cast<ConstantSDNode>(N.getOperand(1)); in SelectExtendedSHL()
1071 if (isa<ConstantSDNode>(LHS) || isa<ConstantSDNode>(RHS)) in SelectAddrModeWRO()
1178 if (isa<ConstantSDNode>(RHS)) { in SelectAddrModeXRO()
1179 int64_t ImmOff = (int64_t)cast<ConstantSDNode>(RHS)->getZExtValue(); in SelectAddrModeXRO()
1372 ConstantSDNode *OffsetOp = cast<ConstantSDNode>(LD->getOffset()); in tryIndexedLoad()
1657 cast<ConstantSDNode>(N->getOperand(NumVecs + 2))->getZExtValue(); in SelectLoadLane()
1697 cast<ConstantSDNode>(N->getOperand(NumVecs + 1))->getZExtValue(); in SelectPostLoadLane()
1749 cast<ConstantSDNode>(N->getOperand(NumVecs + 2))->getZExtValue(); in SelectStoreLane()
1781 cast<ConstantSDNode>(N->getOperand(NumVecs + 1))->getZExtValue(); in SelectPostStoreLane()
2120 Immr = cast<ConstantSDNode>(N->getOperand(1).getNode())->getZExtValue(); in isBitfieldExtractOp()
2121 Imms = cast<ConstantSDNode>(N->getOperand(2).getNode())->getZExtValue(); in isBitfieldExtractOp()
2193 cast<const ConstantSDNode>(Op.getOperand(1).getNode())->getZExtValue(); in getUsefulBitsFromAndWithImmediate()
2229 cast<const ConstantSDNode>(Op.getOperand(1).getNode())->getZExtValue(); in getUsefulBitsFromUBFM()
2231 cast<const ConstantSDNode>(Op.getOperand(2).getNode())->getZExtValue(); in getUsefulBitsFromUBFM()
2239 cast<const ConstantSDNode>(Op.getOperand(2).getNode())->getZExtValue(); in getUsefulBitsFromOrWithShiftedReg()
2267 cast<const ConstantSDNode>(Op.getOperand(2).getNode())->getZExtValue(); in getUsefulBitsFromBFM()
2269 cast<const ConstantSDNode>(Op.getOperand(3).getNode())->getZExtValue(); in getUsefulBitsFromBFM()
3034 assert (isa<ConstantSDNode>(N->getOperand(2)) in tryWriteRegister()
3037 uint64_t Immed = cast<ConstantSDNode>(N->getOperand(2))->getZExtValue(); in tryWriteRegister()
3112 auto C = dyn_cast<ConstantSDNode>(N); in SelectSVE8BitLslImm()
3137 if (auto CNode = dyn_cast<ConstantSDNode>(N)) { in SelectSVEAddSubImm()
3183 if (auto CNode = dyn_cast<ConstantSDNode>(N)) { in SelectSVESignedArithImm()
3195 if (auto CNode = dyn_cast<ConstantSDNode>(N)) { in SelectSVEArithImm()
3224 if (auto CNode = dyn_cast<ConstantSDNode>(N)) { in SelectSVELogicalImm()
3271 if (auto *CN = dyn_cast<ConstantSDNode>(N)) { in SelectSVEShiftImm()
3302 cast<ConstantSDNode>(IRG_SP->getOperand(1))->getZExtValue() != in trySelectStackSlotTagP()
3312 int TagOffset = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(); in trySelectStackSlotTagP()
3323 assert(isa<ConstantSDNode>(N->getOperand(3)) && in SelectTagP()
3332 int TagOffset = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(); in SelectTagP()
3476 if (cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue() != 0) in Select()
3498 if (cast<ConstantSDNode>(Node->getOperand(2))->getZExtValue() != 0) in Select()
3523 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select()
3554 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue(); in Select()
3901 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue(); in Select()
3959 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue(); in Select()
4972 cast<ConstantSDNode>(Root->getOperand(1))->getZExtValue(); in getMemVTFromNode()
5003 int64_t MulImm = cast<ConstantSDNode>(VScale.getOperand(0))->getSExtValue(); in SelectAddrModeIndexedSVE()
5037 if (auto C = dyn_cast<ConstantSDNode>(RHS)) { in SelectSVERegRegAddrMode()
5060 if (auto *C = dyn_cast<ConstantSDNode>(ShiftRHS)) in SelectSVERegRegAddrMode()