Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DVectorUtils.cpp761 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllZeroOrUndef() local
762 if (MaskElt->isNullValue() || isa<UndefValue>(MaskElt)) in maskIsAllZeroOrUndef()
778 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef() local
779 if (MaskElt->isAllOnesValue() || isa<UndefValue>(MaskElt)) in maskIsAllOneOrUndef()
DConstantFolding.cpp2411 auto *MaskElt = Mask->getAggregateElement(I); in ConstantFoldVectorCall() local
2412 if (!MaskElt) in ConstantFoldVectorCall()
2416 if (isa<UndefValue>(MaskElt)) { in ConstantFoldVectorCall()
2424 if (MaskElt->isNullValue()) { in ConstantFoldVectorCall()
2428 } else if (MaskElt->isOneValue()) { in ConstantFoldVectorCall()
DInstructionSimplify.cpp4474 if (all_of(Indices, [InsertIndex](int MaskElt) { in SimplifyShuffleVectorInst() argument
4475 return MaskElt == InsertIndex || MaskElt == -1; in SimplifyShuffleVectorInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp1738 Constant *MaskElt = Mask->getAggregateElement(i); in foldIdentityExtractShuffle() local
1739 NewMask[i] = isa<UndefValue>(ExtractMaskElt) ? ExtractMaskElt : MaskElt; in foldIdentityExtractShuffle()
1766 if (none_of(Mask, [IdxC](int MaskElt) { return MaskElt == (int)IdxC; })) { in foldShuffleWithInsert() argument
1776 if (none_of(Mask, [IdxC](int MaskElt) { return MaskElt == (int)IdxC; })) { in foldShuffleWithInsert() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp1822 int MaskElt = getMaskValue(i); in commute() local
1823 if (MaskElt == -1) { in commute()
1827 assert(MaskElt >= 0 && MaskElt < 2 * NumOpElts && "Out-of-range mask"); in commute()
1828 MaskElt = (MaskElt < NumOpElts) ? MaskElt + NumOpElts : MaskElt - NumOpElts; in commute()
1829 NewMask[i] = ConstantInt::get(Int32Ty, MaskElt); in commute()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp13053 int MaskElt = SVN->getMaskElt(n); in PerformVECTOR_SHUFFLECombine() local
13055 if (MaskElt < (int)HalfElts) in PerformVECTOR_SHUFFLECombine()
13056 NewElt = MaskElt; in PerformVECTOR_SHUFFLECombine()
13057 else if (MaskElt >= (int)NumElts && MaskElt < (int)(NumElts + HalfElts)) in PerformVECTOR_SHUFFLECombine()
13058 NewElt = HalfElts + MaskElt - NumElts; in PerformVECTOR_SHUFFLECombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp20455 APInt MaskElt = IsFABS ? APInt::getSignedMaxValue(EltBits) : in LowerFABSorFNEG() local
20458 SDValue Mask = DAG.getConstantFP(APFloat(Sem, MaskElt), dl, LogicVT); in LowerFABSorFNEG()