Home
last modified time | relevance | path

Searched refs:MaskV (Results 1 – 17 of 17) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/
DBPFISelDAGToDAG.cpp541 uint64_t MaskV = MaskN->getZExtValue(); in PreprocessTrunc() local
543 if (!((IntNo == Intrinsic::bpf_load_byte && MaskV == 0xFF) || in PreprocessTrunc()
544 (IntNo == Intrinsic::bpf_load_half && MaskV == 0xFFFF) || in PreprocessTrunc()
545 (IntNo == Intrinsic::bpf_load_word && MaskV == 0xFFFFFFFF))) in PreprocessTrunc()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineShifts.cpp379 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant() local
386 MaskV <<= Op1->getZExtValue(); in FoldShiftByConstant()
389 MaskV = MaskV.lshr(Op1->getZExtValue()); in FoldShiftByConstant()
394 ConstantInt::get(I.getContext(), MaskV), in FoldShiftByConstant()
DInstCombineCompares.cpp2545 APInt MaskV = in visitICmpInst() local
2547 MaskV <<= ShAmt; in visitICmpInst()
2552 Value *Mask = Builder->CreateAnd(A, Builder->getInt(MaskV)); in visitICmpInst()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp391 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant() local
398 MaskV <<= COp1->getZExtValue(); in FoldShiftByConstant()
401 MaskV = MaskV.lshr(COp1->getZExtValue()); in FoldShiftByConstant()
406 ConstantInt::get(I.getContext(), MaskV), in FoldShiftByConstant()
DInstCombineCompares.cpp4254 APInt MaskV = in visitICmpInst() local
4256 MaskV <<= ShAmt; in visitICmpInst()
4261 Value *Mask = Builder->CreateAnd(A, Builder->getInt(MaskV)); in visitICmpInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp400 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant() local
407 MaskV <<= Op1C->getZExtValue(); in FoldShiftByConstant()
410 MaskV.lshrInPlace(Op1C->getZExtValue()); in FoldShiftByConstant()
415 ConstantInt::get(I.getContext(), MaskV), in FoldShiftByConstant()
DInstCombineCompares.cpp3593 APInt MaskV = in foldICmpEquality() local
3595 MaskV <<= ShAmt; in foldICmpEquality()
3600 Value *Mask = Builder.CreateAnd(A, Builder.getInt(MaskV)); in foldICmpEquality()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DValueTracking.cpp388 APInt MaskV = APInt::getHighBitsSet(BitWidth, NLZ+1); in ComputeMaskedBits() local
389 ComputeMaskedBits(I->getOperand(1), MaskV, KnownZero2, KnownOne2, in ComputeMaskedBits()
395 if ((KnownZero2 & MaskV) == MaskV) { in ComputeMaskedBits()
/external/clang/lib/CodeGen/
DCGExpr.cpp1392 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitStoreOfScalar() local
1395 MaskV, "extractVec"); in EmitStoreOfScalar()
1539 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitLoadOfExtVectorElementLValue() local
1541 MaskV); in EmitLoadOfExtVectorElementLValue()
1770 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitStoreThroughExtVectorComponentLValue() local
1773 MaskV); in EmitStoreThroughExtVectorComponentLValue()
1802 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitStoreThroughExtVectorComponentLValue() local
1803 Vec = Builder.CreateShuffleVector(Vec, ExtSrcVal, MaskV); in EmitStoreThroughExtVectorComponentLValue()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp641 SDValue MaskV = DAG.getNode(ISD::AND, dl, MVT::i32, in insertHvxElementReg() local
643 SDValue RotV = DAG.getNode(HexagonISD::VROR, dl, VecTy, {VecV, MaskV}); in insertHvxElementReg()
646 {DAG.getConstant(HwLen, dl, MVT::i32), MaskV}); in insertHvxElementReg()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp5501 SmallVector<int, 8> MaskV; in LowerVECTOR_SHUFFLEv8i16() local
5502 MaskV.push_back(BestLoQuad < 0 ? 0 : BestLoQuad); in LowerVECTOR_SHUFFLEv8i16()
5503 MaskV.push_back(BestHiQuad < 0 ? 1 : BestHiQuad); in LowerVECTOR_SHUFFLEv8i16()
5506 DAG.getNode(ISD::BITCAST, dl, MVT::v2i64, V2), &MaskV[0]); in LowerVECTOR_SHUFFLEv8i16()
5608 SmallVector<int, 8> MaskV; in LowerVECTOR_SHUFFLEv8i16() local
5612 MaskV.push_back(-1); in LowerVECTOR_SHUFFLEv8i16()
5615 MaskV.push_back(idx & 3); in LowerVECTOR_SHUFFLEv8i16()
5618 MaskV.push_back(-1); in LowerVECTOR_SHUFFLEv8i16()
5622 MaskV.push_back(i); in LowerVECTOR_SHUFFLEv8i16()
5624 &MaskV[0]); in LowerVECTOR_SHUFFLEv8i16()
[all …]
/external/llvm/lib/Analysis/
DValueTracking.cpp248 APInt MaskV = APInt::getHighBitsSet(BitWidth, NLZ+1); in computeKnownBitsAddSub() local
254 if ((KnownZero2 & MaskV) == MaskV) { in computeKnownBitsAddSub()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1965 APInt MaskV = APInt::getHighBitsSet(BitWidth, NLZ+1); in ComputeMaskedBits() local
1966 ComputeMaskedBits(Op.getOperand(1), MaskV, KnownZero2, KnownOne2, in ComputeMaskedBits()
1972 if ((KnownZero2 & MaskV) == MaskV) { in ComputeMaskedBits()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2342 APInt MaskV = APInt::getHighBitsSet(BitWidth, NLZ+1); in computeKnownBits() local
2348 if ((KnownZero2 & MaskV) == MaskV) { in computeKnownBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp2747 APInt MaskV = APInt::getHighBitsSet(BitWidth, NLZ+1); in computeKnownBits() local
2754 if ((Known2.Zero & MaskV) == MaskV) { in computeKnownBits()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp7761 SDValue MaskV = Mask[l + i] < NumElts ? V1 : V2; in lowerVectorShuffleAsByteRotate() local
7771 TargetV = MaskV; in lowerVectorShuffleAsByteRotate()
7772 else if (TargetV != MaskV) in lowerVectorShuffleAsByteRotate()
20977 SDValue MaskV = DAG.getConstant(Mask, DL, VT); in LowerVectorCTPOPBitmath() local
20978 return DAG.getNode(ISD::AND, DL, VT, V, MaskV); in LowerVectorCTPOPBitmath()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp9993 SDValue MaskV = M < NumElts ? V1 : V2; in matchVectorShuffleAsRotate() local
10003 TargetV = MaskV; in matchVectorShuffleAsRotate()
10004 else if (TargetV != MaskV) in matchVectorShuffleAsRotate()
24578 SDValue MaskV = DAG.getConstant(Mask, DL, VT); in LowerVectorCTPOPBitmath() local
24579 return DAG.getNode(ISD::AND, DL, VT, V, MaskV); in LowerVectorCTPOPBitmath()