Home
last modified time | relevance | path

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

12

/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():
DABITestGen.py262 if f.isBitField():
/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()
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()
DCGAtomic.cpp75 } else if (lvalue.isBitField()) { in AtomicInfo()
144 else if (LVal.isBitField()) in getAtomicPointer()
310 (LVal.isBitField() && ValueSizeInBits > AtomicSizeInBits) ? ValueTy in CreateTempAlloca()
315 if (LVal.isBitField()) in CreateTempAlloca()
1194 if (LVal.isBitField()) in convertAtomicTempToRValue()
1215 (((!LVal.isBitField() || in ConvertIntToValueOrAtomic()
1524 if (AtomicLVal.isBitField()) { in EmitAtomicUpdateValue()
1576 if ((LVal.isBitField() && BFI.Size != ValueSizeInBits) || in EmitAtomicUpdateLibcall()
1610 if ((LVal.isBitField() && BFI.Size != ValueSizeInBits) || in EmitAtomicUpdateOp()
1630 if (AtomicLVal.isBitField()) { in EmitAtomicUpdateValue()
[all …]
DCGRecordLayout.h206 assert(FD->isBitField() && "Invalid call for non-bit-field decl!"); in getBitFieldInfo()
DCGExprConstant.cpp394 if (!Field->isBitField()) { in Build()
484 if (!Field->isBitField()) { in Build()
1164 if (!Field->isBitField()) in Build()
1518 if (!Field->isBitField()) { in EmitNullConstant()
DCGObjCRuntime.cpp98 if (!Ivar->isBitField()) { in EmitValueForIvarAtOffset()
DCGClass.cpp881 SSV[NumFields].Size = D->isBitField() ? 0 : FieldSize.getQuantity(); in EmitAsanPrologueOrEpilogue()
1020 LastField->isBitField() ? in getMemcpySize()
1039 if (FirstField->isBitField()) { in emitMemcpy()
1059 emitMemcpyIR(Dest.isBitField() ? Dest.getBitFieldAddress() : Dest.getAddress(), in emitMemcpy()
1060 Src.isBitField() ? Src.getBitFieldAddress() : Src.getAddress(), in emitMemcpy()
DCGCall.cpp680 if (FD->isBitField() && FD->getBitWidthValue(Context) == 0) in getTypeExpansion()
682 assert(!FD->isBitField() && in getTypeExpansion()
702 if (FD->isBitField() && FD->getBitWidthValue(Context) == 0) in getTypeExpansion()
704 assert(!FD->isBitField() && in getTypeExpansion()
DTargetInfo.cpp537 if (FD->isBitField()) in canExpandIndirectArgument()
2369 bool BitField = i->isBitField(); in classify()
3902 FD->isBitField() && FD->getBitWidthValue(getContext()) == 0) in isHomogeneousAggregate()
5153 if (FD->isBitField()) { in isIntegerLikeType()
5642 FD->isBitField() && FD->getBitWidthValue(getContext()) == 0) in GetSingleElementType()
7134 if (Field->isBitField()) { in extractFieldType()
7142 if (Field->isBitField()) in extractFieldType()
DCGDebugInfo.cpp937 if (Field->isBitField()) { in CollectRecordLambdaFields()
1004 if (field->isBitField()) { in CollectRecordNormalField()
1858 FieldSize = Field->isBitField() in CreateTypeDefinition()
1869 if (Field->isBitField()) { in CreateTypeDefinition()
DCGExpr.cpp923 if (!isa<DeclRefExpr>(E) && !LV.isBitField() && LV.isSimple()) in EmitCheckedLValue()
1457 assert(LV.isBitField() && "Unknown LValue type!"); in EmitLoadOfLValue()
1590 assert(Dst.isBitField() && "Unknown LValue type"); in EmitStoreThroughLValue()
3106 if (field->isBitField()) { in EmitLValueForField()
DCGExprAgg.cpp1108 if (lv.isBitField()) { in EmitNullInitializationToLValue()
/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()
1691 if (D->isBitField()) { in LayoutField()
2351 if (FD->isBitField()) in getAdjustedElementInfo()
2568 if (FD->isBitField()) { in layoutField()
3199 if (Field.isBitField()) { in DumpRecordLayout()
DExpr.cpp80 if (!Field->isBitField() && !Field->getType()->isReferenceType()) { in skipRValueSubobjectAdjustments()
2845 if (Field->isBitField()) { in isConstantInitializer()
3442 if (Field->isBitField()) in getSourceBitField()
3447 if (Ivar->isBitField()) in getSourceBitField()
3452 if (Field->isBitField()) in getSourceBitField()
DDeclPrinter.cpp688 if (D->isBitField()) { in VisitFieldDecl()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp851 if (D->isBitField()) in getIvarAccessString()
859 if (D->isBitField()) in getIvarAccessString()
908 if (D->isBitField()) { in getIvarAccessString()
3772 if (fieldDecl->isBitField()) { in RewriteObjCFieldDecl()
3838 if (IVars[i]->isBitField()) { in ObjCIvarBitfieldGroupNo()
3840 while (i < e && IVars[i]->isBitField()) in ObjCIvarBitfieldGroupNo()
3881 if (IVD->isBitField()) in GetGroupRecordTypeForObjCIvarBitfield()
3940 while ((IX < ENDIX) && VEC[IX]->isBitField()) \
3983 if (IVars[i]->isBitField()) { in RewriteObjCInternalStruct()
4003 if (IVars[i]->isBitField()) { in RewriteObjCInternalStruct()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp151 if (FD->isBitField()) in shouldSkipDecl()
/external/clang/tools/libclang/
DIndexDecl.cpp104 if (D->isBitField()) in VisitFieldDecl()
DCXType.cpp311 if (FD->isBitField()) in clang_getFieldDeclBitWidth()
879 return FD->isBitField(); in clang_Cursor_isBitField()
/external/clang/include/clang/AST/
DDecl.h2342 bool isBitField() const { in isBitField() function
2348 bool isUnnamedBitfield() const { return isBitField() && !getDeclName(); } in isUnnamedBitfield()
2357 return isBitField() in getBitWidth()
2375 assert(isBitField() && "no bitfield width to remove"); in removeBitWidth()
DRecursiveASTVisitor.h1722 if (D->isBitField())
1730 if (D->isBitField())
1737 if (D->isBitField())
DExprObjC.h500 d->isBitField() ? OK_BitField : OK_Ordinary,
/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp199 if (getDecl()->isBitField()) in getExtent()

12