Home
last modified time | relevance | path

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

12345678910

/external/llvm/include/llvm/IR/
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 &) = 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);
DInlineAsm.h26 class FunctionType; variable
63 static InlineAsm *get(FunctionType *Ty, StringRef AsmString,
80 FunctionType *getFunctionType() const;
89 static bool Verify(FunctionType *Ty, StringRef Constraints);
DFunction.h31 class FunctionType; variable
69 FunctionType *Ty;
108 Function(FunctionType *Ty, LinkageTypes Linkage,
112 static Function *Create(FunctionType *Ty, LinkageTypes Linkage,
120 FunctionType *getFunctionType() const; // Return the FunctionType for me
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp268 Kmpc_MicroTy = llvm::FunctionType::get(CGM.VoidTy, MicroParams, true); in CGOpenMPRuntime()
455 llvm::FunctionType *FnTy = in createRuntimeFunction()
456 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ true); in createRuntimeFunction()
463 llvm::FunctionType *FnTy = in createRuntimeFunction()
464 llvm::FunctionType::get(CGM.Int32Ty, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
474 llvm::FunctionType *FnTy = in createRuntimeFunction()
475 llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
485 llvm::FunctionType *FnTy = in createRuntimeFunction()
486 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
495 llvm::FunctionType::get(CGM.VoidPtrTy, CGM.VoidPtrTy, in createRuntimeFunction()
[all …]
DCodeGenTypes.h25 class FunctionType; variable
190 llvm::FunctionType *GetFunctionType(const CGFunctionInfo &Info);
192 llvm::FunctionType *GetFunctionType(GlobalDecl GD);
197 bool isFuncTypeConvertible(const FunctionType *FT);
239 const FunctionType::ExtInfo &Info,
254 const FunctionType *Ty,
258 FunctionType::ExtInfo info,
261 const FunctionType *type);
285 FunctionType::ExtInfo info,
DCGDeclCXX.cpp192 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, SourceLocation Loc, bool TLS) { in CreateGlobalInitOrDestructFunction()
306 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalVarDeclInitFunc()
389 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalInitFunc()
456 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalDtorFunc()
580 getContext().VoidTy, args, FunctionType::ExtInfo(), /*variadic=*/false); in generateDestroyHelper()
581 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(FI); in generateDestroyHelper()
DCGObjC.cpp533 FunctionType::ExtInfo(), in emitStructGetterCall()
800 FunctionType::ExtInfo(), in emitCPPObjectAtomicGetterCall()
893 FunctionType::ExtInfo(), in generateObjCGetterBody()
1009 FunctionType::ExtInfo(), in emitStructSetterCall()
1047 FunctionType::ExtInfo(), in emitCPPObjectAtomicSetterCall()
1180 FunctionType::ExtInfo(), in generateObjCSetterBody()
1193 FunctionType::ExtInfo(), in generateObjCSetterBody()
1564 FunctionType::ExtInfo(), in EmitObjCForCollectionStmt()
1750 llvm::FunctionType *fnType = in EmitARCIntrinsicUse()
1751 llvm::FunctionType::get(CGM.VoidTy, None, true); in EmitARCIntrinsicUse()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp163 if (isa<FunctionType>(GA.getType()->getElementType())) in isIn()
234 FunctionType *DFSanUnionFnTy;
235 FunctionType *DFSanUnionLoadFnTy;
236 FunctionType *DFSanUnimplementedFnTy;
237 FunctionType *DFSanSetLabelFnTy;
238 FunctionType *DFSanNonzeroLabelFnTy;
239 FunctionType *DFSanVarargWrapperFnTy;
256 FunctionType *getArgsFunctionType(FunctionType *T);
257 FunctionType *getTrampolineFunctionType(FunctionType *T);
258 FunctionType *getCustomFunctionType(FunctionType *T);
[all …]
DGCOVProfiling.cpp668 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs()
680 FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs()
685 FTy = FunctionType::get(Builder.getVoidTy(), Params, false); in emitProfileArcs()
756 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getStartFileFunc()
767 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getIncrementIndirectCounterFunc()
779 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitFunctionFunc()
788 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitArcsFunc()
793 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getSummaryInfoFunc()
798 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getDeleteWriteoutFunctionListFunc()
803 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/unittests/IR/
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 …]
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()
DWaymarkTest.cpp31 FunctionType *FT = FunctionType::get(Type::getVoidTy(getGlobalContext()), true); in TEST()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp52 typedef GenericValue (*ExFunc)(FunctionType *,
95 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()
415 GenericValue lle_X_printf(FunctionType *FT, in lle_X_printf()
428 GenericValue lle_X_sscanf(FunctionType *FT, in lle_X_sscanf()
444 GenericValue lle_X_scanf(FunctionType *FT, in lle_X_scanf()
[all …]
/external/llvm/include/llvm/Analysis/
DJumpInstrTableInfo.h23 class FunctionType; variable
48 typedef DenseMap<FunctionType *, std::vector<JumpPair> > JumpTables;
51 void insertEntry(FunctionType *TableFunTy, Function *Target, Function *Jump);
/external/llvm/lib/IR/
DType.cpp181 return cast<FunctionType>(this)->isVarArg(); in isFunctionVarArg()
185 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
189 return cast<FunctionType>(this)->getNumParams(); in getFunctionNumParams()
339 FunctionType::FunctionType(Type *Result, ArrayRef<Type*> Params, in FunctionType() function in FunctionType
359 FunctionType *FunctionType::get(Type *ReturnType, in get()
364 FunctionType *FT; in get()
367 FT = (FunctionType*) pImpl->TypeAllocator. in get()
368 Allocate(sizeof(FunctionType) + sizeof(Type*) * (Params.size() + 1), in get()
369 AlignOf<FunctionType>::Alignment); in get()
370 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()
245 bool InlineAsm::Verify(FunctionType *Ty, StringRef ConstStr) { in Verify()
/external/llvm/lib/Target/R600/
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/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/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp125 FunctionType *FT = F->getFunctionType(); in checkStringCopyLibFuncSignature()
190 FunctionType *FT = Callee->getFunctionType(); in optimizeStrCat()
238 FunctionType *FT = Callee->getFunctionType(); in optimizeStrNCat()
280 FunctionType *FT = Callee->getFunctionType(); in optimizeStrChr()
325 FunctionType *FT = Callee->getFunctionType(); in optimizeStrRChr()
360 FunctionType *FT = Callee->getFunctionType(); in optimizeStrCmp()
401 FunctionType *FT = Callee->getFunctionType(); in optimizeStrNCmp()
471 FunctionType *FT = Callee->getFunctionType(); in optimizeStpCpy()
500 FunctionType *FT = Callee->getFunctionType(); in optimizeStrNCpy()
543 FunctionType *FT = Callee->getFunctionType(); in optimizeStrLen()
[all …]
/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/examples/ModuleMaker/
DModuleMaker.cpp33 FunctionType *FT = in main()
34 FunctionType::get(Type::getInt32Ty(Context), /*not vararg*/false); in main()
/external/llvm/unittests/Linker/
DLinkModulesTest.cpp28 FunctionType *FTy = FunctionType::get( in SetUp()
130 FunctionType *FTy = FunctionType::get( in getInternal()
/external/protobuf/src/google/protobuf/stubs/
Dcommon.h868 typedef void (*FunctionType)(); typedef
870 FunctionClosure0(FunctionType function, bool self_deleting) in FunctionClosure0()
881 FunctionType function_;
909 typedef void (*FunctionType)(Arg1 arg1); typedef
911 FunctionClosure1(FunctionType function, bool self_deleting, in FunctionClosure1()
924 FunctionType function_;
956 typedef void (*FunctionType)(Arg1 arg1, Arg2 arg2); typedef
958 FunctionClosure2(FunctionType function, bool self_deleting, in FunctionClosure2()
971 FunctionType function_;

12345678910