Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp370 APInt MaskV(APInt::getLowBitsSet(SrcSize, DstSize)); in FoldShiftByConstant() local
377 MaskV <<= Op1->getZExtValue(); in FoldShiftByConstant()
380 MaskV = MaskV.lshr(Op1->getZExtValue()); in FoldShiftByConstant()
385 ConstantInt::get(I.getContext(), MaskV), in FoldShiftByConstant()
DInstCombineCompares.cpp2544 APInt MaskV = in visitICmpInst() local
2546 MaskV <<= ShAmt; in visitICmpInst()
2551 Value *Mask = Builder->CreateAnd(A, Builder->getInt(MaskV)); in visitICmpInst()
/external/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.cpp930 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitLoadOfExtVectorElementLValue() local
932 MaskV, "tmp"); in EmitLoadOfExtVectorElementLValue()
1156 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitStoreThroughExtVectorComponentLValue() local
1159 MaskV, "tmp"); in EmitStoreThroughExtVectorComponentLValue()
1186 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitStoreThroughExtVectorComponentLValue() local
1187 Vec = Builder.CreateShuffleVector(Vec, ExtSrcVal, MaskV, "tmp"); in EmitStoreThroughExtVectorComponentLValue()
DCGExprScalar.cpp724 llvm::SmallVector<llvm::Constant *, 32> MaskV; in VisitShuffleVectorExpr() local
726 MaskV.push_back(EltMask); in VisitShuffleVectorExpr()
728 Value* MaskBits = llvm::ConstantVector::get(MaskV); in VisitShuffleVectorExpr()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp4863 SmallVector<int, 8> MaskV; in LowerVECTOR_SHUFFLEv8i16() local
4864 MaskV.push_back(BestLoQuad < 0 ? 0 : BestLoQuad); in LowerVECTOR_SHUFFLEv8i16()
4865 MaskV.push_back(BestHiQuad < 0 ? 1 : BestHiQuad); in LowerVECTOR_SHUFFLEv8i16()
4868 DAG.getNode(ISD::BITCAST, dl, MVT::v2i64, V2), &MaskV[0]); in LowerVECTOR_SHUFFLEv8i16()
4970 SmallVector<int, 8> MaskV; in LowerVECTOR_SHUFFLEv8i16() local
4974 MaskV.push_back(-1); in LowerVECTOR_SHUFFLEv8i16()
4977 MaskV.push_back(idx & 3); in LowerVECTOR_SHUFFLEv8i16()
4980 MaskV.push_back(-1); in LowerVECTOR_SHUFFLEv8i16()
4984 MaskV.push_back(i); in LowerVECTOR_SHUFFLEv8i16()
4986 &MaskV[0]); in LowerVECTOR_SHUFFLEv8i16()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1942 APInt MaskV = APInt::getHighBitsSet(BitWidth, NLZ+1); in ComputeMaskedBits() local
1943 ComputeMaskedBits(Op.getOperand(1), MaskV, KnownZero2, KnownOne2, in ComputeMaskedBits()
1949 if ((KnownZero2 & MaskV) == MaskV) { in ComputeMaskedBits()