Home
last modified time | relevance | path

Searched refs:Bit (Results 1 – 25 of 213) sorted by relevance

123456789

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp58 int getVariableBit(const std::string &VarName, const BitsInit *BI, int Bit);
84 const BitsInit *BI, int Bit) { in getVariableBit() argument
85 if (const VarBitInit *VBI = dyn_cast<VarBitInit>(BI->getBit(Bit))) { in getVariableBit()
89 } else if (const VarInit *VI = dyn_cast<VarInit>(BI->getBit(Bit))) { in getVariableBit()
107 int Bit = BI->getNumBits() - 1; in addCodeToMergeInOperand() local
110 for (; Bit >= 0;) { in addCodeToMergeInOperand()
111 if (getVariableBit(VarName, BI, Bit) != -1) in addCodeToMergeInOperand()
114 --Bit; in addCodeToMergeInOperand()
119 if (Bit < 0) in addCodeToMergeInOperand()
179 for (int TmpBit = Bit; TmpBit >= 0;) { in addCodeToMergeInOperand()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTrieHashIndexGenerator.h68 size_t hint(unsigned Index, unsigned Bit) { in hint()
69 assert(Bit < Bytes.size() * 8); in hint()
70 assert(Bit == 0 || (Bit - NumRootBits) % NumSubtrieBits == 0); in hint()
71 StartBit = Bit; in hint()
H A DBitVector.h164 for (auto Bit : Bits) in count() local
165 NumBits += llvm::popcount(Bit); in count()
171 return any_of(Bits, [](BitWord Bit) { return Bit != 0; }); in any()
432 for (auto &Bit : Bits) in flip()
433 Bit = ~Bit; in flip()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerTracePC.h226 unsigned Bit = 0; in CounterToFeature() local
227 /**/ if (Counter >= 128) Bit = 7; in CounterToFeature()
228 else if (Counter >= 32) Bit = 6; in CounterToFeature()
229 else if (Counter >= 16) Bit = 5; in CounterToFeature()
230 else if (Counter >= 8) Bit = 4; in CounterToFeature()
231 else if (Counter >= 4) Bit = 3; in CounterToFeature()
232 else if (Counter >= 3) Bit = 2; in CounterToFeature()
233 else if (Counter >= 2) Bit = 1; in CounterToFeature()
234 return Bit; in CounterToFeature()
/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Dutownerid.c304 UINT32 Bit; in AcpiUtReleaseOwnerId() local
337 Bit = (UINT32) 1 << ACPI_MOD_32 (OwnerId); in AcpiUtReleaseOwnerId()
341 if (AcpiGbl_OwnerIdMask[Index] & Bit) in AcpiUtReleaseOwnerId()
343 AcpiGbl_OwnerIdMask[Index] ^= Bit; in AcpiUtReleaseOwnerId()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dsize_class_map.h153 for (u8 Bit = 0; Bit != 64; ++Bit) { in LSBTable() local
154 if (Config::Classes[I] & (1 << Bit)) { in LSBTable()
155 Tab[I] = Bit; in LSBTable()
156 if (Bit < Min) in LSBTable()
157 Min = Bit; in LSBTable()
158 if (Bit > Max) in LSBTable()
159 Max = Bit; in LSBTable()
/freebsd/sys/contrib/device-tree/Bindings/media/
H A Dti-am437x-vpfe.txt15 1 - 8 Bit BT656 Interface.
16 2 - 10 Bit BT656 Interface.
17 3 - YCbCr 8 Bit Interface.
18 4 - YCbCr 16 Bit Interface.
/freebsd/contrib/llvm-project/llvm/lib/Frontend/HLSL/
H A DHLSLRootSignature.cpp44 unsigned Bit = 1u << llvm::countr_zero(Remaining); in printFlags() local
45 if (Remaining & Bit) { in printFlags()
49 auto MaybeFlag = getEnumName(T(Bit), Flags); in printFlags()
53 OS << "invalid: " << Bit; in printFlags()
57 Remaining &= ~Bit; in printFlags()
/freebsd/contrib/file/magic/Magdir/
H A Dsmile14 # Bit 2 (mask 0x04): Whether raw binary (unescaped 8-bit) values may be present in content
15 # Bit 1 (mask 0x02): Whether shared String value checking was enabled during encoding, default …
16 # Bit 0 (mask 0x01): Whether shared property name checking was enabled during encoding, default…
/freebsd/sys/contrib/device-tree/Bindings/input/
H A Dpxa27x-keypad.txt28 - marvell,rotary0 : It is a u32 value. Bit[31:16] is the
29 linux key-code for rotary up. Bit[15:0] is the linux key-code
34 axes measurement in the device. It is a u32 value. Bit[31:16]
35 is for rotary 1, and Bit[15:0] is for rotary 0.
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILShaderFlags.h48 constexpr uint64_t getMask(int Bit) const { in getMask()
49 return Bit != -1 ? 1ull << Bit : 0; in getMask()
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h409 virtual const Init *getBit(unsigned Bit) const = 0;
478 const Init *getBit(unsigned Bit) const override { return this; } in getBit() argument
546 const Init *getBit(unsigned Bit) const override { return Value->getBit(Bit); } in getBit() argument
578 const Init *getBit(unsigned Bit) const override { in getBit() argument
579 assert(Bit < 1 && "Bit index out of range!"); in getBit()
628 const Init *getBit(unsigned Bit) const override { return getBits()[Bit]; } in getBit() argument
657 const Init *getBit(unsigned Bit) const override { in getBit() argument
658 return BitInit::get(getRecordKeeper(), (Value & (1ULL << Bit)) != 0); in getBit()
687 const Init *getBit(unsigned Bit) const override { in getBit() argument
739 const Init *getBit(unsigned Bit) const override { in getBit() argument
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DTargetFeaturesEmitter.cpp72 unsigned Bit = FeatureMap.lookup(Feature); in printFeatureMask() local
73 Mask[Bit / 64] |= 1ULL << (Bit % 64); in printFeatureMask()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPContext.cpp139 for (unsigned Bit : ActiveTraits.set_bits()) { in OMPContext()
140 TraitProperty Property = TraitProperty(Bit); in OMPContext()
188 for (unsigned Bit : VMI0.RequiredTraits.set_bits()) in isStrictSubset() local
189 if (!VMI1.RequiredTraits.test(Bit)) in isStrictSubset()
248 for (unsigned Bit : VMI.RequiredTraits.set_bits()) { in isVariantApplicableInContextHelper() local
249 TraitProperty Property = TraitProperty(Bit); in isVariantApplicableInContextHelper()
335 for (unsigned Bit : VMI.RequiredTraits.set_bits()) { in getVariantMatchScore() local
336 TraitProperty Property = TraitProperty(Bit); in getVariantMatchScore()
/freebsd/sys/contrib/device-tree/src/arm/marvell/
H A Darmada-xp-crs305-1g-4s-bit.dts3 * Device Tree file for MikroTik CRS305-1G-4S+ Bit board
12 model = "MikroTik CRS305-1G-4S+ Bit";
H A Darmada-xp-crs326-24g-2s-bit.dts3 * Device Tree file for MikroTik CRS326-24G-2S+ Bit board
12 model = "MikroTik CRS326-24G-2S+ Bit";
H A Darmada-xp-crs328-4c-20s-4s-bit.dts3 * Device Tree file for MikroTik CRS328-4C-20S-4S+ Bit board
12 model = "MikroTik CRS328-4C-20S-4S+ Bit";
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp521 if (auto *Bit = dyn_cast<BitInit>(InitV)) in convertInitializerToInt() local
522 Result |= static_cast<int64_t>(Bit->getValue()) << Idx; in convertInitializerToInt()
532 for (auto [Bit, NewBit] : zip_equal(Bits, NewBits)) { in convertInitializerBitRange()
533 if (Bit >= getNumBits()) in convertInitializerBitRange()
535 NewBit = getBit(Bit); in convertInitializerBitRange()
541 return all_of(getBits(), [](const Init *Bit) { return Bit->isComplete(); }); in isComplete() argument
544 return all_of(getBits(), [](const Init *Bit) { return !Bit->isComplete(); }); in allInComplete() argument
547 return all_of(getBits(), [](const Init *Bit) { return Bit->isConcrete(); }); in isConcrete() argument
553 for (const Init *Bit : reverse(getBits())) { in getAsString() local
555 if (Bit) in getAsString()
[all …]
H A DJSONBackend.cpp46 if (const auto *Bit = dyn_cast<BitInit>(&I)) in translateInit() local
47 return Bit->getValue() ? 1 : 0; in translateInit()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangSACheckersEmitter.cpp65 const auto *Bit = dyn_cast<BitInit>(B->getBit(i)); in getValueFromBitsInit() local
66 if (Bit) in getValueFromBitsInit()
67 Value |= uint64_t(Bit->getValue()) << i; in getValueFromBitsInit()
/freebsd/sys/contrib/device-tree/Bindings/hsi/
H A Dclient-devices.txt9 - hsi-rx-mode: Receiver Bit transmission mode ("stream" or "frame")
10 - hsi-tx-mode: Transmitter Bit transmission mode ("stream" or "frame")
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h170 void setGlobalObjectFlag(unsigned Bit, bool Val) { in setGlobalObjectFlag() argument
171 unsigned Mask = 1 << Bit; in setGlobalObjectFlag()
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Drenesas,emev2-smu.txt22 - reg: Byte offset from SMU base and Bit position in the register
33 - reg: Byte offset from SMU base and Bit position in the register
H A Dzynq-7000.txt26 - fclk-enable : Bit mask to enable FCLKs statically at boot time.
27 Bit [0..3] correspond to FCLK0..FCLK3. The corresponding
/freebsd/crypto/openssl/doc/man3/
H A DOPENSSL_riscvcap.pod65 Bit-manipulation for Cryptography
129 Vector Basic Bit-manipulation
141 Vector Cryptography Bit-manipulation

123456789