Home
last modified time | relevance | path

Searched refs:Mask (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/external/v8/src/arm64/
Ddecoder-arm64-inl.h132 (instr->Mask(0x01000010) == 0x00000010)) { in DecodeBranchSystemException()
146 (instr->Mask(0x00E0001D) == 0x00200001) || in DecodeBranchSystemException()
147 (instr->Mask(0x00E0001D) == 0x00400001) || in DecodeBranchSystemException()
148 (instr->Mask(0x00E0001E) == 0x00200002) || in DecodeBranchSystemException()
149 (instr->Mask(0x00E0001E) == 0x00400002) || in DecodeBranchSystemException()
150 (instr->Mask(0x00E0001C) == 0x00600000) || in DecodeBranchSystemException()
151 (instr->Mask(0x00E0001C) == 0x00800000) || in DecodeBranchSystemException()
152 (instr->Mask(0x00E0001F) == 0x00A00000) || in DecodeBranchSystemException()
153 (instr->Mask(0x00C0001C) == 0x00C00000)) { in DecodeBranchSystemException()
160 const Instr masked_003FF0E0 = instr->Mask(0x003FF0E0); in DecodeBranchSystemException()
[all …]
Dinstructions-arm64.h120 Instr Mask(uint32_t mask) const { in Mask() function
160 static_cast<LoadStorePairOp>(Mask(LoadStorePairMask))); in SizeLSPair()
165 return Mask(ConditionalBranchFMask) == ConditionalBranchFixed; in IsCondBranchImm()
169 return Mask(UnconditionalBranchFMask) == UnconditionalBranchFixed; in IsUncondBranchImm()
173 return Mask(CompareBranchFMask) == CompareBranchFixed; in IsCompareBranch()
177 return Mask(TestBranchFMask) == TestBranchFixed; in IsTestBranch()
185 return Mask(LoadLiteralFMask) == LoadLiteralFixed; in IsLdrLiteral()
189 return Mask(LoadLiteralMask) == LDR_x_lit; in IsLdrLiteralX()
193 return Mask(PCRelAddressingFMask) == PCRelAddressingFixed; in IsPCRelAddressing()
197 return Mask(PCRelAddressingMask) == ADR; in IsAdr()
[all …]
Ddisasm-arm64.cc57 switch (instr->Mask(AddSubImmediateMask)) { in VisitAddSubImmediate()
101 switch (instr->Mask(AddSubShiftedMask)) { in VisitAddSubShifted()
149 switch (instr->Mask(AddSubExtendedMask)) { in VisitAddSubExtended()
184 switch (instr->Mask(AddSubWithCarryMask)) { in VisitAddSubWithCarry()
225 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 …]
Dinstructions-arm64.cc17 if (Mask(LoadStoreAnyFMask) != LoadStoreAnyFixed) { in IsLoad()
21 if (Mask(LoadStorePairAnyFMask) == LoadStorePairAnyFixed) { in IsLoad()
22 return Mask(LoadStorePairLBit) != 0; in IsLoad()
24 LoadStoreOp op = static_cast<LoadStoreOp>(Mask(LoadStoreOpMask)); in IsLoad()
44 if (Mask(LoadStoreAnyFMask) != LoadStoreAnyFixed) { in IsStore()
48 if (Mask(LoadStorePairAnyFMask) == LoadStorePairAnyFixed) { in IsStore()
49 return Mask(LoadStorePairLBit) == 0; in IsStore()
51 LoadStoreOp op = static_cast<LoadStoreOp>(Mask(LoadStoreOpMask)); in IsStore()
244 SetInstructionBits(Mask(~ImmPCRel_mask) | imm); in SetPCRelImmTarget()
283 SetInstructionBits(Mask(~imm_mask) | branch_imm); in SetBranchImmTarget()
[all …]
/external/vixl/src/aarch64/
Ddecoder-aarch64.cc210 (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 …]
Ddisasm-aarch64.cc72 switch (instr->Mask(AddSubImmediateMask)) { in VisitAddSubImmediate()
119 switch (instr->Mask(AddSubShiftedMask)) { in VisitAddSubShifted()
170 switch (instr->Mask(AddSubExtendedMask)) { in VisitAddSubExtended()
210 switch (instr->Mask(AddSubWithCarryMask)) { in VisitAddSubWithCarry()
256 switch (instr->Mask(LogicalImmediateMask)) { in VisitLogicalImmediate()
326 switch (instr->Mask(LogicalShiftedMask)) { in VisitLogicalShifted()
387 switch (instr->Mask(ConditionalCompareRegisterMask)) { in VisitConditionalCompareRegister()
407 switch (instr->Mask(ConditionalCompareImmediateMask)) { in VisitConditionalCompareImmediate()
434 switch (instr->Mask(ConditionalSelectMask)) { in VisitConditionalSelect()
492 switch (instr->Mask(BitfieldMask)) { in VisitBitfield()
[all …]
Dinstructions-aarch64.cc66 if (Mask(LoadStoreAnyFMask) != LoadStoreAnyFixed) { in IsLoad()
70 if (Mask(LoadStorePairAnyFMask) == LoadStorePairAnyFixed) { in IsLoad()
71 return Mask(LoadStorePairLBit) != 0; in IsLoad()
73 LoadStoreOp op = static_cast<LoadStoreOp>(Mask(LoadStoreMask)); in IsLoad()
98 if (Mask(LoadStoreAnyFMask) != LoadStoreAnyFixed) { in IsStore()
102 if (Mask(LoadStorePairAnyFMask) == LoadStorePairAnyFixed) { in IsStore()
103 return Mask(LoadStorePairLBit) == 0; in IsStore()
105 LoadStoreOp op = static_cast<LoadStoreOp>(Mask(LoadStoreMask)); in IsStore()
295 if (Mask(PCRelAddressingMask) == ADRP) { in GetImmPCOffsetTarget()
299 VIXL_ASSERT(Mask(PCRelAddressingMask) == ADR); in GetImmPCOffsetTarget()
[all …]
/external/walt/hardware/kicad/walt_footprints.pretty/
DTeensy_DIP-28_W15.24mm.kicad_mod14 (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 …]
DBMI160.kicad_mod13 (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 …]
DSJ-43514-SMT-TR.kicad_mod20 (pad ~ thru_hole circle (at -3.5 0) (size 1.8 1.8) (drill 1.7) (layers *.Cu *.Mask F.SilkS))
21 (pad ~ thru_hole circle (at 3.5 0) (size 1.8 1.8) (drill 1.7) (layers *.Cu *.Mask F.SilkS))
22 (pad 3 smd rect (at -2.7 -3.7) (size 2.2 2.8) (layers F.Cu F.Paste F.Mask))
23 (pad 6 smd rect (at -5.5 -3.7) (size 2 2.8) (layers F.Cu F.Paste F.Mask))
24 (pad 1 smd rect (at -7.4 3.7) (size 2 2.8) (layers F.Cu F.Paste F.Mask))
25 (pad 4 smd rect (at -4.6 3.7) (size 2.2 2.8) (layers F.Cu F.Paste F.Mask))
26 (pad 2 smd rect (at 3.8 3.7) (size 2.8 2.8) (layers F.Cu F.Paste F.Mask))
27 (pad 5 smd rect (at 10.3 0) (size 2.8 2.8) (layers F.Cu F.Paste F.Mask))
/external/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp96 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/
DInstCombineVectorOps.cpp251 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/
DInstCombineVectorOps.cpp298 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/clang/include/clang/Basic/
DSanitizers.h52 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/
DGPRArith.cpp351 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/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dos.h167 unsigned char _BitScanForward(unsigned long *Index, unsigned long Mask) in _BitScanForward() argument
169 *Index = __builtin_ctz(Mask); in _BitScanForward()
170 return (Mask != 0); in _BitScanForward()
174 unsigned char _BitScanForward(unsigned int *Index, unsigned int Mask) in _BitScanForward() argument
176 *Index = __builtin_ctz(Mask); in _BitScanForward()
177 return (Mask != 0); in _BitScanForward()
181 unsigned char _BitScanReverse(unsigned long *Index, unsigned long Mask) in _BitScanReverse() argument
183 *Index = __builtin_clz(Mask); in _BitScanReverse()
184 return (Mask != 0); in _BitScanReverse()
188 unsigned char _BitScanReverse(unsigned int *Index, unsigned int Mask) in _BitScanReverse() argument
[all …]
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DGPRArith.cpp382 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/
DValueTracking.cpp60 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 …]
DAliasAnalysis.cpp83 ModRefResult Mask = ModRef; in getModRefInfo() local
85 Mask = Ref; in getModRefInfo()
109 if ((Mask & Mod) && pointsToConstantMemory(Loc)) in getModRefInfo()
110 Mask = ModRefResult(Mask & ~Mod); in getModRefInfo()
113 if (!AA) return Mask; in getModRefInfo()
117 return ModRefResult(AA->getModRefInfo(CS, Loc) & Mask); in getModRefInfo()
135 AliasAnalysis::ModRefResult Mask = ModRef; in getModRefInfo() local
140 Mask = ModRefResult(Mask & Ref); in getModRefInfo()
155 R = ModRefResult((R | getModRefInfo(CS1, CS2Loc)) & Mask); in getModRefInfo()
156 if (R == Mask) in getModRefInfo()
[all …]
/external/llvm/lib/Analysis/
DCostModel.cpp92 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/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp122 static bool isDeInterleaveMaskOfFactor(ArrayRef<int> Mask, unsigned Factor, in isDeInterleaveMaskOfFactor() argument
130 for (; i < Mask.size(); i++) in isDeInterleaveMaskOfFactor()
131 if (Mask[i] >= 0 && static_cast<unsigned>(Mask[i]) != Index + i * Factor) in isDeInterleaveMaskOfFactor()
134 if (i == Mask.size()) in isDeInterleaveMaskOfFactor()
146 static bool isDeInterleaveMask(ArrayRef<int> Mask, unsigned &Factor, in isDeInterleaveMask() argument
148 if (Mask.size() < 2) in isDeInterleaveMask()
153 if (isDeInterleaveMaskOfFactor(Mask, Factor, Index)) in isDeInterleaveMask()
165 static bool isReInterleaveMask(ArrayRef<int> Mask, unsigned &Factor) { in isReInterleaveMask() argument
166 unsigned NumElts = Mask.size(); in isReInterleaveMask()
183 if (Mask[i] >= 0 && in isReInterleaveMask()
[all …]
/external/llvm/include/llvm/ADT/
DSmallBitVector.h303 uintptr_t Mask = EMask - IMask; in set() local
304 setSmallBits(getSmallBits() | Mask); in set()
334 uintptr_t Mask = EMask - IMask; in reset() local
335 setSmallBits(getSmallBits() & ~Mask); in reset()
514 void setBitsInMask(const uint32_t *Mask, unsigned MaskWords = ~0u) {
516 applyMask<true, false>(Mask, MaskWords);
518 getPointer()->setBitsInMask(Mask, MaskWords);
523 void clearBitsInMask(const uint32_t *Mask, unsigned MaskWords = ~0u) {
525 applyMask<false, false>(Mask, MaskWords);
527 getPointer()->clearBitsInMask(Mask, MaskWords);
[all …]
/external/llvm/utils/PerfectShuffle/
DPerfectShuffle.cpp35 static unsigned getMaskElt(unsigned Mask, unsigned Elt) { in getMaskElt() argument
36 return (Mask >> ((3-Elt)*4)) & 0xF; in getMaskElt()
39 static unsigned setMaskElt(unsigned Mask, unsigned Elt, unsigned NewVal) { in setMaskElt() argument
41 return (Mask & ~(0xF << FieldShift)) | (NewVal << FieldShift); in setMaskElt()
45 static bool isValidMask(unsigned short Mask) { in isValidMask() argument
46 unsigned short UndefBits = Mask & 0x8888; in isValidMask()
47 return (Mask & ((UndefBits >> 1)|(UndefBits>>2)|(UndefBits>>3))) == 0; in isValidMask()
52 static bool hasUndefElements(unsigned short Mask) { in hasUndefElements() argument
53 return (Mask & 0x8888) != 0; in hasUndefElements()
58 static bool isOnlyLHSMask(unsigned short Mask) { in isOnlyLHSMask() argument
[all …]
/external/swiftshader/third_party/LLVM/utils/PerfectShuffle/
DPerfectShuffle.cpp35 static unsigned getMaskElt(unsigned Mask, unsigned Elt) { in getMaskElt() argument
36 return (Mask >> ((3-Elt)*4)) & 0xF; in getMaskElt()
39 static unsigned setMaskElt(unsigned Mask, unsigned Elt, unsigned NewVal) { in setMaskElt() argument
41 return (Mask & ~(0xF << FieldShift)) | (NewVal << FieldShift); in setMaskElt()
45 static bool isValidMask(unsigned short Mask) { in isValidMask() argument
46 unsigned short UndefBits = Mask & 0x8888; in isValidMask()
47 return (Mask & ((UndefBits >> 1)|(UndefBits>>2)|(UndefBits>>3))) == 0; in isValidMask()
52 static bool hasUndefElements(unsigned short Mask) { in hasUndefElements() argument
53 return (Mask & 0x8888) != 0; in hasUndefElements()
58 static bool isOnlyLHSMask(unsigned short Mask) { in isOnlyLHSMask() argument
[all …]
/external/llvm/lib/Support/Windows/
DWindowsSupport.h61 DWORDLONG Mask = 0; in RunningWindows8OrGreater() local
62 Mask = VerSetConditionMask(Mask, VER_MAJORVERSION, VER_GREATER_EQUAL); in RunningWindows8OrGreater()
63 Mask = VerSetConditionMask(Mask, VER_MINORVERSION, VER_GREATER_EQUAL); in RunningWindows8OrGreater()
64 Mask = VerSetConditionMask(Mask, VER_SERVICEPACKMAJOR, VER_GREATER_EQUAL); in RunningWindows8OrGreater()
68 Mask) != FALSE; in RunningWindows8OrGreater()

12345678910>>...19