Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenCXX.cpp25 cir::FuncType funcType = getTypes().getFunctionType(fnInfo); in codegenCXXStructor() local
33 cgf.generateCode(gd, fn, funcType); in codegenCXXStructor()
H A DCIRGenModule.cpp403 cir::FuncType funcType = getTypes().getFunctionType(fi); in emitGlobalFunctionDefinition() local
405 if (!funcOp || funcOp.getFunctionType() != funcType) { in emitGlobalFunctionDefinition()
406 funcOp = getAddrOfFunction(gd, funcType, /*ForVTable=*/false, in emitGlobalFunctionDefinition()
424 cgf.generateCode(gd, funcOp, funcType); in emitGlobalFunctionDefinition()
1330 mlir::Type funcType, bool forVTable, in getAddrOfFunction() argument
1336 if (!funcType) { in getAddrOfFunction()
1338 funcType = convertType(fd->getType()); in getAddrOfFunction()
1354 getOrCreateCIRFunction(mangledName, funcType, gd, forVTable, dontDefer, in getAddrOfFunction()
1668 StringRef mangledName, mlir::Type funcType, GlobalDecl gd, bool forVTable, in getOrCreateCIRFunction() argument
1712 if (fn && fn.getFunctionType() == funcType) { in getOrCreateCIRFunction()
[all …]
H A DCIRGenModule.h247 getAddrOfFunction(clang::GlobalDecl gd, mlir::Type funcType = nullptr,
312 getOrCreateCIRFunction(llvm::StringRef mangledName, mlir::Type funcType,
319 cir::FuncType funcType,
H A DCIRGenFunction.cpp339 cir::FuncOp fn, cir::FuncType funcType, in startFunction() argument
437 cir::FuncType funcType) { in generateCode() argument
463 startFunction(gd, retTy, fn, funcType, args, loc, bodyRange.getBegin()); in generateCode()
H A DCIRGenFunction.h585 cir::FuncType funcType);
594 cir::FuncOp fn, cir::FuncType funcType,
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/Builder/
H A DCIRBaseBuilder.h247 cir::FuncType funcType, mlir::ValueRange operands,
251 return createCallOp(loc, mlir::SymbolRefAttr(), funcType.getReturnType(),
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp311 void RewriteBlocksInFunctionProtoType(QualType funcType, NamedDecl *D);
543 void RewriteObjC::RewriteBlocksInFunctionProtoType(QualType funcType, in RewriteBlocksInFunctionProtoType() argument
546 = dyn_cast<FunctionProtoType>(funcType.IgnoreParens())) { in RewriteBlocksInFunctionProtoType()
556 void RewriteObjC::CheckFunctionPointerDecl(QualType funcType, NamedDecl *ND) { in CheckFunctionPointerDecl() argument
557 const PointerType *PT = funcType->getAs<PointerType>(); in CheckFunctionPointerDecl()
558 if (PT && PointerTypeTakesAnyBlockArguments(funcType)) in CheckFunctionPointerDecl()
2124 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteObjCQualifiedInterfaceTypes() local
2125 assert(funcType && "missing function type"); in RewriteObjCQualifiedInterfaceTypes()
2126 proto = dyn_cast<FunctionProtoType>(funcType); in RewriteObjCQualifiedInterfaceTypes()
2295 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteBlockLiteralFunctionDecl() local
[all …]
H A DRewriteModernObjC.cpp384 void RewriteBlocksInFunctionProtoType(QualType funcType, NamedDecl *D);
608 void RewriteModernObjC::RewriteBlocksInFunctionProtoType(QualType funcType, in RewriteBlocksInFunctionProtoType() argument
611 = dyn_cast<FunctionProtoType>(funcType.IgnoreParens())) { in RewriteBlocksInFunctionProtoType()
621 void RewriteModernObjC::CheckFunctionPointerDecl(QualType funcType, NamedDecl *ND) { in CheckFunctionPointerDecl() argument
622 const PointerType *PT = funcType->getAs<PointerType>(); in CheckFunctionPointerDecl()
623 if (PT && PointerTypeTakesAnyBlockArguments(funcType)) in CheckFunctionPointerDecl()
2207 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteObjCQualifiedInterfaceTypes() local
2208 assert(funcType && "missing function type"); in RewriteObjCQualifiedInterfaceTypes()
2209 proto = dyn_cast<FunctionProtoType>(funcType); in RewriteObjCQualifiedInterfaceTypes()
2382 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteBlockLiteralFunctionDecl() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1448 QualType VisitFunctionType(const FunctionType *funcType) { in VisitFunctionType()
1453 QualType returnType = funcType->getReturnType().substObjCTypeArgs( in VisitFunctionType()
1460 if (isa<FunctionNoProtoType>(funcType)) { in VisitFunctionType()
1463 funcType->getReturnType().getAsOpaquePtr()) in VisitFunctionType()
1464 return BaseType::VisitFunctionType(funcType); in VisitFunctionType()
1467 return Ctx.getFunctionNoProtoType(returnType, funcType->getExtInfo()); in VisitFunctionType()
1470 const auto *funcProtoType = cast<FunctionProtoType>(funcType); in VisitFunctionType()
1513 return BaseType::VisitFunctionType(funcType); in VisitFunctionType()
/freebsd/contrib/llvm-project/lld/COFF/
H A DDebugTypes.cpp675 TypeIndex funcType = in mergeTypeRecord() local
678 funcIdToType.push_back({funcId, funcType}); in mergeTypeRecord()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td193 def OpTypeFunction: Op<33, (outs TYPE:$funcType), (ins TYPE:$returnType, variable_ops),
194 "$funcType = OpTypeFunction $returnType">;
300 (ins TYPE:$resType, FunctionControl:$funcControl, TYPE:$funcType),
301 "$func = OpFunction $resType $funcControl $funcType">;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp889 FunctionType *funcType = FunctionType::get( in constructFunctionDeclaration() local
894 Function::Create(funcType, GlobalValue::InternalLinkage, in constructFunctionDeclaration()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp5157 QualType funcType = CGM.getContext().getMemberPointerType( in getSignedVirtualMemberFunctionPointer() local
5159 return CGM.getMemberFunctionPointer(thunk, funcType); in getSignedVirtualMemberFunctionPointer()