Home
last modified time | relevance | path

Searched refs:FuncType (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExtractGV.cpp139 auto *FuncType = dyn_cast<FunctionType>(IF.getValueType()); in run() local
142 Function::Create(FuncType, GlobalValue::ExternalLinkage, in run()
/freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.h656 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-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp875 const FunctionType *FuncType = Decl->getFunctionType(); in checkPostCall() local
876 if (!FuncType) in checkPostCall()
878 QualType ReturnType = FuncType->getReturnType(); in checkPostCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp424 for (uint32_t FuncType : Section.FunctionTypes) in writeSectionContent() local
425 encodeULEB128(FuncType, OS); in writeSectionContent()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp665 struct FuncType { in checkMustTailAttr() struct
678 auto GetMethodType = [this, St, MTA](const CXXMethodDecl *CMD, FuncType &Type, in checkMustTailAttr()
690 Type.MemberType = FuncType::ft_static_member; in checkMustTailAttr()
693 Type.MemberType = FuncType::ft_non_static_member; in checkMustTailAttr()
740 CalleeType.MemberType = FuncType::ft_pointer_to_member; in checkMustTailAttr()
810 auto CheckTypesMatch = [this](FuncType CallerType, FuncType CalleeType, in checkMustTailAttr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp179 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-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp3101 QualType FuncType = getSimpleFunctionType( in SynthMsgSendStretCallExpr() local
3103 QualType castType = Context->getPointerType(FuncType); in SynthMsgSendStretCallExpr()
3179 ID, FuncType, nullptr, SC_Extern, false, false); in SynthMsgSendStretCallExpr()
4544 QualType FuncType; in convertFunctionTypeOfBlocks() local
4546 FuncType = getSimpleFunctionType(Res, ArgTypes); in convertFunctionTypeOfBlocks()
4547 else FuncType = QualType(FT, 0); in convertFunctionTypeOfBlocks()
4548 return FuncType; in convertFunctionTypeOfBlocks()
H A DRewriteObjC.cpp3710 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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1447 FunctionType *FuncType = FunctionType::get(ReturnType, ParamTypes, IsVaArgs); in emitLibCall() local
1448 FunctionCallee Callee = getOrInsertLibFunc(M, *TLI, TheLibFunc, FuncType); in emitLibCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp5019 auto FuncType = FunctionType::get(Builder.getVoidTy(), ParameterTypes, in createOutlinedFunction() local
5021 auto Func = Function::Create(FuncType, GlobalValue::InternalLinkage, FuncName, in createOutlinedFunction()