Lines Matching refs:Base

109   bool SelectAddrModeImm12(SDValue N, SDValue &Base, SDValue &OffImm);
110 bool SelectLdStSOReg(SDValue N, SDValue &Base, SDValue &Offset, SDValue &Opc);
112 AddrMode2Type SelectAddrMode2Worker(SDValue N, SDValue &Base,
114 bool SelectAddrMode2Base(SDValue N, SDValue &Base, SDValue &Offset,
116 return SelectAddrMode2Worker(N, Base, Offset, Opc) == AM2_BASE;
119 bool SelectAddrMode2ShOp(SDValue N, SDValue &Base, SDValue &Offset,
121 return SelectAddrMode2Worker(N, Base, Offset, Opc) == AM2_SHOP;
124 bool SelectAddrMode2(SDValue N, SDValue &Base, SDValue &Offset,
126 SelectAddrMode2Worker(N, Base, Offset, Opc);
127 // return SelectAddrMode2ShOp(N, Base, Offset, Opc);
138 bool SelectAddrOffsetNone(SDValue N, SDValue &Base);
139 bool SelectAddrMode3(SDValue N, SDValue &Base,
143 bool SelectAddrMode5(SDValue N, SDValue &Base,
151 bool SelectThumbAddrModeRR(SDValue N, SDValue &Base, SDValue &Offset);
152 bool SelectThumbAddrModeRI(SDValue N, SDValue &Base, SDValue &Offset,
154 bool SelectThumbAddrModeRI5S1(SDValue N, SDValue &Base, SDValue &Offset);
155 bool SelectThumbAddrModeRI5S2(SDValue N, SDValue &Base, SDValue &Offset);
156 bool SelectThumbAddrModeRI5S4(SDValue N, SDValue &Base, SDValue &Offset);
157 bool SelectThumbAddrModeImm5S(SDValue N, unsigned Scale, SDValue &Base,
159 bool SelectThumbAddrModeImm5S1(SDValue N, SDValue &Base,
161 bool SelectThumbAddrModeImm5S2(SDValue N, SDValue &Base,
163 bool SelectThumbAddrModeImm5S4(SDValue N, SDValue &Base,
165 bool SelectThumbAddrModeSP(SDValue N, SDValue &Base, SDValue &OffImm);
170 bool SelectT2AddrModeImm12(SDValue N, SDValue &Base, SDValue &OffImm);
171 bool SelectT2AddrModeImm8(SDValue N, SDValue &Base,
175 bool SelectT2AddrModeSoReg(SDValue N, SDValue &Base,
437 SDValue &Base,
441 // Base only.
447 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
455 Base = N.getOperand(0);
457 Base = N;
468 Base = N.getOperand(0);
469 if (Base.getOpcode() == ISD::FrameIndex) {
470 int FI = cast<FrameIndexSDNode>(Base)->getIndex();
471 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
478 // Base only.
479 Base = N;
486 bool ARMDAGToDAGISel::SelectLdStSOReg(SDValue N, SDValue &Base, SDValue &Offset,
502 Base = Offset = N.getOperand(0);
531 Base = N.getOperand(0);
563 Base = N.getOperand(1);
583 SDValue &Base,
600 Base = Offset = N.getOperand(0);
613 Base = N;
616 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
620 Base = N.getOperand(0);
634 Base = N.getOperand(0);
635 if (Base.getOpcode() == ISD::FrameIndex) {
636 int FI = cast<FrameIndexSDNode>(Base)->getIndex();
637 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
655 Base = N;
669 Base = N.getOperand(0);
701 Base = N.getOperand(1);
793 bool ARMDAGToDAGISel::SelectAddrOffsetNone(SDValue N, SDValue &Base) {
794 Base = N;
799 SDValue &Base, SDValue &Offset,
803 Base = N.getOperand(0);
810 Base = N;
813 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
824 Base = N.getOperand(0);
825 if (Base.getOpcode() == ISD::FrameIndex) {
826 int FI = cast<FrameIndexSDNode>(Base)->getIndex();
827 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
840 Base = N.getOperand(0);
867 SDValue &Base, SDValue &Offset) {
869 Base = N;
872 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
876 Base = N.getOperand(0);
887 Base = N.getOperand(0);
888 if (Base.getOpcode() == ISD::FrameIndex) {
889 int FI = cast<FrameIndexSDNode>(Base)->getIndex();
890 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
903 Base = N;
965 SDValue &Base, SDValue &Offset){
971 Base = Offset = N;
975 Base = N.getOperand(0);
981 ARMDAGToDAGISel::SelectThumbAddrModeRI(SDValue N, SDValue &Base,
1010 Base = N.getOperand(0);
1017 SDValue &Base,
1019 return SelectThumbAddrModeRI(N, Base, Offset, 1);
1024 SDValue &Base,
1026 return SelectThumbAddrModeRI(N, Base, Offset, 2);
1031 SDValue &Base,
1033 return SelectThumbAddrModeRI(N, Base, Offset, 4);
1038 SDValue &Base, SDValue &OffImm) {
1053 Base = N.getOperand(0);
1055 Base = N;
1074 Base = N;
1082 Base = N.getOperand(0);
1087 Base = N.getOperand(0);
1093 ARMDAGToDAGISel::SelectThumbAddrModeImm5S4(SDValue N, SDValue &Base,
1095 return SelectThumbAddrModeImm5S(N, 4, Base, OffImm);
1099 ARMDAGToDAGISel::SelectThumbAddrModeImm5S2(SDValue N, SDValue &Base,
1101 return SelectThumbAddrModeImm5S(N, 2, Base, OffImm);
1105 ARMDAGToDAGISel::SelectThumbAddrModeImm5S1(SDValue N, SDValue &Base,
1107 return SelectThumbAddrModeImm5S(N, 1, Base, OffImm);
1111 SDValue &Base, SDValue &OffImm) {
1114 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
1128 Base = N.getOperand(0);
1129 if (Base.getOpcode() == ISD::FrameIndex) {
1130 int FI = cast<FrameIndexSDNode>(Base)->getIndex();
1131 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
1170 SDValue &Base, SDValue &OffImm) {
1173 // Base only.
1179 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
1187 Base = N.getOperand(0);
1188 if (Base.getOpcode() == ISD::TargetConstantPool)
1191 Base = N;
1197 if (SelectT2AddrModeImm8(N, Base, OffImm))
1206 Base = N.getOperand(0);
1207 if (Base.getOpcode() == ISD::FrameIndex) {
1208 int FI = cast<FrameIndexSDNode>(Base)->getIndex();
1209 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
1216 // Base only.
1217 Base = N;
1223 SDValue &Base, SDValue &OffImm) {
1235 Base = N.getOperand(0);
1236 if (Base.getOpcode() == ISD::FrameIndex) {
1237 int FI = cast<FrameIndexSDNode>(Base)->getIndex();
1238 Base = CurDAG->getTargetFrameIndex(FI, TLI.getPointerTy());
1266 SDValue &Base,
1283 Base = N.getOperand(0);
1289 ShOpcVal = ARM_AM::getShiftOpcForNode(Base.getOpcode());
1291 std::swap(Base, OffReg);
1377 SDValue Base = LD->getBasePtr();
1378 SDValue Ops[]= { Base, AMOpc, getAL(CurDAG),
1384 SDValue Base = LD->getBasePtr();
1385 SDValue Ops[]= { Base, Offset, AMOpc, getAL(CurDAG),
1433 SDValue Base = LD->getBasePtr();
1434 SDValue Ops[]= { Base, Offset, getAL(CurDAG),