Home
last modified time | relevance | path

Searched refs:isBitField (Results 1 – 25 of 59) sorted by relevance

123

/external/clang/utils/ABITest/
DTypeGen.py21 def isBitField(self): member in Type
39 def isBitField(self): member in BuiltinType
46 assert self.isBitField()
93 if t.isBitField():
103 if t.isBitField():
/external/bcc/src/cc/
Djson_map_decl_visitor.cc64 if (F->isBitField()) in shouldSkipPadding()
88 if (F->isBitField()) in genJSONForField()
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp137 if (!FD->isBitField()) return Type; in getStorageType()
296 if (Field->isBitField()) { in lowerUnion()
353 if (Field->isBitField()) { in accumulateFields()
356 for (++Field; Field != FieldEnd && Field->isBitField(); ++Field); in accumulateFields()
766 if (!FD->isBitField()) { in ComputeRecordLayout()
DCGAtomic.cpp75 } else if (lvalue.isBitField()) { in AtomicInfo()
144 else if (LVal.isBitField()) in getAtomicPointer()
292 (LVal.isBitField() && ValueSizeInBits > AtomicSizeInBits) ? ValueTy in CreateTempAlloca()
297 if (LVal.isBitField()) in CreateTempAlloca()
1181 if (LVal.isBitField()) in convertAtomicTempToRValue()
1202 (((!LVal.isBitField() || in ConvertIntToValueOrAtomic()
1505 if (AtomicLVal.isBitField()) { in EmitAtomicUpdateValue()
1557 if ((LVal.isBitField() && BFI.Size != ValueSizeInBits) || in EmitAtomicUpdateLibcall()
1591 if ((LVal.isBitField() && BFI.Size != ValueSizeInBits) || in EmitAtomicUpdateOp()
1611 if (AtomicLVal.isBitField()) { in EmitAtomicUpdateValue()
[all …]
DCGValue.h248 bool isBitField() const { return LVType == BitField; } in isBitField() function
362 llvm::Value *getBitFieldPointer() const { assert(isBitField()); return V; } in getBitFieldPointer()
364 assert(isBitField()); in getBitFieldInfo()
DCGRecordLayout.h206 assert(FD->isBitField() && "Invalid call for non-bit-field decl!"); in getBitFieldInfo()
DSwiftCallingConv.cpp111 if (field->isBitField()) { in addTypedData()
149 if (field->isBitField()) { in addTypedData()
170 assert(bitfield->isBitField()); in addBitFieldData()
DCGExprConstant.cpp401 if (!Field->isBitField()) { in Build()
491 if (!Field->isBitField()) { in Build()
1184 if (!Field->isBitField()) in Build()
1544 if (!Field->isBitField()) { in EmitNullConstant()
DCGObjCRuntime.cpp98 if (!Ivar->isBitField()) { in EmitValueForIvarAtOffset()
DCGClass.cpp882 SSV[NumFields].Size = D->isBitField() ? 0 : FieldSize.getQuantity(); in EmitAsanPrologueOrEpilogue()
1021 LastField->isBitField() ? in getMemcpySize()
1040 if (FirstField->isBitField()) { in emitMemcpy()
1060 emitMemcpyIR(Dest.isBitField() ? Dest.getBitFieldAddress() : Dest.getAddress(), in emitMemcpy()
1061 Src.isBitField() ? Src.getBitFieldAddress() : Src.getAddress(), in emitMemcpy()
DTargetInfo.cpp1206 if (FD->isBitField()) in canExpandIndirectArgument()
2590 bool BitField = i->isBitField(); in classify()
4128 FD->isBitField() && FD->getBitWidthValue(getContext()) == 0) in isHomogeneousAggregate()
5403 if (FD->isBitField()) { in isIntegerLikeType()
5900 FD->isBitField() && FD->getBitWidthValue(getContext()) == 0) in GetSingleElementType()
7614 if (Field->isBitField()) { in extractFieldType()
7622 if (Field->isBitField()) in extractFieldType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFAbstractMemberAccess.cpp556 if (!MemberTy->isBitField()) { in GetFieldInfo()
575 if (!MemberTy->isBitField()) in GetFieldInfo()
629 IsBitField = MemberTy->isBitField(); in GetFieldInfo()
660 IsBitField = MemberTy->isBitField(); in GetFieldInfo()
DBTFDebug.cpp241 uint8_t BitFieldSize = DDTy->isBitField() ? DDTy->getSizeInBits() : 0; in completeType()
459 if (E->isBitField()) { in visitStructType()
644 if (E->isBitField()) { in visitMapDefType()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp304 if (I->isBitField()) in CanPlaceBaseSubobjectAtOffset()
351 if (I->isBitField()) in UpdateEmptyBaseSubobjects()
416 if (I->isBitField()) in CanPlaceFieldSubobjectAtOffset()
520 if (I->isBitField()) in UpdateEmptyFieldSubobjects()
1706 if (D->isBitField()) { in LayoutField()
2365 if (FD->isBitField()) in getAdjustedElementInfo()
2608 if (FD->isBitField()) { in layoutField()
3237 if (Field.isBitField()) { in DumpRecordLayout()
DExpr.cpp80 if (!Field->isBitField() && !Field->getType()->isReferenceType()) { in skipRValueSubobjectAdjustments()
2692 if (Field->isBitField()) { in isConstantInitializer()
3301 if (Field->isBitField()) in getSourceBitField()
3306 if (Ivar->isBitField()) in getSourceBitField()
3311 if (Field->isBitField()) in getSourceBitField()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp841 if (D->isBitField()) in getIvarAccessString()
848 if (D->isBitField()) in getIvarAccessString()
897 if (D->isBitField()) { in getIvarAccessString()
3711 if (fieldDecl->isBitField()) { in RewriteObjCFieldDecl()
3776 if (IVars[i]->isBitField()) { in ObjCIvarBitfieldGroupNo()
3778 while (i < e && IVars[i]->isBitField()) in ObjCIvarBitfieldGroupNo()
3819 if (IVD->isBitField()) in GetGroupRecordTypeForObjCIvarBitfield()
3876 while ((IX < ENDIX) && VEC[IX]->isBitField()) \
3919 if (IVars[i]->isBitField()) { in RewriteObjCInternalStruct()
3939 if (IVars[i]->isBitField()) { in RewriteObjCInternalStruct()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp151 if (FD->isBitField()) in shouldSkipDecl()
/external/clang/lib/Index/
DIndexDecl.cpp147 if (D->isBitField()) in VisitFieldDecl()
/external/clang/tools/libclang/
DCXType.cpp313 if (FD->isBitField()) in clang_getFieldDeclBitWidth()
892 return FD->isBitField(); in clang_Cursor_isBitField()
/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp1383 fieldDecl(isBitField(), hasName("a")))); in TEST()
1385 fieldDecl(isBitField(), hasName("b")))); in TEST()
1387 fieldDecl(isBitField(), hasBitWidth(2), hasName("a")))); in TEST()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h533 AST_MATCHER(FieldDecl, isBitField) { in AST_MATCHER() argument
534 return Node.isBitField(); in AST_MATCHER()
550 return Node.isBitField() && in AST_MATCHER_P()
/external/clang/include/clang/AST/
DDecl.h2361 bool isBitField() const { in isBitField() function
2367 bool isUnnamedBitfield() const { return isBitField() && !getDeclName(); } in isUnnamedBitfield()
2376 return isBitField() in getBitWidth()
2394 assert(isBitField() && "no bitfield width to remove"); in removeBitWidth()
DRecursiveASTVisitor.h1810 if (D->isBitField())
1818 if (D->isBitField())
1825 if (D->isBitField())
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp287 REGISTER_MATCHER(isBitField); in RegistryMaps()
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc1302 uint64_t sz = F->isBitField() ? F->getBitWidthValue(C) : C.getTypeSize(F->getType()); in VisitBinaryOperator()
1332 uint64_t sz = F->isBitField() ? F->getBitWidthValue(C) : C.getTypeSize(F->getType()); in VisitImplicitCastExpr()

123