Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DType.cpp1319 QualType VisitFunctionType(const FunctionType *funcType) { in VisitFunctionType()
1324 QualType returnType = funcType->getReturnType().substObjCTypeArgs( in VisitFunctionType()
1331 if (isa<FunctionNoProtoType>(funcType)) { in VisitFunctionType()
1334 funcType->getReturnType().getAsOpaquePtr()) in VisitFunctionType()
1335 return BaseType::VisitFunctionType(funcType); in VisitFunctionType()
1338 return Ctx.getFunctionNoProtoType(returnType, funcType->getExtInfo()); in VisitFunctionType()
1341 const auto *funcProtoType = cast<FunctionProtoType>(funcType); in VisitFunctionType()
1384 return BaseType::VisitFunctionType(funcType); in VisitFunctionType()
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td177 def OpTypeFunction: Op<33, (outs TYPE:$funcType), (ins TYPE:$returnType, variable_ops),
178 "$funcType = OpTypeFunction $returnType">;
289 (ins TYPE:$resType, FunctionControl:$funcControl, TYPE:$funcType),
290 "$func = OpFunction $resType $funcControl $funcType">;
/openbsd-src/gnu/llvm/lld/COFF/
H A DDebugTypes.cpp669 TypeIndex funcType = in mergeTypeRecord() local
672 funcIdToType.push_back({funcId, funcType}); in mergeTypeRecord()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp878 FunctionType *funcType = FunctionType::get( in constructFunction() local
887 funcType, GlobalValue::InternalLinkage, oldFunction->getAddressSpace(), in constructFunction()