Home
last modified time | relevance | path

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

123456

/freebsd-12.1/contrib/compiler-rt/lib/fuzzer/
H A DFuzzerTracePC.h219 unsigned Bit = 0; in CounterToFeature() local
220 /**/ if (Counter >= 128) Bit = 7; in CounterToFeature()
221 else if (Counter >= 32) Bit = 6; in CounterToFeature()
222 else if (Counter >= 16) Bit = 5; in CounterToFeature()
223 else if (Counter >= 8) Bit = 4; in CounterToFeature()
224 else if (Counter >= 4) Bit = 3; in CounterToFeature()
225 else if (Counter >= 3) Bit = 2; in CounterToFeature()
226 else if (Counter >= 2) Bit = 1; in CounterToFeature()
227 return Bit; in CounterToFeature()
/freebsd-12.1/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-12.1/contrib/llvm/tools/lld/ELF/Arch/
H A DHexagon.cpp76 for (size_t Bit = 0; Bit != 32; ++Bit) { in applyMask() local
78 uint32_t MaskBit = (Mask >> Bit) & 1; in applyMask()
80 Result |= (ValBit << Bit); in applyMask()
/freebsd-12.1/contrib/llvm/include/llvm/TableGen/
H A DRecord.h473 Init *getBit(unsigned Bit) const override { in getBit() argument
502 Init *getBit(unsigned Bit) const override { in getBit() argument
557 Init *getBit(unsigned Bit) const override { in getBit() argument
559 return getTrailingObjects<Init *>()[Bit]; in getBit()
745 Init *getBit(unsigned Bit) const override;
947 Init *getBit(unsigned Bit) const override;
980 Init *getBit(unsigned Bit) const override;
1017 Init *getBit(unsigned Bit) const override;
1025 unsigned Bit; variable
1047 unsigned getBitNum() const { return Bit; } in getBitNum()
[all …]
/freebsd-12.1/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-12.1/contrib/llvm/tools/clang/utils/TableGen/
H A DClangSACheckersEmitter.cpp66 const auto *Bit = dyn_cast<BitInit>(B->getBit(i)); in getValueFromBitsInit() local
67 if (Bit) in getValueFromBitsInit()
68 Value |= uint64_t(Bit->getValue()) << i; in getValueFromBitsInit()
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DDLL.cpp377 uint32_t Bit = 0; in writeTo() local
380 Bit = 1; in writeTo()
381 write32le(Buf + OutputSectionOff, (Thunk->getRVA() + Config->ImageBase) | Bit); in writeTo()
437 uint32_t Bit = 0; in writeTo() local
440 Bit = 1; in writeTo()
442 write32le(P, E.ForwardChunk->getRVA() | Bit); in writeTo()
444 write32le(P, cast<Defined>(E.Sym)->getRVA() | Bit); in writeTo()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DGlobalObject.h176 void setGlobalObjectFlag(unsigned Bit, bool Val) { in setGlobalObjectFlag() argument
177 unsigned Mask = 1 << Bit; in setGlobalObjectFlag()
/freebsd-12.1/contrib/llvm/lib/TableGen/
H A DRecord.cpp374 if (auto *Bit = dyn_cast<BitInit>(getBit(i))) in convertInitializerTo() local
408 if (Init *Bit = getBit(e-i-1)) in getAsString() local
409 Result += Bit->getAsString(); in getAsString()
666 Init *OpInit::getBit(unsigned Bit) const { in getBit()
1272 Init *FoldOpInit::getBit(unsigned Bit) const { in getBit()
1335 Init *IsAOpInit::getBit(unsigned Bit) const { in getBit()
1374 for (unsigned Bit : Bits) { in convertInitializerBitRange() local
1375 if (Bit >= NumBits) in convertInitializerBitRange()
1439 Init *VarInit::getBit(unsigned Bit) const { in getBit()
1464 return TI->getAsString() + "{" + utostr(Bit) + "}"; in getAsString()
[all …]
H A DJSONBackend.cpp52 } else if (auto *Bit = dyn_cast<BitInit>(&I)) { in translateInit() local
53 return Bit->getValue() ? 1 : 0; in translateInit()
H A DTGParser.cpp75 Init *Bit = BV->getBit(i); in checkBitsConcrete() local
77 if (auto VBI = dyn_cast<VarBitInit>(Bit)) { in checkBitsConcrete()
82 } else if (isa<VarInit>(Bit)) { in checkBitsConcrete()
85 if (!(IsReference || Bit->isConcrete())) in checkBitsConcrete()
198 unsigned Bit = BitList[i]; in SetValue() local
199 if (NewBits[Bit]) in SetValue()
202 NewBits[Bit] = BI->getBit(i); in SetValue()
785 case tgtok::Bit: Lex.Lex(); return BitRecTy::get(); in ParseType()
1771 Init *Bit = Vals[i]->getCastTo(BitRecTy::get()); in ParseSimpleValue() local
1772 if (!Bit) { in ParseSimpleValue()
[all …]
H A DTGLexer.h49 Bit, Bits, Class, Code, Dag, Def, Foreach, Defm, Field, In, Int, Let, List, enumerator
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DX86EVEX2VEXTablesEmitter.cpp93 if (BitInit *Bit = dyn_cast<BitInit>(B->getBit(i))) in getValueFromBitsInit() local
94 Value |= uint64_t(Bit->getValue()) << i; in getValueFromBitsInit()
H A DInstrInfoEmitter.cpp635 if (const auto *Bit = dyn_cast<BitInit>(TSF->getBit(i))) in emitRecord() local
636 Value |= uint64_t(Bit->getValue()) << i; in emitRecord()
/freebsd-12.1/contrib/ncurses/
H A DREADME.MinGW40 original MinGW toolchain from the above site is only for 32-Bit Windows. As
41 Windows Server - and also regular workstations - are moving to 64-Bit, it
46 of the gcc toolchain that can compile for native 32- and 64-Bit Windows
/freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp45 uint64_t Bit = 1ULL << Shift; in dumpApplePropertyAttribute() local
46 auto PropName = ApplePropertyString(Bit); in dumpApplePropertyAttribute()
50 OS << format("DW_APPLE_PROPERTY_0x%" PRIx64, Bit); in dumpApplePropertyAttribute()
51 if (!(Val ^= Bit)) in dumpApplePropertyAttribute()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp215 unsigned Bit = 0; in allocate() local
217 if (BitAllocs[I] < BitAllocs[Bit]) in allocate()
218 Bit = I; in allocate()
220 AllocByteOffset = BitAllocs[Bit]; in allocate()
224 BitAllocs[Bit] = ReqSize; in allocate()
229 AllocMask = 1 << Bit; in allocate()
744 Value *Bit = createBitSetTest(ThenB, TIL, BitOffset); in lowerTypeTestCall() local
752 P->addIncoming(Bit, ThenB.GetInsertBlock()); in lowerTypeTestCall()
1077 for (auto Bit : BSI.Bits) in lowerTypeTestCalls() local
1078 InlineBits |= uint64_t(1) << Bit; in lowerTypeTestCalls()
H A DWholeProgramDevirt.cpp522 Constant *Byte, Constant *Bit);
1179 Constant *Byte, Constant *Bit) { in applyVirtualConstProp() argument
1187 Value *BitsAndBit = B.CreateAnd(Bits, Bit); in applyVirtualConstProp()
1289 ResByArg->Bit); in tryVirtualConstProp()
1530 Constant *Bit = importConstant(Slot, CSByConstantArg.first, "bit", Int8Ty, in importResolution() local
1531 ResByArg.Bit); in importResolution()
1532 applyVirtualConstProp(CSByConstantArg.second, "", Byte, Bit); in importResolution()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DDebugInfoMetadata.cpp205 if (DIFlags Bit = Flags & Flag##NAME) { \ in splitFlags()
206 SplitFlags.push_back(Bit); \ in splitFlags()
207 Flags &= ~Bit; \ in splitFlags()
615 if (DISPFlags Bit = Flags & SPFlag##NAME) { \ in splitFlags()
616 SplitFlags.push_back(Bit); \ in splitFlags()
617 Flags &= ~Bit; \ in splitFlags()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DCommandLine.h1579 template <class T> static unsigned Bit(const T &V) {
1599 *Location |= Bit(V);
1605 return (*Location & Bit(V)) != 0;
1615 template <class T> static unsigned Bit(const T &V) {
1623 template <class T> void addValue(const T &V) { Bits |= Bit(V); }
1627 template <class T> bool isSet(const T &V) { return (Bits & Bit(V)) != 0; }
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DR600Packetizer.cpp222 void setIsLastBit(MachineInstr *MI, unsigned Bit) const { in setIsLastBit()
224 MI->getOperand(LastOp).setImm(Bit); in setIsLastBit()
H A DSIMemoryLegalizer.cpp110 MachineOperand &Bit = MI->getOperand(BitIdx); in enableNamedBit() local
111 if (Bit.getImm() != 0) in enableNamedBit()
114 Bit.setImm(1); in enableNamedBit()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp1672 : XORValue(xorValue), AddValue(addValue), Bit(bit) {} in IPMConversion()
1676 unsigned Bit; member
1778 if (VT == MVT::i32 && IPM.Bit == 31) { in expandSelectBoolean()
1781 CurDAG->getConstant(IPM.Bit, DL, MVT::i32)); in expandSelectBoolean()
1789 CurDAG->getConstant(IPM.Bit, DL, MVT::i32)); in expandSelectBoolean()
1794 int ShlAmt = VT.getSizeInBits() - 1 - IPM.Bit; in expandSelectBoolean()
/freebsd-12.1/contrib/llvm/lib/Target/X86/Utils/
H A DX86ShuffleDecode.cpp334 unsigned Bit = i % 8; in DecodeBLENDMask() local
335 ShuffleMask.push_back(((Imm >> Bit) & 1) ? NumElts + i : i); in DecodeBLENDMask()
/freebsd-12.1/contrib/binutils/gas/doc/
H A Dc-ia64.texi122 * IA-64-Bits:: Bit Names
161 @subsection IA-64 Processor-Status-Register (PSR) Bit Names

123456