| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | TypeSwitch.h | 106 template <typename T, typename ResultT = void> 107 class TypeSwitch : public detail::TypeSwitchBase<TypeSwitch<T, ResultT>, T> { 109 using BaseT = detail::TypeSwitchBase<TypeSwitch<T, ResultT>, T>; 116 TypeSwitch<T, ResultT> &Case(CallableT &&caseFn) { in Case() 128 LLVM_NODISCARD ResultT Default(CallableT &&defaultFn) { in Default() 134 LLVM_NODISCARD ResultT Default(ResultT defaultResult) { in Default() 141 operator ResultT() { in ResultT() function 149 Optional<ResultT> result;
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | PassManagerInternal.h | 178 enum { Value = sizeof(check<ResultT>(rank<2>())) == sizeof(EnabledType) }; 187 template <typename IRUnitT, typename PassT, typename ResultT, 190 ResultHasInvalidateMethod<IRUnitT, ResultT>::Value> 195 template <typename IRUnitT, typename PassT, typename ResultT, 197 struct AnalysisResultModel<IRUnitT, PassT, ResultT, PreservedAnalysesT, 200 explicit AnalysisResultModel(ResultT Result) : Result(std::move(Result)) {} 229 ResultT Result; 234 template <typename IRUnitT, typename PassT, typename ResultT, 236 struct AnalysisResultModel<IRUnitT, PassT, ResultT, PreservedAnalysesT, 239 explicit AnalysisResultModel(ResultT Result) : Result(std::move(Result)) {} [all …]
|
| H A D | PassManager.h | 706 template <typename ResultT = ResultConceptT> 722 auto &Result = static_cast<ResultT &>(*RI->second->second); in invalidateImpl()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/fuzzing/ |
| H A D | random.pass.cpp | 38 using ResultT = typename Dist::result_type; typedef 39 static_assert(std::is_same<ResultT, typename ParamT::distribution_type::result_type>::value, ""); 42 …constexpr bool select_vector_result = std::is_constructible<ParamT, ResultT*, ResultT*, ResultT*>:… in Create() 50 auto Input = GetValues<ResultT>(data, size); in DispatchAndCreate() 92 using ResultT = typename Dist::result_type; typedef 108 using ResultT = typename Dist::result_type; typedef 124 using ResultT = typename Dist::result_type; typedef 128 auto vals = GetValues<ResultT>(data, size); in Create() 140 using ResultT = Dist::result_type; typedef
|
| /llvm-project-15.0.7/lldb/include/lldb/Symbol/ |
| H A D | PostfixExpression.h | 163 template <typename ResultT = void> class Visitor { 167 virtual ResultT Visit(BinaryOpNode &binary, Node *&ref) = 0; 168 virtual ResultT Visit(InitialValueNode &val, Node *&ref) = 0; 169 virtual ResultT Visit(IntegerNode &integer, Node *&) = 0; 170 virtual ResultT Visit(RegisterNode ®, Node *&) = 0; 171 virtual ResultT Visit(SymbolNode &symbol, Node *&ref) = 0; 172 virtual ResultT Visit(UnaryOpNode &unary, Node *&ref) = 0; 176 ResultT Dispatch(Node *&node) { in Dispatch()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | BCD.h | 45 template <typename ResultT, typename ValT> 46 inline ResultT decodePackedBCD(const ValT Val, bool IsSigned = true) { 47 return static_cast<ResultT>(decodePackedBCD(
|
| /llvm-project-15.0.7/mlir/include/mlir/Support/ |
| H A D | DebugAction.h | 139 template <typename ActionType, typename ResultT, typename HandlerCallbackT, 141 FailureOr<ResultT> dispatchToHandler(HandlerCallbackT &&handlerCallback, in dispatchToHandler() 151 FailureOr<ResultT> result = failure(); in dispatchToHandler()
|
| H A D | LLVM.h | 81 template <typename T, typename ResultT> 141 template <typename T, typename ResultT = void> 142 using TypeSwitch = llvm::TypeSwitch<T, ResultT>;
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Marshallers.h | 490 template <typename ResultT, typename ArgT, 491 ResultT (*Func)(ArrayRef<const ArgT *>)> 548 template <typename ResultT, typename ArgT, 549 ResultT (*F)(ArrayRef<const ArgT *>)> 551 ast_matchers::internal::VariadicFunction<ResultT, ArgT, F> Func, 553 : Func(&variadicMatcherDescriptor<ResultT, ArgT, F>), 556 BuildReturnTypeVector<ResultT>::build(RetKinds); 1103 template <typename ResultT, typename ArgT, 1104 ResultT (*Func)(ArrayRef<const ArgT *>)> 1106 ast_matchers::internal::VariadicFunction<ResultT, ArgT, Func> VarFunc,
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ |
| H A D | ranges_partition_copy.pass.cpp | 126 using ResultT = std::ranges::partition_copy_result<Iter, OutIter1, OutIter2>; in test_one() typedef 135 std::same_as<ResultT> decltype(auto) result = std::ranges::partition_copy( in test_one() 151 std::same_as<ResultT> decltype(auto) result = std::ranges::partition_copy( in test_one()
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.sort/partial.sort.copy/ |
| H A D | ranges_partial_sort_copy.pass.cpp | 129 using ResultT = std::ranges::partial_sort_copy_result<Iter, OutIter>; in test_one() typedef 143 std::same_as<ResultT> decltype(auto) result = std::ranges::partial_sort_copy( in test_one() 160 … std::same_as<ResultT> decltype(auto) result = std::ranges::partial_sort_copy(in_range, out_range); in test_one()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | OpImplementation.h | 685 template <typename ResultT = ParseResult> 695 KeywordSwitch &Case(StringLiteral str, ResultT value) { in Case() 698 KeywordSwitch &Default(ResultT value) { in Default() 705 std::enable_if_t<!std::is_convertible<FnT, ResultT>::value, KeywordSwitch &> 718 std::enable_if_t<!std::is_convertible<FnT, ResultT>::value, KeywordSwitch &> 729 LLVM_NODISCARD operator ResultT() { in ResultT() function 746 Optional<ResultT> result;
|
| H A D | PatternMatch.h | 641 typename ResultT = std::conditional_t< 643 ResultT dyn_cast() const { in dyn_cast() 644 return isa<T>() ? castImpl<T>() : ResultT(); in dyn_cast()
|
| H A D | BuiltinAttributeInterfaces.td | 335 template <typename T, typename ResultT> 339 ResultT>;
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CastValueChecker.cpp | 483 QualType ResultT = Call.getResultType(); in evalCall() local 484 if (!(ParamT->isPointerType() && ResultT->isPointerType()) && in evalCall() 485 !(ParamT->isReferenceType() && ResultT->isReferenceType())) { in evalCall()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 122 template <typename ResultT, typename ArgT, 123 ResultT (*Func)(ArrayRef<const ArgT *>)> 125 ResultT operator()() const { return Func(None); } 128 ResultT operator()(const ArgT &Arg1, const ArgsT &... Args) const { 134 ResultT operator()(ArrayRef<ArgT> Args) const { 141 template <typename... ArgsT> ResultT Execute(const ArgsT &... Args) const {
|
| /llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | WrapperFunctionUtils.h | 292 using ResultT = decltype(Result); in applyAsync() local 293 SendWFR(ResultSerializer<ResultT>::serialize(std::move(Result))); in applyAsync()
|