Home
last modified time | relevance | path

Searched refs:getTrailingObjects (Results 1 – 25 of 47) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmt.h1432 body_iterator body_begin() { return getTrailingObjects<Stmt *>(); } in body_begin()
1448 return getTrailingObjects<Stmt *>(); in body_begin()
1642 return caseStmtIsGNURange() ? *getTrailingObjects<SourceLocation>() in getEllipsisLoc()
1652 *getTrailingObjects<SourceLocation>() = L; in setEllipsisLoc()
1656 return reinterpret_cast<Expr *>(getTrailingObjects<Stmt *>()[lhsOffset()]); in getLHS()
1660 return reinterpret_cast<Expr *>(getTrailingObjects<Stmt *>()[lhsOffset()]); in getLHS()
1664 getTrailingObjects<Stmt *>()[lhsOffset()] = reinterpret_cast<Stmt *>(Val); in setLHS()
1669 getTrailingObjects<Stmt *>()[rhsOffset()]) in getRHS()
1675 getTrailingObjects<Stmt *>()[rhsOffset()]) in getRHS()
1682 getTrailingObjects<Stmt *>()[rhsOffset()] = reinterpret_cast<Stmt *>(Val); in setRHS()
[all …]
H A DExprOpenMP.h169 void setBase(Expr *Op) { getTrailingObjects<Expr *>()[NumDims] = Op; } in setBase()
205 return llvm::makeArrayRef(getTrailingObjects<Expr *>(), NumDims); in getDimensions()
210 return llvm::makeArrayRef(getTrailingObjects<SourceRange>(), NumDims); in getBracketsRanges()
214 Expr *getBase() { return getTrailingObjects<Expr *>()[NumDims]; } in getBase()
215 const Expr *getBase() const { return getTrailingObjects<Expr *>()[NumDims]; } in getBase()
223 Stmt **Begin = reinterpret_cast<Stmt **>(getTrailingObjects<Expr *>()); in children()
228 reinterpret_cast<Stmt *const *>(getTrailingObjects<Expr *>()); in children()
411 Stmt **Begin = reinterpret_cast<Stmt **>(getTrailingObjects<Expr *>()); in children()
417 reinterpret_cast<Stmt *const *>(getTrailingObjects<Expr *>()); in children()
H A DExpr.h1047 return *getTrailingObjects<uint64_t>(); in Int64Result()
1055 return *getTrailingObjects<APValue>(); in APValueResult()
1307 return *getTrailingObjects<NestedNameSpecifierLoc>(); in getQualifierLoc()
1323 return hasFoundDecl() ? *getTrailingObjects<NamedDecl *>() : D; in getFoundDecl()
1329 return hasFoundDecl() ? *getTrailingObjects<NamedDecl *>() : D; in getFoundDecl()
1341 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
1349 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc; in getLAngleLoc()
1357 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->RAngleLoc; in getRAngleLoc()
1372 getTrailingObjects<ASTTemplateKWAndArgsInfo>()->copyInto( in copyTemplateArgumentsInto()
1373 getTrailingObjects<TemplateArgumentLoc>(), List); in copyTemplateArgumentsInto()
[all …]
H A DExprCXX.h1895 Stmt **getStoredStmts() { return getTrailingObjects<Stmt *>(); } in getStoredStmts()
1896 Stmt *const *getStoredStmts() const { return getTrailingObjects<Stmt *>(); } in getStoredStmts()
2267 return cast_or_null<Expr>(getTrailingObjects<Stmt *>()[arraySizeOffset()]); in getArraySize()
2272 return cast_or_null<Expr>(getTrailingObjects<Stmt *>()[arraySizeOffset()]); in getArraySize()
2280 return reinterpret_cast<Expr **>(getTrailingObjects<Stmt *>() + in getPlacementArgs()
2294 return isParenTypeId() ? getTrailingObjects<SourceRange>()[0] in getTypeIdParens()
2316 ? cast<Expr>(getTrailingObjects<Stmt *>()[initExprOffset()]) in getInitializer()
2321 ? cast<Expr>(getTrailingObjects<Stmt *>()[initExprOffset()]) in getInitializer()
2353 return getTrailingObjects<Stmt *>() + placementNewArgsOffset(); in placement_arg_begin()
2359 return getTrailingObjects<Stmt *>() + placementNewArgsOffset(); in placement_arg_begin()
[all …]
H A DDeclFriend.h90 getTrailingObjects<TemplateParameterList *>()[i] = FriendTypeTPLists[i]; in FriendDecl()
133 return getTrailingObjects<TemplateParameterList *>()[N]; in getFriendTypeTemplateParameterList()
165 : getTrailingObjects<TemplateParameterList *>()[0] in getSourceRange()
H A DExprObjC.h221 Expr **getElements() { return getTrailingObjects<Expr *>(); } in getElements()
225 return getTrailingObjects<Expr *>(); in getElements()
364 const KeyValuePair &KV = getTrailingObjects<KeyValuePair>()[Index]; in getKeyValueElement()
368 getTrailingObjects<ExpansionData>()[Index]; in getKeyValueElement()
391 reinterpret_cast<Stmt **>(getTrailingObjects<KeyValuePair>()), in children()
392 reinterpret_cast<Stmt **>(getTrailingObjects<KeyValuePair>()) + in children()
1038 void *getReceiverPointer() const { return *getTrailingObjects<void *>(); } in getReceiverPointer()
1042 *getTrailingObjects<void *>() = Value; in setReceiverPointer()
1056 return getTrailingObjects<SourceLocation>(); in getStoredSelLocs()
1059 return getTrailingObjects<SourceLocation>(); in getStoredSelLocs()
[all …]
H A DDeclGroup.h42 return getTrailingObjects<Decl *>()[i];
47 return getTrailingObjects<Decl *>()[i];
H A DASTConcept.h84 return getTrailingObjects<UnsatisfiedConstraintRecord>(); in begin()
88 return getTrailingObjects<UnsatisfiedConstraintRecord>() + NumRecords; in end()
H A DStmtCXX.h82 Stmt *const *getStmts() const { return getTrailingObjects<Stmt *>(); } in getStmts()
83 Stmt **getStmts() { return getTrailingObjects<Stmt *>(); } in getStmts()
341 Stmt **getStoredStmts() { return getTrailingObjects<Stmt *>(); } in getStoredStmts()
343 Stmt *const *getStoredStmts() const { return getTrailingObjects<Stmt *>(); } in getStoredStmts()
H A DDeclTemplate.h124 iterator begin() { return getTrailingObjects<NamedDecl *>(); } in begin()
125 const_iterator begin() const { return getTrailingObjects<NamedDecl *>(); } in begin()
175 return HasRequiresClause ? getTrailingObjects<Expr *>()[0] : nullptr; in getRequiresClause()
180 return HasRequiresClause ? getTrailingObjects<Expr *>()[0] : nullptr; in getRequiresClause()
505 getTrailingObjects<MemberSpecializationInfo *>()[0] = MSInfo; in FunctionTemplateSpecializationInfo()
599 ? getTrailingObjects<MemberSpecializationInfo *>()[0] in getMemberSpecializationInfo()
721 return getTrailingObjects<FunctionTemplateDecl *>()[I]; in getTemplate()
726 return getTrailingObjects<TemplateArgumentLoc>(); in getTemplateArgs()
1343 return TypeConstraintInitialized ? getTrailingObjects<TypeConstraint>() :
1543 getTrailingObjects<std::pair<QualType, TypeSourceInfo *>>();
[all …]
H A DExprConcepts.h95 return ArrayRef<TemplateArgument>(getTrailingObjects<TemplateArgument>(), in getTemplateArguments()
513 return {getTrailingObjects<ParmVarDecl *>(), NumLocalParameters}; in getLocalParameters()
519 return {getTrailingObjects<concepts::Requirement *>(), NumRequirements}; in getRequirements()
H A DOpenMPClause.h215 static_cast<T *>(this)->template getTrailingObjects<Expr *>(), NumVars); in getVarRefs()
223 static_cast<T *>(this)->template getTrailingObjects<Expr *>()); in setVarRefs()
256 static_cast<const T *>(this)->template getTrailingObjects<Expr *>(), in getVarRefs()
851 ->template getTrailingObjects<Expr *>(), in getSizesRefs()
856 ->template getTrailingObjects<Expr *>(), in getSizesRefs()
865 ->template getTrailingObjects<Expr *>()); in setSizesRefs()
1903 *getTrailingObjects<SourceLocation>() = Loc; in setLParenLoc()
1909 *std::next(getTrailingObjects<SourceLocation>(), 1) = Loc; in setArgumentLoc()
1915 *getTrailingObjects<OpenMPDependClauseKind>() = DK; in setDependencyKind()
1983 return *getTrailingObjects<SourceLocation>(); in getLParenLoc()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DAttributeImpl.h161 char *TrailingString = getTrailingObjects<char>(); in AttributeImpl()
170 return StringRef(getTrailingObjects<char>(), KindSize); in getStringKind()
173 return StringRef(getTrailingObjects<char>() + KindSize + 1, ValSize); in getStringValue()
266 iterator begin() const { return getTrailingObjects<Attribute>(); } in begin()
320 iterator begin() const { return getTrailingObjects<AttributeSet>(); } in begin()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExpr.cpp286 ::new (getTrailingObjects<APValue>()) APValue(); in ConstantExpr()
315 ::new (getTrailingObjects<APValue>()) APValue(); in ConstantExpr()
410 new (getTrailingObjects<NestedNameSpecifierLoc>()) in DeclRefExpr()
414 *getTrailingObjects<NamedDecl *>() = FoundD; in DeclRefExpr()
422 getTrailingObjects<ASTTemplateKWAndArgsInfo>()->initializeFrom( in DeclRefExpr()
423 TemplateKWLoc, *TemplateArgs, getTrailingObjects<TemplateArgumentLoc>(), in DeclRefExpr()
428 getTrailingObjects<ASTTemplateKWAndArgsInfo>()->initializeFrom( in DeclRefExpr()
1037 *getTrailingObjects<unsigned>() = Length; in StringLiteral()
1041 std::memcpy(getTrailingObjects<SourceLocation>(), Loc, in StringLiteral()
1045 std::memcpy(getTrailingObjects<char>(), Str.data(), ByteLength); in StringLiteral()
[all …]
H A DExprCXX.cpp209 getTrailingObjects<Stmt *>()[arraySizeOffset()] = *ArraySize; in CXXNewExpr()
211 getTrailingObjects<Stmt *>()[initExprOffset()] = Initializer; in CXXNewExpr()
213 getTrailingObjects<Stmt *>()[placementNewArgsOffset() + I] = in CXXNewExpr()
216 getTrailingObjects<SourceRange>()[0] = TypeIdParens; in CXXNewExpr()
468 getTrailingObjects<ASTTemplateKWAndArgsInfo>()->initializeFrom( in DependentScopeDeclRefExpr()
469 TemplateKWLoc, *Args, getTrailingObjects<TemplateArgumentLoc>(), Deps); in DependentScopeDeclRefExpr()
471 getTrailingObjects<ASTTemplateKWAndArgsInfo>()->initializeFrom( in DependentScopeDeclRefExpr()
719 E->getTrailingObjects<CXXBaseSpecifier *>()); in Create()
747 E->getTrailingObjects<CXXBaseSpecifier *>()); in Create()
804 E->getTrailingObjects<CXXBaseSpecifier *>()); in Create()
[all …]
H A DASTConcept.cpp30 new (getTrailingObjects<UnsatisfiedConstraintRecord>() + I)
42 new (getTrailingObjects<UnsatisfiedConstraintRecord>() + I)
H A DExprConcepts.cpp68 getTrailingObjects<TemplateArgument>()); in setTemplateArguments()
172 getTrailingObjects<ParmVarDecl *>()); in RequiresExpr()
174 getTrailingObjects<concepts::Requirement *>()); in RequiresExpr()
H A DOpenMPClause.cpp352 getTrailingObjects<Expr *>()[NumLoop] = NumIterations; in setLoopNumIterations()
356 return llvm::makeArrayRef(getTrailingObjects<Expr *>(), NumberOfLoops); in getLoopNumIterations()
361 getTrailingObjects<Expr *>()[NumberOfLoops + NumLoop] = Counter; in setLoopCounter()
366 return getTrailingObjects<Expr *>()[NumberOfLoops + NumLoop]; in getLoopCounter()
371 return getTrailingObjects<Expr *>()[NumberOfLoops + NumLoop]; in getLoopCounter()
1459 getTrailingObjects<Expr *>()[I * static_cast<int>(ExprOffsets::Total) + in setAllocatorsData()
1462 getTrailingObjects<Expr *>()[I * static_cast<int>(ExprOffsets::Total) + in setAllocatorsData()
1466 getTrailingObjects< in setAllocatorsData()
1470 getTrailingObjects< in setAllocatorsData()
1481 getTrailingObjects<Expr *>()[I * static_cast<int>(ExprOffsets::Total) + in getAllocatorData()
[all …]
H A DDeclGroup.cpp32 getTrailingObjects<Decl *>()); in DeclGroup()
H A DExprObjC.cpp60 KeyValuePair *KeyValues = getTrailingObjects<KeyValuePair>(); in ObjCDictionaryLiteral()
62 HasPackExpansions ? getTrailingObjects<ExpansionData>() : nullptr; in ObjCDictionaryLiteral()
342 begin = reinterpret_cast<Stmt **>(getTrailingObjects<void *>()); in children()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DParsedAttr.h277 ArgsUnion *getArgsBuffer() { return getTrailingObjects<ArgsUnion>(); } in getArgsBuffer()
279 return getTrailingObjects<ArgsUnion>(); in getArgsBuffer()
283 return getTrailingObjects<detail::AvailabilityData>(); in getAvailabilityData()
286 return getTrailingObjects<detail::AvailabilityData>(); in getAvailabilityData()
397 return *getTrailingObjects<detail::TypeTagForDatatypeData>(); in getTypeTagForDatatypeDataSlot()
400 return *getTrailingObjects<detail::TypeTagForDatatypeData>(); in getTypeTagForDatatypeDataSlot()
405 ParsedType &getTypeBuffer() { return *getTrailingObjects<ParsedType>(); } in getTypeBuffer()
407 return *getTrailingObjects<ParsedType>(); in getTypeBuffer()
414 return *getTrailingObjects<detail::PropertyData>(); in getPropertyDataBuffer()
418 return *getTrailingObjects<detail::PropertyData>(); in getPropertyDataBuffer()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
H A DRecord.h247 return makeArrayRef(getTrailingObjects<Record *>(), NumClasses); in getClasses()
546 return getTrailingObjects<Init *>()[Bit]; in getBit()
692 return getTrailingObjects<Init *>()[i]; in getElement()
716 return makeArrayRef(getTrailingObjects<Init *>(), NumValues); in getValues()
719 const_iterator begin() const { return getTrailingObjects<Init *>(); } in begin()
959 return getTrailingObjects<Init *>()[Num]; in getCond()
964 return getTrailingObjects<Init *>()[Num+NumConds]; in getVal()
968 return makeArrayRef(getTrailingObjects<Init *>(), NumConds); in getConds()
972 return makeArrayRef(getTrailingObjects<Init *>()+NumConds, NumConds); in getVals()
1245 return getTrailingObjects<Init *>()[i]; in getArg()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachineInstr.h166 Result->getTrailingObjects<MachineMemOperand *>());
169 Result->getTrailingObjects<MCSymbol *>()[0] = PreInstrSymbol;
171 Result->getTrailingObjects<MCSymbol *>()[HasPreInstrSymbol] =
174 Result->getTrailingObjects<MDNode *>()[0] = HeapAllocMarker;
180 return makeArrayRef(getTrailingObjects<MachineMemOperand *>(), NumMMOs); in getMMOs()
184 return HasPreInstrSymbol ? getTrailingObjects<MCSymbol *>()[0] : nullptr; in getPreInstrSymbol()
189 ? getTrailingObjects<MCSymbol *>()[HasPreInstrSymbol] in getPostInstrSymbol()
194 return HasHeapAllocMarker ? getTrailingObjects<MDNode *>()[0] : nullptr; in getHeapAllocMarker()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderStmt.cpp608 new (E->getTrailingObjects<NestedNameSpecifierLoc>()) in VisitDeclRefExpr()
612 *E->getTrailingObjects<NamedDecl *>() = readDeclAs<NamedDecl>(); in VisitDeclRefExpr()
616 *E->getTrailingObjects<ASTTemplateKWAndArgsInfo>(), in VisitDeclRefExpr()
617 E->getTrailingObjects<TemplateArgumentLoc>(), NumTemplateArgs); in VisitDeclRefExpr()
703 E->getTrailingObjects<Stmt *>()[I] = Record.readSubStmt(); in VisitParenListExpr()
838 E->getTrailingObjects<ParmVarDecl *>()); in VisitRequiresExpr()
925 E->getTrailingObjects<concepts::Requirement *>()); in VisitRequiresExpr()
1046 E->getTrailingObjects<MemberExprNameQualifier>()->FoundDecl = FoundDecl; in VisitMemberExpr()
1051 E->getTrailingObjects<MemberExprNameQualifier>()->QualifierLoc = in VisitMemberExpr()
1057 *E->getTrailingObjects<ASTTemplateKWAndArgsInfo>(), in VisitMemberExpr()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h600 return getTrailingObjects<ArgInfo>(); in getArgsBuffer()
603 return getTrailingObjects<ArgInfo>(); in getArgsBuffer()
607 return getTrailingObjects<ExtParameterInfo>(); in getExtParameterInfosBuffer()
610 return getTrailingObjects<ExtParameterInfo>(); in getExtParameterInfosBuffer()

12