Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILShaderFlags.h48 constexpr uint64_t getMask(int Bit) const { in getMask() function
55 ModuleFlags |= FlagName ? getMask(DxilModuleBit) : 0ull; in getModuleFlags()
63 FlagValue |= FlagName ? getMask(DxilModuleBit) : 0ull; in uint64_t()
71 FeatureFlags |= FlagName ? getMask(FeatureBit) : 0ull; in getFeatureFlags()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedAccessPass.cpp258 static Value *getMask(Value *WideMask, unsigned Factor,
261 static Value *getMask(Value *WideMask, unsigned Factor, in getMask() function
263 return getMask(WideMask, Factor, LeafValueTy->getElementCount()); in getMask()
372 getMask(VPLoad->getMaskParam(), Factor, cast<VectorType>(VecTy)); in lowerInterleavedLoad()
534 Value *LaneMask = getMask(VPStore->getMaskParam(), Factor, in lowerInterleavedStore()
578 static Value *getMask(Value *WideMask, unsigned Factor, in getMask() function
643 getMask(WideMask, Factor, cast<VectorType>(LastFactor->getType())); in lowerDeinterleaveIntrinsic()
694 Value *Mask = getMask(WideMask, Factor, in lowerInterleaveIntrinsic()
H A DTargetRegisterInfo.cpp349 return firstCommonClass(RCI.getMask(), A->getSubClassMask(), this); in getMatchingSuperRegClass()
389 firstCommonClass(IA.getMask(), IB.getMask(), this); in getCommonSuperRegClass()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kCollapseMOVEMPass.cpp86 unsigned getMask() const { return Mask; } in getMask() function in __anon143e10ef0111::MOVEMState
190 .addImm(State.getMask()) in Finish()
197 .addImm(State.getMask()); in Finish()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DLowLevelType.h366 static constexpr uint64_t getMask(const BitFieldInfo FieldInfo) {
377 return maskAndShift(Val, getMask(FieldInfo), FieldInfo[1]);
381 return getMask(FieldInfo) & (RawData >> FieldInfo[1]);
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h1693 ArrayRef<int> getMask() const {
1703 bool isSplat() const { return isSplatMask(getMask()); }
1705 int getSplatIndex() const { return getSplatMaskIndex(getMask()); }
2633 const SDValue &getMask() const {
2698 const SDValue &getMask() const { return getOperand(3); }
2728 const SDValue &getMask() const { return getOperand(4); }
2764 const SDValue &getMask() const { return getOperand(4); }
2801 const SDValue &getMask() const { return getOperand(5); }
2829 const SDValue &getMask() const {
2870 const SDValue &getMask() const { return getOperand(3); }
[all …]
H A DTargetRegisterInfo.h1295 const uint32_t *getMask() const { return Mask; } in getMask() function
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUAsmUtils.h47 unsigned getMask() const { return Mask << Shift; } in getMask() function
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUArgumentUsageInfo.h80 unsigned getMask() const { in getMask() function
H A DGCNRewritePartialRegUses.cpp180 I->second = RCI.getMask(); in getSuperRegClassMask()
H A DAMDGPUIGroupLP.cpp227 SchedGroupMask getMask() { return SGMask; } in getMask() function in __anon5d856e630111::SchedGroup
645 << (int)Match->getMask() << "and ID " << CandSGID in solveExact()
720 << (int)Match->getMask() << "\n"); in greedyFind()
746 << (int)BestGroup->getMask() << "\n"); in greedyFind()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DSanitizerMetadata.cpp111 NoSanitizeMask |= Attr->getMask(); in reportGlobal()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp340 auto *BlockInMask = PredRecipe->getMask(); in createReplicateRegion()
1270 if (Blend->isNormalized() || !match(Blend->getMask(0), m_False())) in simplifyBlends()
1273 if (!match(Blend->getMask(I), m_False())) in simplifyBlends()
1293 VPValue *Mask = Blend->getMask(I); in simplifyBlends()
1307 OperandsWithMask.push_back(Blend->getMask(I)); in simplifyBlends()
1314 VPValue *DeadMask = Blend->getMask(StartIndex); in simplifyBlends()
1322 match(NewBlend->getMask(1), m_Not(m_VPValue(NewMask)))) { in simplifyBlends()
2150 VPValue *NewMask = GetNewMask(L->getMask()); in optimizeMaskToEVL()
2154 VPValue *NewMask = GetNewMask(S->getMask()); in optimizeMaskToEVL()
2538 … InsertPos->getMask(), NeedsMaskForGaps, InsertPos->getDebugLoc()); in createInterleaveGroups()
[all …]
H A DVPlan.h1623 VPValue *getMask() const { in getMask() function
2331 VPValue *getMask(unsigned Idx) const { in getMask() function
2403 return new VPInterleaveRecipe(IG, getAddr(), getStoredValues(), getMask(), in clone()
2416 VPValue *getMask() const { in getMask() function
2677 isPredicated() ? getMask() : nullptr, *this); in clone()
2723 VPValue *getMask() { in getMask() function
2993 VPValue *getMask() const { in getMask() function
3025 getMask(), Consecutive, Reverse, *this, in clone()
3103 getStoredValue(), getMask(), Consecutive, in clone()
H A DVPlanRecipes.cpp1607 if (VPValue *VPMask = getMask()) in execute()
1675 if (VPValue *Mask = getMask()) { in print()
2443 Value *Cond = State.get(getMask(In), OnlyFirstLaneUsed); in execute()
2482 getMask(I)->printAsOperand(O, SlotTracker); in print()
3118 if (auto *VPMask = getMask()) { in execute()
3176 if (VPValue *VPMask = getMask()) { in execute()
3242 if (auto *VPMask = getMask()) { in execute()
3290 if (VPValue *VPMask = getMask()) { in execute()
3445 VPValue *BlockInMask = getMask(); in execute()
3623 VPValue *Mask = getMask(); in print()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp329 static std::string getMask(uint32_t prot) in getMask() function
938 W.printString("maxprot", getMask(MOSegment.maxprot)); in printMachOSegment()
939 W.printString("initprot", getMask(MOSegment.initprot)); in printMachOSegment()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/
H A DLegality.h237 const ShuffleMask &getMask() const { return Mask; } in getMask() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp2162 SDValue Mask = LD->getMask(); in SplitVecRes_VP_LOAD()
2247 SDValue Mask = SLD->getMask(); in SplitVecRes_VP_STRIDED_LOAD()
2322 SDValue Mask = MLD->getMask(); in SplitVecRes_MLOAD()
2409 return {MSC->getMask(), MSC->getIndex(), MSC->getScale()}; in SplitVecRes_Gather()
2412 return {VPSC->getMask(), VPSC->getIndex(), VPSC->getScale()}; in SplitVecRes_Gather()
2804 SmallVector<int> OrigMask(N->getMask()); in SplitVecRes_VECTOR_SHUFFLE()
3936 SDValue Mask = N->getMask(); in SplitVecOp_VP_STORE()
4028 SDValue Mask = N->getMask(); in SplitVecOp_VP_STRIDED_STORE()
4090 SDValue Mask = N->getMask(); in SplitVecOp_MSTORE()
4176 return {MSC->getMask(), MSC->getIndex(), MSC->getScale(), in SplitVecOp_Scatter()
[all …]
H A DDAGCombiner.cpp6285 !SVN0->getMask().equals(SVN1->getMask())) in hoistLogicOpWithSameOpcodeHands()
6298 return DAG.getVectorShuffle(VT, DL, Logic, ShOp, SVN0->getMask()); in hoistLogicOpWithSameOpcodeHands()
6311 return DAG.getVectorShuffle(VT, DL, ShOp, Logic, SVN0->getMask()); in hoistLogicOpWithSameOpcodeHands()
7414 MLoad->getOffset(), MLoad->getMask(), MLoad->getPassThru(), in visitAND()
7637 SDValue Ops[] = {GN0->getChain(), GN0->getPassThru(), GN0->getMask(), in visitAND()
12515 SDValue Mask = MSC->getMask(); in visitVPSCATTER()
12546 SDValue Mask = MSC->getMask(); in visitMSCATTER()
12578 SDValue Mask = MST->getMask(); in visitMSTORE()
12592 ((Mask == MST1->getMask() && MST->getMemoryVT().getStoreSize() == in visitMSTORE()
12646 auto Mask = TLI.promoteTargetBoolean(DAG, MST->getMask(), in visitMSTORE()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelperVectorOps.cpp288 ArrayRef<int> Mask = Shuffle->getMask(); in matchExtractVectorElementWithShuffleVector()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAGHVX.cpp2591 std::vector<int> Mask(SN->getMask().begin(), SN->getMask().end()); in selectShuffle()
2771 ArrayRef<int> TopMask = This->getMask(); in ppHvxShuffleOfShuffle()
2774 assert(TopMask.size() == S0->getMask().size() && in ppHvxShuffleOfShuffle()
2775 TopMask.size() == S1->getMask().size()); in ppHvxShuffleOfShuffle()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/
H A DBottomUpVec.cpp388 cast<DiamondReuseWithShuffle>(LegalityRes).getMask(); in emitVectors()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedTypes.h91 LLVM_ABI APInt getMask() const;
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGenericMachineInstrs.h323 ArrayRef<int> getMask() const { return getOperand(3).getShuffleMask(); } in getMask() function
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp4876 ArrayRef<int> Mask = SVN->getMask(); in lowerVECTOR_SHUFFLEAsVRGatherVX()
5313 if (!ShuffleVectorInst::isReverseMask(SVN->getMask(), in lowerBitreverseShuffle()
5314 SVN->getMask().size()) || in lowerBitreverseShuffle()
5380 if (!isLegalBitRotate(SVN->getMask(), VT, Subtarget, RotateVT, RotateAmt)) in lowerVECTOR_SHUFFLEAsRotate()
5407 ArrayRef<int> Mask = SVN->getMask(); in lowerShuffleViaVRegSplitting()
5566 const ArrayRef<int> Mask = SVN->getMask(); in lowerDisjointIndicesShuffle()
5660 ArrayRef<int> Mask = cast<ShuffleVectorSDNode>(Op)->getMask(); in tryWidenMaskForShuffle()
5703 SDValue Shuffled = DAG.getVectorShuffle(WidenVT, DL, V1, V2, SVN->getMask()); in lowerVECTOR_SHUFFLE()
5805 ArrayRef<int> Mask = SVN->getMask(); in lowerVECTOR_SHUFFLE()
12524 Mask = VPLoad->getMask(); in lowerMaskedLoad()
[all …]

123