Home
last modified time | relevance | path

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

12345678910>>...47

/external/llvm-project/llvm/include/llvm/MC/
DLaneBitmask.h46 explicit constexpr LaneBitmask(Type V) : Mask(V) {} in LaneBitmask()
48 constexpr bool operator== (LaneBitmask M) const { return Mask == M.Mask; }
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 none() const { return Mask == 0; } in none()
52 constexpr bool any() const { return Mask != 0; } in any()
53 constexpr bool all() const { return ~Mask == 0; } in all()
56 return LaneBitmask(~Mask);
59 return LaneBitmask(Mask | M.Mask);
62 return LaneBitmask(Mask & M.Mask);
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DLaneBitmask.h46 explicit constexpr LaneBitmask(Type V) : Mask(V) {} in LaneBitmask()
48 constexpr bool operator== (LaneBitmask M) const { return Mask == M.Mask; }
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 none() const { return Mask == 0; } in none()
52 constexpr bool any() const { return Mask != 0; } in any()
53 constexpr bool all() const { return ~Mask == 0; } in all()
56 return LaneBitmask(~Mask);
59 return LaneBitmask(Mask | M.Mask);
62 return LaneBitmask(Mask & M.Mask);
[all …]
/external/OpenCL-CTS/test_conformance/spir/
Drun_services.h69 enum {Mask = (1 << i)}; enumerator
75 enum {Mask = 1};
127 no_extensions = KhrValue<0>::Mask,
128 cl_khr_int64_base_atomics = KhrValue<1>::Mask,
129 cl_khr_int64_extended_atomics = KhrValue<2>::Mask,
130 cl_khr_3d_image_writes = KhrValue<3>::Mask,
131 cl_khr_fp16 = KhrValue<4>::Mask,
132 cl_khr_gl_sharing = KhrValue<5>::Mask,
133 cl_khr_gl_event = KhrValue<6>::Mask,
134 cl_khr_d3d10_sharing = KhrValue<7>::Mask,
[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 …]
/external/llvm-project/openmp/runtime/src/
Dkmp_affinity.h23 class Mask : public KMPAffinity::Mask {
27 Mask() { in Mask() function
31 ~Mask() { hwloc_bitmap_free(mask); } in ~Mask()
36 void copy(const KMPAffinity::Mask *src) override { in copy()
37 const Mask *convert = static_cast<const Mask *>(src); in copy()
40 void bitwise_and(const KMPAffinity::Mask *rhs) override { in bitwise_and()
41 const Mask *convert = static_cast<const Mask *>(rhs); in bitwise_and()
44 void bitwise_or(const KMPAffinity::Mask *rhs) override { in bitwise_or()
45 const Mask *convert = static_cast<const Mask *>(rhs); in bitwise_or()
138 KMPAffinity::Mask *mask; in bind_thread()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIModeRegister.cpp42 unsigned Mask; member
45 Status() : Mask(0), Mode(0){}; in Status()
47 Status(unsigned NewMask, unsigned NewMode) : Mask(NewMask), Mode(NewMode) { in Status()
48 Mode &= Mask; in Status()
54 return Status((Mask | S.Mask), ((Mode & ~S.Mask) | (S.Mode & S.Mask))); in merge()
60 return Status(Mask & ~newMask, Mode & ~newMask); in mergeUnknown()
66 unsigned NewMask = (Mask & S.Mask) & (Mode ^ ~S.Mode); in intersect()
73 return Status((S.Mask & (Mode ^ S.Mode)) | (~Mask & S.Mask), S.Mode); in delta()
77 return (Mask == S.Mask) && (Mode == S.Mode); in operator ==()
83 return ((Mask & S.Mask) == S.Mask) && ((Mode & S.Mask) == S.Mode); in isCompatible()
[all …]
DAMDGPUArgumentUsageInfo.h37 unsigned Mask; member
43 ArgDescriptor(unsigned Val = 0, unsigned Mask = ~0u,
45 : Reg(Val), Mask(Mask), IsStack(IsStack), IsSet(IsSet) {} in Reg()
47 static ArgDescriptor createRegister(Register Reg, unsigned Mask = ~0u) {
48 return ArgDescriptor(Reg, Mask, false, true);
51 static ArgDescriptor createStack(unsigned Offset, unsigned Mask = ~0u) {
52 return ArgDescriptor(Offset, Mask, true, true);
55 static ArgDescriptor createArg(const ArgDescriptor &Arg, unsigned Mask) { in createArg()
56 return ArgDescriptor(Arg.Reg, Mask, Arg.IsStack, Arg.IsSet); in createArg()
82 return Mask; in getMask()
[all …]
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp104 void converted(Instruction *I, Value *V, int Mask, bool Worthy) { in converted() argument
105 ConvertedInsts[I] = std::make_tuple(V, Mask, Worthy); in converted()
212 int Mask = 0; in convertFCmp() local
214 Mask |= Masks[WhichConst][0]; in convertFCmp()
216 Mask |= Masks[WhichConst][1]; in convertFCmp()
218 Mask |= Masks[WhichConst][2]; in convertFCmp()
220 Mask |= Masks[WhichConst][3]; in convertFCmp()
228 Mask &= SystemZ::TDCMASK_PLUS; in convertFCmp()
229 Mask |= Mask >> 1; in convertFCmp()
237 converted(&I, Op0, Mask, Worthy); in convertFCmp()
[all …]
/external/swiftshader/third_party/llvm-10.0/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/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/llvm-project/llvm/lib/Target/AMDGPU/
DSIModeRegister.cpp42 unsigned Mask; member
45 Status() : Mask(0), Mode(0){}; in Status()
47 Status(unsigned NewMask, unsigned NewMode) : Mask(NewMask), Mode(NewMode) { in Status()
48 Mode &= Mask; in Status()
54 return Status((Mask | S.Mask), ((Mode & ~S.Mask) | (S.Mode & S.Mask))); in merge()
60 return Status(Mask & ~newMask, Mode & ~newMask); in mergeUnknown()
66 unsigned NewMask = (Mask & S.Mask) & (Mode ^ ~S.Mode); in intersect()
73 return Status((S.Mask & (Mode ^ S.Mode)) | (~Mask & S.Mask), S.Mode); in delta()
77 return (Mask == S.Mask) && (Mode == S.Mode); in operator ==()
83 return ((Mask & S.Mask) == S.Mask) && ((Mode & S.Mask) == S.Mode); in isCompatible()
[all …]
DAMDGPUArgumentUsageInfo.h35 unsigned Mask; member
41 constexpr ArgDescriptor(unsigned Val = 0, unsigned Mask = ~0u,
43 : Reg(Val), Mask(Mask), IsStack(IsStack), IsSet(IsSet) {} in Reg()
46 unsigned Mask = ~0u) {
47 return ArgDescriptor(Reg, Mask, false, true);
51 unsigned Mask = ~0u) {
52 return ArgDescriptor(Offset, Mask, true, true);
56 unsigned Mask) { in createArg()
57 return ArgDescriptor(Arg.Reg, Mask, Arg.IsStack, Arg.IsSet); in createArg()
83 return Mask; in getMask()
[all …]
/external/vixl/src/aarch64/
Dinstructions-aarch64.cc48 bool movprfx_is_predicated = movprfx->Mask(SVEMovprfxMask) == MOVPRFX_z_p_z; in CanTakeSVEMovprfx()
50 movprfx->Mask(SVEConstructivePrefix_UnpredicatedMask) == MOVPRFX_z_z; in CanTakeSVEMovprfx()
64 switch (Mask(SVEBitwiseLogicalWithImm_UnpredicatedMask)) { in CanTakeSVEMovprfx()
70 switch (Mask(SVEBitwiseLogical_PredicatedMask)) { in CanTakeSVEMovprfx()
82 switch (Mask(SVEBitwiseShiftByImm_PredicatedMask)) { in CanTakeSVEMovprfx()
96 switch (Mask(SVEBitwiseShiftByVector_PredicatedMask)) { in CanTakeSVEMovprfx()
110 switch (Mask(SVEBitwiseShiftByWideElements_PredicatedMask)) { in CanTakeSVEMovprfx()
121 switch (Mask(SVEConditionallyBroadcastElementToVectorMask)) { in CanTakeSVEMovprfx()
128 switch (Mask(SVECopyFPImm_PredicatedMask)) { in CanTakeSVEMovprfx()
136 switch (Mask(SVECopyGeneralRegisterToVector_PredicatedMask)) { in CanTakeSVEMovprfx()
[all …]
Ddisasm-aarch64.cc75 switch (instr->Mask(AddSubImmediateMask)) { in VisitAddSubImmediate()
122 switch (instr->Mask(AddSubShiftedMask)) { in VisitAddSubShifted()
173 switch (instr->Mask(AddSubExtendedMask)) { in VisitAddSubExtended()
213 switch (instr->Mask(AddSubWithCarryMask)) { in VisitAddSubWithCarry()
251 switch (instr->Mask(RotateRightIntoFlagsMask)) { in VisitRotateRightIntoFlags()
268 switch (instr->Mask(EvaluateIntoFlagsMask)) { in VisitEvaluateIntoFlags()
297 switch (instr->Mask(LogicalImmediateMask)) { in VisitLogicalImmediate()
367 switch (instr->Mask(LogicalShiftedMask)) { in VisitLogicalShifted()
428 switch (instr->Mask(ConditionalCompareRegisterMask)) { in VisitConditionalCompareRegister()
448 switch (instr->Mask(ConditionalCompareImmediateMask)) { in VisitConditionalCompareImmediate()
[all …]
/external/llvm-project/clang/lib/Basic/
DSanitizerBlacklist.cpp30 bool SanitizerBlacklist::isBlacklistedGlobal(SanitizerMask Mask, in isBlacklistedGlobal() argument
33 return SSCL->inSection(Mask, "global", GlobalName, Category); in isBlacklistedGlobal()
36 bool SanitizerBlacklist::isBlacklistedType(SanitizerMask Mask, in isBlacklistedType() argument
39 return SSCL->inSection(Mask, "type", MangledTypeName, Category); in isBlacklistedType()
42 bool SanitizerBlacklist::isBlacklistedFunction(SanitizerMask Mask, in isBlacklistedFunction() argument
44 return SSCL->inSection(Mask, "fun", FunctionName); in isBlacklistedFunction()
47 bool SanitizerBlacklist::isBlacklistedFile(SanitizerMask Mask, in isBlacklistedFile() argument
50 return SSCL->inSection(Mask, "src", FileName, Category); in isBlacklistedFile()
53 bool SanitizerBlacklist::isBlacklistedLocation(SanitizerMask Mask, in isBlacklistedLocation() argument
57 isBlacklistedFile(Mask, SM.getFilename(SM.getFileLoc(Loc)), Category); in isBlacklistedLocation()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dos.h107 inline unsigned char _BitScanForward64(unsigned long* Index, uint64_t Mask) in _BitScanForward64() argument
110 *Index = __builtin_ctzll(Mask); in _BitScanForward64()
114 if ((1ULL << i) & Mask) in _BitScanForward64()
117 return (Mask != 0); in _BitScanForward64()
120 inline unsigned char _BitScanReverse64(unsigned long* Index, uint64_t Mask) in _BitScanReverse64() argument
123 *Index = 63 - __builtin_clzll(Mask); in _BitScanReverse64()
127 if ((1ULL << i) & Mask) in _BitScanReverse64()
130 return (Mask != 0); in _BitScanReverse64()
227 inline unsigned char _BitScanForward64(unsigned long* Index, uint64_t Mask) in _BitScanForward64() argument
229 *Index = __builtin_ctzll(Mask); in _BitScanForward64()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp80 static bool isConstantIntVector(Value *Mask) { in isConstantIntVector() argument
81 Constant *C = dyn_cast<Constant>(Mask); in isConstantIntVector()
85 unsigned NumElts = Mask->getType()->getVectorNumElements(); in isConstantIntVector()
130 Value *Mask = CI->getArgOperand(2); in scalarizeMaskedLoad() local
146 if (isa<Constant>(Mask) && cast<Constant>(Mask)->isAllOnesValue()) { in scalarizeMaskedLoad()
164 if (isConstantIntVector(Mask)) { in scalarizeMaskedLoad()
166 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedLoad()
182 SclrMask = Builder.CreateBitCast(Mask, SclrMaskTy, "scalar_mask"); in scalarizeMaskedLoad()
195 Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx)); in scalarizeMaskedLoad() local
196 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedLoad()
[all …]
/external/llvm-project/clang/include/clang/Basic/
DXRayInstr.h50 return Mask & K; in has()
53 bool hasOneOf(XRayInstrMask K) const { return Mask & K; } in hasOneOf()
56 Mask = Value ? (Mask | K) : (Mask & ~K); in set()
59 void clear(XRayInstrMask K = XRayInstrKind::All) { Mask &= ~K; }
61 bool empty() const { return Mask == 0; } in empty()
63 bool full() const { return Mask == XRayInstrKind::All; } in full()
65 XRayInstrMask Mask = 0; member
/external/llvm-project/llvm/lib/Transforms/Scalar/
DScalarizeMaskedMemIntrin.cpp82 static bool isConstantIntVector(Value *Mask) { in isConstantIntVector() argument
83 Constant *C = dyn_cast<Constant>(Mask); in isConstantIntVector()
87 unsigned NumElts = cast<FixedVectorType>(Mask->getType())->getNumElements(); in isConstantIntVector()
132 Value *Mask = CI->getArgOperand(2); in scalarizeMaskedLoad() local
148 if (isa<Constant>(Mask) && cast<Constant>(Mask)->isAllOnesValue()) { in scalarizeMaskedLoad()
167 if (isConstantIntVector(Mask)) { in scalarizeMaskedLoad()
169 if (cast<Constant>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedLoad()
185 SclrMask = Builder.CreateBitCast(Mask, SclrMaskTy, "scalar_mask"); in scalarizeMaskedLoad()
198 Value *Mask = Builder.getInt(APInt::getOneBitSet(VectorWidth, Idx)); in scalarizeMaskedLoad() local
199 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedLoad()
[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/lottie/lottie/src/main/java/com/airbnb/lottie/parser/
DMaskParser.java6 import com.airbnb.lottie.model.content.Mask;
16 static Mask parse( in parse()
18 Mask.MaskMode maskMode = null; in parse()
30 maskMode = Mask.MaskMode.MASK_MODE_ADD; in parse()
33 maskMode = Mask.MaskMode.MASK_MODE_SUBTRACT; in parse()
36 maskMode = Mask.MaskMode.MASK_MODE_NONE; in parse()
41 maskMode = Mask.MaskMode.MASK_MODE_INTERSECT; in parse()
45 maskMode = Mask.MaskMode.MASK_MODE_ADD; in parse()
63 return new Mask(maskMode, maskPath, opacity, inverted); in parse()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp472 SmallVectorImpl<int> &Mask) { in collectSingleShuffleElements() argument
478 Mask.assign(NumElts, -1); in collectSingleShuffleElements()
484 Mask.push_back(i); in collectSingleShuffleElements()
490 Mask.push_back(i + NumElts); in collectSingleShuffleElements()
507 if (collectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in collectSingleShuffleElements()
509 Mask[InsertedIdx] = -1; in collectSingleShuffleElements()
523 if (collectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in collectSingleShuffleElements()
526 Mask[InsertedIdx % NumElts] = ExtractedIdx; in collectSingleShuffleElements()
529 Mask[InsertedIdx % NumElts] = ExtractedIdx + NumLHSElts; in collectSingleShuffleElements()
627 static ShuffleOps collectShuffleElements(Value *V, SmallVectorImpl<int> &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/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp446 SmallVectorImpl<Constant*> &Mask) { in collectSingleShuffleElements() argument
452 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); in collectSingleShuffleElements()
458 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i)); in collectSingleShuffleElements()
464 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), in collectSingleShuffleElements()
482 if (collectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in collectSingleShuffleElements()
484 Mask[InsertedIdx] = UndefValue::get(Type::getInt32Ty(V->getContext())); in collectSingleShuffleElements()
497 if (collectSingleShuffleElements(VecOp, LHS, RHS, Mask)) { in collectSingleShuffleElements()
500 Mask[InsertedIdx % NumElts] = in collectSingleShuffleElements()
505 Mask[InsertedIdx % NumElts] = in collectSingleShuffleElements()
607 SmallVectorImpl<Constant *> &Mask, in collectShuffleElements() argument
[all …]

12345678910>>...47