Lines Matching refs:getOperand
310 isInt32Immediate(N->getOperand(1).getNode(), Imm); in isOpcWithIntImmediate()
356 SDValue N0 = N->getOperand(0); in PreprocessISelDAG()
357 SDValue N1 = N->getOperand(1); in PreprocessISelDAG()
384 SDValue Srl = N1.getOperand(0); in PreprocessISelDAG()
406 Srl.getOperand(0), in PreprocessISelDAG()
487 BaseReg = N.getOperand(0); in SelectImmShifterOperand()
489 ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1)); in SelectImmShifterOperand()
511 BaseReg = N.getOperand(0); in SelectRegShifterOperand()
513 ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1)); in SelectRegShifterOperand()
516 ShReg = N.getOperand(1); in SelectRegShifterOperand()
543 N.getOperand(0).getOpcode() == ISD::TargetGlobalAddress)) { in SelectAddrModeImm12()
544 Base = N.getOperand(0); in SelectAddrModeImm12()
551 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectAddrModeImm12()
557 Base = N.getOperand(0); in SelectAddrModeImm12()
579 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectLdStSOReg()
591 Base = Offset = N.getOperand(0); in SelectLdStSOReg()
609 if (isScaledConstantInRange(N.getOperand(1), /*Scale=*/1, in SelectLdStSOReg()
617 ARM_AM::getShiftOpcForNode(N.getOperand(1).getOpcode()); in SelectLdStSOReg()
620 Base = N.getOperand(0); in SelectLdStSOReg()
621 Offset = N.getOperand(1); in SelectLdStSOReg()
627 dyn_cast<ConstantSDNode>(N.getOperand(1).getOperand(1))) { in SelectLdStSOReg()
630 Offset = N.getOperand(1).getOperand(0); in SelectLdStSOReg()
643 N.getOperand(0).hasOneUse())) { in SelectLdStSOReg()
644 ShOpcVal = ARM_AM::getShiftOpcForNode(N.getOperand(0).getOpcode()); in SelectLdStSOReg()
649 dyn_cast<ConstantSDNode>(N.getOperand(0).getOperand(1))) { in SelectLdStSOReg()
651 if (isShifterOpProfitable(N.getOperand(0), ShOpcVal, ShAmt)) { in SelectLdStSOReg()
652 Offset = N.getOperand(0).getOperand(0); in SelectLdStSOReg()
653 Base = N.getOperand(1); in SelectLdStSOReg()
678 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectAddrMode2Worker()
690 Base = Offset = N.getOperand(0); in SelectAddrMode2Worker()
709 N.getOperand(0).getOpcode() == ISD::TargetGlobalAddress)) { in SelectAddrMode2Worker()
710 Base = N.getOperand(0); in SelectAddrMode2Worker()
722 if (isScaledConstantInRange(N.getOperand(1), /*Scale=*/1, in SelectAddrMode2Worker()
724 Base = N.getOperand(0); in SelectAddrMode2Worker()
756 ARM_AM::getShiftOpcForNode(N.getOperand(1).getOpcode()); in SelectAddrMode2Worker()
759 Base = N.getOperand(0); in SelectAddrMode2Worker()
760 Offset = N.getOperand(1); in SelectAddrMode2Worker()
766 dyn_cast<ConstantSDNode>(N.getOperand(1).getOperand(1))) { in SelectAddrMode2Worker()
769 Offset = N.getOperand(1).getOperand(0); in SelectAddrMode2Worker()
782 N.getOperand(0).hasOneUse())) { in SelectAddrMode2Worker()
783 ShOpcVal = ARM_AM::getShiftOpcForNode(N.getOperand(0).getOpcode()); in SelectAddrMode2Worker()
788 dyn_cast<ConstantSDNode>(N.getOperand(0).getOperand(1))) { in SelectAddrMode2Worker()
790 if (isShifterOpProfitable(N.getOperand(0), ShOpcVal, ShAmt)) { in SelectAddrMode2Worker()
791 Offset = N.getOperand(0).getOperand(0); in SelectAddrMode2Worker()
792 Base = N.getOperand(1); in SelectAddrMode2Worker()
826 if (ConstantSDNode *Sh = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectAddrMode2OffsetReg()
829 Offset = N.getOperand(0); in SelectAddrMode2OffsetReg()
894 Base = N.getOperand(0); in SelectAddrMode3()
895 Offset = N.getOperand(1); in SelectAddrMode3()
913 if (isScaledConstantInRange(N.getOperand(1), /*Scale=*/1, in SelectAddrMode3()
915 Base = N.getOperand(0); in SelectAddrMode3()
931 Base = N.getOperand(0); in SelectAddrMode3()
932 Offset = N.getOperand(1); in SelectAddrMode3()
966 N.getOperand(0).getOpcode() == ISD::TargetGlobalAddress)) { in SelectAddrMode5()
967 Base = N.getOperand(0); in SelectAddrMode5()
976 if (isScaledConstantInRange(N.getOperand(1), /*Scale=*/4, in SelectAddrMode5()
978 Base = N.getOperand(0); in SelectAddrMode5()
1040 Offset = N.getOperand(0); in SelectAddrModePC()
1041 SDValue N1 = N.getOperand(1); in SelectAddrModePC()
1066 Base = N.getOperand(0); in SelectThumbAddrModeRR()
1067 Offset = N.getOperand(1); in SelectThumbAddrModeRR()
1080 N.getOperand(0).getOpcode() == ISD::TargetConstantPool) in SelectThumbAddrModeRI()
1088 RegisterSDNode *LHSR = dyn_cast<RegisterSDNode>(N.getOperand(0)); in SelectThumbAddrModeRI()
1089 RegisterSDNode *RHSR = dyn_cast<RegisterSDNode>(N.getOperand(1)); in SelectThumbAddrModeRI()
1098 if (isScaledConstantInRange(N.getOperand(1), Scale, 0, 32, RHSC)) in SelectThumbAddrModeRI()
1101 Base = N.getOperand(0); in SelectThumbAddrModeRI()
1102 Offset = N.getOperand(1); in SelectThumbAddrModeRI()
1136 N.getOperand(0).getOpcode() == ISD::TargetConstantPool) in SelectThumbAddrModeImm5S()
1143 N.getOperand(0).getOpcode() == ISD::TargetGlobalAddress)) { in SelectThumbAddrModeImm5S()
1144 Base = N.getOperand(0); in SelectThumbAddrModeImm5S()
1153 RegisterSDNode *LHSR = dyn_cast<RegisterSDNode>(N.getOperand(0)); in SelectThumbAddrModeImm5S()
1154 RegisterSDNode *RHSR = dyn_cast<RegisterSDNode>(N.getOperand(1)); in SelectThumbAddrModeImm5S()
1157 ConstantSDNode *LHS = dyn_cast<ConstantSDNode>(N.getOperand(0)); in SelectThumbAddrModeImm5S()
1158 ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1)); in SelectThumbAddrModeImm5S()
1172 if (isScaledConstantInRange(N.getOperand(1), Scale, 0, 32, RHSC)) { in SelectThumbAddrModeImm5S()
1173 Base = N.getOperand(0); in SelectThumbAddrModeImm5S()
1178 Base = N.getOperand(0); in SelectThumbAddrModeImm5S()
1213 RegisterSDNode *LHSR = dyn_cast<RegisterSDNode>(N.getOperand(0)); in SelectThumbAddrModeSP()
1214 if (N.getOperand(0).getOpcode() == ISD::FrameIndex || in SelectThumbAddrModeSP()
1218 if (isScaledConstantInRange(N.getOperand(1), /*Scale=*/4, 0, 256, RHSC)) { in SelectThumbAddrModeSP()
1219 Base = N.getOperand(0); in SelectThumbAddrModeSP()
1249 BaseReg = N.getOperand(0); in SelectT2ShifterOperandReg()
1251 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectT2ShifterOperandReg()
1277 N.getOperand(0).getOpcode() == ISD::TargetGlobalAddress)) { in SelectT2AddrModeImm12()
1278 Base = N.getOperand(0); in SelectT2AddrModeImm12()
1287 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectT2AddrModeImm12()
1297 Base = N.getOperand(0); in SelectT2AddrModeImm12()
1320 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectT2AddrModeImm8()
1326 Base = N.getOperand(0); in SelectT2AddrModeImm8()
1364 if (ConstantSDNode *RHS = dyn_cast<ConstantSDNode>(N.getOperand(1))) { in SelectT2AddrModeSoReg()
1374 Base = N.getOperand(0); in SelectT2AddrModeSoReg()
1375 OffReg = N.getOperand(1); in SelectT2AddrModeSoReg()
1388 if (ConstantSDNode *Sh = dyn_cast<ConstantSDNode>(OffReg.getOperand(1))) { in SelectT2AddrModeSoReg()
1391 OffReg = OffReg.getOperand(0); in SelectT2AddrModeSoReg()
1696 if (!SelectAddrMode6(N, N->getOperand(AddrOpIdx), MemAddr, Align)) in SelectVLD()
1699 SDValue Chain = N->getOperand(0); in SelectVLD()
1750 SDValue Inc = N->getOperand(AddrOpIdx + 1); in SelectVLD()
1784 SDValue Inc = N->getOperand(AddrOpIdx + 1); in SelectVLD()
1830 if (!SelectAddrMode6(N, N->getOperand(AddrOpIdx), MemAddr, Align)) in SelectVST()
1836 SDValue Chain = N->getOperand(0); in SelectVST()
1837 EVT VT = N->getOperand(Vec0Idx).getValueType(); in SelectVST()
1873 SrcReg = N->getOperand(Vec0Idx); in SelectVST()
1876 SDValue V0 = N->getOperand(Vec0Idx + 0); in SelectVST()
1877 SDValue V1 = N->getOperand(Vec0Idx + 1); in SelectVST()
1881 SDValue V2 = N->getOperand(Vec0Idx + 2); in SelectVST()
1886 : N->getOperand(Vec0Idx + 3); in SelectVST()
1891 SDValue Q0 = N->getOperand(Vec0Idx); in SelectVST()
1892 SDValue Q1 = N->getOperand(Vec0Idx + 1); in SelectVST()
1901 SDValue Inc = N->getOperand(AddrOpIdx + 1); in SelectVST()
1929 SDValue V0 = N->getOperand(Vec0Idx + 0); in SelectVST()
1930 SDValue V1 = N->getOperand(Vec0Idx + 1); in SelectVST()
1931 SDValue V2 = N->getOperand(Vec0Idx + 2); in SelectVST()
1934 : N->getOperand(Vec0Idx + 3); in SelectVST()
1950 SDValue Inc = N->getOperand(AddrOpIdx + 1); in SelectVST()
1976 if (!SelectAddrMode6(N, N->getOperand(AddrOpIdx), MemAddr, Align)) in SelectVLDSTLane()
1982 SDValue Chain = N->getOperand(0); in SelectVLDSTLane()
1984 cast<ConstantSDNode>(N->getOperand(Vec0Idx + NumVecs))->getZExtValue(); in SelectVLDSTLane()
1985 EVT VT = N->getOperand(Vec0Idx).getValueType(); in SelectVLDSTLane()
2036 SDValue Inc = N->getOperand(AddrOpIdx + 1); in SelectVLDSTLane()
2041 SDValue V0 = N->getOperand(Vec0Idx + 0); in SelectVLDSTLane()
2042 SDValue V1 = N->getOperand(Vec0Idx + 1); in SelectVLDSTLane()
2049 SDValue V2 = N->getOperand(Vec0Idx + 2); in SelectVLDSTLane()
2052 : N->getOperand(Vec0Idx + 3); in SelectVLDSTLane()
2093 if (!SelectAddrMode6(N, N->getOperand(1), MemAddr, Align)) in SelectVLDDup()
2099 SDValue Chain = N->getOperand(0); in SelectVLDDup()
2136 SDValue Inc = N->getOperand(2); in SelectVLDDup()
2179 SDValue V0 = N->getOperand(FirstTblReg + 0); in SelectVTBL()
2180 SDValue V1 = N->getOperand(FirstTblReg + 1); in SelectVTBL()
2184 SDValue V2 = N->getOperand(FirstTblReg + 2); in SelectVTBL()
2189 : N->getOperand(FirstTblReg + 3); in SelectVTBL()
2195 Ops.push_back(N->getOperand(1)); in SelectVTBL()
2197 Ops.push_back(N->getOperand(FirstTblReg + NumVecs)); in SelectVTBL()
2222 if (isOpcWithIntImmediate(N->getOperand(0).getNode(), ISD::SRL, in SelectV6T2BitfieldExtractOp()
2236 SDValue Ops[] = { N->getOperand(0).getOperand(0), in SelectV6T2BitfieldExtractOp()
2247 SDValue Ops[] = { N->getOperand(0).getOperand(0), ShOpc, in SelectV6T2BitfieldExtractOp()
2252 SDValue Ops[] = { N->getOperand(0).getOperand(0), in SelectV6T2BitfieldExtractOp()
2264 if (isOpcWithIntImmediate(N->getOperand(0).getNode(), ISD::SHL, Shl_imm)) { in SelectV6T2BitfieldExtractOp()
2267 if (isInt32Immediate(N->getOperand(1), Srl_imm)) { in SelectV6T2BitfieldExtractOp()
2275 SDValue Ops[] = { N->getOperand(0).getOperand(0), in SelectV6T2BitfieldExtractOp()
2397 SDValue FalseVal = N->getOperand(0); in SelectCMOVOp()
2398 SDValue TrueVal = N->getOperand(1); in SelectCMOVOp()
2399 SDValue CC = N->getOperand(2); in SelectCMOVOp()
2400 SDValue CCR = N->getOperand(3); in SelectCMOVOp()
2401 SDValue InFlag = N->getOperand(4); in SelectCMOVOp()
2494 SDValue XORSrc0 = N->getOperand(0); in SelectABSOp()
2495 SDValue XORSrc1 = N->getOperand(1); in SelectABSOp()
2504 SDValue ADDSrc0 = XORSrc0.getOperand(0); in SelectABSOp()
2505 SDValue ADDSrc1 = XORSrc0.getOperand(1); in SelectABSOp()
2506 SDValue SRASrc0 = XORSrc1.getOperand(0); in SelectABSOp()
2507 SDValue SRASrc1 = XORSrc1.getOperand(1); in SelectABSOp()
2528 return createDRegPairNode(VT, N->getOperand(0), N->getOperand(1)); in SelectConcatVector()
2533 Ops.push_back(Node->getOperand(1)); // Ptr in SelectAtomic64()
2534 Ops.push_back(Node->getOperand(2)); // Low part of Val1 in SelectAtomic64()
2535 Ops.push_back(Node->getOperand(3)); // High part of Val1 in SelectAtomic64()
2537 Ops.push_back(Node->getOperand(4)); // Low part of Val2 in SelectAtomic64()
2538 Ops.push_back(Node->getOperand(5)); // High part of Val2 in SelectAtomic64()
2540 Ops.push_back(Node->getOperand(0)); // Chain in SelectAtomic64()
2649 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(N->getOperand(1))) { in Select()
2656 SDValue V = N->getOperand(0); in Select()
2672 SDValue V = N->getOperand(0); in Select()
2704 SDValue N0 = N->getOperand(0), N1 = N->getOperand(1); in Select()
2709 SDValue N2 = N0.getOperand(1); in Select()
2720 SDValue Ops[] = { N0.getOperand(0), Imm16, in Select()
2729 N->getOperand(0), getAL(CurDAG), in Select()
2735 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select()
2740 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select()
2752 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select()
2756 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), in Select()
2766 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), N->getOperand(2), in Select()
2767 N->getOperand(3), getAL(CurDAG), in Select()
2771 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), N->getOperand(2), in Select()
2772 N->getOperand(3), getAL(CurDAG), in Select()
2782 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), N->getOperand(2), in Select()
2783 N->getOperand(3), getAL(CurDAG), in Select()
2787 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), N->getOperand(2), in Select()
2788 N->getOperand(3), getAL(CurDAG), in Select()
2822 SDValue Chain = N->getOperand(0); in Select()
2823 SDValue N1 = N->getOperand(1); in Select()
2824 SDValue N2 = N->getOperand(2); in Select()
2825 SDValue N3 = N->getOperand(3); in Select()
2826 SDValue InFlag = N->getOperand(4); in Select()
2865 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), Pred, PredReg }; in Select()
2885 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), Pred, PredReg }; in Select()
2904 SDValue Ops[] = { N->getOperand(0), N->getOperand(1), Pred, PredReg }; in Select()
2913 return createDRegPairNode(VecVT, N->getOperand(0), N->getOperand(1)); in Select()
2917 return createSRegPairNode(VecVT, N->getOperand(0), N->getOperand(1)); in Select()
2919 return createQuadSRegsNode(VecVT, N->getOperand(0), N->getOperand(1), in Select()
2920 N->getOperand(2), N->getOperand(3)); in Select()
3122 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(1))->getZExtValue(); in Select()
3128 SDValue MemAddr = N->getOperand(2); in Select()
3130 SDValue Chain = N->getOperand(0); in Select()
3189 SDValue Chain = N->getOperand(0); in Select()
3190 SDValue Val0 = N->getOperand(2); in Select()
3191 SDValue Val1 = N->getOperand(3); in Select()
3192 SDValue MemAddr = N->getOperand(4); in Select()
3370 unsigned IntNo = cast<ConstantSDNode>(N->getOperand(0))->getZExtValue(); in Select()
3397 Ops.push_back(N->getOperand(0)); in Select()
3398 Ops.push_back(N->getOperand(1)); in Select()
3408 SDValue V0 = N->getOperand(0); in Select()
3409 SDValue V1 = N->getOperand(1); in Select()
3414 Ops.push_back(N->getOperand(2)); in Select()
3461 N->getOperand(InlineAsm::Op_AsmString)); in SelectInlineAsm()
3474 SDValue Glue = N->getOperand(NumOps-1); in SelectInlineAsm()
3478 SDValue op = N->getOperand(i); in SelectInlineAsm()
3484 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(N->getOperand(i))) { in SelectInlineAsm()
3502 SDValue V0 = N->getOperand(i+1); in SelectInlineAsm()
3503 SDValue V1 = N->getOperand(i+2); in SelectInlineAsm()