Home
last modified time | relevance | path

Searched refs:getFieldIndex (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp206 auto FieldOffsetBits = RL.getFieldOffset(FD->getFieldIndex()); in calculateBaselinePad()
243 Field ? -static_cast<int>(Field->getFieldIndex()) in calculateOptimalPad()
247 RHS.Field ? -static_cast<int>(RHS.Field->getFieldIndex()) in calculateOptimalPad()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp485 uint32_t getFieldIndex(Value *V) const { in getFieldIndex() function
741 auto Field = B.getLayoutField(getFieldIndex(I)); in updateLayoutIndex()
1195 auto Index = FrameData.getFieldIndex(V); in buildFrameDebugInfo()
1211 auto Index = FrameData.getFieldIndex(V); in buildFrameDebugInfo()
1768 FieldIDType Index = FrameData.getFieldIndex(Orig); in insertSpills()
1861 auto Index = FrameData.getFieldIndex(Def); in insertSpills()
1891 FrameTy->getElementType(FrameData.getFieldIndex(E.first)), GEP, in insertSpills()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTImporter.h582 static std::optional<unsigned> getFieldIndex(Decl *F);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGClass.cpp1011 FirstFieldOffset = RecLayout.getFieldOffset(F->getFieldIndex()); in addInitialField()
1013 LastAddedFieldIndex = F->getFieldIndex(); in addInitialField()
1021 assert(F->getFieldIndex() >= LastAddedFieldIndex + 1 && in addNextField()
1023 LastAddedFieldIndex = F->getFieldIndex(); in addNextField()
1028 uint64_t FOffset = RecLayout.getFieldOffset(F->getFieldIndex()); in addNextField()
1821 unsigned FieldIndex = Field->getFieldIndex(); in PushCleanupForField()
H A DCGRecordLayoutBuilder.cpp178 return Layout.getFieldOffset(FD->getFieldIndex()); in getFieldBitOffset()
820 Layout.getFieldOffset(F->getFieldIndex())); in computeVolatileBitfields()
H A DCodeGenTBAA.cpp475 uint64_t BitOffset = Layout.getFieldOffset(Field->getFieldIndex()); in getBaseTypeInfoHelper()
H A DSwiftCallingConv.cpp166 auto fieldOffsetInBits = layout.getFieldOffset(field->getFieldIndex()); in addTypedData()
H A DCGNonTrivialStruct.cpp63 .getFieldOffset(FD->getFieldIndex()) in getFieldOffsetInBits()
H A DCGExpr.cpp4785 addr, idx, CGF.getDebugInfoFIndex(rec, field->getFieldIndex()), DbgInfo); in emitPreserveStructAccess()
4836 Addr, Idx, getDebugInfoFIndex(rec, field->getFieldIndex()), in EmitLValueForField()
4889 Layout.getFieldOffset(field->getFieldIndex()) / CharWidth; in EmitLValueForField()
4930 getDebugInfoFIndex(rec, field->getFieldIndex()), DbgInfo), in EmitLValueForField()
H A DCGExprAgg.cpp2059 if (Layout.getFieldOffset(FD->getFieldIndex()) + in getOverlapForFieldInit()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DLoongArch.cpp209 Layout.getFieldOffset(FD->getFieldIndex())), in detectFARsEligibleStructHelper()
H A DRISCV.cpp202 uint64_t FieldOffInBits = Layout.getFieldOffset(FD->getFieldIndex()); in detectFPCCEligibleStructHelper()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp509 ID.AddInteger(getUnionField()->getFieldIndex() + 1); in Profile()
913 getStructField(FI->getFieldIndex()). in printPretty()
H A DExprConstant.cpp2502 Value.getStructField(I->getFieldIndex()), Kind, in CheckEvaluationResult()
3217 unsigned I = FD->getFieldIndex(); in HandleLValueMember()
3884 O = &O->getStructField(Field->getFieldIndex()); in findSubobject()
4926 I->getType(), Result.getStructField(I->getFieldIndex())); in handleDefaultInitValue()
6453 FieldIt->getFieldIndex() > FD->getFieldIndex()) { in HandleConstructorCall()
6464 Result.getStructField(FieldIt->getFieldIndex())); in HandleConstructorCall()
6497 Value = &Result.getStructField(FD->getFieldIndex()); in HandleConstructorCall()
6533 Value = &Value->getStructField(FD->getFieldIndex()); in HandleConstructorCall()
6574 Result.getStructField(FieldIt->getFieldIndex())); in HandleConstructorCall()
6740 APValue *SubobjectValue = &Value.getStructField(FD->getFieldIndex()); in HandleDestructionImpl()
[all …]
H A DODRHash.cpp1305 ID.AddInteger(FD->getFieldIndex()); in AddStructuralValue()
H A DExpr.cpp2347 Value.getStructField(F->getFieldIndex()) = MakeStringLiteral(Path); in EvaluateInContext()
2352 Value.getStructField(F->getFieldIndex()) = MakeStringLiteral( in EvaluateInContext()
2359 Value.getStructField(F->getFieldIndex()) = APValue(IntVal); in EvaluateInContext()
2362 Value.getStructField(F->getFieldIndex()) = APValue(IntVal); in EvaluateInContext()
H A DItaniumMangle.cpp6350 V.getStructField(Fields.back()->getFieldIndex())))) { in mangleValueInTemplateArg()
6371 V.getStructField(Fields[I]->getFieldIndex()), in mangleValueInTemplateArg()
6628 if (FD->getFieldIndex()) in mangleValueInTemplateArg()
6629 Out << (FD->getFieldIndex() - 1); in mangleValueInTemplateArg()
H A DDecl.cpp4636 unsigned FieldDecl::getFieldIndex() const { in getFieldIndex() function in FieldDecl
4639 return Canonical->getFieldIndex(); in getFieldIndex()
H A DASTImporter.cpp4124 ASTImporter::getFieldIndex(D) != in VisitFieldDecl()
4125 ASTImporter::getFieldIndex(FoundField)) in VisitFieldDecl()
4228 ASTImporter::getFieldIndex(D) != in VisitIndirectFieldDecl()
4229 ASTImporter::getFieldIndex(FoundField)) in VisitIndirectFieldDecl()
8980 std::optional<unsigned> ASTImporter::getFieldIndex(Decl *F) { in getFieldIndex() function in ASTImporter
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DPointer.cpp157 unsigned FieldIndex = FD->getFieldIndex(); in toAPValue()
H A DInterpBuiltin.cpp1477 unsigned FieldIndex = MemberDecl->getFieldIndex(); in InterpretOffsetOf()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp883 unsigned i = FD->getFieldIndex(); in LookupInlineAsmField()
H A DSemaInit.cpp2966 (*NextField)->getFieldIndex() > Field->getFieldIndex() + 1)) { in CheckDesignatedInitializer()
2979 PrevField->getFieldIndex() > KnownField->getFieldIndex()) { in CheckDesignatedInitializer()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp1501 if (FD->getFieldIndex() >= NumInits) in tryExtractInitializerFromList()
1504 Init = ILE->getInit(FD->getFieldIndex()); in tryExtractInitializerFromList()
H A DRegionStore.cpp1973 unsigned Index = FD->getFieldIndex(); in getBindingForField()

12