/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | RegisterPressure.cpp | 52 LaneBitmask PrevMask, LaneBitmask NewMask) { in increaseSetPressure() argument 53 assert((PrevMask & ~NewMask).none() && "Must not remove bits"); in increaseSetPressure() 54 if (PrevMask.any() || NewMask.none()) in increaseSetPressure() 66 LaneBitmask PrevMask, LaneBitmask NewMask) { in decreaseSetPressure() argument 68 if (NewMask.any() || PrevMask.none()) in decreaseSetPressure() 157 LaneBitmask NewMask) { in increaseRegPressure() argument 158 if (PreviousMask.any() || NewMask.none()) in increaseRegPressure() 172 LaneBitmask NewMask) { in decreaseRegPressure() argument 173 decreaseSetPressure(CurrSetPressure, *MRI, RegUnit, PreviousMask, NewMask); in decreaseRegPressure() 708 LaneBitmask NewMask = PrevMask | P.LaneMask; in addLiveRegs() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | GCNRegPressure.cpp | 99 LaneBitmask NewMask, in inc() argument 101 if (NewMask == PrevMask) in inc() 105 if (NewMask < PrevMask) { in inc() 106 std::swap(NewMask, PrevMask); in inc() 116 assert(PrevMask.none() && NewMask == MaxMask); in inc() 123 assert(NewMask < MaxMask || NewMask == MaxMask); in inc() 124 assert(PrevMask < NewMask); in inc() 127 Sign * (~PrevMask & NewMask).getNumLanes(); in inc() 130 assert(NewMask.any()); in inc()
|
D | GCNRegBankReassign.cpp | 466 unsigned NewMask = ((1 << Size) - 1) << I; in getFreeBanks() local 467 NewMask = (NewMask | (NewMask >> NUM_VGPR_BANKS)) & VGPR_BANK_MASK; in getFreeBanks() 468 if (!(UsedBanks & NewMask)) in getFreeBanks() 481 unsigned NewMask = ((1 << Size) - 1) << I; in getFreeBanks() local 482 NewMask = (NewMask | (NewMask >> NUM_SGPR_BANKS)) & SGPR_BANK_SHIFTED_MASK; in getFreeBanks() 483 if (!(UsedBanks & (NewMask << SGPR_BANK_OFFSET))) in getFreeBanks()
|
D | SIModeRegister.cpp | 47 Status(unsigned NewMask, unsigned NewMode) : Mask(NewMask), Mode(NewMode) { in Status() 66 unsigned NewMask = (Mask & S.Mask) & (Mode ^ ~S.Mode); in intersect() local 67 unsigned NewMode = (Mode & NewMask); in intersect() 68 return Status(NewMask, NewMode); in intersect()
|
D | GCNRegPressure.h | 61 LaneBitmask NewMask,
|
D | SIISelLowering.cpp | 8371 unsigned NewMask = LCC == ISD::SETO ? in performAndCombine() local 8377 DAG.getConstant(NewMask, DL, MVT::i32)); in performAndCombine() 8465 uint32_t NewMask = (CLHS->getZExtValue() | CRHS->getZExtValue()) & MaxMask; in performOrCombine() local 8468 Src, DAG.getConstant(NewMask, DL, MVT::i32)); in performOrCombine()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 844 Constant *NewMask = ConstantVector::get(NewMaskVec); in foldInsEltIntoSplat() local 845 return new ShuffleVectorInst(Op0, UndefValue::get(Op0->getType()), NewMask); in foldInsEltIntoSplat() 893 Constant *NewMask = ConstantVector::get(NewMaskVec); in foldInsEltIntoIdentityShuffle() local 894 return new ShuffleVectorInst(X, Shuf->getOperand(1), NewMask); in foldInsEltIntoIdentityShuffle() 1534 SmallVector<Constant *, 16> NewMask(NumMaskElts, Zero); in canonicalizeInsertSplat() local 1537 NewMask[i] = Mask->getAggregateElement(i); in canonicalizeInsertSplat() 1539 return new ShuffleVectorInst(NewIns, UndefVec, ConstantVector::get(NewMask)); in canonicalizeInsertSplat() 1732 SmallVector<Constant *, 16> NewMask(NumElts); in foldIdentityExtractShuffle() local 1739 NewMask[i] = isa<UndefValue>(ExtractMaskElt) ? ExtractMaskElt : MaskElt; in foldIdentityExtractShuffle() 1741 return new ShuffleVectorInst(X, Y, ConstantVector::get(NewMask)); in foldIdentityExtractShuffle() [all …]
|
D | InstCombineShifts.cpp | 216 Constant *NewMask; in dropRedundantMaskingOfLeftShiftInput() local 247 NewMask = ConstantExpr::getNot(ExtendedInvertedMask); in dropRedundantMaskingOfLeftShiftInput() 283 NewMask = in dropRedundantMaskingOfLeftShiftInput() 288 NewMask = ConstantExpr::getTrunc(NewMask, NarrowestTy); in dropRedundantMaskingOfLeftShiftInput() 291 bool NeedMask = !match(NewMask, m_AllOnes()); in dropRedundantMaskingOfLeftShiftInput() 316 return BinaryOperator::Create(Instruction::And, NewShift, NewMask); in dropRedundantMaskingOfLeftShiftInput()
|
D | InstCombineAndOrXor.cpp | 280 unsigned NewMask; in conjugateICmpMask() local 281 NewMask = (Mask & (AMask_AllOnes | BMask_AllOnes | Mask_AllZeros | in conjugateICmpMask() 285 NewMask |= (Mask & (AMask_NotAllOnes | BMask_NotAllOnes | Mask_NotAllZeros | in conjugateICmpMask() 289 return NewMask; in conjugateICmpMask() 511 Value *NewMask = ConstantInt::get(BCst->getType(), BorD); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() local 513 Value *NewAnd = Builder.CreateAnd(A, NewMask); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 690 APInt NewMask = BCst->getValue() & DCst->getValue(); in foldLogOpOfMaskedICmps() local 692 if (NewMask == BCst->getValue()) in foldLogOpOfMaskedICmps() 694 else if (NewMask == DCst->getValue()) in foldLogOpOfMaskedICmps() 703 APInt NewMask = BCst->getValue() | DCst->getValue(); in foldLogOpOfMaskedICmps() local [all …]
|
D | InstCombineSimplifyDemanded.cpp | 299 APInt NewMask = ~(LHSKnown.One & RHSKnown.One & DemandedMask); in SimplifyDemandedUseBits() local 302 ConstantInt::get(I->getType(), NewMask & AndRHS->getValue()); in SimplifyDemandedUseBits() 307 ConstantInt::get(I->getType(), NewMask & XorRHS->getValue()); in SimplifyDemandedUseBits()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAGHVX.cpp | 841 MutableArrayRef<int> NewMask, unsigned Options = None); 843 MutableArrayRef<int> NewMask); 1053 ResultStack &Results, MutableArrayRef<int> NewMask, in packs() argument 1079 memcpy(NewMask.data(), SM.Mask.data(), sizeof(int)*VecLen); in packs() 1087 NewMask[I] = M; in packs() 1117 NewMask[I] = M; in packs() 1140 NewMask[I] = M; in packs() 1150 ResultStack &Results, MutableArrayRef<int> NewMask) { in packp() argument 1192 NewMask[I] = M; in packp() 1249 SmallVector<int,128> NewMask(VecLen); in shuffs2() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | RegisterPressure.h | 552 LaneBitmask NewMask); 554 LaneBitmask NewMask);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 1648 SDValue NewMask = DAG.getConstant(0xff, DL, VT); in foldMaskAndShiftToExtract() local 1650 SDValue And = DAG.getNode(ISD::AND, DL, VT, Srl, NewMask); in foldMaskAndShiftToExtract() 1661 insertDAGNode(DAG, N, NewMask); in foldMaskAndShiftToExtract() 1720 SDValue NewMask = DAG.getConstant(Mask >> ShiftAmt, DL, VT); in foldMaskedShiftToScaledMask() local 1721 SDValue NewAnd = DAG.getNode(ISD::AND, DL, VT, X, NewMask); in foldMaskedShiftToScaledMask() 1729 insertDAGNode(DAG, N, NewMask); in foldMaskedShiftToScaledMask() 1886 SDValue NewMask = DAG.getConstant(Mask >> AMShiftAmt, DL, VT); in foldMaskedShiftToBEXTR() local 1887 SDValue NewAnd = DAG.getNode(ISD::AND, DL, VT, NewSRL, NewMask); in foldMaskedShiftToBEXTR() 1898 insertDAGNode(DAG, N, NewMask); in foldMaskedShiftToBEXTR() 4008 SDValue NewMask = CurDAG->getConstant(NegMaskVal, SDLoc(And), VT); in shrinkAndImmediate() local [all …]
|
D | X86ISelLowering.cpp | 12660 SmallVector<int, 4> NewMask(Mask.begin(), Mask.end()); in lowerShuffleOfExtractsAsVperm() local 12664 ShuffleVectorSDNode::commuteMask(NewMask); in lowerShuffleOfExtractsAsVperm() 12672 (isSingleSHUFPSMask(NewMask) || is128BitUnpackShuffleMask(NewMask))) in lowerShuffleOfExtractsAsVperm() 12676 NewMask.append(NumElts, -1); in lowerShuffleOfExtractsAsVperm() 12680 NewMask); in lowerShuffleOfExtractsAsVperm() 13296 int NewMask[4] = {Mask[0], Mask[1], Mask[2], Mask[3]}; in lowerShuffleWithSHUFPS() local 13313 NewMask[V2Index] -= 4; in lowerShuffleWithSHUFPS() 13330 NewMask[V1Index] = 2; // We put the V1 element in V2[2]. in lowerShuffleWithSHUFPS() 13331 NewMask[V2Index] = 0; // We shifted the V2 element into V2[0]. in lowerShuffleWithSHUFPS() 13337 NewMask[2] -= 4; in lowerShuffleWithSHUFPS() [all …]
|
D | X86InstrInfo.cpp | 6562 unsigned NewMask = 0; in AdjustBlendMask() local 6570 NewMask |= (1u << i); in AdjustBlendMask() 6579 NewMask |= (SubMask << (i * Scale)); in AdjustBlendMask() 6585 *pNewMask = NewMask; in AdjustBlendMask()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 271 SmallVector<int, 8> NewMask; in ShuffleWithNarrowerEltType() local 276 NewMask.push_back(-1); in ShuffleWithNarrowerEltType() 278 NewMask.push_back(Idx * NumEltsGrowth + j); in ShuffleWithNarrowerEltType() 281 assert(NewMask.size() == NumDestElts && "Non-integer NumEltsGrowth?"); in ShuffleWithNarrowerEltType() 282 assert(TLI.isShuffleMaskLegal(NewMask, NVT) && "Shuffle not legal?"); in ShuffleWithNarrowerEltType() 283 return DAG.getVectorShuffle(NVT, dl, N1, N2, NewMask); in ShuffleWithNarrowerEltType() 3034 SmallVector<int, 32> NewMask; in ExpandNode() local 3072 NewMask.push_back(Mask[i]); in ExpandNode() 3076 NewMask.push_back(Mask[i]*factor+fi); in ExpandNode() 3079 Mask = NewMask; in ExpandNode()
|
D | DAGCombiner.cpp | 4755 SDValue NewMask = DAG.getConstant(AndMask.trunc(Size / 2), SL, HalfVT); in visitANDLike() local 4758 SDValue And = DAG.getNode(ISD::AND, SL, HalfVT, Shift, NewMask); in visitANDLike() 11373 SmallVector<int, 8> NewMask; in visitBITCAST() local 11376 NewMask.push_back(M < 0 ? -1 : M * MaskScale + i); in visitBITCAST() 11379 TLI.buildLegalVectorShuffle(VT, SDLoc(N), SV0, SV1, NewMask, DAG); in visitBITCAST() 16782 SmallVector<int, 16> NewMask(Mask.begin(), Mask.end()); in combineInsertEltToShuffle() local 16785 NewMask[InsIndex] = ElementOffset + ExtrIndex->getZExtValue(); in combineInsertEltToShuffle() 16786 assert(NewMask[InsIndex] < in combineInsertEltToShuffle() 16788 NewMask[InsIndex] >= 0 && "NewMask[InsIndex] is out of bound"); in combineInsertEltToShuffle() 16792 Y, NewMask, DAG); in combineInsertEltToShuffle() [all …]
|
D | LegalizeVectorTypes.cpp | 4071 SmallVector<int, 16> NewMask; in WidenVecRes_VECTOR_SHUFFLE() local 4075 NewMask.push_back(Idx); in WidenVecRes_VECTOR_SHUFFLE() 4077 NewMask.push_back(Idx - NumElts + WidenNumElts); in WidenVecRes_VECTOR_SHUFFLE() 4080 NewMask.push_back(-1); in WidenVecRes_VECTOR_SHUFFLE() 4081 return DAG.getVectorShuffle(WidenVT, dl, InOp1, InOp2, NewMask); in WidenVecRes_VECTOR_SHUFFLE()
|
D | TargetLowering.cpp | 2469 SmallVector<int, 32> NewMask(ShuffleMask.begin(), ShuffleMask.end()); in SimplifyDemandedVectorElts() local 2471 int &M = NewMask[i]; in SimplifyDemandedVectorElts() 2488 NewMask, TLO.DAG); in SimplifyDemandedVectorElts()
|
D | LegalizeIntegerTypes.cpp | 4231 ArrayRef<int> NewMask = SV->getMask().slice(0, VT.getVectorNumElements()); in PromoteIntRes_VECTOR_SHUFFLE() local 4237 return DAG.getVectorShuffle(OutVT, dl, V0, V1, NewMask); in PromoteIntRes_VECTOR_SHUFFLE()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Instructions.cpp | 1819 SmallVector<Constant*, 16> NewMask(NumMaskElts); in commute() local 1824 NewMask[i] = UndefValue::get(Int32Ty); in commute() 1829 NewMask[i] = ConstantInt::get(Int32Ty, MaskElt); in commute() 1831 Op<2>() = ConstantVector::get(NewMask); in commute()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmParser.cpp | 286 unsigned NewMask = 0; in rewindImplicitITPosition() local 287 NewMask |= ITState.Mask & (0xC << TZ); in rewindImplicitITPosition() 288 NewMask |= 0x2 << TZ; in rewindImplicitITPosition() 289 ITState.Mask = NewMask; in rewindImplicitITPosition() 334 unsigned NewMask = 0; in extendImplicitITBlock() local 336 NewMask |= ITState.Mask & (0xE << TZ); in extendImplicitITBlock() 338 NewMask |= (Cond != ITState.Cond) << TZ; in extendImplicitITBlock() 340 NewMask |= 1 << (TZ - 1); in extendImplicitITBlock() 341 ITState.Mask = NewMask; in extendImplicitITBlock()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 13048 SmallVector<int, 16> NewMask; in PerformVECTOR_SHUFFLECombine() local 13059 NewMask.push_back(NewElt); in PerformVECTOR_SHUFFLECombine() 13062 DAG.getUNDEF(VT), NewMask); in PerformVECTOR_SHUFFLECombine() 15789 auto UseMask = [Mask, Op, VT, &TLO](unsigned NewMask) -> bool { in targetShrinkDemandedConstant() argument 15790 if (NewMask == Mask) in targetShrinkDemandedConstant() 15793 SDValue NewC = TLO.DAG.getConstant(NewMask, DL, VT); in targetShrinkDemandedConstant()
|