Searched refs:Bit (Results 1 - 25 of 46) sorted by relevance

12

/freebsd-11-stable/sys/contrib/dev/acpica/components/utilities/
H A Dutownerid.c304 UINT32 Bit; local
337 Bit = (UINT32) 1 << ACPI_MOD_32 (OwnerId);
341 if (AcpiGbl_OwnerIdMask[Index] & Bit)
343 AcpiGbl_OwnerIdMask[Index] ^= Bit;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerTracePC.h224 unsigned Bit = 0; local
225 /**/ if (Counter >= 128) Bit = 7;
226 else if (Counter >= 32) Bit = 6;
227 else if (Counter >= 16) Bit = 5;
228 else if (Counter >= 8) Bit = 4;
229 else if (Counter >= 4) Bit = 3;
230 else if (Counter >= 3) Bit = 2;
231 else if (Counter >= 2) Bit = 1;
232 return Bit;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h416 virtual Init *getBit(unsigned Bit) const = 0;
473 Init *getBit(unsigned Bit) const override {
502 Init *getBit(unsigned Bit) const override {
503 assert(Bit < 1 && "Bit index out of range!");
557 Init *getBit(unsigned Bit) const override {
558 assert(Bit < NumBits && "Bit index out of range!");
559 return getTrailingObjects<Init *>()[Bit];
588 Init *getBit(unsigned Bit) cons
1107 unsigned Bit; member in class:llvm::final
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h197 void setGlobalObjectFlag(unsigned Bit, bool Val) { argument
198 unsigned Mask = 1 << Bit;
H A DModuleSummaryIndexYAML.h58 io.mapOptional("Bit", res.Bit);
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangSACheckersEmitter.cpp66 const auto *Bit = dyn_cast<BitInit>(B->getBit(i)); local
67 if (Bit)
68 Value |= uint64_t(Bit->getValue()) << i;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DJSONBackend.cpp51 } else if (auto *Bit = dyn_cast<BitInit>(&I)) {
52 return Bit->getValue() ? 1 : 0;
H A DTGLexer.h49 Bit, Bits, Class, Code, Dag, Def, Foreach, Defm, Field, In, Int, Let, List, enumerator in enum:llvm::tgtok::TokKind
H A DRecord.cpp381 if (auto *Bit = dyn_cast<BitInit>(getBit(i)))
382 Result |= static_cast<int64_t>(Bit->getValue()) << i;
415 if (Init *Bit = getBit(e-i-1))
416 Result += Bit->getAsString();
680 Init *OpInit::getBit(unsigned Bit) const {
683 return VarBitInit::get(const_cast<OpInit*>(this), Bit);
1357 Init *FoldOpInit::getBit(unsigned Bit) const {
1358 return VarBitInit::get(const_cast<FoldOpInit *>(this), Bit);
1420 Init *IsAOpInit::getBit(unsigned Bit) const {
1421 return VarBitInit::get(const_cast<IsAOpInit *>(this), Bit);
[all...]
H A DTGParser.cpp74 Init *Bit = BV->getBit(i); local
76 if (auto VBI = dyn_cast<VarBitInit>(Bit)) {
81 } else if (isa<VarInit>(Bit)) {
84 if (!(IsReference || Bit->isConcrete()))
197 unsigned Bit = BitList[i]; local
198 if (NewBits[Bit])
199 return Error(Loc, "Cannot set bit #" + Twine(Bit) + " of value '" +
201 NewBits[Bit] = BI->getBit(i);
804 case tgtok::Bit: Lex.Lex(); return BitRecTy::get();
1964 Init *Bit local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DX86EVEX2VEXTablesEmitter.cpp75 if (BitInit *Bit = dyn_cast<BitInit>(B->getBit(i)))
76 Value |= uint64_t(Bit->getValue()) << i;
H A DDFAEmitter.cpp335 if (auto *Bit = dyn_cast<BitInit>(NewStateInit->getBit(I))) {
336 if (Bit->getValue())
H A DX86FoldTablesEmitter.cpp197 BitInit *Bit = cast<BitInit>(B->getBit(i));
198 Value |= uint64_t(Bit->getValue()) << i;
H A DInstrInfoEmitter.cpp719 if (const auto *Bit = dyn_cast<BitInit>(TSF->getBit(i)))
720 Value |= uint64_t(Bit->getValue()) << i;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600Packetizer.cpp221 void setIsLastBit(MachineInstr *MI, unsigned Bit) const {
223 MI->getOperand(LastOp).setImm(Bit);
H A DSIMemoryLegalizer.cpp109 MachineOperand &Bit = MI->getOperand(BitIdx);
110 if (Bit.getImm() != 0)
113 Bit.setImm(1);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp45 uint64_t Bit = 1ULL << Shift;
46 auto PropName = ApplePropertyString(Bit);
50 OS << format("DW_APPLE_PROPERTY_0x%" PRIx64, Bit);
51 if (!(Val ^= Bit))
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp215 unsigned Bit = 0; local
217 if (BitAllocs[I] < BitAllocs[Bit])
218 Bit = I;
220 AllocByteOffset = BitAllocs[Bit];
224 BitAllocs[Bit] = ReqSize;
229 AllocMask = 1 << Bit;
802 Value *Bit = createBitSetTest(ThenB, TIL, BitOffset); local
810 P->addIncoming(Bit, ThenB.GetInsertBlock());
1136 for (auto Bit : BSI.Bits)
1137 InlineBits |= uint64_t(1) << Bit;
[all...]
H A DWholeProgramDevirt.cpp559 Constant *Byte, Constant *Bit);
1382 Constant *Byte, Constant *Bit) {
1390 Value *BitsAndBit = B.CreateAnd(Bits, Bit);
1492 ResByArg->Bit);
1742 Constant *Bit = importConstant(Slot, CSByConstantArg.first, "bit", Int8Ty, local
1743 ResByArg.Bit);
1744 applyVirtualConstProp(CSByConstantArg.second, "", Byte, Bit);
1381 applyVirtualConstProp(CallSiteInfo &CSInfo, StringRef FnName, Constant *Byte, Constant *Bit) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DCommandLine.h1722 template <class T> static unsigned Bit(const T &V) { function in class:llvm::bits_storage
1742 *Location |= Bit(V);
1748 return (*Location & Bit(V)) != 0;
1758 template <class T> static unsigned Bit(const T &V) {
1766 template <class T> void addValue(const T &V) { Bits |= Bit(V); }
1770 template <class T> bool isSet(const T &V) { return (Bits & Bit(V)) != 0; }
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfoMetadata.cpp207 if (DIFlags Bit = Flags & Flag##NAME) { \
208 SplitFlags.push_back(Bit); \
209 Flags &= ~Bit; \
622 if (DISPFlags Bit = Flags & SPFlag##NAME) { \
623 SplitFlags.push_back(Bit); \
624 Flags &= ~Bit; \
H A DFunction.cpp1540 void Function::setValueSubclassDataBit(unsigned Bit, bool On) { argument
1541 assert(Bit < 16 && "SubclassData contains only 16 bits");
1543 setValueSubclassData(getSubclassDataFromValue() | (1 << Bit));
1545 setValueSubclassData(getSubclassDataFromValue() & ~(1 << Bit));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/Utils/
H A DX86ShuffleDecode.cpp333 unsigned Bit = i % 8; local
334 ShuffleMask.push_back(((Imm >> Bit) & 1) ? NumElts + i : i);
349 // 2 - Bit reverse of source byte.
350 // 3 - Bit reverse of inverted source byte.
531 // Bits[3] - Match Bit.
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp1749 // (((X ^ XORValue) + AddValue) >> Bit)
1752 : XORValue(xorValue), AddValue(addValue), Bit(bit) {}
1756 unsigned Bit; member in struct:__anon2409::IPMConversion
1858 if (VT == MVT::i32 && IPM.Bit == 31) {
1861 CurDAG->getConstant(IPM.Bit, DL, MVT::i32));
1869 CurDAG->getConstant(IPM.Bit, DL, MVT::i32));
1873 // Sign-extend from IPM.Bit using a pair of shifts.
1874 int ShlAmt = VT.getSizeInBits() - 1 - IPM.Bit;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp1461 unsigned Bit = (1u << Reg);
1462 if ((Mask & Bit) == 0) {
1463 Mask |= Bit;

Completed in 376 milliseconds

12