/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ExtractGV.cpp | 139 auto *FuncType = dyn_cast<FunctionType>(IF.getValueType()); in run() local 142 Function::Create(FuncType, GlobalValue::ExternalLinkage, in run()
|
H A D | ExpandVariadics.cpp | 646 FunctionType *FuncType = CB->getFunctionType(); in expandCall() local 647 if (FuncType != VarargFunctionType) { in expandCall() 650 FuncType = VarargFunctionType; in expandCall() 669 for (unsigned I = FuncType->getNumParams(), E = CB->arg_size(); I < E; ++I) { in expandCall() 774 const unsigned NumArgs = FuncType->getNumParams(); in expandCall()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGPointerAuth.cpp | 356 QualType FuncType = FD->getType(); in getFunctionPointer() local 361 if (const auto *Proto = FuncType->getAs<FunctionProtoType>()) in getFunctionPointer() 362 FuncType = Context.getFunctionNoProtoType(Proto->getReturnType(), in getFunctionPointer() 365 return getFunctionPointer(getRawFunctionPointer(GD, Ty), FuncType); in getFunctionPointer()
|
/freebsd/contrib/llvm-project/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)(
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NullabilityChecker.cpp | 875 const FunctionType *FuncType = Decl->getFunctionType(); in checkPostCall() local 876 if (!FuncType) in checkPostCall() 878 QualType ReturnType = FuncType->getReturnType(); in checkPostCall()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | WasmEmitter.cpp | 424 for (uint32_t FuncType : Section.FunctionTypes) in writeSectionContent() local 425 encodeULEB128(FuncType, OS); in writeSectionContent()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVPreLegalizer.cpp | 642 SPIRVType *FuncType = GR->getOrCreateOpTypeFunctionWithArgs( in insertInlineAsmProcess() local 651 .addUse(GR->getSPIRVTypeID(FuncType)) in insertInlineAsmProcess()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 688 struct FuncType { in checkMustTailAttr() struct 701 auto GetMethodType = [this, St, MTA](const CXXMethodDecl *CMD, FuncType &Type, in checkMustTailAttr() 713 Type.MemberType = FuncType::ft_static_member; in checkMustTailAttr() 716 Type.MemberType = FuncType::ft_non_static_member; in checkMustTailAttr() 763 CalleeType.MemberType = FuncType::ft_pointer_to_member; in checkMustTailAttr() 833 auto CheckTypesMatch = [this](FuncType CallerType, FuncType CalleeType, in checkMustTailAttr()
|
/freebsd/contrib/llvm-project/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()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 3100 QualType FuncType = getSimpleFunctionType( in SynthMsgSendStretCallExpr() local 3102 QualType castType = Context->getPointerType(FuncType); in SynthMsgSendStretCallExpr() 3178 ID, FuncType, nullptr, SC_Extern, false, false); in SynthMsgSendStretCallExpr() 4542 QualType FuncType; in convertFunctionTypeOfBlocks() local 4544 FuncType = getSimpleFunctionType(Res, ArgTypes); in convertFunctionTypeOfBlocks() 4545 else FuncType = QualType(FT, 0); in convertFunctionTypeOfBlocks() 4546 return FuncType; in convertFunctionTypeOfBlocks()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | BuildLibCalls.cpp | 1458 FunctionType *FuncType = FunctionType::get(ReturnType, ParamTypes, IsVaArgs); in emitLibCall() local 1459 FunctionCallee Callee = getOrInsertLibFunc(M, *TLI, TheLibFunc, FuncType); in emitLibCall()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTContext.cpp | 3252 const auto *FuncType = cast<FunctionType>(T); in encodeTypeForFunctionPointerAuth() local 3253 encodeTypeForFunctionPointerAuth(Ctx, OS, FuncType->getReturnType()); in encodeTypeForFunctionPointerAuth() 3254 if (const auto *FPT = dyn_cast<FunctionProtoType>(FuncType)) { in encodeTypeForFunctionPointerAuth()
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
H A D | OMPIRBuilder.cpp | 6567 auto FuncType = FunctionType::get(Builder.getVoidTy(), ParameterTypes, in createOutlinedFunction() local 6569 auto Func = Function::Create(FuncType, GlobalValue::InternalLinkage, FuncName, in createOutlinedFunction()
|