Lines Matching refs:ConstantSDNode
138 if (auto *CI = dyn_cast<ConstantSDNode>(OffImm)) { in SelectAddrModeIndexedUImm()
167 !isa<ConstantSDNode>(N->getOperand(1))) in SelectExtractHigh()
186 if (auto CN = dyn_cast<ConstantSDNode>(Opnd0)) in SelectDupZeroOrUndef()
206 if (auto CN = dyn_cast<ConstantSDNode>(Opnd0)) in SelectDupZero()
257 if (!isa<ConstantSDNode>(N)) in SelectCntImm()
260 int64_t MulImm = cast<ConstantSDNode>(N)->getSExtValue(); in SelectCntImm()
278 if (!isa<ConstantSDNode>(N)) in SelectEXTImm()
281 int64_t MulImm = cast<ConstantSDNode>(N)->getSExtValue(); in SelectEXTImm()
293 if (auto *CI = dyn_cast<ConstantSDNode>(N)) { in ImmToTile()
427 if (const ConstantSDNode *C = dyn_cast<const ConstantSDNode>(N)) { in isIntImmediate()
483 if (!isa<ConstantSDNode>(N.getNode())) in SelectArithImmed()
486 uint64_t Immed = cast<ConstantSDNode>(N.getNode())->getZExtValue(); in SelectArithImmed()
513 if (!isa<ConstantSDNode>(N.getNode())) in SelectNegArithImmed()
517 uint64_t Immed = cast<ConstantSDNode>(N.getNode())->getZExtValue(); in SelectNegArithImmed()
559 auto *CSD = dyn_cast<ConstantSDNode>(V.getOperand(1)); in isWorthFoldingSHL()
615 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectShiftedRegister()
662 ConstantSDNode *CSD = dyn_cast<ConstantSDNode>(N.getOperand(1)); in getExtendTypeForNode()
696 ConstantSDNode *DLidx = cast<ConstantSDNode>(DL->getOperand(1).getNode()); in checkHighLaneIndex()
697 ConstantSDNode *EVidx = cast<ConstantSDNode>(EV.getOperand(1).getNode()); in checkHighLaneIndex()
829 if (!isa<ConstantSDNode>(N)) in SelectRDVLImm()
832 int64_t MulImm = cast<ConstantSDNode>(N)->getSExtValue(); in SelectRDVLImm()
852 ConstantSDNode *CSD = dyn_cast<ConstantSDNode>(N.getOperand(1)); in SelectArithExtendedRegister()
907 ConstantSDNode *CSD = dyn_cast<ConstantSDNode>(N.getOperand(1)); in SelectArithUXTXRegister()
962 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectAddrModeIndexedBitWidth()
1034 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectAddrModeIndexed()
1073 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectAddrModeUnscaled()
1110 ConstantSDNode *CSD = dyn_cast<ConstantSDNode>(N.getOperand(1)); in SelectExtendedSHL()
1150 if (isa<ConstantSDNode>(LHS) || isa<ConstantSDNode>(RHS)) in SelectAddrModeWRO()
1257 if (isa<ConstantSDNode>(RHS)) { in SelectAddrModeXRO()
1258 int64_t ImmOff = (int64_t)cast<ConstantSDNode>(RHS)->getZExtValue(); in SelectAddrModeXRO()
1451 ConstantSDNode *OffsetOp = cast<ConstantSDNode>(LD->getOffset()); in tryIndexedLoad()
1736 cast<ConstantSDNode>(N->getOperand(NumVecs + 2))->getZExtValue(); in SelectLoadLane()
1776 cast<ConstantSDNode>(N->getOperand(NumVecs + 1))->getZExtValue(); in SelectPostLoadLane()
1828 cast<ConstantSDNode>(N->getOperand(NumVecs + 2))->getZExtValue(); in SelectStoreLane()
1860 cast<ConstantSDNode>(N->getOperand(NumVecs + 1))->getZExtValue(); in SelectPostStoreLane()
2200 Immr = cast<ConstantSDNode>(N->getOperand(1).getNode())->getZExtValue(); in isBitfieldExtractOp()
2201 Imms = cast<ConstantSDNode>(N->getOperand(2).getNode())->getZExtValue(); in isBitfieldExtractOp()
2273 cast<const ConstantSDNode>(Op.getOperand(1).getNode())->getZExtValue(); in getUsefulBitsFromAndWithImmediate()
2309 cast<const ConstantSDNode>(Op.getOperand(1).getNode())->getZExtValue(); in getUsefulBitsFromUBFM()
2311 cast<const ConstantSDNode>(Op.getOperand(2).getNode())->getZExtValue(); in getUsefulBitsFromUBFM()
2319 cast<const ConstantSDNode>(Op.getOperand(2).getNode())->getZExtValue(); in getUsefulBitsFromOrWithShiftedReg()
2347 cast<const ConstantSDNode>(Op.getOperand(2).getNode())->getZExtValue(); in getUsefulBitsFromBFM()
2349 cast<const ConstantSDNode>(Op.getOperand(3).getNode())->getZExtValue(); in getUsefulBitsFromBFM()
3142 assert (isa<ConstantSDNode>(N->getOperand(2)) in tryWriteRegister()
3145 uint64_t Immed = cast<ConstantSDNode>(N->getOperand(2))->getZExtValue(); in tryWriteRegister()
3220 if (!isa<ConstantSDNode>(N)) in SelectSVEAddSubImm()
3224 uint64_t Val = cast<ConstantSDNode>(N) in SelectSVEAddSubImm()
3260 if (!isa<ConstantSDNode>(N)) in SelectSVECpyDupImm()
3264 int64_t Val = cast<ConstantSDNode>(N) in SelectSVECpyDupImm()
3299 if (auto CNode = dyn_cast<ConstantSDNode>(N)) { in SelectSVESignedArithImm()
3311 if (auto CNode = dyn_cast<ConstantSDNode>(N)) { in SelectSVEArithImm()
3340 if (auto CNode = dyn_cast<ConstantSDNode>(N)) { in SelectSVELogicalImm()
3387 if (auto *CN = dyn_cast<ConstantSDNode>(N)) { in SelectSVEShiftImm()
3418 cast<ConstantSDNode>(IRG_SP->getOperand(1))->getZExtValue() != in trySelectStackSlotTagP()
3428 int TagOffset = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(); in trySelectStackSlotTagP()
3439 assert(isa<ConstantSDNode>(N->getOperand(3)) && in SelectTagP()
3448 int TagOffset = cast<ConstantSDNode>(N->getOperand(3))->getZExtValue(); in SelectTagP()
3592 if (cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue() != 0) in Select()
3614 if (cast<ConstantSDNode>(Node->getOperand(2))->getZExtValue() != 0) in Select()
3639 ConstantSDNode *ConstNode = cast<ConstantSDNode>(Node); in Select()
3670 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue(); in Select()
4098 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue(); in Select()
4144 unsigned IntNo = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue(); in Select()
5157 cast<ConstantSDNode>(Root->getOperand(1))->getZExtValue(); in getMemVTFromNode()
5207 int64_t MulImm = cast<ConstantSDNode>(VScale.getOperand(0))->getSExtValue(); in SelectAddrModeIndexedSVE()
5249 if (auto C = dyn_cast<ConstantSDNode>(RHS)) { in SelectSVERegRegAddrMode()
5272 if (auto *C = dyn_cast<ConstantSDNode>(ShiftRHS)) in SelectSVERegRegAddrMode()
5301 if (auto C = dyn_cast<ConstantSDNode>(RHS)) { in SelectSMETileSlice()