Searched refs:Shift (Results 1 - 25 of 54) sorted by relevance

123

/external/llvm/lib/Target/Mips/
H A DMipsDirectObjLower.cpp29 int64_t Shift; local
30 Shift = Inst.getOperand(2).getImm();
31 if (Shift > 31) {
32 Shift -= 32;
37 (Inst.getOperand(2)).setImm(Shift);
/external/llvm/include/llvm/Support/
H A DLEB128.h83 unsigned Shift = 0; local
85 Value += (*p & 0x7f) << Shift;
86 Shift += 7;
H A DMathExtras.h172 for (unsigned Shift = 32 >> 1; Shift; Shift >>= 1) {
173 uint32_t Tmp = Value >> Shift;
177 Count |= Shift;
209 for (unsigned Shift = 64 >> 1; Shift; Shift >>= 1) {
210 uint64_t Tmp = Value >> Shift;
214 Count |= Shift;
[all...]
/external/skia/src/core/
H A DSkFloat.h33 void shiftLeft(int bits) { fPacked = Shift(fPacked, bits); }
34 void setShiftLeft(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, bits); }
36 void shiftRight(int bits) { fPacked = Shift(fPacked, -bits); }
37 void setShiftRight(const SkFloat& a, int bits) { fPacked = Shift(a.fPacked, -bits); }
97 static int32_t Shift(int32_t, int bits);
/external/qemu/distrib/sdl-1.2.15/src/main/symbian/EKA2/
H A Dvectorbuffer.h50 TPtrC8 Shift();
143 //Shift(); //data is lost
149 TPtrC8 TVectorBuffer<C>::Shift() function in class:TVectorBuffer
163 return Shift(); //this happens when buffer is terminated, and data lies in next
200 const T& Shift();
218 const T& TVector<T, C>::Shift() function in class:TVector
220 const TPtrC8 ptr = TVectorBuffer<C * sizeof(T)>::Shift();
/external/webkit/Source/WebCore/inspector/front-end/
H A DKeyboardShortcut.js40 Shift: 1,
109 modifiers |= WebInspector.KeyboardShortcut.Modifiers.Shift;
163 if (modifiers & WebInspector.KeyboardShortcut.Modifiers.Shift)
164 res += isMac ? shiftKey : "<Shift> + ";
/external/chromium/third_party/libjingle/source/talk/base/
H A Dbytebuffer.h67 void Shift(size_t size);
H A Dbytebuffer.cc202 void ByteBuffer::Shift(size_t size) { function in class:talk_base::ByteBuffer
/external/llvm/lib/Target/CellSPU/
H A DSPUISelDAGToDAG.cpp908 SDNode *VecOp0, *SelMask, *ZeroFill, *Shift = 0; local
928 Shift =
935 Shift =
937 SDValue((Shift != 0 ? Shift : VecOp0), 0),
949 Shift =
952 Shift =
954 SDValue(Shift, 0), SDValue(Bits, 0));
958 OpVT, SDValue(Shift, 0), getRC(MVT::i64));
976 SDNode *VecOp0, *Shift local
1070 SDNode *Shift = 0; local
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp558 unsigned Shift; // The amount shifted. member in struct:__anon9066::PHIUsageRecord
562 : PHIId(pn), Shift(Sh), Inst(User) {}
567 if (Shift < RHS.Shift) return true;
568 if (Shift > RHS.Shift) return false;
576 unsigned Shift; // The amount shifted. member in struct:__anon9066::LoweredPHIRecord
580 : PN(pn), Shift(Sh), Width(Ty->getPrimitiveSizeInBits()) {}
584 : PN(pn), Shift(Sh), Width(0) {}
598 return DenseMapInfo<PHINode*>::getHashValue(Val.PN) ^ (Val.Shift>>
678 unsigned Shift = cast<ConstantInt>(User->getOperand(1))->getZExtValue(); local
[all...]
H A DInstCombineCompares.cpp1146 BinaryOperator *Shift = dyn_cast<BinaryOperator>(LHSI->getOperand(0)); local
1147 if (Shift && !Shift->isShift())
1148 Shift = 0;
1151 ShAmt = Shift ? dyn_cast<ConstantInt>(Shift->getOperand(1)) : 0;
1152 Type *Ty = Shift ? Shift->getType() : 0; // Type of the shift.
1159 bool CanFold = Shift->isLogicalShift();
1174 if (Shift
[all...]
H A DInstCombineShifts.cpp607 Value *Shift = Builder->CreateLShr(X, ShiftDiffCst); local
610 return BinaryOperator::CreateAnd(Shift,
655 Value *Shift = Builder->CreateShl(X, ShiftDiffCst);
658 return BinaryOperator::CreateAnd(Shift,
/external/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp84 /// isRotateAndMask - Returns true if Mask and Shift can be folded into a
355 unsigned Shift = 32; local
359 !isInt32Immediate(N->getOperand(1).getNode(), Shift) || (Shift > 31))
364 if (isShiftMask) Mask = Mask << Shift;
366 Indeterminant = ~(0xFFFFFFFFu << Shift);
369 if (isShiftMask) Mask = Mask >> Shift;
371 Indeterminant = ~(0xFFFFFFFFu >> Shift);
373 Shift = 32 - Shift;
766 unsigned Shift = 0; local
[all...]
/external/llvm/test/MC/ARM/
H A Darm-aliases.s4 @ Shift-by-zero should canonicalize to no shift at all (lsl #0 encoding)
/external/chromium/net/server/
H A Dhttp_server.cc205 void HttpServer::Connection::Shift(int num_bytes) { function in class:net::HttpServer::Connection
385 connection->Shift(pos);
408 connection->Shift(pos);
414 connection->Shift(pos);
H A Dhttp_server.h66 void Shift(int num_bytes);
/external/chromium/third_party/libjingle/source/talk/examples/login/
H A Dxmppsocket.cc96 buffer_.Shift(written);
157 buffer_.Shift(written);
/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp2364 uint64_t Shift = Layout->getElementOffsetInBits(i); local
2367 Shift = AllocaSizeBits-Shift-TD->getTypeAllocSizeInBits(FieldTy);
2370 if (Shift) {
2371 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift);
2404 uint64_t Shift; local
2407 Shift = AllocaSizeBits-ElementOffset;
2409 Shift = 0;
2416 if (Shift) {
2417 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift);
2507 uint64_t Shift; local
[all...]
/external/llvm/lib/Archive/
H A DArchiveReader.cpp26 unsigned Shift = 0; local
32 Result |= (unsigned)((*At++) & 0x7F) << Shift;
33 Shift += 7;
/external/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCCodeEmitter.cpp53 unsigned Shift = IsLittleEndian ? i * 8 : (Size - 1 - i) * 8; local
54 EmitByte((Val >> Shift) & 0xff, OS);
/external/v8/src/
H A Dfixed-dtoa.cc64 void Shift(int shift_amount) { function in class:v8::internal::UInt128
272 fractionals128.Shift(-exponent - 64);
/external/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp749 SDValue Shift, SDValue X,
751 if (Shift.getOpcode() != ISD::SRL ||
752 !isa<ConstantSDNode>(Shift.getOperand(1)) ||
753 !Shift.hasOneUse())
756 int ScaleLog = 8 - Shift.getConstantOperandVal(1);
792 SDValue Shift, SDValue X,
794 if (Shift.getOpcode() != ISD::SHL ||
795 !isa<ConstantSDNode>(Shift.getOperand(1)))
801 if (!N.hasOneUse() || !Shift.hasOneUse())
805 unsigned ShiftAmt = Shift
747 FoldMaskAndShiftToExtract(SelectionDAG &DAG, SDValue N, uint64_t Mask, SDValue Shift, SDValue X, X86ISelAddressMode &AM) argument
790 FoldMaskedShiftToScaledMask(SelectionDAG &DAG, SDValue N, uint64_t Mask, SDValue Shift, SDValue X, X86ISelAddressMode &AM) argument
857 FoldMaskAndShiftToScale(SelectionDAG &DAG, SDValue N, uint64_t Mask, SDValue Shift, SDValue X, X86ISelAddressMode &AM) argument
1216 SDValue Shift = N.getOperand(0); local
[all...]
/external/bison/lib/
H A Dhash.c397 # define ROTATE_LEFT(Value, Shift) \
398 ((Value) << (Shift) | (Value) >> ((sizeof (size_t) * CHAR_BIT) - (Shift)))
/external/llvm/utils/TableGen/
H A DFixedLenDecoderEmitter.cpp839 unsigned Shift = 0;
842 Value += (*I & 0x7f) << Shift;
843 Shift += 7;
849 Shift = 0;
852 Value += (*I & 0x7f) << Shift;
853 Shift += 7;
/external/llvm/lib/CodeGen/
H A DScheduleDAG.cpp421 /// the nodes reachable from Y, and then shifts them using Shift to lie
491 Shift(Visited, LowerBound, UpperBound);
504 /// topological indexes by means of the Shift method.
529 /// Shift - Renumber the nodes so that the topological ordering is
531 void ScheduleDAGTopologicalSort::Shift(BitVector& Visited, int LowerBound,

Completed in 2644 milliseconds

123