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

123

/freebsd-10.0-release/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsDirectObjLower.cpp28 int64_t Shift = Inst.getOperand(2).getImm(); local
29 if (Shift <= 31)
31 Shift -= 32;
34 Inst.getOperand(2).setImm(Shift);
H A DMipsMCCodeEmitter.cpp58 unsigned Shift = IsLittleEndian ? i * 8 : (Size - 1 - i) * 8; local
59 EmitByte((Val >> Shift) & 0xff, OS);
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DOperatorPrecedence.h39 Shift = 11, // <<, >> enumerator in enum:clang::prec::Level
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/
H A DLEB128.h83 unsigned Shift = 0; local
85 Value += (*p & 0x7f) << Shift;
86 Shift += 7;
H A DMathExtras.h176 for (unsigned Shift = 32 >> 1; Shift; Shift >>= 1) {
177 uint32_t Tmp = Value >> Shift;
181 Count |= Shift;
213 for (unsigned Shift = 64 >> 1; Shift; Shift >>= 1) {
214 uint64_t Tmp = Value >> Shift;
218 Count |= Shift;
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Basic/
H A DOperatorPrecedence.cpp38 return prec::Shift;
65 case tok::lessless: return prec::Shift;
/freebsd-10.0-release/contrib/libarchive/libarchive/
H A Darchive_ppmd_private.h115 Byte Shift; /* Speed of Freq change; low Shift is for fast change */ member in struct:__anon1555
116 Byte Count; /* Count to next change of Shift */
119 #define Ppmd_See_Update(p) if ((p)->Shift < PPMD_PERIOD_BITS && --(p)->Count == 0) \
120 { (p)->Summ <<= 1; (p)->Count = (Byte)(3 << (p)->Shift++); }
/freebsd-10.0-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp558 unsigned Shift; // The amount shifted. member in struct:__anon2594::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:__anon2594::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.cpp1180 BinaryOperator *Shift = dyn_cast<BinaryOperator>(LHSI->getOperand(0)); local
1181 if (Shift && !Shift->isShift())
1182 Shift = 0;
1185 ShAmt = Shift ? dyn_cast<ConstantInt>(Shift->getOperand(1)) : 0;
1186 Type *Ty = Shift ? Shift->getType() : 0; // Type of the shift.
1193 bool CanFold = Shift->isLogicalShift();
1208 if (Shift
[all...]
H A DInstCombineShifts.cpp604 Value *Shift = Builder->CreateLShr(X, ShiftDiffCst); local
607 return BinaryOperator::CreateAnd(Shift,
652 Value *Shift = Builder->CreateShl(X, ShiftDiffCst);
655 return BinaryOperator::CreateAnd(Shift,
/freebsd-10.0-release/contrib/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp76 bool SelectMOVWAddressRef(SDValue N, SDValue &Imm, SDValue &Shift) { argument
78 Shift = CurDAG->getTargetConstant(0, MVT::i32);
200 int UImm16, Shift; local
204 if (A64Imms::isMOVZImm(DestWidth, BitPat, UImm16, Shift)) {
207 } else if (A64Imms::isMOVNImm(DestWidth, BitPat, UImm16, Shift)) {
210 } else if (DestWidth == 64 && A64Imms::isMOVNImm(32, BitPat, UImm16, Shift)) {
230 CurDAG->getTargetConstant(Shift, MVT::i32));
/freebsd-10.0-release/contrib/llvm/lib/Target/AArch64/Utils/
H A DAArch64BaseInfo.cpp1070 bool A64Imms::isMOVZImm(int RegWidth, uint64_t Value, int &UImm16, int &Shift) { argument
1079 Shift = i / 16;
1087 bool A64Imms::isMOVNImm(int RegWidth, uint64_t Value, int &UImm16, int &Shift) { argument
1098 return isMOVZImm(RegWidth, MOVZEquivalent, UImm16, Shift);
1102 int &UImm16, int &Shift) {
1103 if (isMOVZImm(RegWidth, Value, UImm16, Shift))
1106 return isMOVNImm(RegWidth, Value, UImm16, Shift);
1101 isOnlyMOVNImm(int RegWidth, uint64_t Value, int &UImm16, int &Shift) argument
/freebsd-10.0-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp96 /// isRotateAndMask - Returns true if Mask and Shift can be folded into a
361 unsigned Shift = 32; local
365 !isInt32Immediate(N->getOperand(1).getNode(), Shift) || (Shift > 31))
370 if (isShiftMask) Mask = Mask << Shift;
372 Indeterminant = ~(0xFFFFFFFFu << Shift);
375 if (isShiftMask) Mask = Mask >> Shift;
377 Indeterminant = ~(0xFFFFFFFFu >> Shift);
379 Shift = 32 - Shift;
913 unsigned Shift = 0; local
[all...]
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Commands/
H A DCommandObjectMultiword.cpp139 args.Shift();
254 input.Shift();
283 input.Shift();
H A DCommandObjectHelp.cpp228 input.Shift();
H A DCommandObjectLog.cpp193 args.Shift (); // Shift off the channel
284 args.Shift (); // Shift off the channel
/freebsd-10.0-release/contrib/llvm/lib/Target/AArch64/InstPrinter/
H A DAArch64InstPrinter.h131 template<A64SE::ShiftExtSpecifiers Shift>
133 printShiftOperand(MI, OpNum, O, Shift);
H A DAArch64InstPrinter.cpp258 A64SE::ShiftExtSpecifiers Shift) {
262 if (Shift == A64SE::LSL && MO.isImm() && MO.getImm() == 0)
265 switch (Shift) {
256 printShiftOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O, A64SE::ShiftExtSpecifiers Shift) argument
/freebsd-10.0-release/sys/boot/pc98/boot0.5/
H A Dputssjis.s35 # Display string with Shift-JIS support
113 # Convert Shift-JIS into JIS.
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp2355 uint64_t Shift = Layout->getElementOffsetInBits(i); local
2358 Shift = AllocaSizeBits-Shift-TD->getTypeAllocSizeInBits(FieldTy);
2361 if (Shift) {
2362 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift);
2395 uint64_t Shift; local
2398 Shift = AllocaSizeBits-ElementOffset;
2400 Shift = 0;
2407 if (Shift) {
2408 Value *ShiftVal = ConstantInt::get(EltVal->getType(), Shift);
2498 uint64_t Shift; local
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Archive/
H A DArchiveReader.cpp27 unsigned Shift = 0; local
33 Result |= (unsigned)((*At++) & 0x7F) << Shift;
34 Shift += 7;
/freebsd-10.0-release/contrib/llvm/tools/lldb/include/lldb/Interpreter/
H A DArgs.h118 /// @see Args::Shift ()
283 /// Args::Shift().
288 Shift ();
/freebsd-10.0-release/contrib/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp772 SDValue Shift, SDValue X,
774 if (Shift.getOpcode() != ISD::SRL ||
775 !isa<ConstantSDNode>(Shift.getOperand(1)) ||
776 !Shift.hasOneUse())
779 int ScaleLog = 8 - Shift.getConstantOperandVal(1);
815 SDValue Shift, SDValue X,
817 if (Shift.getOpcode() != ISD::SHL ||
818 !isa<ConstantSDNode>(Shift.getOperand(1)))
824 if (!N.hasOneUse() || !Shift.hasOneUse())
828 unsigned ShiftAmt = Shift
770 FoldMaskAndShiftToExtract(SelectionDAG &DAG, SDValue N, uint64_t Mask, SDValue Shift, SDValue X, X86ISelAddressMode &AM) argument
813 FoldMaskedShiftToScaledMask(SelectionDAG &DAG, SDValue N, uint64_t Mask, SDValue Shift, SDValue X, X86ISelAddressMode &AM) argument
880 FoldMaskAndShiftToScale(SelectionDAG &DAG, SDValue N, uint64_t Mask, SDValue Shift, SDValue X, X86ISelAddressMode &AM) argument
1239 SDValue Shift = N.getOperand(0); local
[all...]
/freebsd-10.0-release/contrib/compiler-rt/lib/sparc64/
H A Ddivmod.m4144 ! Compute ITER in an unorthodox manner: know we need to Shift V into
/freebsd-10.0-release/contrib/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;

Completed in 131 milliseconds

123