Home
last modified time | relevance | path

Searched refs:FunctionType (Results 1 – 25 of 171) sorted by relevance

1234567

/external/webkit/Source/WebKit2/Platform/
DWorkItem.h60 typedef void (C::*FunctionType)(); typedef
62 MemberFunctionWorkItem0(C* ptr, FunctionType function) in MemberFunctionWorkItem0()
80 FunctionType m_function;
88 typedef void (C::*FunctionType)(T0); typedef
90 MemberFunctionWorkItem1(C* ptr, FunctionType function, T0 t0) in MemberFunctionWorkItem1()
109 FunctionType m_function;
118 typedef void (C::*FunctionType)(T0, T1); typedef
120 MemberFunctionWorkItem2(C* ptr, FunctionType function, T0 t0, T1 t1) in MemberFunctionWorkItem2()
140 FunctionType m_function;
167 typedef void (*FunctionType)(); typedef
[all …]
DModule.h57 template<typename FunctionType> FunctionType functionPointer(const char* functionName) const;
81 template<typename FunctionType> FunctionType Module::functionPointer(const char* functionName) const in functionPointer()
83 return reinterpret_cast<FunctionType>(platformFunctionPointer(functionName)); in functionPointer()
/external/llvm/include/llvm/
DTypeBuilder.h249 static FunctionType *get(LLVMContext &Context) { in get()
250 return FunctionType::get(TypeBuilder<R, cross>::get(Context), false); in get()
255 static FunctionType *get(LLVMContext &Context) { in get()
259 return FunctionType::get(TypeBuilder<R, cross>::get(Context), in get()
266 static FunctionType *get(LLVMContext &Context) { in get()
271 return FunctionType::get(TypeBuilder<R, cross>::get(Context), in get()
278 static FunctionType *get(LLVMContext &Context) { in get()
284 return FunctionType::get(TypeBuilder<R, cross>::get(Context), in get()
293 static FunctionType *get(LLVMContext &Context) { in get()
300 return FunctionType::get(TypeBuilder<R, cross>::get(Context), in get()
[all …]
DDerivedTypes.h96 class FunctionType : public Type {
97 FunctionType(const FunctionType &); // Do not implement
98 const FunctionType &operator=(const FunctionType &); // Do not implement
99 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
105 static FunctionType *get(Type *Result,
110 static FunctionType *get(Type *Result, bool isVarArg);
136 static inline bool classof(const FunctionType *) { return true; } in classof() argument
DInlineAsm.h26 class FunctionType; variable
67 static InlineAsm *get(FunctionType *Ty, StringRef AsmString,
84 FunctionType *getFunctionType() const;
93 static bool Verify(FunctionType *Ty, StringRef Constraints);
DIntrinsics.h25 class FunctionType; variable
52 FunctionType *getType(LLVMContext &Context, ID id,
/external/clang/lib/CodeGen/
DCodeGenTypes.h24 class FunctionType; variable
129 llvm::FunctionType *GetFunctionType(const CGFunctionInfo &Info);
131 llvm::FunctionType *GetFunctionType(GlobalDecl GD);
136 bool isFuncTypeConvertible(const FunctionType *FT);
178 const FunctionType::ExtInfo &Info,
193 const FunctionType *Ty);
196 FunctionType::ExtInfo info,
216 FunctionType::ExtInfo info,
DCGDeclCXX.cpp150 llvm::FunctionType *ty,
159 llvm::FunctionType *ty = llvm::FunctionType::get(CGM.VoidTy, false); in createAtExitStub()
189 llvm::FunctionType *atexitTy = in registerGlobalDtorWithAtExit()
190 llvm::FunctionType::get(IntTy, dtorStub->getType(), false); in registerGlobalDtorWithAtExit()
216 llvm::FunctionType *FTy, in CreateGlobalInitOrDestructFunction()
241 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalVarDeclInitFunc()
277 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalInitFunc()
309 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalDtorFunc()
402 FunctionType::ExtInfo(), in generateDestroyHelper()
404 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(FI); in generateDestroyHelper()
DCGException.cpp28 llvm::FunctionType *FTy = in getAllocateExceptionFn()
29 llvm::FunctionType::get(CGF.Int8PtrTy, CGF.SizeTy, /*IsVarArgs=*/false); in getAllocateExceptionFn()
37 llvm::FunctionType *FTy = in getFreeExceptionFn()
38 llvm::FunctionType::get(CGF.VoidTy, CGF.Int8PtrTy, /*IsVarArgs=*/false); in getFreeExceptionFn()
48 llvm::FunctionType *FTy = in getThrowFn()
49 llvm::FunctionType::get(CGF.VoidTy, Args, /*IsVarArgs=*/false); in getThrowFn()
57 llvm::FunctionType *FTy = in getReThrowFn()
58 llvm::FunctionType::get(CGF.VoidTy, /*IsVarArgs=*/false); in getReThrowFn()
66 llvm::FunctionType *FTy = in getGetExceptionPtrFn()
67 llvm::FunctionType::get(CGF.Int8PtrTy, CGF.Int8PtrTy, /*IsVarArgs=*/false); in getGetExceptionPtrFn()
[all …]
DCGCall.h199 const FunctionType::ExtInfo &extInfo,
245 FunctionType::ExtInfo getExtInfo() const { in getExtInfo()
246 return FunctionType::ExtInfo(isNoReturn(), in getExtInfo()
269 const FunctionType::ExtInfo &info, in Profile()
DCGObjC.cpp511 FunctionType::ExtInfo(), in emitStructGetterCall()
778 FunctionType::ExtInfo(), in emitCPPObjectAtomicGetterCall()
866 FunctionType::ExtInfo(), in generateObjCGetterBody()
971 FunctionType::ExtInfo(), in emitStructSetterCall()
1009 FunctionType::ExtInfo(), in emitCPPObjectAtomicSetterCall()
1145 FunctionType::ExtInfo(), in generateObjCSetterBody()
1158 FunctionType::ExtInfo(), in generateObjCSetterBody()
1523 FunctionType::ExtInfo(), in EmitObjCForCollectionStmt()
1701 llvm::FunctionType *type, in createARCRuntimeFunction()
1730 llvm::FunctionType *fnType = in emitARCValueOperation()
[all …]
/external/llvm/lib/VMCore/
DLLVMContextImpl.h155 KeyTy(const FunctionType* FT) : in KeyTy()
172 static inline FunctionType* getEmptyKey() { in getEmptyKey()
173 return DenseMapInfo<FunctionType*>::getEmptyKey(); in getEmptyKey()
175 static inline FunctionType* getTombstoneKey() { in getTombstoneKey()
176 return DenseMapInfo<FunctionType*>::getTombstoneKey(); in getTombstoneKey()
184 static unsigned getHashValue(const FunctionType *FT) { in getHashValue()
187 static bool isEqual(const KeyTy& LHS, const FunctionType *RHS) { in isEqual()
192 static bool isEqual(const FunctionType *LHS, const FunctionType *RHS) { in isEqual()
308 typedef DenseMap<FunctionType*, bool, FunctionTypeKeyInfo> FunctionTypeMap;
DType.cpp200 return cast<FunctionType>(this)->isVarArg(); in isFunctionVarArg()
204 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
208 return cast<FunctionType>(this)->getNumParams(); in getFunctionNumParams()
362 FunctionType::FunctionType(Type *Result, ArrayRef<Type*> Params, in FunctionType() function in FunctionType
382 FunctionType *FunctionType::get(Type *ReturnType, in get()
388 FunctionType *FT; in get()
391 FT = (FunctionType*) pImpl->TypeAllocator. in get()
392 Allocate(sizeof(FunctionType) + sizeof(Type*) * (Params.size() + 1), in get()
393 AlignOf<FunctionType>::Alignment); in get()
394 new (FT) FunctionType(ReturnType, Params, isVarArg); in get()
[all …]
DInlineAsm.cpp28 InlineAsm *InlineAsm::get(FunctionType *Ty, StringRef AsmString, in get()
55 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType()
56 return cast<FunctionType>(getType()->getElementType()); in getFunctionType()
246 bool InlineAsm::Verify(FunctionType *Ty, StringRef ConstStr) { in Verify()
/external/llvm/unittests/VMCore/
DTypeBuilderTest.cpp124 EXPECT_EQ(FunctionType::get(Type::getVoidTy(getGlobalContext()), params, false), in TEST()
126 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, true), in TEST()
129 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, false), in TEST()
131 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, true), in TEST()
134 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, false), in TEST()
136 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, true), in TEST()
139 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, false), in TEST()
141 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, true), in TEST()
144 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, false), in TEST()
146 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, true), in TEST()
[all …]
DVerifierTest.cpp27 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false); in TEST()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp51 typedef GenericValue (*ExFunc)(FunctionType *,
94 FunctionType *FT = F->getFunctionType(); in lookupFunction()
185 FunctionType *FTy = F->getFunctionType(); in ffiInvoke()
302 GenericValue lle_X_atexit(FunctionType *FT, in lle_X_atexit()
313 GenericValue lle_X_exit(FunctionType *FT, in lle_X_exit()
321 GenericValue lle_X_abort(FunctionType *FT, in lle_X_abort()
332 GenericValue lle_X_sprintf(FunctionType *FT, in lle_X_sprintf()
414 GenericValue lle_X_printf(FunctionType *FT, in lle_X_printf()
427 GenericValue lle_X_sscanf(FunctionType *FT, in lle_X_sscanf()
443 GenericValue lle_X_scanf(FunctionType *FT, in lle_X_scanf()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp578 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), in getStartFileFunc()
590 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getIncrementIndirectCounterFunc()
599 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitFunctionFunc()
608 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), in getEmitArcsFunc()
614 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getEndFileFunc()
633 FunctionType *WriteoutFTy = in insertCounterWriteout()
634 FunctionType::get(Type::getVoidTy(*Ctx), false); in insertCounterWriteout()
677 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in insertCounterWriteout()
687 FTy = FunctionType::get(Type::getInt32Ty(*Ctx), in insertCounterWriteout()
/external/clang/test/Sema/
Dinvalid-decl.c24 typedef int (FunctionType)(int *value); typedef
27 FunctionType fun; // expected-error {{field 'fun' declared as a function}}
/external/llvm/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp142 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
194 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
241 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
290 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
329 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
377 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
436 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
477 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
516 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
565 FunctionType *FT = Callee->getFunctionType(); in CallOptimizer()
[all …]
/external/llvm/examples/ModuleMaker/
DModuleMaker.cpp33 FunctionType *FT = in main()
34 FunctionType::get(Type::getInt32Ty(Context), /*not vararg*/false); in main()
/external/llvm/unittests/Bitcode/
DBitReaderTest.cpp28 FunctionType* FuncTy = in makeLLVMModule()
29 FunctionType::get(Type::getVoidTy(Mod->getContext()), false); in makeLLVMModule()
/external/llvm/lib/Transforms/Utils/
DModuleUtils.cpp25 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray()
/external/llvm/lib/Target/MBlaze/
DMBlazeIntrinsicInfo.cpp91 static FunctionType *getType(LLVMContext &Context, unsigned id) { in getType()
100 return FunctionType::get(ResultTy, ArgTys, IsVarArg); in getType()
/external/protobuf/src/google/protobuf/stubs/
Dcommon.h821 typedef void (*FunctionType)(); typedef
823 FunctionClosure0(FunctionType function, bool self_deleting) in FunctionClosure0()
833 FunctionType function_;
860 typedef void (*FunctionType)(Arg1 arg1); typedef
862 FunctionClosure1(FunctionType function, bool self_deleting, in FunctionClosure1()
874 FunctionType function_;
905 typedef void (*FunctionType)(Arg1 arg1, Arg2 arg2); typedef
907 FunctionClosure2(FunctionType function, bool self_deleting, in FunctionClosure2()
919 FunctionType function_;

1234567