Home | History | Annotate | Download | only in PowerPC

Lines Matching refs:Disp

912 bool PPCTargetLowering::SelectAddressRegImm(SDValue N, SDValue &Disp,
918 if (SelectAddressRegReg(N, Disp, Base, DAG))
924 Disp = DAG.getTargetConstant((int)imm & 0xFFFF, MVT::i32);
935 Disp = N.getOperand(1).getOperand(0); // The global address.
936 assert(Disp.getOpcode() == ISD::TargetGlobalAddress ||
937 Disp.getOpcode() == ISD::TargetGlobalTLSAddress ||
938 Disp.getOpcode() == ISD::TargetConstantPool ||
939 Disp.getOpcode() == ISD::TargetJumpTable);
956 Disp = DAG.getTargetConstant((int)imm & 0xFFFF, MVT::i32);
967 Disp = DAG.getTargetConstant(Imm, CN->getValueType(0));
978 // Otherwise, break this down into an LIS + disp.
979 Disp = DAG.getTargetConstant((short)Addr, MVT::i32);
988 Disp = DAG.getTargetConstant(0, getPointerTy());
1026 bool PPCTargetLowering::SelectAddressRegImmShift(SDValue N, SDValue &Disp,
1032 if (SelectAddressRegReg(N, Disp, Base, DAG))
1038 Disp = DAG.getTargetConstant(((int)imm & 0xFFFF) >> 2, MVT::i32);
1049 Disp = N.getOperand(1).getOperand(0); // The global address.
1050 assert(Disp.getOpcode() == ISD::TargetGlobalAddress ||
1051 Disp.getOpcode() == ISD::TargetConstantPool ||
1052 Disp.getOpcode() == ISD::TargetJumpTable);
1068 Disp = DAG.getTargetConstant(((int)imm & 0xFFFF) >> 2, MVT::i32);
1079 Disp = DAG.getTargetConstant((unsigned short)Imm >> 2, getPointerTy());
1090 // Otherwise, break this down into an LIS + disp.
1091 Disp = DAG.getTargetConstant((short)Addr >> 2, MVT::i32);
1100 Disp = DAG.getTargetConstant(0, getPointerTy());