Home
last modified time | relevance | path

Searched refs:ArgInfo (Results 1 – 24 of 24) sorted by relevance

/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DInlineCost.h96 struct ArgInfo { struct
101 ArgInfo(unsigned CWeight, unsigned AWeight) in ArgInfo() function
113 std::vector<ArgInfo> ArgumentWeights;
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h452 typedef CGFunctionInfoArgInfo ArgInfo; typedef
492 ArgInfo *getArgsBuffer() { in getArgsBuffer()
493 return getTrailingObjects<ArgInfo>(); in getArgsBuffer()
495 const ArgInfo *getArgsBuffer() const { in getArgsBuffer()
496 return getTrailingObjects<ArgInfo>(); in getArgsBuffer()
522 size_t numTrailingObjects(OverloadToken<ArgInfo>) const { in numTrailingObjects() argument
529 typedef const ArgInfo *const_arg_iterator;
530 typedef ArgInfo *arg_iterator;
/external/llvm/lib/IR/
DFunction.cpp686 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
687 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Argument, ArgInfo)); in DecodeIITType()
691 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
693 ArgInfo)); in DecodeIITType()
697 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
699 ArgInfo)); in DecodeIITType()
703 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
705 ArgInfo)); in DecodeIITType()
709 unsigned ArgInfo = (NextElt == Infos.size() ? 0 : Infos[NextElt++]); in DecodeIITType() local
711 ArgInfo)); in DecodeIITType()
[all …]
/external/clang/lib/CodeGen/
DCGCall.cpp738 operator new(totalSizeToAlloc<ArgInfo, ExtParameterInfo>( in create()
1303 SmallVector<IRArgs, 8> ArgInfo; member in __anon7478c6650411::ClangToLLVMArgMapping
1309 ArgInfo(OnlyRequiredArgs ? FI.getNumRequiredArgs() : FI.arg_size()) { in ClangToLLVMArgMapping()
1328 assert(ArgNo < ArgInfo.size()); in hasPaddingArg()
1329 return ArgInfo[ArgNo].PaddingArgIndex != InvalidIndex; in hasPaddingArg()
1333 return ArgInfo[ArgNo].PaddingArgIndex; in getPaddingArgNo()
1339 assert(ArgNo < ArgInfo.size()); in getIRArgs()
1340 return std::make_pair(ArgInfo[ArgNo].FirstArgIndex, in getIRArgs()
1341 ArgInfo[ArgNo].NumberOfArgs); in getIRArgs()
1369 auto &IRArgs = ArgInfo[ArgNo]; in construct()
[all …]
DTargetInfo.cpp6364 ABIArgInfo ArgInfo = in classifyArgumentType() local
6367 ArgInfo.setInReg(true); in classifyArgumentType()
6368 return ArgInfo; in classifyArgumentType()
6445 ABIArgInfo ArgInfo = in classifyReturnType() local
6447 ArgInfo.setInReg(true); in classifyReturnType()
6448 return ArgInfo; in classifyReturnType()
/external/fmtlib/test/
Dutil-test.cc409 struct ArgInfo;
413 struct ArgInfo<Arg::type_code> { \
434 EXPECT_EQ(value, ArgInfo<Arg::Type>::get(arg)); \
437 TEST(ArgTest, ArgInfo) { in TEST() argument
453 EXPECT_EQ(&p, ArgInfo<Arg::CUSTOM>::get(arg).value); in TEST()
461 EXPECT_EQ(expected_value, ArgInfo<Arg::type_code>::get(arg)); \
632 EXPECT_EQ(value, ArgInfo<Arg::type_code>::get(result.arg)); \
672 EXPECT_EQ(value, ArgInfo<Arg::type_code>::get(result.arg)); \
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.h325 struct ArgInfo { struct
330 ArgInfo(LocTy L, Type *ty, unsigned Attr, const std::string &N) in ArgInfo() argument
333 bool ParseArgumentList(SmallVectorImpl<ArgInfo> &ArgList, bool &isVarArg);
DLLParser.cpp1388 bool LLParser::ParseArgumentList(SmallVectorImpl<ArgInfo> &ArgList, in ParseArgumentList()
1419 ArgList.push_back(ArgInfo(TypeLoc, ArgTy, Attrs, Name)); in ParseArgumentList()
1445 ArgList.push_back(ArgInfo(TypeLoc, ArgTy, Attrs, Name)); in ParseArgumentList()
1460 SmallVector<ArgInfo, 8> ArgList; in ParseFunctionType()
2650 SmallVector<ArgInfo, 8> ArgList; in ParseFunctionHeader()
/external/clang/lib/Parse/
DParseObjc.cpp1418 Sema::ObjCArgInfo ArgInfo; in ParseObjCMethodDecl() local
1424 ArgInfo.Type = nullptr; in ParseObjCMethodDecl()
1426 ArgInfo.Type = ParseObjCTypeName(ArgInfo.DeclSpec, in ParseObjCMethodDecl()
1432 ArgInfo.ArgAttrs = nullptr; in ParseObjCMethodDecl()
1435 ArgInfo.ArgAttrs = paramAttrs.getList(); in ParseObjCMethodDecl()
1455 ArgInfo.Name = Tok.getIdentifierInfo(); in ParseObjCMethodDecl()
1456 ArgInfo.NameLoc = Tok.getLocation(); in ParseObjCMethodDecl()
1459 ArgInfos.push_back(ArgInfo); in ParseObjCMethodDecl()
1482 if (PP.getLocForEndOfToken(ArgInfo.NameLoc) == ColonLoc) { in ParseObjCMethodDecl()
1483 Diag(ArgInfo.NameLoc, diag::warn_missing_selector_name) << ArgInfo.Name; in ParseObjCMethodDecl()
[all …]
/external/clang/lib/Serialization/
DASTWriterStmt.cpp51 void AddTemplateKWAndArgsInfo(const ASTTemplateKWAndArgsInfo &ArgInfo,
62 const ASTTemplateKWAndArgsInfo &ArgInfo, const TemplateArgumentLoc *Args) { in AddTemplateKWAndArgsInfo() argument
63 Record.AddSourceLocation(ArgInfo.TemplateKWLoc); in AddTemplateKWAndArgsInfo()
64 Record.AddSourceLocation(ArgInfo.LAngleLoc); in AddTemplateKWAndArgsInfo()
65 Record.AddSourceLocation(ArgInfo.RAngleLoc); in AddTemplateKWAndArgsInfo()
66 for (unsigned i = 0; i != ArgInfo.NumTemplateArgs; ++i) in AddTemplateKWAndArgsInfo()
1458 const ASTTemplateKWAndArgsInfo &ArgInfo = in VisitCXXDependentScopeMemberExpr() local
1460 Record.push_back(ArgInfo.NumTemplateArgs); in VisitCXXDependentScopeMemberExpr()
1461 AddTemplateKWAndArgsInfo(ArgInfo, in VisitCXXDependentScopeMemberExpr()
1487 const ASTTemplateKWAndArgsInfo &ArgInfo = in VisitDependentScopeDeclRefExpr() local
[all …]
DASTReaderStmt.cpp113 TemplateArgumentListInfo ArgInfo; in ReadTemplateKWAndArgsInfo() local
114 ArgInfo.setLAngleLoc(ReadSourceLocation(Record, Idx)); in ReadTemplateKWAndArgsInfo()
115 ArgInfo.setRAngleLoc(ReadSourceLocation(Record, Idx)); in ReadTemplateKWAndArgsInfo()
117 ArgInfo.addArgument( in ReadTemplateKWAndArgsInfo()
119 Args.initializeFrom(TemplateKWLoc, ArgInfo, ArgsLocArray); in ReadTemplateKWAndArgsInfo()
3019 TemplateArgumentListInfo ArgInfo; in ReadStmtFromStream() local
3024 ArgInfo.setLAngleLoc(ReadSourceLocation(F, Record, Idx)); in ReadStmtFromStream()
3025 ArgInfo.setRAngleLoc(ReadSourceLocation(F, Record, Idx)); in ReadStmtFromStream()
3027 ArgInfo.addArgument(ReadTemplateArgumentLoc(F, Record, Idx)); in ReadStmtFromStream()
3048 HasTemplateKWAndArgsInfo ? &ArgInfo : nullptr, T, in ReadStmtFromStream()
/external/llvm/lib/AsmParser/
DLLParser.h443 struct ArgInfo { struct
448 ArgInfo(LocTy L, Type *ty, AttributeSet Attr, const std::string &N) in ArgInfo() argument
451 bool ParseArgumentList(SmallVectorImpl<ArgInfo> &ArgList, bool &isVarArg);
DLLParser.cpp2194 bool LLParser::ParseArgumentList(SmallVectorImpl<ArgInfo> &ArgList, in ParseArgumentList()
2272 SmallVector<ArgInfo, 8> ArgList; in ParseFunctionType()
4615 SmallVector<ArgInfo, 8> ArgList; in ParseFunctionHeader()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp4287 ObjCArgInfo *ArgInfo, in ActOnMethodDeclaration() argument
4332 if (!ArgInfo[i].Type) { in ActOnMethodDeclaration()
4336 ArgType = GetTypeFromParser(ArgInfo[i].Type, &DI); in ActOnMethodDeclaration()
4339 LookupResult R(*this, ArgInfo[i].Name, ArgInfo[i].NameLoc, in ActOnMethodDeclaration()
4345 Diag(ArgInfo[i].NameLoc, in ActOnMethodDeclaration()
4348 << ArgInfo[i].Name; in ActOnMethodDeclaration()
4356 : ArgInfo[i].NameLoc; in ActOnMethodDeclaration()
4359 ArgInfo[i].NameLoc, ArgInfo[i].Name, in ActOnMethodDeclaration()
4365 CvtQTToAstBitMask(ArgInfo[i].DeclSpec.getObjCDeclQualifier())); in ActOnMethodDeclaration()
4368 ProcessDeclAttributeList(TUScope, Param, ArgInfo[i].ArgAttrs); in ActOnMethodDeclaration()
DSemaTemplate.cpp4276 TypeSourceInfo *ArgInfo) { in CheckTemplateArgument() argument
4277 assert(ArgInfo && "invalid TypeSourceInfo"); in CheckTemplateArgument()
4278 QualType Arg = ArgInfo->getType(); in CheckTemplateArgument()
4279 SourceRange SR = ArgInfo->getTypeLoc().getSourceRange(); in CheckTemplateArgument()
DSemaExpr.cpp1708 TemplateArgumentLocInfo ArgInfo; in ActOnStringLiteral() local
1709 ExplicitArgs.addArgument(TemplateArgumentLoc(Arg, ArgInfo)); in ActOnStringLiteral()
3348 TemplateArgumentLocInfo ArgInfo; in ActOnNumericConstant() local
3349 ExplicitArgs.addArgument(TemplateArgumentLoc(Arg, ArgInfo)); in ActOnNumericConstant()
/external/python/cpython2/Lib/
Dinspect.py819 ArgInfo = namedtuple('ArgInfo', 'args varargs keywords locals') variable
829 return ArgInfo(args, varargs, varkw, frame.f_locals)
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInlineCost.cpp256 ArgumentWeights.push_back(ArgInfo(Metrics.CountCodeReductionForConstant(I), in analyzeFunction()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.h757 const SmallVectorImpl<ISD::InputArg> &ArgInfo,
/external/llvm/lib/Target/X86/
DX86ISelLowering.h1033 const SmallVectorImpl<ISD::InputArg> &ArgInfo,
/external/clang/lib/Analysis/
DThreadSafety.cpp1007 BeforeInfo *ArgInfo = getBeforeInfoForDecl(ArgVd, Analyzer); in insertAttrExprs() local
1008 ArgInfo->Vect.push_back(Vd); in insertAttrExprs()
/external/python/cpython2/Doc/library/
Dinspect.rst500 Returns a :term:`named tuple` ``ArgInfo(args, varargs, keywords,
/external/clang/include/clang/Sema/
DSema.h7551 ObjCArgInfo *ArgInfo,
/external/python/cpython2/Misc/
DNEWS8688 - Issue #4092: Return ArgInfo as promised in the documentation from