Searched refs:FunctionType (Results 101 - 125 of 237) sorted by relevance

12345678910

/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dmetafunctions.cpp237 template<typename FunctionType>
/external/clang/tools/libclang/
H A DCXType.cpp515 if (const FunctionType *FD = T->getAs<FunctionType>()) {
573 if (const FunctionType *FD = T->getAs<FunctionType>())
/external/llvm/tools/bugpoint/
H A DMiscompilation.cpp393 std::vector<std::pair<std::string, FunctionType*> > MisCompFunctions;
423 std::vector<std::pair<std::string, FunctionType*> > MisCompFunctions;
607 std::vector<std::pair<std::string, FunctionType*> > MisCompFunctions;
887 FunctionType *FuncTy = F->getFunctionType();
/external/clang/lib/Sema/
H A DSemaType.cpp1363 << QFK << isa<FunctionType>(T.IgnoreParens()) << T
2853 FunctionType::ExtInfo EI(getCCForDeclaratorChunk(S, D, FTI, chunkIndex));
4234 /// const FunctionType *fn = unwrapped.get();
4249 const FunctionType *Fn;
4255 if (isa<FunctionType>(Ty)) {
4256 Fn = cast<FunctionType>(Ty);
4287 const FunctionType *get() const { return Fn; }
4289 QualType wrap(Sema &S, const FunctionType *New) {
4478 FunctionType::ExtInfo EI = unwrapped.get()->getExtInfo().withNoReturn(true);
4494 FunctionType
[all...]
/external/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp676 FunctionType *FTyL = cast<FunctionType>(TyL);
677 FunctionType *FTyR = cast<FunctionType>(TyR);
1333 FunctionType *FFTy = F->getFunctionType();
H A DArgumentPromotion.cpp501 FunctionType *FTy = F->getFunctionType();
610 FunctionType *NFTy = FunctionType::get(RetTy, Params, FTy->isVarArg());
/external/clang/lib/CodeGen/
H A DCGObjCGNU.cpp84 llvm::FunctionType *FTy = llvm::FunctionType::get(RetTy, ArgTys, false);
975 IMPTy = llvm::PointerType::getUnqual(llvm::FunctionType::get(IdTy, IMPArgs,
1029 CGM.CreateRuntimeFunction(llvm::FunctionType::get(IdTy, PtrToInt8Ty, true),
1247 classLookupFunction = CGM.CreateRuntimeFunction(llvm::FunctionType::get(
1250 classLookupFunction = CGM.CreateRuntimeFunction(llvm::FunctionType::get(
1402 imp = CGM.CreateRuntimeFunction(llvm::FunctionType::get(IdTy, IdTy, true),
1407 imp = CGM.CreateRuntimeFunction(llvm::FunctionType::get(IdTy, IdTy, true),
1410 imp = CGM.CreateRuntimeFunction(llvm::FunctionType::get(IdTy, IdTy, true),
2523 llvm::FunctionType
[all...]
H A DCGAtomic.cpp130 FunctionType::ExtInfo(), RequiredArgs::All);
131 llvm::FunctionType *fnTy = CGF.CGM.getTypes().GetFunctionType(fnInfo);
728 FunctionType::ExtInfo(), RequiredArgs::All);
729 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(FuncInfo);
H A DCGCXXABI.cpp84 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(
H A DCodeGenModule.h43 class FunctionType;
801 llvm::FunctionType *fnType = nullptr,
835 llvm::Constant *CreateRuntimeFunction(llvm::FunctionType *Ty,
H A DCodeGenFunction.cpp310 llvm::FunctionType *FunctionTy =
311 llvm::FunctionType::get(VoidTy, ProfileFuncArgs, false);
328 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false);
1523 type = cast<FunctionType>(ty)->getReturnType();
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp337 const FunctionType *&FPRetType);
534 QualType convertFunctionTypeOfBlocks(const FunctionType *FT);
985 const FunctionType *FPRetType = nullptr;
1244 const FunctionType *&FPRetType) {
1257 if ((FPRetType = PointeeTy->getAs<FunctionType>())) {
1270 const FunctionType *FPRetType = nullptr;
2142 const FunctionType *FT = msgSendType->getAs<FunctionType>();
2240 const FunctionType *funcType = FD->getType()->getAs<FunctionType>();
[all...]
/external/clang/utils/ABITest/
H A DTypeGen.py162 class FunctionType(Type): class in inherits:Type
403 return FunctionType(N, retTy, args)
/external/llvm/examples/Kaleidoscope/Chapter5/
H A Dtoy.cpp660 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()),
/external/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp764 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()),
/external/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp35 M.getOrInsertFunction(Name, FunctionType::get(RetTy, ParamTys, false));
76 FunctionType::get(RetTy, ParamTys, false));
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp426 FunctionType *FT = cast<FunctionType>(
/external/llvm/lib/IR/
H A DAsmWriter.cpp213 FunctionType *FTy = cast<FunctionType>(Ty);
216 for (FunctionType::param_iterator I = FTy->param_begin(),
1626 FunctionType *FT = F->getFunctionType();
1932 FunctionType *FTy = cast<FunctionType>(PTy->getElementType());
1965 FunctionType *FTy = cast<FunctionType>(PTy->getElementType());
H A DAutoUpgrade.cpp66 FunctionType* fType = FunctionType::get(F->getReturnType(), args, false);
/external/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp227 FunctionType *FTy = FunctionType::get(F->getFunctionType()->getReturnType(),
/external/clang/lib/AST/
H A DASTContext.cpp2079 const FunctionType *ASTContext::adjustFunctionType(const FunctionType *T,
2080 FunctionType::ExtInfo Info) {
2094 return cast<FunctionType>(Result.getTypePtr());
2787 const FunctionType::ExtInfo &Info) const {
3888 } else if (isa<FunctionType>(Ty)) {
4802 Decl::OBJC_TQ_None, BlockTy->getAs<FunctionType>()->getReturnType(), S,
4805 getObjCEncodingForType(BlockTy->getAs<FunctionType>()->getReturnType(), S);
5409 const FunctionType *FT = BT->getPointeeType()->castAs<FunctionType>();
[all...]
H A DDeclPrinter.cpp116 else if (const FunctionType* FTy = BaseType->getAs<FunctionType>())
418 if (const FunctionType *AFT = Ty->getAs<FunctionType>()) {
H A DTypePrinter.cpp645 FunctionType::ExtInfo Info = T->getExtInfo();
1050 if (!HasEmptyPlaceHolder && !isa<FunctionType>(T->getInnerType())) {
1057 if (!HasEmptyPlaceHolder && !isa<FunctionType>(T->getInnerType())) {
1186 OS << t->getAs<FunctionType>()->getRegParmType();
1238 OS << (t->getAs<FunctionType>()->getCallConv() == CC_AAPCS ?
/external/llvm/unittests/IR/
H A DInstructionsTest.cpp61 FunctionType *FTy =
62 FunctionType::get(Type::getVoidTy(Ctx), FArgTypes, false);
490 Type *FnTy = FunctionType::get(Int32Ty, ArgTys, /*isVarArg=*/false);
/external/clang/include/clang/AST/
H A DASTContext.h909 const FunctionType *adjustFunctionType(const FunctionType *Fn,
910 FunctionType::ExtInfo EInfo);
1050 const FunctionType::ExtInfo &Info) const;
1053 return getFunctionNoProtoType(ResultTy, FunctionType::ExtInfo());

Completed in 3154 milliseconds

12345678910