Searched refs:FunctionType (Results 76 - 100 of 237) sorted by relevance

12345678910

/external/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp411 const FunctionType *
415 return Function->getType()->getAs<FunctionType>();
419 ->getAs<FunctionType>();
H A DSemaTemplateDeduction.cpp933 const FunctionType *ParamFunction = Param->getAs<FunctionType>(),
934 *ArgFunction = Arg->getAs<FunctionType>();
2496 /// \param FunctionType if non-NULL, the result type of the function template
2511 QualType *FunctionType,
2523 if (FunctionType)
2524 *FunctionType = Function->getType();
2641 if (FunctionType) {
2642 *FunctionType = BuildFunctionType(ResultType, ParamTypes,
2646 if (FunctionType
2506 SubstituteExplicitTemplateArguments( FunctionTemplateDecl *FunctionTemplate, TemplateArgumentListInfo &ExplicitTemplateArgs, SmallVectorImpl<DeducedTemplateArgument> &Deduced, SmallVectorImpl<QualType> &ParamTypes, QualType *FunctionType, TemplateDeductionInfo &Info) argument
3497 adjustCCAndNoReturn(QualType ArgFunctionType, QualType FunctionType) argument
3555 QualType FunctionType = Function->getType(); local
[all...]
/external/llvm/include/llvm/IR/
H A DModule.h30 class FunctionType;
329 Constant *getOrInsertFunction(StringRef Name, FunctionType *T,
332 Constant *getOrInsertFunction(StringRef Name, FunctionType *T);
/external/clang/lib/CodeGen/
H A DCGCall.cpp94 FunctionType::ExtInfo extInfo) {
117 FunctionType::ExtInfo extInfo = FTP->getExtInfo();
242 FunctionType::ExtInfo extInfo = FTP->getExtInfo();
264 FunctionType::ExtInfo Info = FPT->getExtInfo();
287 FunctionType::ExtInfo extInfo = FTP->getExtInfo();
302 assert(isa<FunctionType>(FTy));
342 FunctionType::ExtInfo einfo;
377 const FunctionType *fnType,
410 const FunctionType *fnType) {
418 const FunctionType *fnTyp
[all...]
H A DCGBlocks.cpp964 const FunctionType *FuncTy = FnType->castAs<FunctionType>();
1128 llvm::FunctionType *fnLLVMType = CGM.getTypes().GetFunctionType(fnInfo);
1289 C.VoidTy, args, FunctionType::ExtInfo(), /*variadic=*/false);
1293 llvm::FunctionType *LTy = CGM.getTypes().GetFunctionType(FI);
1462 C.VoidTy, args, FunctionType::ExtInfo(), /*variadic=*/false);
1466 llvm::FunctionType *LTy = CGM.getTypes().GetFunctionType(FI);
1752 R, args, FunctionType::ExtInfo(), /*variadic=*/false);
1755 llvm::FunctionType *LTy = Types.GetFunctionType(FI);
1822 R, args, FunctionType
[all...]
H A DCGVTables.cpp409 MD->getType()->castAs<FunctionType>()))
496 llvm::FunctionType *Ty =
497 llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false);
506 llvm::FunctionType *Ty =
507 llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false);
H A DItaniumCXXABI.cpp384 llvm::FunctionType *FTy =
871 llvm::FunctionType *FTy = llvm::FunctionType::get(Int8PtrTy, Args, false);
884 llvm::FunctionType *FTy = llvm::FunctionType::get(CGF.VoidTy, false);
942 llvm::FunctionType *FTy = llvm::FunctionType::get(CGF.VoidTy, false);
1567 llvm::FunctionType *FTy =
1568 llvm::FunctionType::get(CGM.getTypes().ConvertType(CGM.getContext().IntTy),
1579 llvm::FunctionType *FT
[all...]
H A DCodeGenTypes.cpp218 bool CodeGenTypes::isFuncTypeConvertible(const FunctionType *FT) {
471 const FunctionType *FT = cast<FunctionType>(Ty);
479 // we re-convert the FunctionType when appropriate.
671 // If this struct blocked a FunctionType conversion, then recompute whatever
H A DCGObjCRuntime.cpp365 FunctionType::ExtInfo einfo = signature.getExtInfo();
376 FunctionType::ExtInfo(),
H A DCGBlocks.h36 class FunctionType;
H A DCodeGenPGO.cpp67 auto *RegisterFTy = llvm::FunctionType::get(VoidTy, false);
86 auto *RuntimeRegisterTy = llvm::FunctionType::get(VoidTy, VoidPtrTy, false);
188 auto *F = llvm::Function::Create(llvm::FunctionType::get(VoidTy, false),
795 auto *User = llvm::Function::Create(llvm::FunctionType::get(Int32Ty, false),
/external/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h127 virtual unsigned getCallCost(FunctionType *FTy, int NumArgs = -1) const;
/external/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp53 unsigned TargetTransformInfo::getCallCost(FunctionType *FTy,
334 unsigned getCallCost(FunctionType *FTy, int NumArgs = -1) const override
336 assert(FTy && "FunctionType must be provided to this routine.");
360 FunctionType *FTy = F->getFunctionType();
429 return TopTTI->getCallCost(cast<FunctionType>(FTy), CS.arg_size());
/external/llvm/lib/Target/R600/
H A DSITypeRewriter.cpp139 NewF = Function::Create(FunctionType::get(F->getReturnType(), Types, false), GlobalValue::ExternalLinkage, Name, Mod);
/external/llvm/lib/Transforms/Utils/
H A DCloneModule.cpp61 Function::Create(cast<FunctionType>(I->getType()->getElementType()),
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/
H A Dfunction.pxd18 # types.FunctionType.
/external/llvm/examples/Kaleidoscope/Chapter3/
H A Dtoy.cpp407 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()),
/external/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp217 FunctionType *FTy = Fn.getFunctionType();
220 FunctionType *NFTy = FunctionType::get(FTy->getReturnType(),
697 FunctionType *FTy = F->getFunctionType();
842 FunctionType *NFTy = FunctionType::get(NRetTy, Params, FTy->isVarArg());
/external/llvm/lib/ExecutionEngine/JIT/
H A DJIT.cpp243 FunctionType *FTy = F->getFunctionType();
345 FunctionType *STy=FunctionType::get(RetTy, false);
/external/llvm/lib/AsmParser/
H A DLLParser.cpp1110 if (FunctionType *FT = dyn_cast<FunctionType>(PTy->getElementType()))
1150 if (FunctionType *FT = dyn_cast<FunctionType>(PTy->getElementType()))
1910 if (!FunctionType::isValidArgumentType(ArgTy))
1957 if (!FunctionType::isValidReturnType(Result))
1978 Result = FunctionType::get(Result, ArgListTy, isVarArg);
2972 FunctionType *FTy =
2973 PTy ? dyn_cast<FunctionType>(PTy->getElementType()) : nullptr;
3152 if (!FunctionType
[all...]
/external/clang/include/clang/AST/
H A DType.h1247 friend class FunctionType;
2647 /// FunctionType - C99 6.7.5.3 - Function Declarators. This is the common base
2650 class FunctionType : public Type { class in namespace:clang
2659 /// a FunctionType, although FunctionType does currently use the
2694 friend class FunctionType;
2767 FunctionType(TypeClass tc, QualType res,
2811 class FunctionNoProtoType : public FunctionType, public llvm::FoldingSetNode {
2813 : FunctionType(FunctionNoProto, Result, 0, Canonical,
2821 // No additional state past what FunctionType provide
[all...]
/external/llvm/examples/Kaleidoscope/Chapter4/
H A Dtoy.cpp415 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()),
/external/llvm/lib/Linker/
H A DLinkModules.cpp74 FunctionType *get(FunctionType *T) {return cast<FunctionType>(get((Type*)T));}
174 } else if (FunctionType *FT = dyn_cast<FunctionType>(DstTy)) {
175 if (FT->isVarArg() != cast<FunctionType>(SrcTy)->isVarArg())
301 return *Entry = FunctionType::get(ElementTypes[0],
303 cast<FunctionType>(Ty)->isVarArg());
/external/llvm/unittests/ExecutionEngine/JIT/
H A DJITMemoryManagerTest.cpp24 FunctionType *FTy =
25 FunctionType::get(Type::getVoidTy(getGlobalContext()), params, false);
/external/llvm/unittests/IR/
H A DIRBuilderTest.cpp29 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Ctx),

Completed in 681 milliseconds

12345678910