Searched refs:FnTy (Results 1 - 25 of 27) sorted by relevance

12

/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp108 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, local
110 if (CanRepresent(FnTy.getTypePtr()))
111 DI.EmitFunctionDecl(D, D->getLocation(), FnTy);
127 QualType FnTy = Ctx.getFunctionType(RetTy, ArgTypes, local
129 if (CanRepresent(FnTy.getTypePtr()))
130 DI.EmitFunctionDecl(D, D->getLocation(), FnTy);
H A DCGCUDANV.cpp111 llvm::Function *makeDummyFunction(llvm::FunctionType *FnTy) { argument
112 assert(FnTy->getReturnType()->isVoidTy() &&
115 FnTy, llvm::GlobalValue::InternalLinkage, "dummy", &TheModule);
H A DCGVTables.cpp34 llvm::Constant *CodeGenModule::GetAddrOfThunk(StringRef Name, llvm::Type *FnTy, argument
36 return GetOrCreateLLVMFunction(Name, FnTy, GD, /*ForVTable=*/true,
H A DCGOpenMPRuntime.cpp1128 llvm::FunctionType *FnTy = CGM.getTypes().GetFunctionType(FnInfo); local
1131 auto *Fn = llvm::Function::Create(FnTy, llvm::GlobalValue::InternalLinkage,
1579 auto *FnTy = local
1581 return CGM.CreateRuntimeFunction(FnTy, Name);
1601 auto *FnTy = local
1603 return CGM.CreateRuntimeFunction(FnTy, Name);
1618 auto *FnTy = local
1620 return CGM.CreateRuntimeFunction(FnTy, Name);
1641 auto *FnTy = local
1643 return CGM.CreateRuntimeFunction(FnTy, Nam
5873 llvm::FunctionType *FnTy = CGM.getTypes().GetFunctionType(FnInfo); local
5947 llvm::FunctionType *FnTy = CGM.getTypes().GetFunctionType(FnInfo); local
6017 llvm::FunctionType *FnTy = CGM.getTypes().GetFunctionType(FnInfo); local
9717 llvm::FunctionType *FnTy = CGM.getTypes().GetFunctionType(FnInfo); local
[all...]
H A DCGException.cpp2036 llvm::FunctionType *FnTy = CGM.getTypes().GetFunctionType(FnInfo); local
2038 FnTy, llvm::GlobalValue::InternalLinkage, Name.str(), &CGM.getModule());
H A DCodeGenModule.h895 llvm::Constant *GetAddrOfThunk(StringRef Name, llvm::Type *FnTy,
H A DItaniumCXXABI.cpp2806 llvm::FunctionType *FnTy = CGM.getTypes().GetFunctionType(FI); local
2808 llvm::Function::Create(FnTy, getThreadLocalWrapperLinkage(VD, CGM),
H A DCGDebugInfo.cpp4581 auto *FnTy = Block.getBlockExpr()->getFunctionType(); local
4582 auto FnPtrType = CGM.getContext().getPointerType(FnTy->desugar());
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DIgnoreExpr.h24 template <typename FnTy, typename... FnTys>
25 Expr *IgnoreExprNodesImpl(Expr *E, FnTy &&Fn, FnTys &&... Fns) {
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroEarly.cpp111 auto *FnTy = FunctionType::get(Type::getVoidTy(C), FramePtrTy, local
113 auto *FnPtrTy = FnTy->getPointerTo();
118 Function::Create(FnTy, GlobalValue::LinkageTypes::PrivateLinkage,
H A DCoroSplit.cpp471 auto *FnTy = (Shape.ABI != coro::ABI::Async) local
476 Function::Create(FnTy, GlobalValue::LinkageTypes::InternalLinkage,
1505 /// Coerce the arguments in \p FnArgs according to \p FnTy in \p CallArgs.
1506 static void coerceArguments(IRBuilder<> &Builder, FunctionType *FnTy, argument
1510 for (auto paramTy : FnTy->params()) {
1524 auto *FnTy = local
1529 coerceArguments(Builder, FnTy, Arguments, CallArgs);
1531 auto *TailCall = Builder.CreateCall(FnTy, MustTailCallFn, CallArgs);
1893 FunctionType *FnTy = FunctionType::get(Type::getVoidTy(Context), local
1895 auto *IndirectCall = CallInst::Create(FnTy, DevirtFnAdd
1911 auto *FnTy = FunctionType::get(Type::getVoidTy(C), Type::getInt8PtrTy(C), local
[all...]
H A DCoroFrame.cpp1100 auto *FnTy = FunctionType::get(Type::getVoidTy(C), FramePtrTy, local
1102 auto *FnPtrTy = FnTy->getPointerTo();
2124 auto FnTy = FunctionType::get(ValueTy, {}, false); local
2125 auto Fn = ConstantPointerNull::get(FnTy->getPointerTo());
2127 auto Call = Builder.CreateCall(FnTy, Fn, {});
2139 auto FnTy = FunctionType::get(V->getType()->getPointerTo(), local
2141 auto Fn = ConstantPointerNull::get(FnTy->getPointerTo());
2143 auto Call = Builder.CreateCall(FnTy, Fn, { V });
H A DCoroutines.cpp723 auto *FnTy =
725 if (FnTy->getNumParams() != (getNumArgOperands() - 3))
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDerivedTypes.h170 : FnTy(Fn ? Fn->getFunctionType() : nullptr), Callee(Fn) {}
172 FunctionCallee(FunctionType *FnTy, Value *Callee) argument
173 : FnTy(FnTy), Callee(Callee) {
174 assert((FnTy == nullptr) == (Callee == nullptr));
181 FunctionType *getFunctionType() { return FnTy; }
188 FunctionType *FnTy = nullptr; member in class:llvm::FunctionCallee
/netbsd-current/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DMachOPlatform.cpp46 template <typename FnTy>
47 static Error setUpObjCRegAPIFunc(FnTy &Target, sys::DynamicLibrary &LibObjC,
50 Target = reinterpret_cast<FnTy>(Addr);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp28 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); local
34 IRB.getInt32Ty(), PointerType::getUnqual(FnTy), IRB.getInt8PtrTy());
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DMustExecute.cpp493 template <typename K, typename V, typename FnTy, typename... ArgsTy>
495 FnTy &&Fn, ArgsTy&&... args) {
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DAttributor.cpp1488 FunctionType *FnTy = F.getFunctionType();
1491 Function::Create(FnTy, F.getLinkage(), F.getAddressSpace(), F.getName());
1545 FunctionType *FnTy = F.getFunctionType();
1548 Function *Copied = Function::Create(FnTy, F.getLinkage(), F.getAddressSpace(),
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5044 if (const FunctionProtoType *FnTy = internal::getFunctionProtoType(Node))
5045 return FnTy->hasDynamicExceptionSpec();
5064 const FunctionProtoType *FnTy = internal::getFunctionProtoType(Node);
5069 if (!FnTy)
5073 if (isUnresolvedExceptionSpec(FnTy->getExceptionSpecType()))
5076 return FnTy->isNothrow();
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp75 FunctionType *FnTy = nullptr; local
82 FnTy = FunctionType::get(ReturnType, ArrayRef<Type *>{__VA_ARGS__}, \
94 Fn = Function::Create(FnTy, GlobalValue::ExternalLinkage, Str, M); \
128 Constant *C = ConstantExpr::getBitCast(Fn, FnTy->getPointerTo());
129 return {FnTy, C};
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclAttr.cpp88 if (const FunctionType *FnTy = D->getFunctionType())
89 return isa<FunctionProtoType>(FnTy);
97 if (const FunctionType *FnTy = D->getFunctionType())
98 return cast<FunctionProtoType>(FnTy)->getNumParams();
116 if (const FunctionType *FnTy = D->getFunctionType())
117 return cast<FunctionProtoType>(FnTy)->getParamType(Idx);
131 if (const FunctionType *FnTy = D->getFunctionType())
132 return FnTy->getReturnType();
145 if (const FunctionType *FnTy = D->getFunctionType())
146 return cast<FunctionProtoType>(FnTy)
[all...]
H A DSemaType.cpp1994 static std::string getFunctionQualifiersAsString(const FunctionProtoType *FnTy){ argument
1995 std::string Quals = FnTy->getMethodQuals().getAsString();
1997 switch (FnTy->getRefQualifier()) {
5505 const FunctionProtoType *FnTy = T->getAs<FunctionProtoType>(); local
5506 assert(FnTy && "Why oh why is there not a FunctionProtoType here?");
5577 << getFunctionQualifiersAsString(FnTy)
5581 FunctionProtoType::ExtProtoInfo EPI = FnTy->getExtProtoInfo();
5585 T = Context.getFunctionType(FnTy->getReturnType(), FnTy->getParamTypes(),
H A DSemaOverload.cpp10648 const auto *FnTy = Fn->getType()->castAs<FunctionProtoType>();
10654 if (MinParams != FnTy->getNumParams() || FnTy->isVariadic() ||
10655 FnTy->isTemplateVariadic())
10661 if (MinParams != FnTy->getNumParams())
10665 modeCount = FnTy->getNumParams();
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DDecl.cpp3227 if (auto *FnTy = getType()->getAs<FunctionType>())
3228 return FnTy->getNoReturnAttr();
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2897 Type *FnTy = getTypeByID(Record[0]);
2898 if (!FnTy)
2901 dyn_cast_or_null<Function>(ValueList.getConstantFwdRef(Record[1],FnTy));

Completed in 985 milliseconds

12