| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
| H A D | alloc_function.pass.cpp | 30 template <class FuncType, class AllocType> 36 std::function<FuncType> f = FunctionObject(); in test_FunctionObject() 40 RTTI_ASSERT(f.template target<FuncType>() == 0); in test_FunctionObject() 41 RTTI_ASSERT(f.template target<FuncType*>() == 0); in test_FunctionObject() 54 template <class FuncType, class AllocType> 60 FuncType* target = &FreeFunction; in test_FreeFunction() 61 std::function<FuncType> f = target; in test_FreeFunction() 63 RTTI_ASSERT(f.template target<FuncType*>()); in test_FreeFunction() 65 RTTI_ASSERT(f.template target<FuncType>() == 0); in test_FreeFunction() 69 RTTI_ASSERT(f2.template target<FuncType*>()); in test_FreeFunction() [all …]
|
| H A D | alloc_F.pass.cpp | 43 template <class FuncType, class AllocType> 51 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_FunctionObject() 55 assert(f2.template target<FuncType>() == 0); in test_FunctionObject() 56 assert(f2.template target<FuncType*>() == 0); in test_FunctionObject() 63 template <class FuncType, class AllocType> 68 FuncType* target = &FreeFunction; in test_FreeFunction() 74 assert(f2.template target<FuncType*>()); in test_FreeFunction() 75 assert(*f2.template target<FuncType*>() == target); in test_FreeFunction() 76 assert(f2.template target<FuncType>() == 0); in test_FreeFunction() 82 template <class TargetType, class FuncType, class AllocType> [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/opt-viewer/Inputs/suppress/ |
| H A D | s.opt.yaml | 13 - FuncType: '(Int, Int, @thin CountableRange<Int>.Type) -> CountableRange<Int>' 27 - FuncType: '(@in_guaranteed CountableRange<Int>) -> IndexingIterator<CountableRange<Int>>' 41 - FuncType: '(@inout IndexingIterator<CountableRange<Int>>) -> Optional<Int>' 55 - FuncType: '(Builtin.Word) -> (@owned Array<Any>, Builtin.RawPointer)' 69 - FuncType: '(Int, @guaranteed Array<Int>) -> Int' 131 - FuncType: '(Builtin.Word) -> (@owned Array<Int>, Builtin.RawPointer)' 145 - FuncType: '(@owned Array<Int>, @thin Array<Int>.Type) -> @owned Array<Int>'
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | TypeTraitsTest.cpp | 33 using FuncType = bool (*)(const int &); typedef 34 struct CheckFunctionPointer : CheckFunctionTraits<FuncType> {};
|
| /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ |
| H A D | Delta.cpp | 149 template <typename FuncType> 153 FuncType ExtractChunksFromModule, in CheckChunk() 198 template <typename FuncType> 201 FuncType ExtractChunksFromModule, std::set<Chunk> &UninterestingChunks, in ProcessChunkFromSerializedBitcode()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | CloningTest.cpp | 465 FunctionType* FuncType = FunctionType::get(Type::getVoidTy(C), false); in CreateOldFunc() local 466 OldFunc = Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", M); in CreateOldFunc() 477 DISubroutineType *FuncType = in CreateOldFunctionBodyAndDI() local 485 CU, "f", "f", File, 4, FuncType, 3, DINode::FlagZero, in CreateOldFunctionBodyAndDI() 517 CU, "inlined", "inlined", File, 8, FuncType, 9, DINode::FlagZero, in CreateOldFunctionBodyAndDI() 938 auto *FuncType = FunctionType::get(Type::getVoidTy(C), false); in CreateOldModule() local 939 auto *PersFn = Function::Create(FuncType, GlobalValue::ExternalLinkage, in CreateOldModule() 942 Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", OldM); in CreateOldModule() 978 Function::Create(FuncType, GlobalValue::ExternalLinkage, "g", OldM); in CreateOldModule()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | FunctionTest.cpp | 143 FunctionType *FuncType(FunctionType::get(VoidType, false)); in TEST() local 145 FuncType, GlobalValue::ExternalLinkage)); in TEST()
|
| H A D | ConstantsTest.cpp | 506 FunctionType *FuncType(FunctionType::get(VoidType, false)); in foldFuncPtrAndConstToNull() local 508 Function::Create(FuncType, GlobalValue::ExternalLinkage, "", TheModule)); in foldFuncPtrAndConstToNull()
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiation-default-1.cpp | 83 typename FuncType = R (*)(Arg1, Arg2)>
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Marshallers.h | 656 using FuncType = ReturnType (*)(); 658 return outvalueToVariantMatcher(reinterpret_cast<FuncType>(Func)()); 667 using FuncType = ReturnType (*)(ArgType1); 670 return outvalueToVariantMatcher(reinterpret_cast<FuncType>(Func)( 680 using FuncType = ReturnType (*)(ArgType1, ArgType2); 684 return outvalueToVariantMatcher(reinterpret_cast<FuncType>(Func)(
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
| H A D | use-using.cpp | 156 typedef my_cclass FuncType; typedef
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | intrinsics-library.cpp | 142 template <typename FuncType, typename TR, typename... TA, size_t... I> 143 static Expr<SomeType> ApplyHostFunctionHelper(FuncType func, in ApplyHostFunctionHelper()
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/DWARF/x86/ |
| H A D | DW_AT_decl_file-DW_AT_specification-crosscu.s | 10 # CHECK: FuncType: id = {0x0000002a}, byte-size = 0, decl = filename1:1, compiler_type = "int (void…
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NullabilityChecker.cpp | 791 const FunctionType *FuncType = Decl->getFunctionType(); in checkPostCall() local 792 if (!FuncType) in checkPostCall() 794 QualType ReturnType = FuncType->getReturnType(); in checkPostCall()
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | cxx0x-attributes.cpp | 257 using FuncType = void ([[]] int);
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | AssumeBundleQueriesTest.cpp | 424 FunctionType *FuncType = in RunRandTest() local 428 Function::Create(FuncType, GlobalValue::ExternalLinkage, "test", &*Mod); in RunRandTest()
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | WasmEmitter.cpp | 424 for (uint32_t FuncType : Section.FunctionTypes) in writeSectionContent() local 425 encodeULEB128(FuncType, OS); in writeSectionContent()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 664 struct FuncType { in checkMustTailAttr() struct 677 auto GetMethodType = [this, St, MTA](const CXXMethodDecl *CMD, FuncType &Type, in checkMustTailAttr() 689 Type.MemberType = FuncType::ft_static_member; in checkMustTailAttr() 692 Type.MemberType = FuncType::ft_non_static_member; in checkMustTailAttr() 739 CalleeType.MemberType = FuncType::ft_pointer_to_member; in checkMustTailAttr() 803 auto CheckTypesMatch = [this](FuncType CallerType, FuncType CalleeType, in checkMustTailAttr()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 179 using FuncType = std::function<Value *(Instruction *, LLVMContext &)>; typedef 180 Rule(StringRef N, FuncType F) : Name(N), Fn(F) {} in Rule() 182 FuncType Fn; 185 void addRule(StringRef N, const Rule::FuncType &F) { in addRule()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 3101 QualType FuncType = getSimpleFunctionType( in SynthMsgSendStretCallExpr() local 3103 QualType castType = Context->getPointerType(FuncType); in SynthMsgSendStretCallExpr() 3179 ID, FuncType, nullptr, SC_Extern, false, false); in SynthMsgSendStretCallExpr() 4545 QualType FuncType; in convertFunctionTypeOfBlocks() local 4547 FuncType = getSimpleFunctionType(Res, ArgTypes); in convertFunctionTypeOfBlocks() 4548 else FuncType = QualType(FT, 0); in convertFunctionTypeOfBlocks() 4549 return FuncType; in convertFunctionTypeOfBlocks()
|
| H A D | RewriteObjC.cpp | 3710 QualType FuncType; in convertFunctionTypeOfBlocks() local 3714 FuncType = getSimpleFunctionType(Res, ArgTypes); in convertFunctionTypeOfBlocks() 3715 else FuncType = QualType(FT, 0); in convertFunctionTypeOfBlocks() 3716 return FuncType; in convertFunctionTypeOfBlocks()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | BuildLibCalls.cpp | 1434 FunctionType *FuncType = FunctionType::get(ReturnType, ParamTypes, IsVaArgs); in emitLibCall() local 1435 FunctionCallee Callee = getOrInsertLibFunc(M, *TLI, TheLibFunc, FuncType); in emitLibCall()
|
| /llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/ |
| H A D | FIRTypes.td | 572 def FuncType : TypeConstraint<FunctionType.predicate, "function type">;
|
| H A D | FIROps.td | 901 let arguments = (ins FuncType:$func, Optional<fir_ReferenceType>:$host);
|
| /llvm-project-15.0.7/lldb/docs/use/ |
| H A D | symbolication.rst | 226 …FuncType: id = {0x0000004f}, decl = main.c:9, compiler_type = "int (int, const char **, const char…
|