Home
last modified time | relevance | path

Searched refs:BitField (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-cpp/
H A Dmain.cpp10 typedef int BitField; // should show as hex typedef
12 typedef BitField SignalMask; // should show as hex
13 typedef BitField Modifiers; // should show as hex
73 BitField BFILookHex = 7; in main()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dauto-type-from-cxx.cpp16 struct BitField { int field:2; }; in d() argument
17 __auto_type h = BitField{1}.field; // (should work from C++) in d()
/llvm-project-15.0.7/llvm/test/DebugInfo/COFF/
H A Dbitfields.ll31 ; CHECK: BitField ([[S0_x:.*]]) {
54 ; CHECK: BitField ([[S1_y_z:.*]]) {
60 ; CHECK: BitField ([[S1_w:.*]]) {
91 ; CHECK: BitField ([[S1_u:.*]]) {
143 ; CHECK: BitField ([[S2_y:.*]]) {
H A Dpr37492.ll15 ; CHECK-LABEL: # BitField (0x1001)
/llvm-project-15.0.7/llvm/lib/XRay/
H A DFDRTraceWriter.cpp63 uint32_t BitField = in FDRTraceWriter() local
70 OS.write(BitField); in FDRTraceWriter()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/CodeView/
H A DTypeIndexDiscoveryTest.cpp210 static BitFieldRecord BitField(TypeIndex(37), 1, 0); variable
389 writeTypeRecords(BitField); in TEST_F()
390 checkTypeReferences(0, BitField.Type); in TEST_F()
431 Union, Enum, BitField, VFTable, VTableShape, in TEST_F()
452 checkTypeReferences(15, BitField.Type); in TEST_F()
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DTypeDumpVisitor.cpp396 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, BitFieldRecord &BitField) { in visitKnownRecord() argument
397 printTypeIndex("Type", BitField.getType()); in visitKnownRecord()
398 W->printNumber("BitSize", BitField.getBitSize()); in visitKnownRecord()
399 W->printNumber("BitOffset", BitField.getBitOffset()); in visitKnownRecord()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGValue.h175 BitField, // This is a bitfield l-value, use getBitfield*. enumerator
267 bool isBitField() const { return LVType == BitField; } in isBitField()
452 R.LVType = BitField; in MakeBitfield()
H A DTargetInfo.cpp3149 bool BitField = i->isBitField(); in classify() local
3152 if (BitField && i->isUnnamedBitfield()) in classify()
3172 if (!BitField && Offset % getContext().getTypeAlign(i->getType())) { in classify()
3189 if (BitField) { in classify()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDebugInfoFlags.def51 HANDLE_DI_FLAG((1 << 19), BitField)
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DPrettyVariableDumper.cpp76 case PDB_LocType::BitField: in start()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDecl.h2874 unsigned BitField : 1; variable
2925 BitField(false), Mutable(Mutable), CachedFieldIndex(0), in FieldDecl()
2951 bool isBitField() const { return BitField; } in isBitField()
2963 if (!BitField) in getBitWidth()
2976 assert(!hasCapturedVLAType() && !BitField && in setBitWidth()
2984 BitField = true; in setBitWidth()
2992 BitField = false; in removeBitWidth()
3024 if (BitField) in getInClassInitializer()
3032 if (BitField) in setInClassInitializer()
/llvm-project-15.0.7/llvm/test/DebugInfo/PDB/Inputs/
H A Devery-type.yaml282 # TYPE_RECORD(LF_BITFIELD, 0x1205, BitField)
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h299 BitField, enumerator
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewTypes.def57 TYPE_RECORD(LF_BITFIELD, 0x1205, BitField)
H A DTypeRecord.h540 : TypeRecord(TypeRecordKind::BitField), Type(Type), BitSize(BitSize), in BitFieldRecord()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp175 CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, BitField, "bitfield", OS) in operator <<()
/llvm-project-15.0.7/llvm/bindings/ocaml/debuginfo/
H A Dllvm_debuginfo.ml84 | BitField Constructor
H A Dllvm_debuginfo.mli84 | BitField Constructor
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaInit.cpp9219 FieldDecl *BitField = Args[0]->getSourceBitField(); in Diagnose() local
9222 << (BitField ? BitField->getDeclName() : DeclarationName()) in Diagnose()
9223 << (BitField != nullptr) in Diagnose()
9225 if (BitField) in Diagnose()
9226 S.Diag(BitField->getLocation(), diag::note_bitfield_decl); in Diagnose()
H A DSemaChecking.cpp12425 if (const auto *BitField = E->getSourceBitField()) in GetExprRange() local
12426 return IntRange(BitField->getBitWidthValue(C), in GetExprRange()
12427 BitField->getType()->isUnsignedIntegerOrEnumerationType()); in GetExprRange()
15439 FieldDecl *BitField, in CheckBitFieldInitialization() argument
15441 (void) AnalyzeBitFieldAssignment(*this, BitField, Init, InitLoc); in CheckBitFieldInitialization()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1282 if (location_type == PDB_LocType::BitField) in AddRecordMembers()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp9019 const SDValue BitField = DAG.getTargetConstant(Denorm32Reg, SL, MVT::i32); in LowerFDIV32() local
9042 {EnableDenormValue, BitField, DAG.getEntryNode()}); in LowerFDIV32()
9087 {DisableDenormValue, BitField, Fma4.getValue(1), Fma4.getValue(2)}); in LowerFDIV32()