Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-reorder-fields/
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()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h168 static ABIArgInfo getInAlloca(unsigned FieldIndex) { in getInAlloca() argument
170 AI.setInAllocaFieldIndex(FieldIndex); in getInAlloca()
349 void setInAllocaFieldIndex(unsigned FieldIndex) { in setInAllocaFieldIndex() argument
351 AllocaFieldIndex = FieldIndex; in setInAllocaFieldIndex()
/external/llvm-project/clang/include/clang/CodeGen/
DCGFunctionInfo.h218 static ABIArgInfo getInAlloca(unsigned FieldIndex, bool Indirect = false) {
220 AI.setInAllocaFieldIndex(FieldIndex);
420 void setInAllocaFieldIndex(unsigned FieldIndex) { in setInAllocaFieldIndex() argument
422 AllocaFieldIndex = FieldIndex; in setInAllocaFieldIndex()
/external/llvm-project/clang/lib/CodeGen/
DCGBuilder.h307 unsigned FieldIndex, in CreatePreserveStructAccessIndex() argument
315 Index, FieldIndex, DbgInfo), in CreatePreserveStructAccessIndex()
DCGBlocks.h146 unsigned FieldIndex; variable
DCGOpenMPRuntime.cpp7870 unsigned FieldIndex = FD->getFieldIndex(); in generateInfoForComponentList() local
7874 PartialStruct.LowestElem = {FieldIndex, LB}; in generateInfoForComponentList()
7879 PartialStruct.HighestElem = {FieldIndex, HB}; in generateInfoForComponentList()
7881 PartialStruct.HighestElem = {FieldIndex, LB}; in generateInfoForComponentList()
7884 } else if (FieldIndex < PartialStruct.LowestElem.first) { in generateInfoForComponentList()
7885 PartialStruct.LowestElem = {FieldIndex, LB}; in generateInfoForComponentList()
7886 } else if (FieldIndex > PartialStruct.HighestElem.first) { in generateInfoForComponentList()
7887 PartialStruct.HighestElem = {FieldIndex, LB}; in generateInfoForComponentList()
8164 unsigned FieldIndex = RL.getNonVirtualBaseLLVMFieldNo(Base); in getPlainLayout() local
8165 RecordLayout[FieldIndex] = Base; in getPlainLayout()
[all …]
DCGBlocks.cpp2639 return Builder.CreateStructGEP(baseAddr, info.FieldIndex, name); in emitBlockByrefAddress()
2734 info.FieldIndex = types.size() - 1; in getBlockByrefInfo()
DCGExpr.cpp4189 unsigned FieldIndex) { in getDebugInfoFIndex() argument
4193 if (I == FieldIndex) in getDebugInfoFIndex()
4200 return FieldIndex - Skipped; in getDebugInfoFIndex()
DCGCall.cpp2488 auto FieldIndex = ArgI.getInAllocaFieldIndex(); in EmitFunctionProlog() local
2490 Builder.CreateStructGEP(ArgStruct, FieldIndex, Arg->getName()); in EmitFunctionProlog()
DCodeGenFunction.h2915 unsigned getDebugInfoFIndex(const RecordDecl *Rec, unsigned FieldIndex);
/external/clang/lib/CodeGen/
DCGBlocks.h147 unsigned FieldIndex; variable
DCGCall.cpp2153 auto FieldIndex = ArgI.getInAllocaFieldIndex(); in EmitFunctionProlog() local
2155 CharUnits::fromQuantity(ArgStructLayout->getElementOffset(FieldIndex)); in EmitFunctionProlog()
2156 Address V = Builder.CreateStructGEP(ArgStruct, FieldIndex, FieldOffset, in EmitFunctionProlog()
3546 auto createInAllocaStructGEP = [&](unsigned FieldIndex) -> Address { in EmitCall() argument
3548 CharUnits::fromQuantity(ArgMemoryLayout->getElementOffset(FieldIndex)); in EmitCall()
3549 return Builder.CreateStructGEP(ArgMemory, FieldIndex, FieldOffset); in EmitCall()
DCGBlocks.cpp2038 return Builder.CreateStructGEP(baseAddr, info.FieldIndex, in emitBlockByrefAddress()
2134 info.FieldIndex = types.size() - 1; in getBlockByrefInfo()
/external/llvm-project/llvm/lib/Analysis/
DTypeBasedAliasAnalysis.cpp294 TBAAStructTypeNode getFieldType(unsigned FieldIndex) const { in getFieldType()
297 unsigned OpIndex = FirstFieldOpNo + FieldIndex * NumOpsPerField; in getFieldType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTypeBasedAliasAnalysis.cpp294 TBAAStructTypeNode getFieldType(unsigned FieldIndex) const { in getFieldType()
297 unsigned OpIndex = FirstFieldOpNo + FieldIndex * NumOpsPerField; in getFieldType()
/external/llvm-project/llvm/lib/IR/
DIRBuilder.cpp1077 Value *Base, unsigned FieldIndex, MDNode *DbgInfo) { in CreatePreserveUnionAccessIndex() argument
1086 Value *DIIndex = getInt32(FieldIndex); in CreatePreserveUnionAccessIndex()
1096 Type *ElTy, Value *Base, unsigned Index, unsigned FieldIndex, in CreatePreserveStructAccessIndex() argument
1111 Value *DIIndex = getInt32(FieldIndex); in CreatePreserveStructAccessIndex()
/external/clang/lib/Sema/
DSemaInit.cpp2226 unsigned FieldIndex = 0; in CheckDesignatedInitializer() local
2234 ++FieldIndex; in CheckDesignatedInitializer()
2243 FieldIndex = 0; in CheckDesignatedInitializer()
2286 if (FieldIndex >= StructuredList->getNumInits()) in CheckDesignatedInitializer()
2287 StructuredList->resizeInits(SemaRef.Context, FieldIndex + 1); in CheckDesignatedInitializer()
2334 unsigned newStructuredIndex = FieldIndex; in CheckDesignatedInitializer()
2346 ++FieldIndex; in CheckDesignatedInitializer()
2349 StructuredIndex = FieldIndex; in CheckDesignatedInitializer()
2355 unsigned newStructuredIndex = FieldIndex; in CheckDesignatedInitializer()
2369 ++FieldIndex; in CheckDesignatedInitializer()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaInit.cpp2570 unsigned FieldIndex = NumBases; in CheckDesignatedInitializer() local
2579 ++FieldIndex; in CheckDesignatedInitializer()
2588 FieldIndex = 0; in CheckDesignatedInitializer()
2676 if (StructuredList && FieldIndex >= StructuredList->getNumInits()) in CheckDesignatedInitializer()
2677 StructuredList->resizeInits(SemaRef.Context, FieldIndex + 1); in CheckDesignatedInitializer()
2722 unsigned newStructuredIndex = FieldIndex; in CheckDesignatedInitializer()
2734 ++FieldIndex; in CheckDesignatedInitializer()
2737 StructuredIndex = FieldIndex; in CheckDesignatedInitializer()
2743 unsigned newStructuredIndex = FieldIndex; in CheckDesignatedInitializer()
2757 ++FieldIndex; in CheckDesignatedInitializer()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIRBuilder.h2747 Value *CreatePreserveUnionAccessIndex(Value *Base, unsigned FieldIndex, in CreatePreserveUnionAccessIndex() argument
2757 Value *DIIndex = getInt32(FieldIndex); in CreatePreserveUnionAccessIndex()
2767 unsigned Index, unsigned FieldIndex, in CreatePreserveStructAccessIndex() argument
2782 Value *DIIndex = getInt32(FieldIndex); in CreatePreserveStructAccessIndex()
/external/llvm-project/llvm/lib/MC/MCParser/
DMasmParser.cpp3974 size_t FieldIndex = 0; in parseStructInitializer() local
3978 FieldIndex < Structure.Fields.size()) { in parseStructInitializer()
3979 const FieldInfo &Field = Structure.Fields[FieldIndex++]; in parseStructInitializer()
3995 if (FieldIndex == Structure.Fields.size()) in parseStructInitializer()
4002 for (auto It = Structure.Fields.begin() + FieldIndex; in parseStructInitializer()
/external/llvm-project/llvm/include/llvm/IR/
DIRBuilder.h2540 Value *CreatePreserveUnionAccessIndex(Value *Base, unsigned FieldIndex,
2544 unsigned Index, unsigned FieldIndex,
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc956 TEST_F(DescriptorTest, FieldIndex) { in TEST_F() argument