Home
last modified time | relevance | path

Searched refs:funcType (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp313 void RewriteBlocksInFunctionProtoType(QualType funcType, NamedDecl *D);
545 void RewriteObjC::RewriteBlocksInFunctionProtoType(QualType funcType, in RewriteBlocksInFunctionProtoType() argument
548 = dyn_cast<FunctionProtoType>(funcType.IgnoreParens())) { in RewriteBlocksInFunctionProtoType()
558 void RewriteObjC::CheckFunctionPointerDecl(QualType funcType, NamedDecl *ND) { in CheckFunctionPointerDecl() argument
559 const PointerType *PT = funcType->getAs<PointerType>(); in CheckFunctionPointerDecl()
560 if (PT && PointerTypeTakesAnyBlockArguments(funcType)) in CheckFunctionPointerDecl()
2126 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteObjCQualifiedInterfaceTypes() local
2127 assert(funcType && "missing function type"); in RewriteObjCQualifiedInterfaceTypes()
2128 proto = dyn_cast<FunctionProtoType>(funcType); in RewriteObjCQualifiedInterfaceTypes()
2297 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteBlockLiteralFunctionDecl() local
[all …]
H A DRewriteModernObjC.cpp386 void RewriteBlocksInFunctionProtoType(QualType funcType, NamedDecl *D);
610 void RewriteModernObjC::RewriteBlocksInFunctionProtoType(QualType funcType, in RewriteBlocksInFunctionProtoType() argument
613 = dyn_cast<FunctionProtoType>(funcType.IgnoreParens())) { in RewriteBlocksInFunctionProtoType()
623 void RewriteModernObjC::CheckFunctionPointerDecl(QualType funcType, NamedDecl *ND) { in CheckFunctionPointerDecl() argument
624 const PointerType *PT = funcType->getAs<PointerType>(); in CheckFunctionPointerDecl()
625 if (PT && PointerTypeTakesAnyBlockArguments(funcType)) in CheckFunctionPointerDecl()
2209 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteObjCQualifiedInterfaceTypes() local
2210 assert(funcType && "missing function type"); in RewriteObjCQualifiedInterfaceTypes()
2211 proto = dyn_cast<FunctionProtoType>(funcType); in RewriteObjCQualifiedInterfaceTypes()
2384 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteBlockLiteralFunctionDecl() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1341 QualType VisitFunctionType(const FunctionType *funcType) { in VisitFunctionType()
1346 QualType returnType = funcType->getReturnType().substObjCTypeArgs( in VisitFunctionType()
1353 if (isa<FunctionNoProtoType>(funcType)) { in VisitFunctionType()
1356 funcType->getReturnType().getAsOpaquePtr()) in VisitFunctionType()
1357 return BaseType::VisitFunctionType(funcType); in VisitFunctionType()
1360 return Ctx.getFunctionNoProtoType(returnType, funcType->getExtInfo()); in VisitFunctionType()
1363 const auto *funcProtoType = cast<FunctionProtoType>(funcType); in VisitFunctionType()
1406 return BaseType::VisitFunctionType(funcType); in VisitFunctionType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td181 def OpTypeFunction: Op<33, (outs TYPE:$funcType), (ins TYPE:$returnType, variable_ops),
182 "$funcType = OpTypeFunction $returnType">;
293 (ins TYPE:$resType, FunctionControl:$funcControl, TYPE:$funcType),
294 "$func = OpFunction $resType $funcControl $funcType">;
/freebsd-14.2/contrib/llvm-project/lld/COFF/
H A DDebugTypes.cpp671 TypeIndex funcType = in mergeTypeRecord() local
674 funcIdToType.push_back({funcId, funcType}); in mergeTypeRecord()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp882 FunctionType *funcType = FunctionType::get( in constructFunction() local
891 funcType, GlobalValue::InternalLinkage, oldFunction->getAddressSpace(), in constructFunction()