Home
last modified time | relevance | path

Searched refs:FnTy (Results 1 – 12 of 12) sorted by relevance

/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp527 llvm::FunctionType *FnTy = in createRuntimeFunction() local
529 RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_fork_call"); in createRuntimeFunction()
535 llvm::FunctionType *FnTy = in createRuntimeFunction() local
537 RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_global_thread_num"); in createRuntimeFunction()
546 llvm::FunctionType *FnTy = in createRuntimeFunction() local
548 RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_threadprivate_cached"); in createRuntimeFunction()
557 llvm::FunctionType *FnTy = in createRuntimeFunction() local
559 RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_critical"); in createRuntimeFunction()
568 llvm::FunctionType *FnTy = in createRuntimeFunction() local
570 RTLFn = CGM.CreateRuntimeFunction(FnTy, "__kmpc_critical_with_hint"); in createRuntimeFunction()
[all …]
DObjectFilePCHContainerOperations.cpp101 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitFunctionDecl() local
103 if (CanRepresent(FnTy.getTypePtr())) in VisitFunctionDecl()
104 DI.EmitFunctionDecl(D, D->getLocation(), FnTy); in VisitFunctionDecl()
120 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, in VisitObjCMethodDecl() local
122 if (CanRepresent(FnTy.getTypePtr())) in VisitObjCMethodDecl()
123 DI.EmitFunctionDecl(D, D->getLocation(), FnTy); in VisitObjCMethodDecl()
DCGException.cpp1662 llvm::FunctionType *FnTy = CGM.getTypes().GetFunctionType(FnInfo); in startOutlinedSEHHelper() local
1664 FnTy, llvm::GlobalValue::InternalLinkage, Name.str(), &CGM.getModule()); in startOutlinedSEHHelper()
DItaniumCXXABI.cpp2188 llvm::FunctionType *FnTy = llvm::FunctionType::get(RetTy, false); in getOrCreateThreadLocalWrapper() local
2190 llvm::Function::Create(FnTy, getThreadLocalWrapperLinkage(VD, CGM), in getOrCreateThreadLocalWrapper()
2263 llvm::FunctionType *FnTy = llvm::FunctionType::get(CGM.VoidTy, false); in EmitThreadLocalInitFuncs() local
2265 FnTy, llvm::GlobalVariable::ExternalWeakLinkage, InitFnName.str(), in EmitThreadLocalInitFuncs()
DCGDebugInfo.cpp3179 auto *FnTy = block.getBlockExpr()->getFunctionType(); in EmitDeclareOfBlockLiteralArgVariable() local
3180 auto FnPtrType = CGM.getContext().getPointerType(FnTy->desugar()); in EmitDeclareOfBlockLiteralArgVariable()
/external/llvm/lib/Transforms/Utils/
DModuleUtils.cpp27 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray() local
47 EltTy = StructType::get(IRB.getInt32Ty(), PointerType::getUnqual(FnTy), in appendToGlobalArray()
/external/llvm/unittests/IR/
DInstructionsTest.cpp492 Type *FnTy = FunctionType::get(Int32Ty, ArgTys, /*isVarArg=*/false); in TEST() local
493 Value *Callee = Constant::getNullValue(FnTy->getPointerTo()); in TEST()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2958 const auto *FnTy = Node.getType()->getAs<FunctionProtoType>(); in AST_MATCHER() local
2963 if (!FnTy) in AST_MATCHER()
2967 if (isUnresolvedExceptionSpec(FnTy->getExceptionSpecType())) in AST_MATCHER()
2970 return FnTy->isNothrow(Node.getASTContext()); in AST_MATCHER()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp73 if (const FunctionType *FnTy = D->getFunctionType()) in hasFunctionProto() local
74 return isa<FunctionProtoType>(FnTy); in hasFunctionProto()
82 if (const FunctionType *FnTy = D->getFunctionType()) in getFunctionOrMethodNumParams() local
83 return cast<FunctionProtoType>(FnTy)->getNumParams(); in getFunctionOrMethodNumParams()
90 if (const FunctionType *FnTy = D->getFunctionType()) in getFunctionOrMethodParamType() local
91 return cast<FunctionProtoType>(FnTy)->getParamType(Idx); in getFunctionOrMethodParamType()
109 if (const FunctionType *FnTy = D->getFunctionType()) in getFunctionOrMethodResultType() local
110 return cast<FunctionType>(FnTy)->getReturnType(); in getFunctionOrMethodResultType()
123 if (const FunctionType *FnTy = D->getFunctionType()) { in isFunctionOrMethodVariadic() local
124 const FunctionProtoType *proto = cast<FunctionProtoType>(FnTy); in isFunctionOrMethodVariadic()
DSemaType.cpp1777 static std::string getFunctionQualifiersAsString(const FunctionProtoType *FnTy){ in getFunctionQualifiersAsString() argument
1779 Qualifiers::fromCVRMask(FnTy->getTypeQuals()).getAsString(); in getFunctionQualifiersAsString()
1781 switch (FnTy->getRefQualifier()) { in getFunctionQualifiersAsString()
4114 const FunctionProtoType *FnTy = T->getAs<FunctionProtoType>(); in GetFullTypeForDeclarator() local
4115 assert(FnTy && "Why oh why is there not a FunctionProtoType here?"); in GetFullTypeForDeclarator()
4181 << getFunctionQualifiersAsString(FnTy) in GetFullTypeForDeclarator()
4185 FunctionProtoType::ExtProtoInfo EPI = FnTy->getExtProtoInfo(); in GetFullTypeForDeclarator()
4189 T = Context.getFunctionType(FnTy->getReturnType(), FnTy->getParamTypes(), in GetFullTypeForDeclarator()
DSemaOverload.cpp9202 const FunctionProtoType *FnTy = Fn->getType()->getAs<FunctionProtoType>(); in DiagnoseArityMismatch() local
9208 if (MinParams != FnTy->getNumParams() || FnTy->isVariadic() || in DiagnoseArityMismatch()
9209 FnTy->isTemplateVariadic()) in DiagnoseArityMismatch()
9215 if (MinParams != FnTy->getNumParams()) in DiagnoseArityMismatch()
9219 modeCount = FnTy->getNumParams(); in DiagnoseArityMismatch()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2931 Type *FnTy = getTypeByID(Record[0]); in parseConstants() local
2932 if (!FnTy) in parseConstants()
2935 dyn_cast_or_null<Function>(ValueList.getConstantFwdRef(Record[1],FnTy)); in parseConstants()