Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp149 if (!FD->isBitField()) return Type; in getStorageType()
324 if (Field->isBitField()) { in lowerUnion()
384 if (Field->isBitField()) { in accumulateFields()
386 assert((Field == FieldEnd || !Field->isBitField()) && in accumulateFields()
424 for (; Field != FieldEnd && Field->isBitField(); ++Field) { in accumulateBitFields()
539 if (Field != FieldEnd && Field->isBitField()) { in accumulateBitFields()
679 assert((Field == FieldEnd || !Field->isBitField() || in accumulateBitFields()
708 assert(Field != FieldEnd && Field->isBitField() && in accumulateBitFields()
816 if (F->isBitField() && !F->isZeroLengthBitField(Context)) in computeVolatileBitfields()
1170 if (!FD->isBitField()) { in ComputeRecordLayout()
H A DCGValue.h280 bool isBitField() const { return LVType == BitField; }
416 assert(isBitField());
420 assert(isBitField());
425 assert(isBitField());
H A DCGAtomic.cpp75 } else if (lvalue.isBitField()) { in AtomicInfo()
143 else if (LVal.isBitField()) in getAtomicPointer()
154 else if (LVal.isBitField()) in getAtomicAddress()
303 (LVal.isBitField() && ValueSizeInBits > AtomicSizeInBits) ? ValueTy in CreateTempAlloca()
308 if (LVal.isBitField()) in CreateTempAlloca()
1390 if (LVal.isBitField()) in convertAtomicTempToRValue()
1425 (((!LVal.isBitField() || in ConvertToValueOrAtomic()
1723 if (AtomicLVal.isBitField()) { in EmitAtomicUpdateValue()
1776 if ((LVal.isBitField() && BFI.Size != ValueSizeInBits) || in EmitAtomicUpdateLibcall()
1814 if ((LVal.isBitField() && BFI.Size != ValueSizeInBits) || in EmitAtomicUpdateOp()
[all …]
H A DCGRecordLayout.h229 assert(FD->isBitField() && "Invalid call for non-bit-field decl!"); in getBitFieldInfo()
H A DSwiftCallingConv.cpp129 if (field->isBitField()) { in addTypedData()
167 if (field->isBitField()) { in addTypedData()
188 assert(bitfield->isBitField()); in addBitFieldData()
H A DCGObjCRuntime.cpp69 if (!Ivar->isBitField()) { in EmitValueForIvarAtOffset()
H A DCGClass.cpp805 SSV[NumFields].Size = D->isBitField() ? 0 : FieldSize.getQuantity(); in EmitAsanPrologueOrEpilogue()
948 LastField->isBitField() in getMemcpySize()
966 if (FirstField->isBitField()) { in emitMemcpy()
987 Dest.isBitField() ? Dest.getBitFieldAddress() : Dest.getAddress(), in emitMemcpy()
988 Src.isBitField() ? Src.getBitFieldAddress() : Src.getAddress(), in emitMemcpy()
H A DCodeGenTBAA.cpp369 if ((*i)->isBitField()) { in CollectFields()
H A DCGDebugInfo.cpp1676 if (!PreviousMDField || !PreviousMDField->isBitField() || in createBitFieldSeparatorIfNeeded()
1683 assert(PreviousBitfield->isBitField()); in createBitFieldSeparatorIfNeeded()
1772 assert(!Field->isBitField() && "lambdas don't have bitfield members!"); in CollectRecordLambdaFields()
1848 if (field->isBitField()) { in CollectRecordNormalField()
3186 FieldSize = Field->isBitField() in CreateTypeDefinition()
3197 if (Field->isBitField()) { in CreateTypeDefinition()
3216 if (Field->isBitField()) in CreateTypeDefinition()
4980 if (FD->isBitField()) { in EmitDeclare()
H A DCGExprConstant.cpp771 if (!Field->isBitField()) { in Build()
873 if (!Field->isBitField()) { in Build()
2547 if (!Field->isBitField() && in EmitNullConstant()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DRecord.h32 bool isBitField() const { return Decl->isBitField(); } in isBitField() function
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRandstruct.cpp96 if (FD->isBitField() && !FD->isZeroLengthBitField(Context)) { in randomizeStructureLayoutImpl()
H A DRecordLayoutBuilder.cpp305 if (I->isBitField()) in CanPlaceBaseSubobjectAtOffset()
352 if (I->isBitField()) in UpdateEmptyBaseSubobjects()
417 if (I->isBitField()) in CanPlaceFieldSubobjectAtOffset()
528 if (I->isBitField()) in UpdateEmptyFieldSubobjects()
1888 if (D->isBitField()) { in LayoutField()
2311 auto Diagnostic = D->isBitField() ? diag::warn_padded_struct_bitfield in CheckFieldPadding()
2319 auto Diagnostic = D->isBitField() ? diag::warn_padded_struct_anon_bitfield in CheckFieldPadding()
2719 if (FD->isBitField()) in getAdjustedElementInfo()
2978 if (FD->isBitField()) { in layoutField()
3693 if (Field.isBitField()) { in DumpRecordLayout()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DWebAssembly.cpp121 if (Field->isBitField()) { in classifyArgumentType()
H A DXCore.cpp343 if (Field->isBitField()) { in extractFieldType()
351 if (Field->isBitField()) in extractFieldType()
H A DLoongArch.cpp194 if (FD->isBitField()) { in detectFARsEligibleStructHelper()
H A DRISCV.cpp204 if (FD->isBitField()) { in detectFPCCEligibleStructHelper()
H A DARM.cpp498 if (FD->isBitField()) { in isIntegerLikeType()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp696 if (!MemberTy->isBitField()) { in GetFieldInfo()
715 if (!MemberTy->isBitField()) in GetFieldInfo()
770 IsBitField = MemberTy->isBitField(); in GetFieldInfo()
801 IsBitField = MemberTy->isBitField(); in GetFieldInfo()
H A DBTFDebug.cpp303 uint8_t BitFieldSize = DDTy->isBitField() ? DDTy->getSizeInBits() : 0; in completeType()
673 if (E->isBitField()) { in visitStructType()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp845 if (D->isBitField()) in getIvarAccessString()
852 if (D->isBitField()) in getIvarAccessString()
899 if (D->isBitField()) { in getIvarAccessString()
3702 if (fieldDecl->isBitField()) { in RewriteObjCFieldDecl()
3767 if (IVars[i]->isBitField()) { in ObjCIvarBitfieldGroupNo()
3769 while (i < e && IVars[i]->isBitField()) in ObjCIvarBitfieldGroupNo()
3809 if (IVD->isBitField()) in GetGroupRecordTypeForObjCIvarBitfield()
3866 while ((IX < ENDIX) && VEC[IX]->isBitField()) \
3909 if (IVars[i]->isBitField()) { in RewriteObjCInternalStruct()
3929 if (IVars[i]->isBitField()) { in RewriteObjCInternalStruct()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp175 if (FD->isBitField()) in shouldSkipDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTNodeTraverser.h544 if (D->isBitField()) in VisitFieldDecl()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp411 REGISTER_MATCHER(isBitField); in RegistryMaps()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp325 if (D->isBitField()) in VisitFieldDecl()

123