Searched defs:shift (Results 201 - 225 of 657) sorted by last modified time

1234567891011>>

/external/ltrace/
H A Dltrace-elf.c331 int shift = 0; local
340 result |= (uint64_t)payload << shift;
341 shift += 7;
342 if (shift > size && byte != 0x1)
/external/ltrace/sysdeps/linux-gnu/arm/
H A Dregs.c78 uint32_t shift; local
80 if (arm_get_register_offpc(proc, BITS(inst, 8, 11), &shift) < 0)
82 shift &= 0xff;
84 shift = BITS(inst, 7, 11);
96 res = shift >= 32 ? 0 : res << shift;
100 res = shift >= 32 ? 0 : res >> shift;
104 if (shift >= 32)
105 shift
[all...]
H A Dtrace.c558 const int shift = BITS(inst2, 4, 5); local
563 base += v << shift;
/external/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp377 uintptr_t shift = 0; local
383 result |= (byte & 0x7f) << shift;
384 shift += 7;
401 uintptr_t shift = 0; local
407 result |= (byte & 0x7f) << shift;
408 shift += 7;
414 if ((byte & 0x40) && (shift < (sizeof(result) << 3))) {
415 result |= (~0 << shift);
/external/llvm/include/llvm/ADT/
H A DHashing.h175 /// shift is a manifest constant.
176 inline uint64_t rotate(uint64_t val, size_t shift) { argument
178 return shift == 0 ? val : ((val >> shift) | (val << (64 - shift)));
H A DIntervalMap.h241 assert(j <= i && "Use moveRight shift elements right");
250 assert(i <= j && "Use moveLeft shift elements left");
273 /// shift - Shift elements [i;size) 1 position to the right.
276 void shift(unsigned i, unsigned Size) { function in class:llvm::IntervalMapImpl::NodeBase
669 this->shift(i, Size);
749 this->shift(i, Size);
/external/llvm/lib/Support/
H A DDataExtractor.cpp136 unsigned shift = 0; local
142 result |= uint64_t(byte & 0x7f) << shift;
143 shift += 7;
157 unsigned shift = 0; local
163 result |= uint64_t(byte & 0x7f) << shift;
164 shift += 7;
170 if (shift < 64 && (byte & 0x40))
171 result |= -(1ULL << shift);
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp39 STATISTIC(NumShiftInserts, "Number of vector shift inserts");
59 cl::desc("Allow AArch64 (or (shift)(shift))->extract"),
63 EnableAArch64SlrGeneration("aarch64-shift-insert-generation", cl::Hidden,
1136 // check we have to arithmetic shift right the 32nd bit of the result by
1144 // shift will not be folded into the compare (SUBS).
1171 // shift will not be folded into the compare (SUBS).
3696 /// i64 values and take a 2 x i64 value to shift plus a shift amount.
3699 assert(Op.getNumOperands() == 3 && "Not a double-shift!");
6225 unsigned shift = Log2_64(NumBytes); local
[all...]
/external/llvm/lib/Target/AArch64/Disassembler/
H A DAArch64Disassembler.cpp765 unsigned shift = (shiftHi << 6) | shiftLo; local
773 // if shift == '11' then ReservedValue()
797 // if shift == '11' then ReservedValue()
815 Inst.addOperand(MCOperand::CreateImm(shift));
824 unsigned shift = fieldFromInstruction(insn, 21, 2); local
825 shift <<= 4;
832 if (shift & (1U << 5))
848 Inst.addOperand(MCOperand::CreateImm(shift));
1310 unsigned shift = extend & 0x7; local
1311 if (shift >
[all...]
/external/llvm/lib/Target/AArch64/InstPrinter/
H A DAArch64InstPrinter.cpp111 // instruction. In all cases the immediate shift amount shift must be in
115 int shift = 0; local
120 shift = 31 - imms;
124 shift = 63 - imms;
127 shift = immr;
130 shift = immr;
133 shift = immr;
136 shift = immr;
140 << ", " << getRegisterName(Op1.getReg()) << ", #" << shift;
[all...]
/external/llvm/lib/Target/ARM/Disassembler/
H A DARMDisassembler.cpp1607 unsigned shift; local
1609 shift = ARM_AM::getAM2Opc(ARM_AM::add, imm, ShOp);
1611 shift = ARM_AM::getAM2Opc(ARM_AM::sub, imm, ShOp);
1612 Inst.addOperand(MCOperand::CreateImm(shift));
/external/lldb/source/Core/
H A DDataExtractor.cpp1174 int shift = 7; local
1178 result |= (byte & 0x7f) << shift;
1181 shift += 7;
1211 int shift = 0; local
1221 result |= (byte & 0x7f) << shift;
1222 shift += 7;
1228 if (shift < size && (byte & 0x40))
1229 result |= - (1 << shift);
1368 uint32_t item_bit_offset, // If "item_bit_size" is non-zero, this is the shift amount to apply to a bitfield
/external/lldb/source/Plugins/Process/Utility/
H A DARMUtils.h31 //assert(0 && "Invalid shift type");
82 //assert(0 && "Invalid shift type");
283 static uint32_t ror(uint32_t val, uint32_t N, uint32_t shift) argument
285 uint32_t m = shift % N;
/external/lldb/tools/debugserver/source/
H A DDNBDataRef.cpp244 int shift = 0; local
253 result |= (byte & 0x7f) << shift;
254 shift += 7;
275 int shift = 0; local
286 result |= (byte & 0x7f) << shift;
287 shift += 7;
293 if (shift < size && (byte & 0x40))
294 result |= - (1ll << shift);
/external/libvpx/libvpx/test/
H A Dintrapred_test.cc99 int sum = 0, shift = BlockSizeLog2Min1() + mbptr_->up_available + local
107 expected = (sum + (1 << (shift - 1))) >> shift;
/external/libvpx/libvpx/vp8/common/
H A Dreconintra.c39 int shift; local
65 shift = 3 + x->up_available + x->left_available;
66 expected_dc = (average + (1 << (shift - 1))) >> shift;
170 int shift; local
199 shift = 2 + x->up_available + x->left_available;
200 expected_udc = (Uaverage + (1 << (shift - 1))) >> shift;
201 expected_vdc = (Vaverage + (1 << (shift - 1))) >> shift;
[all...]
/external/libvpx/libvpx/vp8/decoder/
H A Ddboolhuff.c42 int shift = VP8_BD_VALUE_SIZE - 8 - (count + 8); local
45 int x = (int)(shift + CHAR_BIT - bits_left);
63 while(shift >= loop_end)
66 value |= (VP8_BD_VALUE)*bufptr << shift;
69 shift -= CHAR_BIT;
H A Ddboolhuff.h91 register unsigned int shift = vp8_norm[range]; local
92 range <<= shift; local
93 value <<= shift; local
94 count -= shift;
/external/libvpx/libvpx/vp8/encoder/
H A Dbitstream.c167 unsigned int shift; local
204 shift = vp8_norm[range];
205 range <<= shift; local
206 count += shift;
210 int offset = shift - count;
232 shift = count;
237 lowvalue <<= shift; local
269 shift = vp8_norm[range];
270 range <<= shift; local
271 count += shift;
302 lowvalue <<= shift; local
[all...]
H A Dboolhuff.h72 register unsigned int shift; local
95 shift = vp8_norm[range];
97 range <<= shift; local
98 count += shift;
102 int offset = shift - count;
121 shift = count;
126 lowvalue <<= shift; local
H A Dpickinter.c260 int shift; local
281 shift = 2;
292 shift ++;
304 shift ++;
308 expected_udc = (Uaverage + (1 << (shift - 1))) >> shift;
309 expected_vdc = (Vaverage + (1 << (shift - 1))) >> shift;
H A Dquantize.c409 short *shift, short d)
420 *shift = l;
421 /* use multiplication and constant shift by 16 */
422 *shift = 1 << (16 - *shift);
427 *shift = 0;
428 /* use multiplication and constant shift by 16 */
429 *shift = 1 << (16 - *shift);
408 invert_quant(int improved_quant, short *quant, short *shift, short d) argument
/external/libvpx/libvpx/vp9/common/
H A Dvp9_systemdependent.h68 const int shift = (1 << i); local
69 const unsigned int x = value >> shift;
72 log += shift;
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_reader.c40 int shift = BD_VALUE_SIZE - CHAR_BIT - (count + CHAR_BIT); local
43 const int x = shift + CHAR_BIT - bits_left;
51 while (shift >= loop_end) {
53 value |= (BD_VALUE)*buffer++ << shift;
54 shift -= CHAR_BIT;
H A Dvp9_reader.h72 register unsigned int shift = vp9_norm[range]; local
73 range <<= shift; local
74 value <<= shift; local
75 count -= shift;

Completed in 1979 milliseconds

1234567891011>>