Home
last modified time | relevance | path

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

123

/external/turbine/java/com/google/turbine/binder/bound/
DTypeBoundClass.java161 private final ImmutableList<ParamInfo> parameters;
167 private final @Nullable ParamInfo receiver;
173 ImmutableList<ParamInfo> parameters, in MethodInfo()
179 @Nullable ParamInfo receiver) { in MethodInfo()
213 public ImmutableList<ParamInfo> parameters() { in parameters()
243 public @Nullable ParamInfo receiver() { in receiver()
256 private static ImmutableList<Type> asTypes(ImmutableList<ParamInfo> parameters) { in asTypes()
258 for (ParamInfo param : parameters) { in asTypes()
268 class ParamInfo { class
274 public ParamInfo(ParamSymbol sym, Type type, ImmutableList<AnnoInfo> annotations, int access) { in ParamInfo() method in TypeBoundClass.ParamInfo
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DInconsistentDeclarationParameterNameCheck.cpp201 for (const DifferingParamInfo &ParamInfo : DifferingParams) { in joinParameterNames() local
206 Str.append({"'", ChooseParamName(ParamInfo), "'"}); in joinParameterNames()
215 auto ChooseOtherName = [](const DifferingParamInfo &ParamInfo) { in formatDifferingParamsDiagnostic() argument
216 return ParamInfo.OtherName; in formatDifferingParamsDiagnostic()
218 auto ChooseSourceName = [](const DifferingParamInfo &ParamInfo) { in formatDifferingParamsDiagnostic() argument
219 return ParamInfo.SourceName; in formatDifferingParamsDiagnostic()
230 for (const DifferingParamInfo &ParamInfo : DifferingParams) { in formatDifferingParamsDiagnostic() local
231 if (ParamInfo.GenerateFixItHint) { in formatDifferingParamsDiagnostic()
233 CharSourceRange::getTokenRange(ParamInfo.OtherNameRange), in formatDifferingParamsDiagnostic()
234 ParamInfo.SourceName); in formatDifferingParamsDiagnostic()
DNonConstParameterCheck.cpp131 const ParmInfo &ParamInfo = It.second; in diagnoseNonConstParameters() local
134 if (!ParamInfo.IsReferenced) in diagnoseNonConstParameters()
138 if (!ParamInfo.CanBeConst) in diagnoseNonConstParameters()
/external/tensorflow/tensorflow/python/framework/
Dpython_api_dispatcher.h50 struct ParamInfo { struct
72 bool Initialize(std::vector<ParamInfo> dispatchable_params); argument
125 std::vector<ParamInfo> dispatchable_params_;
Dpython_api_dispatcher.cc28 using ParamInfo = PythonAPIDispatcher::ParamInfo; typedef
58 const std::vector<ParamInfo>& dispatchable_params) { in FindDispatchTypes()
148 std::vector<ParamInfo> dispatchable_params) { in Initialize()
151 [](const ParamInfo& a, const ParamInfo& b) -> bool { in Initialize()
Dpython_api_dispatcher_wrapper.cc31 std::vector<tensorflow::PythonAPIDispatcher::ParamInfo> dispatchable_params; in MakePythonAPIDispatcher()
/external/llvm-project/clang/include/clang/APINotes/
DTypes.h412 class ParamInfo : public VariableInfo {
425 ParamInfo() in ParamInfo() function
451 ParamInfo &operator|=(const ParamInfo &RHS) {
465 friend bool operator==(const ParamInfo &, const ParamInfo &);
470 inline bool operator==(const ParamInfo &LHS, const ParamInfo &RHS) {
477 inline bool operator!=(const ParamInfo &LHS, const ParamInfo &RHS) {
514 std::vector<ParamInfo> Params;
/external/turbine/java/com/google/turbine/binder/
DDisambiguateTypeAnnotations.java32 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(base.sym(), type, 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;
154 private ImmutableList<ParamInfo> bindParameters(ImmutableList<ParamInfo> formals) { in bindParameters()
155 ImmutableList.Builder<ParamInfo> result = ImmutableList.builder(); in bindParameters()
156 for (ParamInfo base : formals) { in bindParameters()
162 private ParamInfo bindParameter(ParamInfo base) { in bindParameter()
164 return new ParamInfo(base.sym(), bindType(base.type()), annos, base.access()); in bindParameter()
DTypeBinder.java27 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo;
271 ImmutableList<ParamInfo> formals; in maybeDefaultConstructor()
282 MethodSymbol symbol, ImmutableList<ParamInfo> formals, TurbineVisibility visibility) { in syntheticConstructor()
298 private ParamInfo enclosingInstanceParameter(MethodSymbol owner) { in enclosingInstanceParameter()
315 return new ParamInfo( in enclosingInstanceParameter()
322 private static ImmutableList<ParamInfo> enumCtorParams(MethodSymbol owner) { in enumCtorParams()
324 new ParamInfo( in enumCtorParams()
330 new ParamInfo( in enumCtorParams()
366 new ParamInfo( in syntheticEnumMethods()
447 ImmutableList.Builder<ParamInfo> parameters = ImmutableList.builder(); in bindMethod()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCFLSteensAliasAnalysis.cpp176 auto ParamInfo = Sets.find(InstantiatedValue{&Param, 0}); in FunctionInfo() local
177 if (ParamInfo.hasValue()) in FunctionInfo()
178 AddToRetParamRelations(I + 1, ParamInfo->Index); in FunctionInfo()
DStackSafetyAnalysis.cpp116 struct ParamInfo { struct
120 explicit ParamInfo(unsigned PointerSize, const Argument *Arg) in ParamInfo() function
126 raw_ostream &operator<<(raw_ostream &OS, const ParamInfo &P) { in operator <<()
153 SmallVector<ParamInfo, 4> Params;
386 ParamInfo &PS = Info.Params.back(); in run()
/external/llvm-project/llvm/lib/Analysis/
DCFLSteensAliasAnalysis.cpp176 auto ParamInfo = Sets.find(InstantiatedValue{&Param, 0}); in FunctionInfo() local
177 if (ParamInfo.hasValue()) in FunctionInfo()
178 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 …]
/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()
/external/turbine/java/com/google/turbine/processing/
DTurbineElement.java34 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo;
708 for (ParamInfo param : info().parameters()) {
741 for (ParamInfo p : info.parameters()) { in toString()
1122 private final Supplier<ParamInfo> info =
1124 new Supplier<ParamInfo>() {
1126 public ParamInfo get() {
1132 ParamInfo info() { in info()
DModelFactory.java31 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo;
323 ParamInfo getParamInfo(ParamSymbol sym) { in getParamInfo()
325 for (ParamInfo p : info.parameters()) { in getParamInfo()
/external/llvm-project/clang/lib/APINotes/
DAPINotesTypes.cpp64 void ParamInfo::dump(llvm::raw_ostream &OS) const { in dump()
/external/llvm-project/clang/lib/Parse/
DParseExpr.cpp3456 Declarator ParamInfo(DS, DeclaratorContext::BlockLiteral); in ParseBlockLiteralExpression() local
3457 ParamInfo.setFunctionDefinitionKind(FunctionDefinitionKind::Definition); in ParseBlockLiteralExpression()
3460 ParamInfo.SetSourceRange(SourceRange(Tok.getLocation(), Tok.getLocation())); in ParseBlockLiteralExpression()
3465 ParseParenDeclarator(ParamInfo); in ParseBlockLiteralExpression()
3469 SourceLocation Tmp = ParamInfo.getSourceRange().getEnd(); in ParseBlockLiteralExpression()
3470 ParamInfo.SetIdentifier(nullptr, CaretLoc); in ParseBlockLiteralExpression()
3471 ParamInfo.SetRangeEnd(Tmp); in ParseBlockLiteralExpression()
3472 if (ParamInfo.isInvalidType()) { in ParseBlockLiteralExpression()
3480 MaybeParseGNUAttributes(ParamInfo); in ParseBlockLiteralExpression()
3483 Actions.ActOnBlockArguments(CaretLoc, ParamInfo, getCurScope()); in ParseBlockLiteralExpression()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaLambda.cpp891 Declarator &ParamInfo, in ActOnStartOfLambdaDefinition() argument
918 if (ParamInfo.getNumTypeObjects() == 0) { in ActOnStartOfLambdaDefinition()
946 assert(ParamInfo.isFunctionDeclarator() && in ActOnStartOfLambdaDefinition()
948 DeclaratorChunk::FunctionTypeInfo &FTI = ParamInfo.getFunctionTypeInfo(); in ActOnStartOfLambdaDefinition()
959 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnStartOfLambdaDefinition()
961 EndLoc = ParamInfo.getSourceRange().getEnd(); in ActOnStartOfLambdaDefinition()
981 ParamInfo.getDeclSpec().getConstexprSpecifier(), in ActOnStartOfLambdaDefinition()
982 ParamInfo.getTrailingRequiresClause()); in ActOnStartOfLambdaDefinition()
995 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition()
/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.java39 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo;
327 for (ParamInfo p : m.parameters()) { in methodParameters()
338 for (ParamInfo parameter : m.parameters()) { in parameterAnnotations()
364 for (ParamInfo t : m.parameters()) { in methodDescriptor()
636 for (ParamInfo p : m.parameters()) { in methodTypeAnnotations()
/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,

123