Home
last modified time | relevance | path

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

123

/llvm-project/llvm/unittests/Support/
H A DTrailingObjectsTest.cpp28 getTrailingObjects<short>()); in Class1()
38 short get(unsigned Num) const { return getTrailingObjects<short>()[Num]; } in get()
48 using TrailingObjects::getTrailingObjects;
79 *C->getTrailingObjects<short>() = S; in create()
81 *C->getTrailingObjects<double>() = D; in create()
89 return *getTrailingObjects<short>(); in getShort()
95 return *getTrailingObjects<double>(); in getDouble()
104 using TrailingObjects::getTrailingObjects;
127 EXPECT_EQ(C->getTrailingObjects<short>(), reinterpret_cast<short *>(C + 1)); in TEST()
160 EXPECT_EQ(C1->getTrailingObjects<double>(), in TEST()
[all …]
/llvm-project/clang/include/clang/AST/
H A DOpenACCClause.h223 getTrailingObjects<DeviceTypeArgument>());
238 getTrailingObjects<DeviceTypeArgument>(), NumArchs); in OpenACCDeviceTypeClause()
352 return {getTrailingObjects<Expr *>(), NumExprs};
397 reinterpret_cast<Stmt **>(getTrailingObjects<Expr *>()),
398 reinterpret_cast<Stmt **>(getTrailingObjects<Expr *>() + NumExprs));
464 getTrailingObjects<Expr *>()); in OpenACCNumGangsClause()
466 getTrailingObjects<Expr *>() + 1);
468 MutableArrayRef(getTrailingObjects<Expr *>(), QueueIdExprs.size() + 1)); in classof()
503 getTrailingObjects<Expr *>()); in getIntExpr()
504 setExprs(MutableArrayRef(getTrailingObjects<Exp in getIntExpr()
[all...]
H A DExprOpenMP.h45 void setBase(Expr *Op) { getTrailingObjects<Expr *>()[NumDims] = Op; } in setBase()
81 return llvm::ArrayRef(getTrailingObjects<Expr *>(), NumDims); in getDimensions()
86 return llvm::ArrayRef(getTrailingObjects<SourceRange>(), NumDims); in getBracketsRanges()
90 Expr *getBase() { return getTrailingObjects<Expr *>()[NumDims]; } in getBase()
91 const Expr *getBase() const { return getTrailingObjects<Expr *>()[NumDims]; } in getBase()
99 Stmt **Begin = reinterpret_cast<Stmt **>(getTrailingObjects<Expr *>()); in children()
104 reinterpret_cast<Stmt *const *>(getTrailingObjects<Expr *>()); in children()
287 Stmt **Begin = reinterpret_cast<Stmt **>(getTrailingObjects<Expr *>()); in children()
293 reinterpret_cast<Stmt *const *>(getTrailingObjects<Expr *>()); in children()
H A DStmt.h1647 *getTrailingObjects<FPOptionsOverride>() = F;
1680 return *getTrailingObjects<FPOptionsOverride>();
1692 body_iterator body_begin() { return getTrailingObjects<Stmt *>(); }
1708 return getTrailingObjects<Stmt *>();
1902 return caseStmtIsGNURange() ? *getTrailingObjects<SourceLocation>()
1912 *getTrailingObjects<SourceLocation>() = L;
1916 return reinterpret_cast<Expr *>(getTrailingObjects<Stmt *>()[lhsOffset()]);
1920 return reinterpret_cast<Expr *>(getTrailingObjects<Stmt *>()[lhsOffset()]);
1924 getTrailingObjects<Stmt *>()[lhsOffset()] = reinterpret_cast<Stmt *>(Val);
1929 getTrailingObjects<Stm
[all...]
H A DStmtOpenACC.h145 getTrailingObjects<const OpenACCClause *>(),
146 getTrailingObjects<const OpenACCClause *>() + NumClauses);
147 setClauseList(MutableArrayRef(getTrailingObjects<const OpenACCClause *>(),
163 getTrailingObjects<const OpenACCClause *>()); in OpenACCComputeConstruct()
165 setClauseList(MutableArrayRef(getTrailingObjects<const OpenACCClause *>(), in OpenACCComputeConstruct()
259 getTrailingObjects<const OpenACCClause *>(),
260 getTrailingObjects<const OpenACCClause *>() + NumClauses);
261 setClauseList(MutableArrayRef(getTrailingObjects<const OpenACCClause *>(),
276 getTrailingObjects<const OpenACCClause *>());
277 setClauseList(MutableArrayRef(getTrailingObjects<cons
[all...]
H A DExpr.h1095 return *getTrailingObjects<uint64_t>(); in Int64Result()
1103 return *getTrailingObjects<APValue>(); in APValueResult()
1355 return *getTrailingObjects<NestedNameSpecifierLoc>(); in getQualifierLoc()
1371 return hasFoundDecl() ? *getTrailingObjects<NamedDecl *>() : D; in getFoundDecl()
1377 return hasFoundDecl() ? *getTrailingObjects<NamedDecl *>() : D; in getFoundDecl()
1389 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc; in getTemplateKeywordLoc()
1397 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc; in getLAngleLoc()
1405 return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->RAngleLoc; in getRAngleLoc()
1420 getTrailingObjects<ASTTemplateKWAndArgsInfo>()->copyInto( in copyTemplateArgumentsInto()
1421 getTrailingObjects<TemplateArgumentLo in copyTemplateArgumentsInto()
[all...]
H A DExprCXX.h1291 *getTrailingObjects<Expr *>() = RewrittenExpr; in CXXDefaultArgExpr()
1324 return hasRewrittenInit() ? *getTrailingObjects<Expr *>() : nullptr; in getRewrittenExpr()
1422 return *getTrailingObjects<Expr *>(); in getRewrittenExpr()
1429 return *getTrailingObjects<Expr *>(); in getRewrittenExpr()
1983 Stmt **getStoredStmts() { return getTrailingObjects<Stmt *>(); } in getStoredStmts()
1984 Stmt *const *getStoredStmts() const { return getTrailingObjects<Stmt *>(); } in getStoredStmts()
2359 cast_or_null<Expr>(getTrailingObjects<Stmt *>()[arraySizeOffset()])) in getArraySize()
2373 cast_or_null<Expr>(getTrailingObjects<Stmt *>()[arraySizeOffset()])) in getArraySize()
2384 return reinterpret_cast<Expr **>(getTrailingObjects<Stmt *>() + in getPlacementArgs()
2398 return isParenTypeId() ? getTrailingObjects<SourceRang in getTypeIdParens()
[all...]
H A DDeclFriend.h94 getTrailingObjects<TemplateParameterList *>()[i] = FriendTypeTPLists[i]; in FriendDecl()
136 return getTrailingObjects<TemplateParameterList *>()[N];
158 : getTrailingObjects<TemplateParameterList *>()[0] in getSourceRange()
H A DExprObjC.h220 Expr **getElements() { return getTrailingObjects<Expr *>(); } in getElements()
224 return getTrailingObjects<Expr *>(); in getElements()
364 const KeyValuePair &KV = getTrailingObjects<KeyValuePair>()[Index]; in getKeyValueElement()
369 getTrailingObjects<ExpansionData>()[Index]; in getKeyValueElement()
392 reinterpret_cast<Stmt **>(getTrailingObjects<KeyValuePair>()), in children()
393 reinterpret_cast<Stmt **>(getTrailingObjects<KeyValuePair>()) + in children()
1059 void *getReceiverPointer() const { return *getTrailingObjects<void *>(); }
1063 *getTrailingObjects<void *>() = Value; in getReceiverPointer()
1077 return getTrailingObjects<SourceLocation>();
1080 return getTrailingObjects<SourceLocatio
[all...]
H A DDeclGroup.h42 return getTrailingObjects<Decl *>()[i];
47 return getTrailingObjects<Decl *>()[i];
H A DStmtCXX.h83 Stmt *const *getStmts() const { return getTrailingObjects<Stmt *>(); } in getStmts()
84 Stmt **getStmts() { return getTrailingObjects<Stmt *>(); } in getStmts()
342 Stmt **getStoredStmts() { return getTrailingObjects<Stmt *>(); } in getStoredStmts()
344 Stmt *const *getStoredStmts() const { return getTrailingObjects<Stmt *>(); } in getStoredStmts()
H A DDeclTemplate.h134 iterator begin() { return getTrailingObjects<NamedDecl *>(); } in end()
135 const_iterator begin() const { return getTrailingObjects<NamedDecl *>(); }
184 return HasRequiresClause ? getTrailingObjects<Expr *>()[0] : nullptr;
189 return HasRequiresClause ? getTrailingObjects<Expr *>()[0] : nullptr;
290 return getTrailingObjects<TemplateArgument>();
506 getTrailingObjects<MemberSpecializationInfo *>()[0] = MSInfo; in numTrailingObjects()
599 ? getTrailingObjects<MemberSpecializationInfo *>()[0] in Profile()
713 return {getTrailingObjects<FunctionTemplateDecl *>(), NumCandidates};
1328 return TypeConstraintInitialized ? getTrailingObjects<TypeConstraint>() :
1529 getTrailingObjects<st
[all...]
/llvm-project/clang/lib/AST/
H A DStmtOpenACC.cpp45 getTrailingObjects<const OpenACCClause *>(),
46 getTrailingObjects<const OpenACCClause *>() + NumClauses); in findAndSetChildLoops()
48 MutableArrayRef(getTrailingObjects<const OpenACCClause *>(), NumClauses)); in findAndSetChildLoops()
65 getTrailingObjects<const OpenACCClause *>()); in findAndSetChildLoops()
67 setClauseList(MutableArrayRef(getTrailingObjects<const OpenACCClause *>(), in findAndSetChildLoops()
H A DExpr.cpp333 ::new (getTrailingObjects<APValue>()) APValue(); in ConstantExpr()
363 ::new (getTrailingObjects<APValue>()) APValue(); in ConstantExpr()
460 new (getTrailingObjects<NestedNameSpecifierLoc>()) in DeclRefExpr()
464 *getTrailingObjects<NamedDecl *>() = FoundD; in DeclRefExpr()
473 getTrailingObjects<ASTTemplateKWAndArgsInfo>()->initializeFrom( in DeclRefExpr()
474 TemplateKWLoc, *TemplateArgs, getTrailingObjects<TemplateArgumentLoc>(), in DeclRefExpr()
479 getTrailingObjects<ASTTemplateKWAndArgsInfo>()->initializeFrom( in DeclRefExpr()
1172 *getTrailingObjects<unsigned>() = Length; in StringLiteral()
1176 std::memcpy(getTrailingObjects<SourceLocation>(), Loc, in StringLiteral()
1180 std::memcpy(getTrailingObjects<cha in StringLiteral()
[all...]
H A DExprCXX.cpp258 getTrailingObjects<Stmt *>()[arraySizeOffset()] = *ArraySize; in CXXNewExpr()
260 getTrailingObjects<Stmt *>()[initExprOffset()] = Initializer; in CXXNewExpr()
262 getTrailingObjects<Stmt *>()[placementNewArgsOffset() + I] = in CXXNewExpr()
265 getTrailingObjects<SourceRange>()[0] = TypeIdParens; in CXXNewExpr()
522 getTrailingObjects<ASTTemplateKWAndArgsInfo>()->initializeFrom( in DependentScopeDeclRefExpr()
523 TemplateKWLoc, *Args, getTrailingObjects<TemplateArgumentLoc>(), Deps); in DependentScopeDeclRefExpr()
525 getTrailingObjects<ASTTemplateKWAndArgsInfo>()->initializeFrom( in DependentScopeDeclRefExpr()
774 E->getTrailingObjects<CXXBaseSpecifier *>()); in Create()
802 E->getTrailingObjects<CXXBaseSpecifier *>()); in Create()
865 E->getTrailingObjects<CXXBaseSpecifie in Create()
[all...]
H A DASTConcept.cpp45 getTrailingObjects<UnsatisfiedConstraintRecord>() + I); in ASTConstraintSatisfaction()
56 getTrailingObjects<UnsatisfiedConstraintRecord>() + I); in ASTConstraintSatisfaction()
/llvm-project/llvm/lib/IR/
H A DAttributeImpl.h206 char *TrailingString = getTrailingObjects<char>(); in AttributeImpl()
215 return StringRef(getTrailingObjects<char>(), KindSize); in getStringValue()
218 return StringRef(getTrailingObjects<char>() + KindSize + 1, ValSize); in totalSizeToAlloc()
260 ConstantRange *TrailingCR = getTrailingObjects<ConstantRange>();
265 ConstantRange *TrailingCR = getTrailingObjects<ConstantRange>(); in ~ConstantRangeListAttributeImpl()
271 return ArrayRef(getTrailingObjects<ConstantRange>(), Size); in totalSizeToAlloc()
356 iterator begin() const { return getTrailingObjects<Attribute>(); } in Profile()
410 iterator begin() const { return getTrailingObjects<AttributeSet>(); }
/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstr.h186 Result->getTrailingObjects<MachineMemOperand *>());
191 Result->getTrailingObjects<MCSymbol *>()[0] = PreInstrSymbol;
193 Result->getTrailingObjects<MCSymbol *>()[HasPreInstrSymbol] =
196 Result->getTrailingObjects<MDNode *>()[MDNodeIdx++] = HeapAllocMarker;
198 Result->getTrailingObjects<MDNode *>()[MDNodeIdx++] = PCSections;
200 Result->getTrailingObjects<uint32_t>()[0] = CFIType;
202 Result->getTrailingObjects<MDNode *>()[MDNodeIdx++] = MMRAs;
208 return ArrayRef(getTrailingObjects<MachineMemOperand *>(), NumMMOs); in getPreInstrSymbol()
212 return HasPreInstrSymbol ? getTrailingObjects<MCSymbol *>()[0] : nullptr; in getPostInstrSymbol()
217 ? getTrailingObjects<MCSymbo in getPostInstrSymbol()
[all...]
/llvm-project/mlir/include/mlir/Tools/PDLL/AST/
H A DNodes.h186 return {getTrailingObjects<Stmt *>(), numChildren}; in getChildren()
276 return {getTrailingObjects<Expr *>(), numReplExprs}; in getReplExprs()
401 return {getTrailingObjects<Expr *>(), numArgs}; in getArguments()
533 return {getTrailingObjects<Expr *>(), numOperands}; in getOperands()
541 return {getTrailingObjects<Expr *>() + numOperands, numResultTypes}; in getResultTypes()
549 return {getTrailingObjects<NamedAttributeDecl *>(), numAttributes}; in getAttributes()
593 return {getTrailingObjects<Expr *>(), numElements}; in getElements()
626 return {getTrailingObjects<Expr *>(), getType().size()}; in getElements()
909 return {getTrailingObjects<VariableDecl *>(), numInputs}; in getInputs()
922 return {getTrailingObjects<VariableDecl *>() + numInputs, numResults}; in getResults()
[all …]
/llvm-project/mlir/lib/IR/
H A DAffineMapDetail.h39 return {getTrailingObjects<AffineExpr>(), numResults}; in results()
60 res->getTrailingObjects<AffineExpr>()); in construct()
H A DTypeDetail.h120 result->getTrailingObjects<Type>()); in construct()
131 return {getTrailingObjects<Type>(), size()}; in getTypes()
/llvm-project/clang/include/clang/Sema/
H A DParsedAttr.h202 ArgsUnion *getArgsBuffer() { return getTrailingObjects<ArgsUnion>(); } in getArgsBuffer()
204 return getTrailingObjects<ArgsUnion>(); in getArgsBuffer()
208 return getTrailingObjects<detail::AvailabilityData>(); in getAvailabilityData()
211 return getTrailingObjects<detail::AvailabilityData>(); in getAvailabilityData()
317 return *getTrailingObjects<detail::TypeTagForDatatypeData>(); in getTypeTagForDatatypeDataSlot()
320 return *getTrailingObjects<detail::TypeTagForDatatypeData>(); in getTypeTagForDatatypeDataSlot()
325 ParsedType &getTypeBuffer() { return *getTrailingObjects<ParsedType>(); } in getTypeBuffer()
327 return *getTrailingObjects<ParsedType>(); in getTypeBuffer()
334 return *getTrailingObjects<detail::PropertyData>(); in getPropertyDataBuffer()
338 return *getTrailingObjects<detai in getPropertyDataBuffer()
[all...]
/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h261 return ArrayRef(getTrailingObjects<const Record *>(), NumClasses);
636 return getTrailingObjects<const Init *>()[Bit];
785 return getTrailingObjects<const Init *>()[i];
807 return ArrayRef(getTrailingObjects<const Init *>(), NumValues);
810 const_iterator begin() const { return getTrailingObjects<const Init *>(); }
1050 return getTrailingObjects<const Init *>()[Num];
1055 return getTrailingObjects<const Init *>()[Num + NumConds];
1059 return ArrayRef(getTrailingObjects<const Init *>(), NumConds);
1063 return ArrayRef(getTrailingObjects<const Init *>() + NumConds, NumConds); in CondOpInit()
1335 return getTrailingObjects<cons
[all...]
/llvm-project/llvm/include/llvm/DebugInfo/BTF/
H A DBTF.h307 const Type &Accessor() const { return *getTrailingObjects<Type>(); }
313 return ArrayRef<Type>(getTrailingObjects<Type>(), getVlen()); \
/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp631 new (E->getTrailingObjects<NestedNameSpecifierLoc>()) in VisitDeclRefExpr()
635 *E->getTrailingObjects<NamedDecl *>() = readDeclAs<NamedDecl>(); in VisitIntegerLiteral()
639 *E->getTrailingObjects<ASTTemplateKWAndArgsInfo>(), in VisitIntegerLiteral()
640 E->getTrailingObjects<TemplateArgumentLoc>(), NumTemplateArgs);
727 E->getTrailingObjects<Stmt *>()[I] = Record.readSubStmt(); in VisitUnaryOperator()
858 E->getTrailingObjects<ParmVarDecl *>()); in VisitRequiresExpr()
948 E->getTrailingObjects<concepts::Requirement *>()); in VisitArraySubscriptExpr()
1077 new (E->getTrailingObjects<NestedNameSpecifierLoc>()) in VisitMemberExpr()
1083 *E->getTrailingObjects<DeclAccessPair>() = DeclAccessPair::make(FoundD, AS); in VisitObjCIsaExpr()
1088 *E->getTrailingObjects<ASTTemplateKWAndArgsInf in VisitObjCIsaExpr()
[all...]

123