Home
last modified time | relevance | path

Searched refs:getMask (Results 1 – 25 of 44) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
HDLowLevelTypeImpl.h233 static uint64_t getMask(const BitFieldInfo FieldInfo) {
242 return maskAndShift(Val, getMask(FieldInfo), FieldInfo[1]);
245 return getMask(FieldInfo) & (RawData >> FieldInfo[1]);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDTargetRegisterInfo.cpp274 return firstCommonClass(RCI.getMask(), A->getSubClassMask(), this); in getMatchingSuperRegClass()
314 firstCommonClass(IA.getMask(), IB.getMask(), this); in getCommonSuperRegClass()
HDTargetLoweringBase.cpp1123 SuperRegRC.setBitsInMask(RCI.getMask()); in findRepresentativeClass()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineVectorOps.cpp726 int MaskSize = Shuf.getMask()->getType()->getVectorNumElements(); in isShuffleEquivalentToSelect()
842 NewMaskVec[i] = i == IdxC ? Zero : Shuf->getMask()->getAggregateElement(i); in foldInsEltIntoSplat()
877 Constant *OldMask = Shuf->getMask(); in foldInsEltIntoIdentityShuffle()
961 Constant *Mask = Shuf->getMask(); in foldConstantInsEltIntoShuffle()
1483 Constant *Mask = Shuf.getMask(); in foldSelectShuffleWith1Binop()
1514 Constant *Mask = Shuf.getMask(); in canonicalizeInsertSplat()
1608 Constant *Mask = Shuf.getMask(); in foldSelectShuffle()
1699 Value *NarrowX = Builder.CreateShuffleVector(X, Undef, Shuf.getMask()); in narrowVectorSelect()
1700 Value *NarrowY = Builder.CreateShuffleVector(Y, Undef, Shuf.getMask()); in narrowVectorSelect()
1737 Constant *ExtractMaskElt = Shuf.getMask()->getAggregateElement(i); in foldIdentityExtractShuffle()
[all …]
HDInstCombineCasts.cpp642 Shuf->getMask()->getSplatValue() && in shrinkSplatShuffle()
647 return new ShuffleVectorInst(NarrowOp, NarrowUndef, Shuf->getMask()); in shrinkSplatShuffle()
HDInstructionCombining.cpp1503 if (LShuf->isSelect() && !LShuf->getMask()->containsUndefElement() && in foldVectorBinop()
1504 RShuf->isSelect() && !RShuf->getMask()->containsUndefElement()) { in foldVectorBinop()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
HDAMDGPUArgumentUsageInfo.h81 unsigned getMask() const { in getMask() function
HDSIMachineFunctionInfo.cpp446 SA.Mask = Arg.getMask(); in convertArgumentInfo()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDSanitizerMetadata.cpp73 if (Attr->getMask() & SanitizerKind::Address) in reportGlobalToASan()
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
HDMachODumper.cpp319 static std::string getMask(uint32_t prot) in getMask() function
848 W.printString("maxprot", getMask(MOSegment.maxprot)); in printMachOSegment()
849 W.printString("initprot", getMask(MOSegment.initprot)); in printMachOSegment()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDInstructions.h2020 Constant *getMask() const {
2031 return getMaskValue(getMask(), Elt);
2042 return getShuffleMask(getMask(), Result);
2057 unsigned NumMaskElts = getMask()->getType()->getVectorNumElements();
2066 unsigned NumMaskElts = getMask()->getType()->getVectorNumElements();
2087 return !changesLength() && isSingleSourceMask(getMask());
2149 return !changesLength() && isSelectMask(getMask());
2169 return !changesLength() && isReverseMask(getMask());
2191 return !changesLength() && isZeroEltSplatMask(getMask());
2240 return !changesLength() && isTransposeMask(getMask());
[all …]
HDDerivedTypes.h88 APInt getMask() const;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
HDSelectionDAGNodes.h1518 ArrayRef<int> getMask() const {
2304 const SDValue &getMask() const {
2345 const SDValue &getMask() const { return getOperand(3); }
2382 const SDValue &getMask() const { return getOperand(4); }
2423 const SDValue &getMask() const { return getOperand(2); }
HDTargetRegisterInfo.h1027 const uint32_t *getMask() const { return Mask; } in getMask() function
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
HDX86ISelLowering.h1568 const SDValue &getMask() const { return getOperand(3); } in getMask() function
1638 const SDValue &getMask() const { return getOperand(2); } in getMask() function
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
HDVPlan.h897 VPValue *getMask() const { in getMask() function
1046 VPValue *getMask() const { in getMask() function
HDVPlan.cpp744 VPValue *Mask = getMask(); in print()
HDLoopVectorize.cpp3402 NewI = B.CreateShuffleVector(O0, O1, SI->getMask()); in truncateToMinimalBitwidths()
7257 (new VPInterleaveRecipe(IG, Recipe->getAddr(), Recipe->getMask())) in buildVPlanWithVPRecipes()
7343 VPValue *Mask = getMask(); in print()
7416 getMask()); in execute()
7503 State.ILV->vectorizeMemoryInstruction(&Instr, State, getAddr(), getMask()); in execute()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
HDLegalizeVectorTypes.cpp1542 SDValue Mask = MLD->getMask(); in SplitVecRes_MLOAD()
1609 SDValue Mask = MGT->getMask(); in SplitVecRes_MGATHER()
2245 SDValue Mask = MGT->getMask(); in SplitVecOp_MGATHER()
2313 SDValue Mask = N->getMask(); in SplitVecOp_MSTORE()
2372 SDValue Mask = N->getMask(); in SplitVecOp_MSCATTER()
3718 SDValue Mask = N->getMask(); in WidenVecRes_MLOAD()
3743 SDValue Mask = N->getMask(); in WidenVecRes_MGATHER()
4517 SDValue Mask = MST->getMask(); in WidenVecOp_MSTORE()
4557 SDValue Mask = MG->getMask(); in WidenVecOp_MGATHER()
4576 SDValue Mask = MSC->getMask(); in WidenVecOp_MSCATTER()
HDDAGCombiner.cpp4496 !SVN0->getMask().equals(SVN1->getMask())) in hoistLogicOpWithSameOpcodeHands()
4509 return DAG.getVectorShuffle(VT, DL, Logic, ShOp, SVN0->getMask()); in hoistLogicOpWithSameOpcodeHands()
4522 return DAG.getVectorShuffle(VT, DL, ShOp, Logic, SVN0->getMask()); in hoistLogicOpWithSameOpcodeHands()
8755 SDValue Mask = MSC->getMask(); in visitMSCATTER()
8768 SDValue Mask = MST->getMask(); in visitMSTORE()
8785 SDValue Mask = MGT->getMask(); in visitMGATHER()
8797 SDValue Mask = MLD->getMask(); in visitMLOAD()
9566 VT, dl, Ld->getChain(), Ld->getBasePtr(), Ld->getOffset(), Ld->getMask(), in tryToFoldExtOfMaskedLoad()
11381 for (int M : SVN->getMask()) in visitBITCAST()
16742 ArrayRef<int> Mask = SVN->getMask(); in combineInsertEltToShuffle()
[all …]
HDSelectionDAG.cpp1782 SmallVector<int, 8> MaskVec(SV.getMask().begin(), SV.getMask().end()); in getCommutedVectorShuffle()
2313 ArrayRef<int> Mask = cast<ShuffleVectorSDNode>(V)->getMask(); in isSplatValue()
2565 assert(NumElts == SVN->getMask().size() && "Unexpected vector size"); in computeKnownBits()
3556 assert(NumElts == SVN->getMask().size() && "Unexpected vector size"); in ComputeNumSignBits()
7105 Offset, LD->getMask(), LD->getPassThru(), in getIndexedMaskedLoad()
7154 ST->getMask(), ST->getMemoryVT(), ST->getMemOperand(), in getIndexedMaskedStore()
7182 assert(N->getMask().getValueType().getVectorNumElements() == in getMaskedGather()
7220 assert(N->getMask().getValueType().getVectorNumElements() == in getMaskedScatter()
HDLegalizeIntegerTypes.cpp625 N->getOffset(), N->getMask(), ExtPassThru, in PromoteIntRes_MLOAD()
641 SDValue Ops[] = {N->getChain(), ExtPassThru, N->getMask(), N->getBasePtr(), in PromoteIntRes_MGATHER()
1606 SDValue Mask = N->getMask(); in PromoteIntOp_MSTORE()
4243 ArrayRef<int> NewMask = SV->getMask().slice(0, VT.getVectorNumElements()); in PromoteIntRes_VECTOR_SHUFFLE()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
HDType.cpp273 APInt IntegerType::getMask() const { in getMask() function in IntegerType
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
HDHexagonISelDAGToDAGHVX.cpp2012 std::vector<int> Mask(SN->getMask().begin(), SN->getMask().end()); in selectShuffle()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
HDWebAssemblyISelLowering.cpp1474 ArrayRef<int> Mask = cast<ShuffleVectorSDNode>(Op.getNode())->getMask(); in LowerVECTOR_SHUFFLE()

12