/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | APInt.cpp | 928 unsigned BitShift = ShiftAmt % APINT_BITS_PER_WORD; in ashrSlowCase() local 937 if (BitShift == 0) { in ashrSlowCase() 942 U.pVal[i] = (U.pVal[i + WordShift] >> BitShift) | in ashrSlowCase() 943 (U.pVal[i + WordShift + 1] << (APINT_BITS_PER_WORD - BitShift)); in ashrSlowCase() 946 U.pVal[WordsToMove - 1] = U.pVal[WordShift + WordsToMove - 1] >> BitShift; in ashrSlowCase() 949 SignExtend64(U.pVal[WordsToMove - 1], APINT_BITS_PER_WORD - BitShift); in ashrSlowCase() 2565 unsigned BitShift = Count % APINT_BITS_PER_WORD; in tcShiftLeft() local 2568 if (BitShift == 0) { in tcShiftLeft() 2572 Dst[Words] = Dst[Words - WordShift] << BitShift; in tcShiftLeft() 2575 Dst[Words - WordShift - 1] >> (APINT_BITS_PER_WORD - BitShift); in tcShiftLeft() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1788 unsigned BitShift = in collectBitParts() local 1791 if (BitShift > BitWidth) in collectBitParts() 1803 P.erase(std::prev(P.end(), BitShift), P.end()); in collectBitParts() 1804 P.insert(P.begin(), BitShift, BitPart::Unset); in collectBitParts() 1806 P.erase(P.begin(), std::next(P.begin(), BitShift)); in collectBitParts() 1807 P.insert(P.end(), BitShift, BitPart::Unset); in collectBitParts()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 2543 unsigned BitShift = in collectBitParts() local 2546 if (BitShift > BitWidth) in collectBitParts() 2558 P.erase(std::prev(P.end(), BitShift), P.end()); in collectBitParts() 2559 P.insert(P.begin(), BitShift, BitPart::Unset); in collectBitParts() 2561 P.erase(P.begin(), std::next(P.begin(), BitShift)); in collectBitParts() 2562 P.insert(P.end(), BitShift, BitPart::Unset); in collectBitParts()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 3238 SDValue BitShift = DAG.getNode(ISD::SHL, DL, PtrVT, Addr, in lowerATOMIC_LOAD_OP() local 3240 BitShift = DAG.getNode(ISD::TRUNCATE, DL, WideVT, BitShift); in lowerATOMIC_LOAD_OP() 3245 DAG.getConstant(0, DL, WideVT), BitShift); in lowerATOMIC_LOAD_OP() 3262 SDValue Ops[] = { ChainIn, AlignedAddr, Src2, BitShift, NegBitShift, in lowerATOMIC_LOAD_OP() 3269 SDValue ResultShift = DAG.getNode(ISD::ADD, DL, WideVT, BitShift, in lowerATOMIC_LOAD_OP() 3342 SDValue BitShift = DAG.getNode(ISD::SHL, DL, PtrVT, Addr, in lowerATOMIC_CMP_SWAP() local 3344 BitShift = DAG.getNode(ISD::TRUNCATE, DL, WideVT, BitShift); in lowerATOMIC_CMP_SWAP() 3349 DAG.getConstant(0, DL, WideVT), BitShift); in lowerATOMIC_CMP_SWAP() 3353 SDValue Ops[] = { ChainIn, AlignedAddr, CmpVal, SwapVal, BitShift, in lowerATOMIC_CMP_SWAP() 5326 unsigned BitShift = (IsSubWord ? MI.getOperand(4).getReg() : 0); in emitAtomicLoadBinary() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 3462 SDValue BitShift = DAG.getNode(ISD::SHL, DL, PtrVT, Addr, in lowerATOMIC_LOAD_OP() local 3464 BitShift = DAG.getNode(ISD::TRUNCATE, DL, WideVT, BitShift); in lowerATOMIC_LOAD_OP() 3469 DAG.getConstant(0, DL, WideVT), BitShift); in lowerATOMIC_LOAD_OP() 3486 SDValue Ops[] = { ChainIn, AlignedAddr, Src2, BitShift, NegBitShift, in lowerATOMIC_LOAD_OP() 3493 SDValue ResultShift = DAG.getNode(ISD::ADD, DL, WideVT, BitShift, in lowerATOMIC_LOAD_OP() 3578 SDValue BitShift = DAG.getNode(ISD::SHL, DL, PtrVT, Addr, in lowerATOMIC_CMP_SWAP() local 3580 BitShift = DAG.getNode(ISD::TRUNCATE, DL, WideVT, BitShift); in lowerATOMIC_CMP_SWAP() 3585 DAG.getConstant(0, DL, WideVT), BitShift); in lowerATOMIC_CMP_SWAP() 3589 SDValue Ops[] = { ChainIn, AlignedAddr, CmpVal, SwapVal, BitShift, in lowerATOMIC_CMP_SWAP() 6301 unsigned BitShift = (IsSubWord ? MI.getOperand(4).getReg() : 0); in emitAtomicLoadBinary() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 68 unsigned BitShift = DL.getTypeSizeInBits(SrcEltTy); in foldConstVectorToAPInt() local 77 Result <<= BitShift; in foldConstVectorToAPInt() 85 Result <<= BitShift; in foldConstVectorToAPInt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | R600ISelLowering.cpp | 1286 SDValue BitShift = DAG.getNode(ISD::SHL, DL, VT, ByteIndex, in LowerSTORE() local 1290 SDValue Mask = DAG.getNode(ISD::SHL, DL, VT, MaskConstant, BitShift); in LowerSTORE() 1294 SDValue ShiftedValue = DAG.getNode(ISD::SHL, DL, VT, TruncValue, BitShift); in LowerSTORE()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 84 unsigned BitShift = DL.getTypeSizeInBits(SrcEltTy); in FoldBitCast() local 97 Result <<= BitShift; in FoldBitCast()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 5665 uint64_t BitShift = ShiftOp->getZExtValue(); in calculateByteProvider() local 5666 if (BitShift % 8 != 0) in calculateByteProvider() 5668 uint64_t ByteShift = BitShift / 8; in calculateByteProvider()
|