Home
last modified time | relevance | path

Searched refs:FieldIndex (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-reorder-fields/
H A DReorderFieldsAction.cpp136 const auto FieldIndex = Field->getFieldIndex(); in reorderFieldsInDefinition() local
137 if (Field->getAccess() != Fields[NewFieldsOrder[FieldIndex]]->getAccess()) { in reorderFieldsInDefinition()
145 const auto FieldIndex = Field->getFieldIndex(); in reorderFieldsInDefinition() local
146 if (FieldIndex == NewFieldsOrder[FieldIndex]) in reorderFieldsInDefinition()
149 Fields[NewFieldsOrder[FieldIndex]]->getSourceRange(), in reorderFieldsInDefinition()
/llvm-project-15.0.7/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h228 static ABIArgInfo getInAlloca(unsigned FieldIndex, bool Indirect = false) {
230 AI.setInAllocaFieldIndex(FieldIndex);
439 void setInAllocaFieldIndex(unsigned FieldIndex) { in setInAllocaFieldIndex() argument
441 AllocaFieldIndex = FieldIndex; in setInAllocaFieldIndex()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBuilder.h357 unsigned FieldIndex, in CreatePreserveStructAccessIndex() argument
365 Index, FieldIndex, DbgInfo), in CreatePreserveStructAccessIndex()
H A DCGBlocks.h139 unsigned FieldIndex; variable
H A DCGOpenMPRuntime.cpp8108 unsigned FieldIndex = FD->getFieldIndex(); in generateInfoForComponentList() local
8112 PartialStruct.LowestElem = {FieldIndex, LowestElem}; in generateInfoForComponentList()
8117 PartialStruct.HighestElem = {FieldIndex, HB}; in generateInfoForComponentList()
8124 PartialStruct.LowestElem = {FieldIndex, LowestElem}; in generateInfoForComponentList()
8126 PartialStruct.HighestElem = {FieldIndex, LowestElem}; in generateInfoForComponentList()
8414 RecordLayout[FieldIndex] = Base; in getPlainLayout()
8422 unsigned FieldIndex = RL.getVirtualBaseIndex(Base); in getPlainLayout() local
8423 if (RecordLayout[FieldIndex]) in getPlainLayout()
8425 RecordLayout[FieldIndex] = Base; in getPlainLayout()
8433 unsigned FieldIndex = RL.getLLVMFieldNo(Field); in getPlainLayout() local
[all …]
H A DCGClass.cpp1780 unsigned FieldIndex = Field->getFieldIndex(); in PushCleanupForField() local
1783 StartIndex = FieldIndex; in PushCleanupForField()
1786 NormalAndEHCleanup, DD, StartIndex.value(), FieldIndex); in PushCleanupForField()
H A DCGBlocks.cpp2594 return Builder.CreateStructGEP(baseAddr, info.FieldIndex, name); in emitBlockByrefAddress()
2689 info.FieldIndex = types.size() - 1; in getBlockByrefInfo()
H A DCGExpr.cpp4292 unsigned FieldIndex) { in getDebugInfoFIndex() argument
4296 if (I == FieldIndex) in getDebugInfoFIndex()
4303 return FieldIndex - Skipped; in getDebugInfoFIndex()
H A DCGCall.cpp2749 auto FieldIndex = ArgI.getInAllocaFieldIndex(); in EmitFunctionProlog() local
2751 Builder.CreateStructGEP(ArgStruct, FieldIndex, Arg->getName()); in EmitFunctionProlog()
H A DCodeGenFunction.h3019 unsigned getDebugInfoFIndex(const RecordDecl *Rec, unsigned FieldIndex);
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp294 TBAAStructTypeNode getFieldType(unsigned FieldIndex) const { in getFieldType()
297 unsigned OpIndex = FirstFieldOpNo + FieldIndex * NumOpsPerField; in getFieldType()
/llvm-project-15.0.7/llvm/lib/IR/
H A DIRBuilder.cpp1221 Value *Base, unsigned FieldIndex, MDNode *DbgInfo) { in CreatePreserveUnionAccessIndex() argument
1230 Value *DIIndex = getInt32(FieldIndex); in CreatePreserveUnionAccessIndex()
1240 Type *ElTy, Value *Base, unsigned Index, unsigned FieldIndex, in CreatePreserveStructAccessIndex() argument
1257 Value *DIIndex = getInt32(FieldIndex); in CreatePreserveStructAccessIndex()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaInit.cpp2627 unsigned FieldIndex = NumBases; in CheckDesignatedInitializer() local
2636 ++FieldIndex; in CheckDesignatedInitializer()
2645 FieldIndex = 0; in CheckDesignatedInitializer()
2734 StructuredList->resizeInits(SemaRef.Context, FieldIndex + 1); in CheckDesignatedInitializer()
2779 unsigned newStructuredIndex = FieldIndex; in CheckDesignatedInitializer()
2791 ++FieldIndex; in CheckDesignatedInitializer()
2794 StructuredIndex = FieldIndex; in CheckDesignatedInitializer()
2800 unsigned newStructuredIndex = FieldIndex; in CheckDesignatedInitializer()
2814 ++FieldIndex; in CheckDesignatedInitializer()
2821 StructuredIndex = FieldIndex; in CheckDesignatedInitializer()
[all …]
/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DMasmParser.cpp4213 size_t FieldIndex = 0; in parseStructInitializer() local
4217 FieldIndex < Structure.Fields.size()) { in parseStructInitializer()
4218 const FieldInfo &Field = Structure.Fields[FieldIndex++]; in parseStructInitializer()
4234 if (FieldIndex == Structure.Fields.size()) in parseStructInitializer()
4241 for (const FieldInfo &Field : llvm::drop_begin(Structure.Fields, FieldIndex)) in parseStructInitializer()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DIRBuilder.h2429 Value *CreatePreserveUnionAccessIndex(Value *Base, unsigned FieldIndex,
2433 unsigned Index, unsigned FieldIndex,