Home
last modified time | relevance | path

Searched refs:ParamTys (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/clang/include/clang/AST/
DTemplateArgumentVisitor.h24 typename RetTy = void, typename... ParamTys>
31 TA, std::forward<ParamTys>(P)...)
33 RetTy Visit(REF(TemplateArgument) TA, ParamTys... P) { in Visit()
53 ParamTys... P) { \
54 return VisitTemplateArgument(TA, std::forward<ParamTys>(P)...); \
67 RetTy VisitTemplateArgument(REF(TemplateArgument), ParamTys...) { in VisitTemplateArgument() argument
82 template <typename ImplClass, typename RetTy = void, typename... ParamTys>
85 RetTy, ParamTys...> {};
91 template <typename ImplClass, typename RetTy = void, typename... ParamTys>
94 RetTy, ParamTys...> {};
DCommentVisitor.h19 typename RetTy = void, class... ParamTys>
25 static_cast<PTR(CLASS)>(C), std::forward<ParamTys>(P)...)
27 RetTy visit(PTR(Comment) C, ParamTys... P) { in visit()
46 RetTy visit##CLASS(PTR(CLASS) C, ParamTys... P) { DISPATCH(PARENT, PARENT); }
51 RetTy visitComment(PTR(Comment) C, ParamTys... P) { return RetTy(); } in visitComment()
57 template <typename ImplClass, typename RetTy = void, class... ParamTys>
59 RetTy, ParamTys...> {};
61 template <typename ImplClass, typename RetTy = void, class... ParamTys>
64 ParamTys...> {};
DStmtVisitor.h35 class... ParamTys>
41 static_cast<PTR(CLASS)>(S), std::forward<ParamTys>(P)...)
43 RetTy Visit(PTR(Stmt) S, ParamTys... P) { in Visit()
117 RetTy Visit ## CLASS(PTR(CLASS) S, ParamTys... P) { DISPATCH(PARENT, PARENT); }
123 RetTy VisitBin ## NAME(PTR(BinaryOperator) S, ParamTys... P) { \
145 RetTy VisitBin ## NAME(PTR(CompoundAssignOperator) S, ParamTys... P) { \ in BINOP_FALLBACK()
157 RetTy VisitUnary ## NAME(PTR(UnaryOperator) S, ParamTys... P) { \
171 RetTy VisitStmt(PTR(Stmt) Node, ParamTys... P) { return RetTy(); }
182 template <typename ImplClass, typename RetTy = void, typename... ParamTys>
184 : public StmtVisitorBase<std::add_pointer, ImplClass, RetTy, ParamTys...> {
[all …]
DAttrVisitor.h24 typename RetTy = void, class... ParamTys>
60 template <typename ImplClass, typename RetTy = void, typename... ParamTys>
62 ParamTys...> {};
68 template <typename ImplClass, typename RetTy = void, typename... ParamTys>
71 ParamTys...> {};
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h134 ArrayRef<Type *> ParamTys) { in getIntrinsicCost() argument
415 SmallVector<Type *, 8> ParamTys(FTy->param_begin(), FTy->param_end()); in getCallCost()
417 ->getIntrinsicCost(IID, FTy->getReturnType(), ParamTys); in getCallCost()
496 SmallVector<Type *, 8> ParamTys; in getIntrinsicCost() local
497 ParamTys.reserve(Arguments.size()); in getIntrinsicCost()
499 ParamTys.push_back(Arguments[Idx]->getType()); in getIntrinsicCost()
500 return static_cast<T *>(this)->getIntrinsicCost(IID, RetTy, ParamTys); in getIntrinsicCost()
DTargetTransformInfo.h181 ArrayRef<Type *> ParamTys) const;
641 ArrayRef<Type *> ParamTys) = 0;
775 ArrayRef<Type *> ParamTys) override { in getIntrinsicCost() argument
776 return Impl.getIntrinsicCost(IID, RetTy, ParamTys); in getIntrinsicCost()
/external/llvm-project/llvm/lib/Analysis/
DTargetTransformInfo.cpp61 ParamTys.insert(ParamTys.begin(), FTy->param_begin(), FTy->param_end()); in IntrinsicCostAttributes()
77 ParamTys.insert(ParamTys.begin(), FTy->param_begin(), FTy->param_end()); in IntrinsicCostAttributes()
92 ParamTys.insert(ParamTys.begin(), FTy->param_begin(), FTy->param_end()); in IntrinsicCostAttributes()
107 ParamTys.insert(ParamTys.begin(), FTy->param_begin(), FTy->param_end()); in IntrinsicCostAttributes()
114 ParamTys.insert(ParamTys.begin(), Tys.begin(), Tys.end()); in IntrinsicCostAttributes()
122 ParamTys.insert(ParamTys.begin(), Tys.begin(), Tys.end()); in IntrinsicCostAttributes()
131 ParamTys.insert(ParamTys.begin(), Tys.begin(), Tys.end()); in IntrinsicCostAttributes()
137 ParamTys.insert(ParamTys.begin(), Tys.begin(), Tys.end()); in IntrinsicCostAttributes()
145 ParamTys.reserve(Arguments.size()); in IntrinsicCostAttributes()
147 ParamTys.push_back(Arguments[Idx]->getType()); in IntrinsicCostAttributes()
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp32 std::vector<Type *> ParamTys; in EnsureFunctionExists() local
34 ParamTys.push_back(I->getType()); in EnsureFunctionExists()
35 M.getOrInsertFunction(Name, FunctionType::get(RetTy, ParamTys, false)); in EnsureFunctionExists()
72 std::vector<Type *> ParamTys; in ReplaceCallWith() local
74 ParamTys.push_back((*I)->getType()); in ReplaceCallWith()
76 FunctionType::get(RetTy, ParamTys, false)); in ReplaceCallWith()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h725 SmallVector<Type *, 8> ParamTys(FTy->param_begin(), FTy->param_end()); in getCallCost()
727 ->getIntrinsicCost(IID, FTy->getReturnType(), ParamTys, U); in getCallCost()
806 ArrayRef<Type *> ParamTys, const User *U) { in getIntrinsicCost() argument
854 SmallVector<Type *, 8> ParamTys; in getIntrinsicCost() local
855 ParamTys.reserve(Arguments.size()); in getIntrinsicCost()
857 ParamTys.push_back(Arguments[Idx]->getType()); in getIntrinsicCost()
858 return static_cast<T *>(this)->getIntrinsicCost(IID, RetTy, ParamTys, U); in getIntrinsicCost()
DTargetTransformInfo.h285 ArrayRef<Type *> ParamTys,
1189 ArrayRef<Type *> ParamTys, const User *U) = 0;
1440 ArrayRef<Type *> ParamTys, const User *U = nullptr) override {
1441 return Impl.getIntrinsicCost(IID, RetTy, ParamTys, U);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIntrinsicLowering.cpp38 std::vector<Type *> ParamTys; in ReplaceCallWith() local
40 ParamTys.push_back((*I)->getType()); in ReplaceCallWith()
42 M->getOrInsertFunction(NewFn, FunctionType::get(RetTy, ParamTys, false)); in ReplaceCallWith()
/external/llvm-project/llvm/lib/CodeGen/
DIntrinsicLowering.cpp37 std::vector<Type *> ParamTys; in ReplaceCallWith() local
39 ParamTys.push_back((*I)->getType()); in ReplaceCallWith()
41 M->getOrInsertFunction(NewFn, FunctionType::get(RetTy, ParamTys, false)); in ReplaceCallWith()
/external/llvm-project/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c429 CAMLprim LLVMTypeRef llvm_function_type(LLVMTypeRef RetTy, value ParamTys) { in llvm_function_type() argument
430 return LLVMFunctionType(RetTy, (LLVMTypeRef *) ParamTys, in llvm_function_type()
431 Wosize_val(ParamTys), 0); in llvm_function_type()
436 value ParamTys) { in llvm_var_arg_function_type() argument
437 return LLVMFunctionType(RetTy, (LLVMTypeRef *) ParamTys, in llvm_var_arg_function_type()
438 Wosize_val(ParamTys), 1); in llvm_var_arg_function_type()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c360 CAMLprim LLVMTypeRef llvm_function_type(LLVMTypeRef RetTy, value ParamTys) { in llvm_function_type() argument
361 return LLVMFunctionType(RetTy, (LLVMTypeRef *) ParamTys, in llvm_function_type()
362 Wosize_val(ParamTys), 0); in llvm_function_type()
367 value ParamTys) { in llvm_var_arg_function_type() argument
368 return LLVMFunctionType(RetTy, (LLVMTypeRef *) ParamTys, in llvm_var_arg_function_type()
369 Wosize_val(ParamTys), 1); in llvm_var_arg_function_type()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h171 ArrayRef<Type *> ParamTys) { in getIntrinsicCost() argument
184 return BaseT::getIntrinsicCost(IID, RetTy, ParamTys); in getIntrinsicCost()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h312 ArrayRef<Type *> ParamTys, const User *U) { in getIntrinsicCost() argument
325 return BaseT::getIntrinsicCost(IID, RetTy, ParamTys, U); in getIntrinsicCost()
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetTransformInfo.h117 SmallVector<Type *, 4> ParamTys; variable
161 const SmallVectorImpl<Type *> &getArgTypes() const { return ParamTys; } in getArgTypes()
/external/clang/lib/Sema/
DSemaType.cpp4202 SmallVector<QualType, 16> ParamTys; in GetFullTypeForDeclarator() local
4203 ParamTys.reserve(FTI.NumParams); in GetFullTypeForDeclarator()
4276 ParamTys.push_back(ParamTy); in GetFullTypeForDeclarator()
4281 checkExtParameterInfos(S, ParamTys, EPI, in GetFullTypeForDeclarator()
4312 T = Context.getFunctionType(T, ParamTys, EPI); in GetFullTypeForDeclarator()
DSemaOverload.cpp6761 void Sema::AddBuiltinCandidate(QualType ResultTy, QualType *ParamTys, in AddBuiltinCandidate() argument
6777 Candidate.BuiltinTypes.ParamTypes[ArgIdx] = ParamTys[ArgIdx]; in AddBuiltinCandidate()
6797 assert(ParamTys[ArgIdx] == Context.BoolTy && in AddBuiltinCandidate()
6803 = TryCopyInitialization(*this, Args[ArgIdx], ParamTys[ArgIdx], in AddBuiltinCandidate()
/external/llvm-project/clang/lib/Sema/
DSemaType.cpp5175 SmallVector<QualType, 16> ParamTys; in GetFullTypeForDeclarator() local
5176 ParamTys.reserve(FTI.NumParams); in GetFullTypeForDeclarator()
5264 ParamTys.push_back(ParamTy); in GetFullTypeForDeclarator()
5269 checkExtParameterInfos(S, ParamTys, EPI, in GetFullTypeForDeclarator()
5334 T = Context.getFunctionType(T, ParamTys, EPI); in GetFullTypeForDeclarator()
DSemaOverload.cpp7722 void Sema::AddBuiltinCandidate(QualType *ParamTys, ArrayRef<Expr *> Args, in AddBuiltinCandidate() argument
7736 std::copy(ParamTys, ParamTys + Args.size(), Candidate.BuiltinParamTypes); in AddBuiltinCandidate()
7756 assert(ParamTys[ArgIdx] == Context.BoolTy && in AddBuiltinCandidate()
7762 = TryCopyInitialization(*this, Args[ArgIdx], ParamTys[ArgIdx], in AddBuiltinCandidate()
/external/clang/include/clang/Sema/
DSema.h2517 void AddBuiltinCandidate(QualType ResultTy, QualType *ParamTys,
/external/llvm-project/clang/include/clang/Sema/
DSema.h3551 void AddBuiltinCandidate(QualType *ParamTys, ArrayRef<Expr *> Args,