Home | History | Annotate | Download | only in Hexagon

Lines Matching refs:Imm

113   SDValue XformMskToBitPosU5Imm(uint32_t Imm, const SDLoc &DL) {
115 bitPos = Log2_32(Imm);
123 SDValue XformMskToBitPosU4Imm(uint16_t Imm, const SDLoc &DL) {
124 return XformMskToBitPosU5Imm(Imm, DL);
129 SDValue XformMskToBitPosU3Imm(uint8_t Imm, const SDLoc &DL) {
130 return XformMskToBitPosU5Imm(Imm, DL);
142 inline SDValue XformM5ToU5Imm(signed Imm, const SDLoc &DL) {
143 assert((Imm >= -31 && Imm <= -1) && "Constant out of range for Memops");
144 return CurDAG->getTargetConstant(-Imm, DL, MVT::i32);
149 inline SDValue XformU7ToU7M1Imm(signed Imm, const SDLoc &DL) {
150 assert((Imm >= 1 && Imm <= 128) && "Constant out of range for cmpb op");
151 return CurDAG->getTargetConstant(Imm - 1, DL, MVT::i8);
155 inline SDValue XformSToSM1Imm(signed Imm, const SDLoc &DL) {
156 return CurDAG->getTargetConstant(Imm - 1, DL, MVT::i32);
160 inline SDValue XformUToUM1Imm(unsigned Imm, const SDLoc &DL) {
161 assert((Imm >= 1) && "Cannot decrement unsigned int less than 1");
162 return CurDAG->getTargetConstant(Imm - 1, DL, MVT::i32);
166 inline SDValue XformSToSM2Imm(unsigned Imm, const SDLoc &DL) {
167 return CurDAG->getTargetConstant(Imm - 2, DL, MVT::i32);
171 inline SDValue XformSToSM3Imm(unsigned Imm, const SDLoc &DL) {
172 return CurDAG->getTargetConstant(Imm - 3, DL, MVT::i32);