Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtVisitor.h36 class... ParamTys>
42 static_cast<PTR(CLASS)>(S), std::forward<ParamTys>(P)...)
44 RetTy Visit(PTR(Stmt) S, ParamTys... P) { in Visit()
118 RetTy Visit ## CLASS(PTR(CLASS) S, ParamTys... P) { DISPATCH(PARENT, PARENT); }
124 RetTy VisitBin ## NAME(PTR(BinaryOperator) S, ParamTys... P) { \
146 RetTy VisitBin ## NAME(PTR(CompoundAssignOperator) S, ParamTys... P) { \ in BINOP_FALLBACK()
158 RetTy VisitUnary ## NAME(PTR(UnaryOperator) S, ParamTys... P) { \
172 RetTy VisitStmt(PTR(Stmt) Node, ParamTys... P) { return RetTy(); }
183 template <typename ImplClass, typename RetTy = void, typename... ParamTys>
185 : public StmtVisitorBase<std::add_pointer, ImplClass, RetTy, ParamTys...> {
[all …]
H A 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...> {};
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DCodeGenIntrinsics.cpp126 IS.ParamTys.push_back(TypeList->getElementAsRecord(I)); in CodeGenIntrinsic()
249 if (ParamIdx >= IS.ParamTys.size()) in isParamAPointer()
251 return (IS.ParamTys[ParamIdx]->isSubClassOf("LLVMQualPointerType") || in isParamAPointer()
252 IS.ParamTys[ParamIdx]->isSubClassOf("LLVMAnyPointerType")); in isParamAPointer()
H A DCodeGenIntrinsics.h52 std::vector<Record *> ParamTys; member
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVUtils.h229 SmallVector<Type *> ParamTys; in toTypedFunPointer() local
231 ParamTys.push_back(toTypedPointer(PTy)); in toTypedFunPointer()
232 return FunctionType::get(RetTy, ParamTys, FTy->isVarArg()); in toTypedFunPointer()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp83 ParamTys.insert(ParamTys.begin(), FTy->param_begin(), FTy->param_end()); in IntrinsicCostAttributes()
92 ParamTys.insert(ParamTys.begin(), Tys.begin(), Tys.end()); in IntrinsicCostAttributes()
100 ParamTys.reserve(Arguments.size()); in IntrinsicCostAttributes()
102 ParamTys.push_back(Argument->getType()); in IntrinsicCostAttributes()
112 ParamTys.insert(ParamTys.begin(), Tys.begin(), Tys.end()); in IntrinsicCostAttributes()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1291 const SmallVectorImpl<Type *> &ParamTys) { in getVectorIntrinsicInstrCost() argument
1297 auto *VTy = cast<FixedVectorType>(ParamTys.front()); in getVectorIntrinsicInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp1277 SmallVector<Type *> ParamTys; in generateReproducer() local
1279 ParamTys.push_back(P->getType()); in generateReproducer()
1281 FunctionType *FTy = FunctionType::get(Cond->getType(), ParamTys, in generateReproducer()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DPatterns.cpp368 return IntrinInfo->IS.RetTys.size() + IntrinInfo->IS.ParamTys.size(); in getNumInstOperands()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h125 SmallVector<Type *, 4> ParamTys; variable
158 const SmallVectorImpl<Type *> &getArgTypes() const { return ParamTys; } in getArgTypes()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp5112 SmallVector<QualType, 16> ParamTys; in GetFullTypeForDeclarator() local
5113 ParamTys.reserve(FTI.NumParams); in GetFullTypeForDeclarator()
5203 ParamTys.push_back(ParamTy); in GetFullTypeForDeclarator()
5208 checkExtParameterInfos(S, ParamTys, EPI, in GetFullTypeForDeclarator()
5273 T = Context.getFunctionType(T, ParamTys, EPI); in GetFullTypeForDeclarator()
H A DSemaOverload.cpp8304 void Sema::AddBuiltinCandidate(QualType *ParamTys, ArrayRef<Expr *> Args, in AddBuiltinCandidate() argument
8316 std::copy(ParamTys, ParamTys + Args.size(), Candidate.BuiltinParamTypes); in AddBuiltinCandidate()
8336 assert(ParamTys[ArgIdx] == Context.BoolTy && in AddBuiltinCandidate()
8342 = TryCopyInitialization(*this, Args[ArgIdx], ParamTys[ArgIdx], in AddBuiltinCandidate()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenDAGPatterns.cpp2505 unsigned NumParamVTs = Int->IS.ParamTys.size(); in ApplyTypeConstraints()
2524 getValueType(Int->IS.ParamTys[i]->getValueAsDef("VT")); in ApplyTypeConstraints()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2935 SmallVector<Type *> ParamTys; in getVectorIntrinsicCost() local
2937 std::back_inserter(ParamTys), in getVectorIntrinsicCost()
2940 IntrinsicCostAttributes CostAttrs(ID, RetTy, Arguments, ParamTys, FMF, in getVectorIntrinsicCost()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10313 void AddBuiltinCandidate(QualType *ParamTys, ArrayRef<Expr *> Args,