Home | History | Annotate | Download | only in arm

Lines Matching full:instruction

138 bool ArmMir2Lir::InexpensiveConstantInt(int32_t value, Instruction::Code opcode) {
140 case Instruction::ADD_INT:
141 case Instruction::ADD_INT_2ADDR:
142 case Instruction::SUB_INT:
143 case Instruction::SUB_INT_2ADDR:
148 case Instruction::IF_EQ:
149 case Instruction::IF_NE:
150 case Instruction::IF_LT:
151 case Instruction::IF_GE:
152 case Instruction::IF_GT:
153 case Instruction::IF_LE:
155 case Instruction::SHL_INT:
156 case Instruction::SHL_INT_2ADDR:
157 case Instruction::SHR_INT:
158 case Instruction::SHR_INT_2ADDR:
159 case Instruction::USHR_INT:
160 case Instruction::USHR_INT_2ADDR:
162 case Instruction::CONST:
163 case Instruction::CONST_4:
164 case Instruction::CONST_16:
169 case Instruction::AND_INT:
170 case Instruction::AND_INT_2ADDR:
171 case Instruction::AND_INT_LIT16:
172 case Instruction::AND_INT_LIT8:
173 case Instruction::OR_INT:
174 case Instruction::OR_INT_2ADDR:
175 case Instruction::OR_INT_LIT16:
176 case Instruction::OR_INT_LIT8:
178 case Instruction::XOR_INT:
179 case Instruction::XOR_INT_2ADDR:
180 case Instruction::XOR_INT_LIT16:
181 case Instruction::XOR_INT_LIT8:
183 case Instruction::MUL_INT:
184 case Instruction::MUL_INT_2ADDR:
185 case Instruction::MUL_INT_LIT8:
186 case Instruction::MUL_INT_LIT16:
187 case Instruction::DIV_INT:
188 case Instruction::DIV_INT_2ADDR:
189 case Instruction::DIV_INT_LIT8:
190 case Instruction::DIV_INT_LIT16:
191 case Instruction::REM_INT:
192 case Instruction::REM_INT_2ADDR:
193 case Instruction::REM_INT_LIT8:
194 case Instruction::REM_INT_LIT16: {
885 int encoded_disp = (displacement & kOffsetMask) >> 2; // Within range of the instruction.
889 // Add displacement & ~kOffsetMask to base, it's a single instruction for up to +-256KiB.
994 Instruction::CONST) &&
995 InexpensiveConstantInt(displacement & ~0x00000fff, Instruction::ADD_INT)) {
1000 InexpensiveConstantInt(displacement & ~(0x1f << scale), Instruction::ADD_INT)) {
1010 if (!InexpensiveConstantInt(displacement >> scale, Instruction::CONST) ||
1011 (scale != 0 && InexpensiveConstantInt(displacement, Instruction::CONST))) {
1133 } else if (!InexpensiveConstantInt(displacement >> scale, Instruction::CONST) &&
1134 InexpensiveConstantInt(displacement & ~0x00000fff, Instruction::ADD_INT)) {
1140 InexpensiveConstantInt(displacement & ~(0x1f << scale), Instruction::ADD_INT)) {
1152 if (!InexpensiveConstantInt(displacement >> scale, Instruction::CONST) ||
1153 (scale != 0 && InexpensiveConstantInt(displacement, Instruction::CONST))) {