Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h240 static ABIArgInfo getInAlloca(unsigned FieldIndex, bool Indirect = false) {
242 AI.setInAllocaFieldIndex(FieldIndex);
457 void setInAllocaFieldIndex(unsigned FieldIndex) { in setInAllocaFieldIndex() argument
459 AllocaFieldIndex = FieldIndex; in setInAllocaFieldIndex()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h418 unsigned FieldIndex, in CreatePreserveStructAccessIndex() argument
427 Index, FieldIndex, DbgInfo), in CreatePreserveStructAccessIndex()
433 Address CreatePreserveUnionAccessIndex(Address Addr, unsigned FieldIndex, in CreatePreserveUnionAccessIndex() argument
436 Addr.getBasePointer(), FieldIndex, DbgInfo)); in CreatePreserveUnionAccessIndex()
H A DCGBlocks.h139 unsigned FieldIndex; variable
H A DCGOpenMPRuntime.cpp7715 unsigned FieldIndex = FD->getFieldIndex(); local
7719 PartialStruct.LowestElem = {FieldIndex, LowestElem};
7724 PartialStruct.HighestElem = {FieldIndex, HB};
7726 PartialStruct.HighestElem = {FieldIndex, LowestElem};
7730 } else if (FieldIndex < PartialStruct.LowestElem.first) {
7731 PartialStruct.LowestElem = {FieldIndex, LowestElem};
7732 } else if (FieldIndex > PartialStruct.HighestElem.first) {
7737 PartialStruct.HighestElem = {FieldIndex, HB};
7739 PartialStruct.HighestElem = {FieldIndex, LowestElem};
8009 unsigned FieldIndex = RL.getNonVirtualBaseLLVMFieldNo(Base); in getPlainLayout() local
[all …]
H A DCGClass.cpp1825 unsigned FieldIndex = Field->getFieldIndex(); in PushCleanupForField() local
1828 StartIndex = FieldIndex; in PushCleanupForField()
1831 *StartIndex, FieldIndex); in PushCleanupForField()
H A DCGBlocks.cpp2654 return Builder.CreateStructGEP(baseAddr, info.FieldIndex, name); in emitBlockByrefAddress()
2747 info.FieldIndex = types.size() - 1; in getBlockByrefInfo()
H A DCGExpr.cpp5058 unsigned FieldIndex) { in getDebugInfoFIndex() argument
5062 if (I == FieldIndex) in getDebugInfoFIndex()
5069 return FieldIndex - Skipped; in getDebugInfoFIndex()
H A DCGCall.cpp3134 auto FieldIndex = ArgI.getInAllocaFieldIndex(); in EmitFunctionProlog() local
3136 Builder.CreateStructGEP(ArgStruct, FieldIndex, Arg->getName()); in EmitFunctionProlog()
H A DCodeGenFunction.h3369 unsigned getDebugInfoFIndex(const RecordDecl *Rec, unsigned FieldIndex);
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DPointer.cpp204 unsigned FieldIndex = FD->getFieldIndex(); in toAPValue() local
205 return ASTCtx.toCharUnitsFromBits(Layout.getFieldOffset(FieldIndex)); in toAPValue()
829 unsigned FieldIndex = FD->getFieldIndex(); in atOffset() local
831 ASTCtx.toCharUnitsFromBits(Layout.getFieldOffset(FieldIndex)) in atOffset()
H A DInterpBuiltin.cpp2159 unsigned FieldIndex = FD->getFieldIndex(); in computePointerOffset() local
2161 ASTCtx.toCharUnitsFromBits(Layout.getFieldOffset(FieldIndex)) in computePointerOffset()
2765 unsigned FieldIndex = MemberDecl->getFieldIndex(); in InterpretOffsetOf() local
2766 assert(FieldIndex < RL.getFieldCount() && "offsetof field in wrong type"); in InterpretOffsetOf()
2768 S.getASTContext().toCharUnitsFromBits(RL.getFieldOffset(FieldIndex)); in InterpretOffsetOf()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp295 TBAAStructTypeNode getFieldType(unsigned FieldIndex) const { in getFieldType()
298 unsigned OpIndex = FirstFieldOpNo + FieldIndex * NumOpsPerField; in getFieldType()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp1174 Value *Base, unsigned FieldIndex, MDNode *DbgInfo) { in CreatePreserveUnionAccessIndex() argument
1179 Value *DIIndex = getInt32(FieldIndex); in CreatePreserveUnionAccessIndex()
1189 Type *ElTy, Value *Base, unsigned Index, unsigned FieldIndex, in CreatePreserveStructAccessIndex() argument
1200 Value *DIIndex = getInt32(FieldIndex); in CreatePreserveStructAccessIndex()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp2975 unsigned FieldIndex = NumBases; in CheckDesignatedInitializer() local
2984 ++FieldIndex; in CheckDesignatedInitializer()
2993 FieldIndex = 0; in CheckDesignatedInitializer()
3084 if (StructuredList && FieldIndex >= StructuredList->getNumInits()) in CheckDesignatedInitializer()
3085 StructuredList->resizeInits(SemaRef.Context, FieldIndex + 1); in CheckDesignatedInitializer()
3130 unsigned newStructuredIndex = FieldIndex; in CheckDesignatedInitializer()
3142 ++FieldIndex; in CheckDesignatedInitializer()
3145 StructuredIndex = FieldIndex; in CheckDesignatedInitializer()
3151 unsigned newStructuredIndex = FieldIndex; in CheckDesignatedInitializer()
3165 ++FieldIndex; in CheckDesignatedInitializer()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp703 for (unsigned FieldIndex = 0; FieldIndex != StructTy->getNumElements(); in generate() local
704 FieldIndex++) { in generate()
706 Builder.CreateExtractValue(State.get(Op, true), FieldIndex); in generate()
707 Value *VectorValue = Builder.CreateExtractValue(Res, FieldIndex); in generate()
710 Res = Builder.CreateInsertValue(Res, VectorValue, FieldIndex); in generate()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp3721 size_t FieldIndex = 0; in parseStructInitializer() local
3724 while (getTok().isNot(*EndToken) && FieldIndex < Structure.Fields.size()) { in parseStructInitializer()
3725 const FieldInfo &Field = Structure.Fields[FieldIndex++]; in parseStructInitializer()
3741 if (FieldIndex == Structure.Fields.size()) in parseStructInitializer()
3748 for (const FieldInfo &Field : llvm::drop_begin(Structure.Fields, FieldIndex)) in parseStructInitializer()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIRBuilder.h2713 unsigned FieldIndex,
2718 unsigned FieldIndex,