/external/v8/src/arm64/ |
D | decoder-arm64-inl.h | 129 (instr->Mask(0x01000010) == 0x00000010)) { in DecodeBranchSystemException() 143 (instr->Mask(0x00E0001D) == 0x00200001) || in DecodeBranchSystemException() 144 (instr->Mask(0x00E0001D) == 0x00400001) || in DecodeBranchSystemException() 145 (instr->Mask(0x00E0001E) == 0x00200002) || in DecodeBranchSystemException() 146 (instr->Mask(0x00E0001E) == 0x00400002) || in DecodeBranchSystemException() 147 (instr->Mask(0x00E0001C) == 0x00600000) || in DecodeBranchSystemException() 148 (instr->Mask(0x00E0001C) == 0x00800000) || in DecodeBranchSystemException() 149 (instr->Mask(0x00E0001F) == 0x00A00000) || in DecodeBranchSystemException() 150 (instr->Mask(0x00C0001C) == 0x00C00000)) { in DecodeBranchSystemException() 157 const Instr masked_003FF0E0 = instr->Mask(0x003FF0E0); in DecodeBranchSystemException() [all …]
|
D | instructions-arm64.h | 102 Instr Mask(uint32_t mask) const { in Mask() function 144 return CalcLSDataSize(static_cast<LoadStoreOp>(Mask(LoadStoreMask))); in SizeLS() 149 static_cast<LoadStorePairOp>(Mask(LoadStorePairMask))); in SizeLSPair() 162 return Mask(ConditionalBranchFMask) == ConditionalBranchFixed; in IsCondBranchImm() 166 return Mask(UnconditionalBranchFMask) == UnconditionalBranchFixed; in IsUncondBranchImm() 170 return Mask(CompareBranchFMask) == CompareBranchFixed; in IsCompareBranch() 174 return Mask(TestBranchFMask) == TestBranchFixed; in IsTestBranch() 209 return Mask(LoadLiteralFMask) == LoadLiteralFixed; in IsLdrLiteral() 213 return Mask(LoadLiteralMask) == LDR_x_lit; in IsLdrLiteralX() 217 return Mask(PCRelAddressingFMask) == PCRelAddressingFixed; in IsPCRelAddressing() [all …]
|
D | disasm-arm64.cc | 58 switch (instr->Mask(AddSubImmediateMask)) { in VisitAddSubImmediate() 102 switch (instr->Mask(AddSubShiftedMask)) { in VisitAddSubShifted() 150 switch (instr->Mask(AddSubExtendedMask)) { in VisitAddSubExtended() 185 switch (instr->Mask(AddSubWithCarryMask)) { in VisitAddSubWithCarry() 226 switch (instr->Mask(LogicalImmediateMask)) { in VisitLogicalImmediate() 291 switch (instr->Mask(LogicalShiftedMask)) { in VisitLogicalShifted() 340 switch (instr->Mask(ConditionalCompareRegisterMask)) { in VisitConditionalCompareRegister() 356 switch (instr->Mask(ConditionalCompareImmediateMask)) { in VisitConditionalCompareImmediate() 378 switch (instr->Mask(ConditionalSelectMask)) { in VisitConditionalSelect() 433 switch (instr->Mask(BitfieldMask)) { in VisitBitfield() [all …]
|
/external/vixl/src/aarch64/ |
D | decoder-aarch64.cc | 210 (instr->Mask(0x01000010) == 0x00000010)) { in DecodeBranchSystemException() 224 (instr->Mask(0x00E0001D) == 0x00200001) || in DecodeBranchSystemException() 225 (instr->Mask(0x00E0001D) == 0x00400001) || in DecodeBranchSystemException() 226 (instr->Mask(0x00E0001E) == 0x00200002) || in DecodeBranchSystemException() 227 (instr->Mask(0x00E0001E) == 0x00400002) || in DecodeBranchSystemException() 228 (instr->Mask(0x00E0001C) == 0x00600000) || in DecodeBranchSystemException() 229 (instr->Mask(0x00E0001C) == 0x00800000) || in DecodeBranchSystemException() 230 (instr->Mask(0x00E0001F) == 0x00A00000) || in DecodeBranchSystemException() 231 (instr->Mask(0x00C0001C) == 0x00C00000)) { in DecodeBranchSystemException() 238 const Instr masked_003FF0E0 = instr->Mask(0x003FF0E0); in DecodeBranchSystemException() [all …]
|
D | cpu-features-auditor-aarch64.cc | 82 switch (instr->Mask(LoadStoreMask)) { in LoadStoreHelper() 105 switch (instr->Mask(LoadStorePairMask)) { in LoadStorePairHelper() 145 switch (instr->Mask(AtomicMemoryMask)) { in VisitAtomicMemory() 208 switch (instr->Mask(DataProcessing1SourceMask)) { in VisitDataProcessing1Source() 237 switch (instr->Mask(DataProcessing2SourceMask)) { in VisitDataProcessing2Source() 276 switch (instr->Mask(FPCompareMask)) { in VisitFPCompare() 293 switch (instr->Mask(FPConditionalCompareMask)) { in VisitFPConditionalCompare() 308 if (instr->Mask(FPConditionalSelectMask) == FCSEL_h) { in VisitFPConditionalSelect() 318 switch (instr->Mask(FPDataProcessing1SourceMask)) { in VisitFPDataProcessing1Source() 345 switch (instr->Mask(FPDataProcessing2SourceMask)) { in VisitFPDataProcessing2Source() [all …]
|
D | disasm-aarch64.cc | 74 switch (instr->Mask(AddSubImmediateMask)) { in VisitAddSubImmediate() 121 switch (instr->Mask(AddSubShiftedMask)) { in VisitAddSubShifted() 172 switch (instr->Mask(AddSubExtendedMask)) { in VisitAddSubExtended() 212 switch (instr->Mask(AddSubWithCarryMask)) { in VisitAddSubWithCarry() 258 switch (instr->Mask(LogicalImmediateMask)) { in VisitLogicalImmediate() 328 switch (instr->Mask(LogicalShiftedMask)) { in VisitLogicalShifted() 389 switch (instr->Mask(ConditionalCompareRegisterMask)) { in VisitConditionalCompareRegister() 409 switch (instr->Mask(ConditionalCompareImmediateMask)) { in VisitConditionalCompareImmediate() 436 switch (instr->Mask(ConditionalSelectMask)) { in VisitConditionalSelect() 495 switch (instr->Mask(BitfieldMask)) { in VisitBitfield() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/ |
D | LaneBitmask.h | 47 explicit constexpr LaneBitmask(Type V) : Mask(V) {} in LaneBitmask() 49 constexpr bool operator== (LaneBitmask M) const { return Mask == M.Mask; } 50 constexpr bool operator!= (LaneBitmask M) const { return Mask != M.Mask; } 51 constexpr bool operator< (LaneBitmask M) const { return Mask < M.Mask; } 52 constexpr bool none() const { return Mask == 0; } in none() 53 constexpr bool any() const { return Mask != 0; } in any() 54 constexpr bool all() const { return ~Mask == 0; } in all() 57 return LaneBitmask(~Mask); 60 return LaneBitmask(Mask | M.Mask); 63 return LaneBitmask(Mask & M.Mask); [all …]
|
/external/walt/hardware/kicad/walt_footprints.pretty/ |
D | Teensy_DIP-28_W15.24mm.kicad_mod | 14 (pad 1 thru_hole circle (at 0 0) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS)) 15 (pad 2 thru_hole circle (at 0 2.54) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS)) 16 (pad 3 thru_hole circle (at 0 5.08) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS)) 17 (pad 4 thru_hole circle (at 0 7.62) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS)) 18 (pad 5 thru_hole circle (at 0 10.16) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS)) 19 (pad 6 thru_hole circle (at 0 12.7) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS)) 20 (pad 7 thru_hole circle (at 0 15.24) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS)) 21 (pad 8 thru_hole circle (at 0 17.78) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS)) 22 (pad 9 thru_hole circle (at 0 20.32) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS)) 23 (pad 10 thru_hole circle (at 0 22.86) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS)) [all …]
|
D | BMI160.kicad_mod | 13 (pad 6 smd rect (at 0 1.0125 90) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)) 14 (pad 13 smd rect (at 0 -1.0125 90) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)) 15 (pad 7 smd rect (at 0.5 1.0125 90) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)) 16 (pad 5 smd rect (at -0.5 1.0125 90) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)) 17 (pad 12 smd rect (at 0.5 -1.0125 90) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)) 18 (pad 14 smd rect (at -0.5 -1.0125 90) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)) 19 (pad 2 smd rect (at -1.2625 -0.25 180) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)) 20 (pad 1 smd rect (at -1.2625 -0.75 180) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)) 21 (pad 3 smd rect (at -1.2625 0.25 180) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)) 22 (pad 4 smd rect (at -1.2625 0.75 180) (size 0.675 0.25) (layers F.Cu F.Paste F.Mask)) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 96 void converted(Instruction *I, Value *V, int Mask, bool Worthy) { in converted() argument 97 ConvertedInsts[I] = std::make_tuple(V, Mask, Worthy); in converted() 204 int Mask = 0; in convertFCmp() local 206 Mask |= Masks[WhichConst][0]; in convertFCmp() 208 Mask |= Masks[WhichConst][1]; in convertFCmp() 210 Mask |= Masks[WhichConst][2]; in convertFCmp() 212 Mask |= Masks[WhichConst][3]; in convertFCmp() 220 Mask &= SystemZ::TDCMASK_PLUS; in convertFCmp() 221 Mask |= Mask >> 1; in convertFCmp() 229 converted(&I, Op0, Mask, Worthy); in convertFCmp() [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 96 void converted(Instruction *I, Value *V, int Mask, bool Worthy) { in converted() argument 97 ConvertedInsts[I] = std::make_tuple(V, Mask, Worthy); in converted() 204 int Mask = 0; in convertFCmp() local 206 Mask |= Masks[WhichConst][0]; in convertFCmp() 208 Mask |= Masks[WhichConst][1]; in convertFCmp() 210 Mask |= Masks[WhichConst][2]; in convertFCmp() 212 Mask |= Masks[WhichConst][3]; in convertFCmp() 220 Mask &= SystemZ::TDCMASK_PLUS; in convertFCmp() 221 Mask |= Mask >> 1; in convertFCmp() 229 converted(&I, Op0, Mask, Worthy); in convertFCmp() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 251 std::vector<Constant*> &Mask) { in CollectSingleShuffleElements() argument 257 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); in CollectSingleShuffleElements() 263 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i)); in CollectSingleShuffleElements() 269 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), in CollectSingleShuffleElements() 287 if (CollectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in CollectSingleShuffleElements() 289 Mask[InsertedIdx] = UndefValue::get(Type::getInt32Ty(V->getContext())); in CollectSingleShuffleElements() 302 if (CollectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in CollectSingleShuffleElements() 305 Mask[InsertedIdx % NumElts] = in CollectSingleShuffleElements() 310 Mask[InsertedIdx % NumElts] = in CollectSingleShuffleElements() 328 static Value *CollectShuffleElements(Value *V, std::vector<Constant*> &Mask, in CollectShuffleElements() argument [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 298 SmallVectorImpl<Constant*> &Mask) { in collectSingleShuffleElements() argument 304 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); in collectSingleShuffleElements() 310 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i)); in collectSingleShuffleElements() 316 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), in collectSingleShuffleElements() 334 if (collectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in collectSingleShuffleElements() 336 Mask[InsertedIdx] = UndefValue::get(Type::getInt32Ty(V->getContext())); in collectSingleShuffleElements() 349 if (collectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in collectSingleShuffleElements() 352 Mask[InsertedIdx % NumElts] = in collectSingleShuffleElements() 357 Mask[InsertedIdx % NumElts] = in collectSingleShuffleElements() 451 SmallVectorImpl<Constant *> &Mask, in collectShuffleElements() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 291 SmallVectorImpl<Constant*> &Mask) { in collectSingleShuffleElements() argument 297 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); in collectSingleShuffleElements() 303 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i)); in collectSingleShuffleElements() 309 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), in collectSingleShuffleElements() 327 if (collectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in collectSingleShuffleElements() 329 Mask[InsertedIdx] = UndefValue::get(Type::getInt32Ty(V->getContext())); in collectSingleShuffleElements() 342 if (collectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in collectSingleShuffleElements() 345 Mask[InsertedIdx % NumElts] = in collectSingleShuffleElements() 350 Mask[InsertedIdx % NumElts] = in collectSingleShuffleElements() 452 SmallVectorImpl<Constant *> &Mask, in collectShuffleElements() argument [all …]
|
/external/clang/include/clang/Basic/ |
D | Sanitizers.h | 52 return Mask & K; in has() 56 bool hasOneOf(SanitizerMask K) const { return Mask & K; } in hasOneOf() 61 Mask = Value ? (Mask | K) : (Mask & ~K); in set() 65 void clear() { Mask = 0; } in clear() 68 bool empty() const { return Mask == 0; } in empty() 71 SanitizerMask Mask = 0; member
|
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/ |
D | GPRArith.cpp | 351 ASSERT_EQ(((Value0)&Mask##Size) & ((Value1)&Mask##Size) ? ValueIfTrue \ in TEST_F() 369 Immediate((Imm)&Mask##Size)); \ in TEST_F() 381 ASSERT_EQ(((Value0)&Mask##Size) & ((Imm)&Mask##Size) ? ValueIfTrue \ in TEST_F() 411 ASSERT_EQ(((Value0)&Mask##Size) & ((Value1)&Mask##Size) ? ValueIfTrue \ in TEST_F() 428 Immediate((Value1)&Mask##Size)); \ in TEST_F() 439 ASSERT_EQ(((Value0)&Mask##Size) & ((Value1)&Mask##Size) ? ValueIfTrue \ in TEST_F() 507 ASSERT_EQ(Mask##Size &static_cast<uint32_t>( \ in TEST_F() 508 static_cast<Type##Size##_t>((Value0)&Mask##Size) \ in TEST_F() 509 Op static_cast<Type##Size##_t>((Value1)&Mask##Size)), \ in TEST_F() 510 Mask##Size &test.Dst()) \ in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 69 Value *&X, APInt &Mask, bool LookThruTrunc) { in decomposeBitTestICmp() argument 83 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp() 90 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp() 97 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp() 104 Mask = APInt::getSignMask(C->getBitWidth()); in decomposeBitTestICmp() 111 Mask = -*C; in decomposeBitTestICmp() 118 Mask = ~*C; in decomposeBitTestICmp() 125 Mask = ~*C; in decomposeBitTestICmp() 132 Mask = -*C; in decomposeBitTestICmp() 138 Mask = Mask.zext(X->getType()->getScalarSizeInBits()); in decomposeBitTestICmp()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | InterleavedAccessPass.cpp | 142 static bool isDeInterleaveMaskOfFactor(ArrayRef<int> Mask, unsigned Factor, in isDeInterleaveMaskOfFactor() argument 150 for (; i < Mask.size(); i++) in isDeInterleaveMaskOfFactor() 151 if (Mask[i] >= 0 && static_cast<unsigned>(Mask[i]) != Index + i * Factor) in isDeInterleaveMaskOfFactor() 154 if (i == Mask.size()) in isDeInterleaveMaskOfFactor() 166 static bool isDeInterleaveMask(ArrayRef<int> Mask, unsigned &Factor, in isDeInterleaveMask() argument 168 if (Mask.size() < 2) in isDeInterleaveMask() 173 if (isDeInterleaveMaskOfFactor(Mask, Factor, Index)) in isDeInterleaveMask() 190 static bool isReInterleaveMask(ArrayRef<int> Mask, unsigned &Factor, in isReInterleaveMask() argument 192 unsigned NumElts = Mask.size(); in isReInterleaveMask() 218 int LaneValue = Mask[Lane]; in isReInterleaveMask() [all …]
|
D | ScalarizeMaskedMemIntrin.cpp | 118 Value *Mask = CI->getArgOperand(2); in scalarizeMaskedLoad() local 138 isa<Constant>(Mask) && cast<Constant>(Mask)->isAllOnesValue(); in scalarizeMaskedLoad() 160 if (isa<ConstantVector>(Mask)) { in scalarizeMaskedLoad() 162 if (cast<ConstantVector>(Mask)->getOperand(Idx)->isNullValue()) in scalarizeMaskedLoad() 170 Value *NewI = Builder.CreateSelect(Mask, VResult, Src0); in scalarizeMaskedLoad() 196 Builder.CreateExtractElement(Mask, Builder.getInt32(Idx)); in scalarizeMaskedLoad() 228 Value *NewI = Builder.CreateSelect(Mask, Phi, Src0); in scalarizeMaskedLoad() 265 Value *Mask = CI->getArgOperand(3); in scalarizeMaskedStore() local 281 isa<Constant>(Mask) && cast<Constant>(Mask)->isAllOnesValue(); in scalarizeMaskedStore() 297 if (isa<ConstantVector>(Mask)) { in scalarizeMaskedStore() [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/ |
D | os.h | 185 unsigned char _BitScanForward(unsigned long *Index, unsigned long Mask) in _BitScanForward() argument 187 *Index = __builtin_ctz(Mask); in _BitScanForward() 188 return (Mask != 0); in _BitScanForward() 192 unsigned char _BitScanForward(unsigned int *Index, unsigned int Mask) in _BitScanForward() argument 194 *Index = __builtin_ctz(Mask); in _BitScanForward() 195 return (Mask != 0); in _BitScanForward() 199 unsigned char _BitScanReverse(unsigned long *Index, unsigned long Mask) in _BitScanReverse() argument 201 *Index = __builtin_clz(Mask); in _BitScanReverse() 202 return (Mask != 0); in _BitScanReverse() 206 unsigned char _BitScanReverse(unsigned int *Index, unsigned int Mask) in _BitScanReverse() argument [all …]
|
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/ |
D | GPRArith.cpp | 382 ASSERT_EQ(((Value0)&Mask##Size) & ((Value1)&Mask##Size) ? ValueIfTrue \ in TEST_F() 399 Immediate((Imm)&Mask##Size)); \ in TEST_F() 409 ASSERT_EQ(((Value0)&Mask##Size) & ((Imm)&Mask##Size) ? ValueIfTrue \ in TEST_F() 437 ASSERT_EQ(((Value0)&Mask##Size) & ((Value1)&Mask##Size) ? ValueIfTrue \ in TEST_F() 454 Immediate((Value1)&Mask##Size)); \ in TEST_F() 465 ASSERT_EQ(((Value0)&Mask##Size) & ((Value1)&Mask##Size) ? ValueIfTrue \ in TEST_F() 538 ASSERT_EQ(Mask##Size &static_cast<uint32_t>( \ in TEST_F() 539 static_cast<Type##Size##_t>((Value0)&Mask##Size) \ in TEST_F() 540 Op static_cast<Type##Size##_t>((Value1)&Mask##Size)), \ in TEST_F() 541 Mask##Size &test.Dst()) \ in TEST_F() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ValueTracking.cpp | 60 void llvm::ComputeMaskedBits(Value *V, const APInt &Mask, in ComputeMaskedBits() argument 65 unsigned BitWidth = Mask.getBitWidth(); in ComputeMaskedBits() 78 KnownOne = CI->getValue() & Mask; in ComputeMaskedBits() 79 KnownZero = ~KnownOne & Mask; in ComputeMaskedBits() 86 KnownZero = Mask; in ComputeMaskedBits() 95 ComputeMaskedBits(CV->getOperand(i), Mask, KnownZero2, KnownOne2, in ComputeMaskedBits() 116 KnownZero = Mask & APInt::getLowBitsSet(BitWidth, in ComputeMaskedBits() 129 ComputeMaskedBits(GA->getAliasee(), Mask, KnownZero, KnownOne, in ComputeMaskedBits() 139 KnownZero = Mask & APInt::getLowBitsSet(BitWidth, in ComputeMaskedBits() 147 if (Depth == MaxDepth || Mask == 0) in ComputeMaskedBits() [all …]
|
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/doc/ |
D | README.core_prefetch | 7 Here 0x02 can be replaced with any valid value except Mask[0] bit. It 8 represents 64 bit mask. The 64-bit Mask has one bit for each core. 9 Mask[0] = core0 10 Mask[1] = core1 11 Mask[2] = core2 16 core0 prefetch should not be disabled i.e. Mask[0] should never be set. 17 Setting Mask[0] may lead to undefined behavior.
|
/external/llvm/lib/Analysis/ |
D | CostModel.cpp | 92 static bool isReverseVectorMask(SmallVectorImpl<int> &Mask) { in isReverseVectorMask() argument 93 for (unsigned i = 0, MaskSize = Mask.size(); i < MaskSize; ++i) in isReverseVectorMask() 94 if (Mask[i] > 0 && Mask[i] != (int)(MaskSize - 1 - i)) in isReverseVectorMask() 99 static bool isAlternateVectorMask(SmallVectorImpl<int> &Mask) { in isAlternateVectorMask() argument 101 unsigned MaskSize = Mask.size(); in isAlternateVectorMask() 105 if (Mask[i] < 0) in isAlternateVectorMask() 107 isAlternate = Mask[i] == (int)((i & 1) ? MaskSize + i : i); in isAlternateVectorMask() 116 if (Mask[i] < 0) in isAlternateVectorMask() 118 isAlternate = Mask[i] == (int)((i & 1) ? i : MaskSize + i); in isAlternateVectorMask() 147 SmallVector<int, 32> Mask(SI->getType()->getVectorNumElements(), -1); in matchPairwiseShuffleMask() local [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAGHVX.cpp | 758 ShuffleMask(ArrayRef<int> M) : Mask(M) { in ShuffleMask() 759 for (unsigned I = 0, E = Mask.size(); I != E; ++I) { in ShuffleMask() 760 int M = Mask[I]; in ShuffleMask() 768 ArrayRef<int> Mask; member 772 size_t H = Mask.size()/2; in lo() 773 return ShuffleMask(Mask.take_front(H)); in lo() 776 size_t H = Mask.size()/2; in hi() 777 return ShuffleMask(Mask.take_back(H)); in hi() 782 for (int M : Mask) in print() 855 bool scalarizeShuffle(ArrayRef<int> Mask, const SDLoc &dl, MVT ResTy, [all …]
|