Home
last modified time | relevance | path

Searched refs:ParamInfo (Results 1 – 25 of 28) sorted by relevance

12

/external/turbine/java/com/google/turbine/binder/bound/
DTypeBoundClass.java145 private final ImmutableList<ParamInfo> parameters;
151 private final ParamInfo receiver;
157 ImmutableList<ParamInfo> parameters, in MethodInfo()
163 ParamInfo receiver) { in MethodInfo()
197 public ImmutableList<ParamInfo> parameters() { in parameters()
227 public ParamInfo receiver() { in receiver()
233 class ParamInfo { class
239 public ParamInfo(Type type, String name, ImmutableList<AnnoInfo> annotations, int access) { in ParamInfo() method in TypeBoundClass.ParamInfo
/external/turbine/java/com/google/turbine/binder/
DDisambiguateTypeAnnotations.java31 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo;
124 private static ImmutableList<ParamInfo> bindParameters( in bindParameters()
125 Env<ClassSymbol, TypeBoundClass> env, ImmutableList<ParamInfo> params) { in bindParameters()
126 ImmutableList.Builder<ParamInfo> result = ImmutableList.builder(); in bindParameters()
127 for (ParamInfo param : params) { in bindParameters()
133 private static ParamInfo bindParam(Env<ClassSymbol, TypeBoundClass> env, ParamInfo base) { in bindParam()
142 return new ParamInfo(type, base.name(), declarationAnnotations.build(), base.access()); in bindParam()
DCanonicalTypeBinder.java25 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo;
120 ImmutableList.Builder<ParamInfo> parameters = ImmutableList.builder(); in methods()
121 for (ParamInfo parameter : base.parameters()) { in methods()
143 private static ParamInfo param( in param()
148 ParamInfo base) { in param()
149 return new ParamInfo( in param()
DConstBinder.java29 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo;
142 private ImmutableList<ParamInfo> bindParameters(ImmutableList<ParamInfo> formals) { in bindParameters()
143 ImmutableList.Builder<ParamInfo> result = ImmutableList.builder(); in bindParameters()
144 for (ParamInfo base : formals) { in bindParameters()
150 private ParamInfo bindParameter(ParamInfo base) { in bindParameter()
152 return new ParamInfo(bindType(base.type()), base.name(), annos, base.access()); in bindParameter()
DTypeBinder.java27 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo;
269 ImmutableList<ParamInfo> formals; in maybeDefaultConstructor()
280 ImmutableList<ParamInfo> formals, TurbineVisibility visibility) { in syntheticConstructor()
296 private ParamInfo enclosingInstanceParameter() { in enclosingInstanceParameter()
313 return new ParamInfo( in enclosingInstanceParameter()
320 private static final ImmutableList<ParamInfo> ENUM_CTOR_PARAMS =
322 new ParamInfo(
328 new ParamInfo(
360 new ParamInfo( in syntheticEnumMethods()
438 ImmutableList.Builder<ParamInfo> parameters = ImmutableList.builder(); in bindMethod()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCFLSteensAliasAnalysis.cpp175 auto ParamInfo = Sets.find(InstantiatedValue{&Param, 0}); in FunctionInfo() local
176 if (ParamInfo.hasValue()) in FunctionInfo()
177 AddToRetParamRelations(I + 1, ParamInfo->Index); in FunctionInfo()
/external/llvm/lib/Analysis/
DCFLSteensAliasAnalysis.cpp188 auto ParamInfo = Sets.find(InstantiatedValue{&Param, 0}); in FunctionInfo() local
189 if (ParamInfo.hasValue()) in FunctionInfo()
190 AddToRetParamRelations(I + 1, ParamInfo->Index); in FunctionInfo()
/external/clang/lib/Parse/
DParseExpr.cpp2782 Declarator ParamInfo(DS, Declarator::BlockLiteralContext); in ParseBlockLiteralExpression() local
2785 ParamInfo.SetSourceRange(SourceRange(Tok.getLocation(), Tok.getLocation())); in ParseBlockLiteralExpression()
2790 ParseParenDeclarator(ParamInfo); in ParseBlockLiteralExpression()
2794 SourceLocation Tmp = ParamInfo.getSourceRange().getEnd(); in ParseBlockLiteralExpression()
2795 ParamInfo.SetIdentifier(nullptr, CaretLoc); in ParseBlockLiteralExpression()
2796 ParamInfo.SetRangeEnd(Tmp); in ParseBlockLiteralExpression()
2797 if (ParamInfo.isInvalidType()) { in ParseBlockLiteralExpression()
2805 MaybeParseGNUAttributes(ParamInfo); in ParseBlockLiteralExpression()
2808 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
2815 ParamInfo.AddTypeInfo(DeclaratorChunk::getFunction(/*HasProto=*/true, in ParseBlockLiteralExpression()
[all …]
DParseDecl.cpp5583 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseFunctionDeclarator() local
5614 ParseFunctionDeclaratorIdentifierList(D, ParamInfo); in ParseFunctionDeclarator()
5622 ParseParameterDeclarationClause(D, FirstArgAttrs, ParamInfo, in ParseFunctionDeclarator()
5627 HasProto = ParamInfo.size() || getLangOpts().CPlusPlus; in ParseFunctionDeclarator()
5728 ParamInfo.data(), ParamInfo.size(), in ParseFunctionDeclarator()
5802 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo) { in ParseFunctionDeclaratorIdentifierList() argument
5819 ParamInfo.clear(); in ParseFunctionDeclaratorIdentifierList()
5834 ParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseFunctionDeclaratorIdentifierList()
5879 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo, in ParseParameterDeclarationClause() argument
6002 ParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseParameterDeclarationClause()
DParseExprCXX.cpp1143 SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; in ParseLambdaExpressionAfterIntroducer() local
1148 ParseParameterDeclarationClause(D, Attr, ParamInfo, EllipsisLoc); in ParseLambdaExpressionAfterIntroducer()
1211 ParamInfo.data(), ParamInfo.size(), in ParseLambdaExpressionAfterIntroducer()
DParseObjc.cpp1391 SmallVector<DeclaratorChunk::ParamInfo, 8> CParamInfo; in ParseObjCMethodDecl()
1512 CParamInfo.push_back(DeclaratorChunk::ParamInfo(ParmII, in ParseObjCMethodDecl()
/external/clang/lib/Sema/
DSemaLambda.cpp805 Declarator &ParamInfo, in ActOnStartOfLambdaDefinition() argument
826 if (ParamInfo.getNumTypeObjects() == 0) { in ActOnStartOfLambdaDefinition()
850 assert(ParamInfo.isFunctionDeclarator() && in ActOnStartOfLambdaDefinition()
852 DeclaratorChunk::FunctionTypeInfo &FTI = ParamInfo.getFunctionTypeInfo(); in ActOnStartOfLambdaDefinition()
861 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnStartOfLambdaDefinition()
863 EndLoc = ParamInfo.getSourceRange().getEnd(); in ActOnStartOfLambdaDefinition()
883 ParamInfo.getDeclSpec().isConstexprSpecified()); in ActOnStartOfLambdaDefinition()
888 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition()
DDeclSpec.cpp155 ParamInfo *Params, in getFunction()
229 I.Fun.Params = new DeclaratorChunk::ParamInfo[NumParams]; in getFunction()
/external/clang/include/clang/AST/
DDecl.h1577 ParmVarDecl **ParamInfo;
1687 ParamInfo(nullptr), Body(), in FunctionDecl()
1990 return {ParamInfo, getNumParams()}; in parameters()
1993 return {ParamInfo, getNumParams()}; in parameters()
2013 return ParamInfo[i]; in getParamDecl()
2017 return ParamInfo[i]; in getParamDecl()
3505 ParmVarDecl **ParamInfo; variable
3522 ParamInfo(nullptr), NumParams(0), Body(nullptr), in BlockDecl()
3544 return {ParamInfo, getNumParams()}; in parameters()
3547 return {ParamInfo, getNumParams()}; in parameters()
[all …]
/external/turbine/java/com/google/turbine/lower/
DLower.java40 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo;
328 for (ParamInfo p : m.parameters()) { in methodParameters()
339 for (ParamInfo parameter : m.parameters()) { in parameterAnnotations()
365 for (ParamInfo t : m.parameters()) { in methodDescriptor()
639 for (ParamInfo p : m.parameters()) { in methodTypeAnnotations()
DLowerSignature.java149 for (SourceTypeBoundClass.ParamInfo t : method.parameters()) { in methodSignature()
189 for (SourceTypeBoundClass.ParamInfo t : m.parameters()) { in needsMethodSig()
/external/llvm/lib/AsmParser/
DLLParser.h391 struct ParamInfo { struct
395 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo() argument
398 bool ParseParameterList(SmallVectorImpl<ParamInfo> &ArgList,
DLLParser.cpp2078 bool LLParser::ParseParameterList(SmallVectorImpl<ParamInfo> &ArgList, in ParseParameterList()
2118 ArgList.push_back(ParamInfo(ArgLoc, V, AttributeSet::get(V->getContext(), in ParseParameterList()
5252 SmallVector<ParamInfo, 16> ArgList; in ParseInvoke()
5848 SmallVector<ParamInfo, 16> ArgList; in ParseCall()
/external/clang/include/clang/Sema/
DDeclSpec.h1179 struct ParamInfo { struct
1191 ParamInfo() {} in ParamInfo() argument
1192 ParamInfo(IdentifierInfo *ident, SourceLocation iloc,
1286 ParamInfo *Params;
1529 ParamInfo *Params, unsigned NumParams,
1691 DeclaratorChunk::ParamInfo InlineParams[16];
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.h479 struct ParamInfo { struct
483 ParamInfo(LocTy loc, Value *v, AttributeSet attrs) in ParamInfo() argument
486 bool ParseParameterList(SmallVectorImpl<ParamInfo> &ArgList,
DLLParser.cpp2344 bool LLParser::ParseParameterList(SmallVectorImpl<ParamInfo> &ArgList, in ParseParameterList()
2383 ArgList.push_back(ParamInfo( in ParseParameterList()
5755 SmallVector<ParamInfo, 16> ArgList; in ParseInvoke()
6339 SmallVector<ParamInfo, 16> ArgList; in ParseCall()
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBoundClass.java414 ImmutableList.Builder<ParamInfo> formals = ImmutableList.builder(); in bindMethod()
428 formals.add(new ParamInfo(BytecodeBinder.bindTy(tySig, scope), name, annotations, access)); in bindMethod()
/external/clang/include/clang/Parse/
DParser.h2362 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo);
2366 SmallVectorImpl<DeclaratorChunk::ParamInfo> &ParamInfo,
/external/clang/lib/AST/
DDecl.cpp2749 assert(!ParamInfo && "Already has param info!"); in setParams()
2754 ParamInfo = new (C) ParmVarDecl*[NewParamInfo.size()]; in setParams()
2755 std::copy(NewParamInfo.begin(), NewParamInfo.end(), ParamInfo); in setParams()
3877 assert(!ParamInfo && "Already has param info!"); in setParams()
3882 ParamInfo = new (getASTContext()) ParmVarDecl*[NewParamInfo.size()]; in setParams()
3883 std::copy(NewParamInfo.begin(), NewParamInfo.end(), ParamInfo); in setParams()
/external/turbine/javatests/com/google/turbine/lower/
DLowerTest.java149 new SourceTypeBoundClass.ParamInfo( in hello()

12