Home
last modified time | relevance | path

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

12

/llvm-project/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
88 BitField BFILookHex = 7; in main()
/llvm-project/clang/test/SemaCXX/
H A Dauto-type-from-cxx.cpp16 struct BitField { int field:2; }; in d() struct
17 __auto_type h = BitField{1}.field; // (should work from C++) in d()
/llvm-project/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/llvm/lib/XRay/
H A DFDRTraceWriter.cpp63 uint32_t BitField = in FDRTraceWriter() local
70 OS.write(BitField); in FDRTraceWriter()
/llvm-project/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/clang-tools-extra/clang-tidy/bugprone/
H A DTooSmallLoopVariableCheck.cpp126 if (const auto *BitField = IntExpr->getSourceBitField()) { in calcMagnitudeBits() local
127 unsigned BitFieldWidth = BitField->getBitWidthValue(); in calcMagnitudeBits()
/llvm-project/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/clang/lib/CodeGen/
H A DCGValue.h186 BitField, // This is a bitfield l-value, use getBitfield*.
204 // BitField start bit and size
280 bool isBitField() const { return LVType == BitField; }
472 R.LVType = BitField;
/llvm-project/llvm/include/llvm/IR/
H A DDebugInfoFlags.def51 HANDLE_DI_FLAG((1 << 19), BitField)
/llvm-project/clang/include/clang/AST/
H A DDecl.h3065 unsigned BitField : 1; in castFromDeclContext()
3089 // Active member if ISK is not ISK_CapturedVLAType and BitField is false.
3091 // Active member if ISK is ISK_NoInit and BitField is true.
3093 // Active member if ISK is ISK_InClass*Init and BitField is true.
3104 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), BitField(false),
3143 bool isBitField() const { return BitField; }
3157 if (!BitField) in isMutable()
3171 assert(!hasCapturedVLAType() && !BitField &&
3179 BitField = true;
3191 BitField in setBitWidth()
[all...]
/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyVariableDumper.cpp76 case PDB_LocType::BitField: in start()
/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h299 BitField, enumerator
/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp951 FieldDecl *BitField = E->getSourceBitField(); in ActOnMSAsmStmt()
954 Diag(BitField->getLocation(), diag::note_bitfield_decl); in ActOnMSAsmStmt()
953 FieldDecl *BitField = E->getSourceBitField(); ActOnMSAsmStmt() local
H A DSemaInit.cpp8921 FieldDecl *BitField = Args[0]->getSourceBitField(); in Diagnose()
8924 << (BitField ? BitField->getDeclName() : DeclarationName()) in Diagnose()
8925 << (BitField != nullptr) in Diagnose()
8927 if (BitField) in Diagnose()
8928 S.Diag(BitField->getLocation(), diag::note_bitfield_decl); in Diagnose()
8753 FieldDecl *BitField = Args[0]->getSourceBitField(); Diagnose() local
/llvm-project/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/llvm/lib/DebugInfo/PDB/
H A DPDBExtras.cpp176 CASE_OUTPUT_ENUM_CLASS_STR(PDB_LocType, BitField, "bitfield", OS) in operator <<()
/llvm-project/llvm/bindings/ocaml/debuginfo/
H A Dllvm_debuginfo.ml84 | BitField Constructor
H A Dllvm_debuginfo.mli84 | BitField Constructor
/llvm-project/clang/lib/CodeGen/Targets/
H A DX86.cpp2087 bool BitField = i->isBitField(); in classify()
2090 if (BitField && i->isUnnamedBitField()) in classify()
2113 if (!BitField && IsInMemory) { in classify()
2130 if (BitField) { in classify()
2096 bool BitField = i->isBitField(); classify() local
/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
H A DLLVMEnums.td376 def LLVM_DIFlagBitField : I32BitEnumAttrCaseBit<"BitField", 19>;
/llvm-project/clang/lib/AST/
H A DDecl.cpp4600 LazyDeclStmtPtr InitPtr = BitField ? InitAndBitWidth->Init : Init; in isZeroSize()
4612 if (BitField) in isZeroSize()
4706 assert(StorageKind == ISK_NoInit && !BitField && in getOuterLocStart()
/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1284 if (location_type == PDB_LocType::BitField) in AddRecordMembers()
/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp1103 Record.push_back((D->StorageKind << 1) | D->BitField); in VisitIndirectFieldDecl()
1106 else if (D->BitField) in VisitIndirectFieldDecl()

12