Home
last modified time | relevance | path

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

1234567891011

/external/v8/src/
Dinterface-descriptors.cc34 FunctionType* CallInterfaceDescriptor::BuildDefaultFunctionType( in BuildDefaultFunctionType()
37 FunctionType* function = in BuildDefaultFunctionType()
82 FunctionType* LoadDescriptor::BuildCallInterfaceDescriptorFunctionType( in BuildCallInterfaceDescriptorFunctionType()
85 FunctionType* function = in BuildCallInterfaceDescriptorFunctionType()
100 FunctionType* LoadGlobalDescriptor::BuildCallInterfaceDescriptorFunctionType( in BuildCallInterfaceDescriptorFunctionType()
103 FunctionType* function = in BuildCallInterfaceDescriptorFunctionType()
115 FunctionType*
119 FunctionType* function = in BuildCallInterfaceDescriptorFunctionType()
163 FunctionType*
167 FunctionType* function = in BuildCallInterfaceDescriptorFunctionType()
[all …]
Dinterface-descriptors.h110 void InitializePlatformIndependent(FunctionType* function_type) { in InitializePlatformIndependent()
133 FunctionType* function_type() const { return function_type_; } in function_type()
145 FunctionType* function_type_;
196 FunctionType* GetFunctionType() const { return data()->function_type(); } in GetFunctionType()
202 static FunctionType* BuildDefaultFunctionType(Isolate* isolate,
208 virtual FunctionType* BuildCallInterfaceDescriptorFunctionType( in BuildCallInterfaceDescriptorFunctionType()
222 FunctionType* function_type = BuildCallInterfaceDescriptorFunctionType( in Initialize()
267 FunctionType* BuildCallInterfaceDescriptorFunctionType( \
275 FunctionType* BuildCallInterfaceDescriptorFunctionType( \
307 FunctionType* BuildCallInterfaceDescriptorFunctionTypeWithArg(
[all …]
/external/llvm/include/llvm/IR/
DTypeBuilder.h257 static FunctionType *get(LLVMContext &Context) { in get()
258 return FunctionType::get(TypeBuilder<R, cross>::get(Context), false); in get()
263 static FunctionType *get(LLVMContext &Context) { in get()
267 return FunctionType::get(TypeBuilder<R, cross>::get(Context), in get()
274 static FunctionType *get(LLVMContext &Context) { in get()
279 return FunctionType::get(TypeBuilder<R, cross>::get(Context), in get()
286 static FunctionType *get(LLVMContext &Context) { in get()
292 return FunctionType::get(TypeBuilder<R, cross>::get(Context), in get()
301 static FunctionType *get(LLVMContext &Context) { in get()
308 return FunctionType::get(TypeBuilder<R, cross>::get(Context), in get()
[all …]
DDerivedTypes.h96 class FunctionType : public Type {
97 FunctionType(const FunctionType &) = delete;
98 const FunctionType &operator=(const FunctionType &) = delete;
99 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
105 static FunctionType *get(Type *Result,
110 static FunctionType *get(Type *Result, bool isVarArg);
143 static_assert(AlignOf<FunctionType>::Alignment >= AlignOf<Type *>::Alignment,
DInlineAsm.h26 class FunctionType; variable
47 FunctionType *FTy;
52 InlineAsm(FunctionType *Ty, const std::string &AsmString,
64 static InlineAsm *get(FunctionType *Ty, StringRef AsmString,
81 FunctionType *getFunctionType() const;
90 static bool Verify(FunctionType *Ty, StringRef Constraints);
/external/clang/lib/CodeGen/
DCodeGenTypes.h25 class FunctionType; variable
196 llvm::FunctionType *GetFunctionType(const CGFunctionInfo &Info);
198 llvm::FunctionType *GetFunctionType(GlobalDecl GD);
203 bool isFuncTypeConvertible(const FunctionType *FT);
245 const FunctionType::ExtInfo &Info,
260 const FunctionType *Ty,
264 FunctionType::ExtInfo info,
267 const FunctionType *type);
292 FunctionType::ExtInfo info,
DCGOpenMPRuntime.cpp312 Kmpc_MicroTy = llvm::FunctionType::get(CGM.VoidTy, MicroParams, true); in CGOpenMPRuntime()
527 llvm::FunctionType *FnTy = in createRuntimeFunction()
528 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ true); in createRuntimeFunction()
535 llvm::FunctionType *FnTy = in createRuntimeFunction()
536 llvm::FunctionType::get(CGM.Int32Ty, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
546 llvm::FunctionType *FnTy = in createRuntimeFunction()
547 llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
557 llvm::FunctionType *FnTy = in createRuntimeFunction()
558 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
568 llvm::FunctionType *FnTy = in createRuntimeFunction()
[all …]
DCGDeclCXX.cpp190 llvm::FunctionType *ty = llvm::FunctionType::get(CGM.VoidTy, false); in createAtExitStub()
226 llvm::FunctionType *atexitTy = in registerGlobalDtorWithAtExit()
227 llvm::FunctionType::get(IntTy, dtorStub->getType(), false); in registerGlobalDtorWithAtExit()
252 llvm::FunctionType *FTy, const Twine &Name, const CGFunctionInfo &FI, in CreateGlobalInitOrDestructFunction()
312 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalVarDeclInitFunc()
397 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalInitFunc()
464 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalDtorFunc()
591 getContext().VoidTy, args, FunctionType::ExtInfo(), /*variadic=*/false); in generateDestroyHelper()
592 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(FI); in generateDestroyHelper()
DCGCUDANV.cpp100 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(IntTy, in getSetupArgumentFn()
108 llvm::FunctionType::get(IntTy, CharPtrTy, false), "cudaLaunch"); in getLaunchFn()
172 llvm::FunctionType::get(VoidTy, VoidPtrPtrTy, false), in makeRegisterKernelsFn()
185 llvm::FunctionType::get(IntTy, RegisterFuncParams, false), in makeRegisterKernelsFn()
222 llvm::FunctionType::get(VoidPtrPtrTy, VoidPtrTy, false), in makeModuleCtorFunction()
229 llvm::FunctionType::get(VoidTy, VoidPtrTy, false), in makeModuleCtorFunction()
296 llvm::FunctionType::get(VoidTy, VoidPtrPtrTy, false), in makeModuleDtorFunction()
300 llvm::FunctionType::get(VoidTy, VoidPtrTy, false), in makeModuleDtorFunction()
DCGObjC.cpp594 FunctionType::ExtInfo(), in emitStructGetterCall()
861 FunctionType::ExtInfo(), in emitCPPObjectAtomicGetterCall()
954 propType, args, FunctionType::ExtInfo(), RequiredArgs::All), in generateObjCGetterBody()
1072 FunctionType::ExtInfo(), in emitStructSetterCall()
1110 FunctionType::ExtInfo(), in emitCPPObjectAtomicSetterCall()
1242 FunctionType::ExtInfo(), in generateObjCSetterBody()
1255 FunctionType::ExtInfo(), in generateObjCSetterBody()
1614 FunctionType::ExtInfo(), in EmitObjCForCollectionStmt()
1794 llvm::FunctionType *fnType = in EmitARCIntrinsicUse()
1795 llvm::FunctionType::get(CGM.VoidTy, None, true); in EmitARCIntrinsicUse()
[all …]
/external/llvm/unittests/IR/
DVerifierTest.cpp27 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false); in TEST()
50 FunctionType *FTy = FunctionType::get(Type::getInt32Ty(C), /*isVarArg=*/false); in TEST()
68 FunctionType *FTy = FunctionType::get(Type::getInt32Ty(C), /*isVarArg=*/false); in TEST()
DTypeBuilderTest.cpp123 EXPECT_EQ(FunctionType::get(Type::getVoidTy(getGlobalContext()), params, false), in TEST()
125 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, true), in TEST()
128 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, false), in TEST()
130 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, true), in TEST()
133 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, false), in TEST()
135 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, true), in TEST()
138 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, false), in TEST()
140 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, true), in TEST()
143 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, false), in TEST()
145 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(getGlobalContext()), params, true), in TEST()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp169 if (isa<FunctionType>(GA.getType()->getElementType())) in isIn()
241 FunctionType *DFSanUnionFnTy;
242 FunctionType *DFSanUnionLoadFnTy;
243 FunctionType *DFSanUnimplementedFnTy;
244 FunctionType *DFSanSetLabelFnTy;
245 FunctionType *DFSanNonzeroLabelFnTy;
246 FunctionType *DFSanVarargWrapperFnTy;
263 FunctionType *getArgsFunctionType(FunctionType *T);
264 FunctionType *getTrampolineFunctionType(FunctionType *T);
265 FunctionType *getCustomFunctionType(FunctionType *T);
[all …]
DGCOVProfiling.cpp674 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs()
686 FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs()
691 FTy = FunctionType::get(Builder.getVoidTy(), Params, false); in emitProfileArcs()
762 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getStartFileFunc()
773 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getIncrementIndirectCounterFunc()
785 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitFunctionFunc()
794 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitArcsFunc()
799 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getSummaryInfoFunc()
804 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getDeleteWriteoutFunctionListFunc()
809 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getDeleteFlushFunctionListFunc()
[all …]
/external/llvm/lib/Transforms/ObjCARC/
DARCRuntimeEntryPoints.h134 FunctionType *Fty = FunctionType::get(Type::getVoidTy(C), Params, in getVoidRetI8XEntryPoint()
148 FunctionType *Fty = FunctionType::get(I8X, Params, /*isVarArg=*/false);
173 FunctionType *Fty = FunctionType::get(Type::getVoidTy(C), Params, in getI8XRetI8XXI8XEntryPoint()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp52 typedef GenericValue (*ExFunc)(FunctionType *, ArrayRef<GenericValue>);
94 FunctionType *FT = F->getFunctionType(); in lookupFunction()
183 FunctionType *FTy = F->getFunctionType(); in ffiInvoke()
299 static GenericValue lle_X_atexit(FunctionType *FT, in lle_X_atexit()
309 static GenericValue lle_X_exit(FunctionType *FT, ArrayRef<GenericValue> Args) { in lle_X_exit()
315 static GenericValue lle_X_abort(FunctionType *FT, ArrayRef<GenericValue> Args) { in lle_X_abort()
324 static GenericValue lle_X_sprintf(FunctionType *FT, in lle_X_sprintf()
406 static GenericValue lle_X_printf(FunctionType *FT, in lle_X_printf()
418 static GenericValue lle_X_sscanf(FunctionType *FT, in lle_X_sscanf()
433 static GenericValue lle_X_scanf(FunctionType *FT, ArrayRef<GenericValue> args) { in lle_X_scanf()
[all …]
/external/llvm/lib/IR/
DType.cpp174 return cast<FunctionType>(this)->isVarArg(); in isFunctionVarArg()
178 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
182 return cast<FunctionType>(this)->getNumParams(); in getFunctionNumParams()
335 FunctionType::FunctionType(Type *Result, ArrayRef<Type*> Params, in FunctionType() function in FunctionType
355 FunctionType *FunctionType::get(Type *ReturnType, in get()
360 FunctionType *FT; in get()
363 FT = (FunctionType*) pImpl->TypeAllocator. in get()
364 Allocate(sizeof(FunctionType) + sizeof(Type*) * (Params.size() + 1), in get()
365 AlignOf<FunctionType>::Alignment); in get()
366 new (FT) FunctionType(ReturnType, Params, isVarArg); in get()
[all …]
DInlineAsm.cpp27 InlineAsm *InlineAsm::get(FunctionType *FTy, StringRef AsmString, in get()
36 InlineAsm::InlineAsm(FunctionType *FTy, const std::string &asmString, in InlineAsm()
54 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType()
247 bool InlineAsm::Verify(FunctionType *Ty, StringRef ConstStr) { in Verify()
/external/llvm/lib/Target/AMDGPU/
DR600TextureIntrinsicsReplacer.cpp35 FunctionType *TexSign;
36 FunctionType *TexQSign;
121 void ReplaceCallInst(CallInst &I, FunctionType *FT, const char *Name, in ReplaceCallInst()
157 void ReplaceTexIntrinsic(CallInst &I, bool hasLOD, FunctionType *FT, in ReplaceTexIntrinsic()
231 TexSign = FunctionType::get(V4f32Type, ArgsType, /*isVarArg=*/false); in doInitialization()
244 TexQSign = FunctionType::get(V4f32Type, ArgsQType, /*isVarArg=*/false); in doInitialization()
/external/llvm/lib/Transforms/Utils/
DModuleUtils.cpp27 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray()
116 FunctionType::get(Type::getVoidTy(M.getContext()), false), in createSanitizerCtorAndInitFunctions()
122 InitName, FunctionType::get(IRB.getVoidTy(), InitArgTypes, false), in createSanitizerCtorAndInitFunctions()
129 VersionCheckName, FunctionType::get(IRB.getVoidTy(), {}, false), in createSanitizerCtorAndInitFunctions()
/external/v8/src/compiler/
Dtyper.h35 FunctionType* function_type = nullptr);
51 FunctionType* function_type() const { return function_type_; } in function_type()
58 FunctionType* function_type_;
/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp29 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST()
59 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST()
89 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST()
119 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST()
150 Function *F = Function::Create(FunctionType::get(Builder.getInt64Ty(), in TEST()
180 Function *F = Function::Create(FunctionType::get(Builder.getInt64Ty(), in TEST()
210 Function *F = Function::Create(FunctionType::get(Builder.getInt64Ty(), in TEST()
240 Function *F = Function::Create(FunctionType::get(Builder.getInt64Ty(), in TEST()
/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/pdfium/testing/resources/
Dbug_551460.in51 /FunctionType 3
61 /FunctionType 2
/external/llvm/examples/ModuleMaker/
DModuleMaker.cpp33 FunctionType *FT = in main()
34 FunctionType::get(Type::getInt32Ty(Context), /*not vararg*/false); in main()

1234567891011