Home
last modified time | relevance | path

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

123456789

/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A 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 …]
H A DDerivedTypes.h96 class FunctionType : public Type {
97 FunctionType(const FunctionType &) LLVM_DELETED_FUNCTION;
98 const FunctionType &operator=(const FunctionType &) LLVM_DELETED_FUNCTION;
99 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
105 static FunctionType *get(Type *Result,
110 static FunctionType *get(Type *Result, bool isVarArg);
H A 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);
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DJumpInstrTables.cpp163 FunctionType *OrigFunTy = Target->getFunctionType(); in insertEntry()
164 FunctionType *FunTy = transformType(JTType, OrigFunTy); in insertEntry()
191 bool JumpInstrTables::hasTable(FunctionType *FunTy) { in hasTable()
192 FunctionType *TransTy = transformType(JTType, FunTy); in hasTable()
196 FunctionType *JumpInstrTables::transformType(JumpTable::JumpTableType JTT, in transformType()
197 FunctionType *FunTy) { in transformType()
206 FunctionType::param_iterator PI, PE; in transformType()
211 FunctionType *VoidFnTy = FunctionType::get( in transformType()
216 return FunctionType::get(RetTy, EmptyParams, false); in transformType()
225 return FunctionType::get(RetTy, ParamTys, IsVarArg); in transformType()
[all …]
/minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/
H A DJumpInstrTables.h23 class FunctionType; variable
66 bool hasTable(FunctionType *FunTy);
74 static FunctionType *transformType(JumpTable::JumpTableType JTT,
75 FunctionType *FunTy);
86 typedef DenseMap<FunctionType *, struct TableMeta> JumpMap;
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp92 Kmpc_MicroTy = llvm::FunctionType::get(CGM.VoidTy, MicroParams, true); in CGOpenMPRuntime()
259 llvm::FunctionType *FnTy = in CreateRuntimeFunction()
260 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ true); in CreateRuntimeFunction()
267 llvm::FunctionType *FnTy = in CreateRuntimeFunction()
268 llvm::FunctionType::get(CGM.Int32Ty, TypeParams, /*isVarArg*/ false); in CreateRuntimeFunction()
278 llvm::FunctionType *FnTy = in CreateRuntimeFunction()
279 llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg*/ false); in CreateRuntimeFunction()
289 llvm::FunctionType *FnTy = in CreateRuntimeFunction()
290 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in CreateRuntimeFunction()
299 llvm::FunctionType::get(CGM.VoidPtrTy, CGM.VoidPtrTy, in CreateRuntimeFunction()
[all …]
H A DCodeGenTypes.h25 class FunctionType; variable
187 llvm::FunctionType *GetFunctionType(const CGFunctionInfo &Info);
189 llvm::FunctionType *GetFunctionType(GlobalDecl GD);
194 bool isFuncTypeConvertible(const FunctionType *FT);
236 const FunctionType::ExtInfo &Info,
251 const FunctionType *Ty,
255 FunctionType::ExtInfo info,
258 const FunctionType *type);
280 FunctionType::ExtInfo info,
H A DCGDeclCXX.cpp169 llvm::FunctionType *ty = llvm::FunctionType::get(CGM.VoidTy, false); in createAtExitStub()
203 llvm::FunctionType *atexitTy = in registerGlobalDtorWithAtExit()
204 llvm::FunctionType::get(IntTy, dtorStub->getType(), false); in registerGlobalDtorWithAtExit()
229 llvm::FunctionType *FTy, const Twine &Name, SourceLocation Loc, bool TLS) { in CreateGlobalInitOrDestructFunction()
286 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalVarDeclInitFunc()
371 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalInitFunc()
438 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalDtorFunc()
562 getContext().VoidTy, args, FunctionType::ExtInfo(), /*variadic=*/false); in generateDestroyHelper()
563 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(FI); in generateDestroyHelper()
H A DCGException.cpp30 llvm::FunctionType *FTy = in getAllocateExceptionFn()
31 llvm::FunctionType::get(CGM.Int8PtrTy, CGM.SizeTy, /*IsVarArgs=*/false); in getAllocateExceptionFn()
39 llvm::FunctionType *FTy = in getFreeExceptionFn()
40 llvm::FunctionType::get(CGM.VoidTy, CGM.Int8PtrTy, /*IsVarArgs=*/false); in getFreeExceptionFn()
50 llvm::FunctionType *FTy = in getThrowFn()
51 llvm::FunctionType::get(CGM.VoidTy, Args, /*IsVarArgs=*/false); in getThrowFn()
59 llvm::FunctionType *FTy = in getGetExceptionPtrFn()
60 llvm::FunctionType::get(CGM.Int8PtrTy, CGM.Int8PtrTy, /*IsVarArgs=*/false); in getGetExceptionPtrFn()
68 llvm::FunctionType *FTy = in getBeginCatchFn()
69 llvm::FunctionType::get(CGM.Int8PtrTy, CGM.Int8PtrTy, /*IsVarArgs=*/false); in getBeginCatchFn()
[all …]
/minix3/external/bsd/llvm/dist/llvm/unittests/IR/
H A 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()
H A 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 …]
H A DWaymarkTest.cpp31 FunctionType *FT = FunctionType::get(Type::getVoidTy(getGlobalContext()), true); in TEST()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A DJumpInstrTableInfo.h23 class FunctionType; variable
48 typedef DenseMap<FunctionType *, std::vector<JumpPair> > JumpTables;
51 void insertEntry(FunctionType *TableFunTy, Function *Target, Function *Jump);
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DARCRuntimeEntryPoints.h136 FunctionType *Fty = FunctionType::get(Type::getVoidTy(C), Params, in getVoidRetI8XEntryPoint()
150 FunctionType *Fty = FunctionType::get(I8X, Params, /*isVarArg=*/false);
175 FunctionType *Fty = FunctionType::get(Type::getVoidTy(C), Params, in getI8XRetI8XXI8XEntryPoint()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp161 if (isa<FunctionType>(GA.getType()->getElementType())) in isIn()
233 FunctionType *DFSanUnionFnTy;
234 FunctionType *DFSanUnionLoadFnTy;
235 FunctionType *DFSanUnimplementedFnTy;
236 FunctionType *DFSanSetLabelFnTy;
237 FunctionType *DFSanNonzeroLabelFnTy;
238 FunctionType *DFSanVarargWrapperFnTy;
255 FunctionType *getArgsFunctionType(FunctionType *T);
256 FunctionType *getTrampolineFunctionType(FunctionType *T);
257 FunctionType *getCustomFunctionType(FunctionType *T);
[all …]
H A DGCOVProfiling.cpp681 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs()
693 FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs()
698 FTy = FunctionType::get(Builder.getVoidTy(), Params, false); in emitProfileArcs()
769 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getStartFileFunc()
780 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getIncrementIndirectCounterFunc()
792 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitFunctionFunc()
801 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitArcsFunc()
806 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getSummaryInfoFunc()
811 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getDeleteWriteoutFunctionListFunc()
816 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getDeleteFlushFunctionListFunc()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DLLVMContextImpl.h128 KeyTy(const FunctionType *FT) in KeyTy()
144 static inline FunctionType* getEmptyKey() { in getEmptyKey()
145 return DenseMapInfo<FunctionType*>::getEmptyKey(); in getEmptyKey()
147 static inline FunctionType* getTombstoneKey() { in getTombstoneKey()
148 return DenseMapInfo<FunctionType*>::getTombstoneKey(); in getTombstoneKey()
156 static unsigned getHashValue(const FunctionType *FT) { in getHashValue()
159 static bool isEqual(const KeyTy& LHS, const FunctionType *RHS) { in isEqual()
164 static bool isEqual(const FunctionType *LHS, const FunctionType *RHS) { in isEqual()
340 typedef DenseSet<FunctionType *, FunctionTypeKeyInfo> FunctionTypeSet;
H A 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 …]
H A 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()
240 bool InlineAsm::Verify(FunctionType *Ty, StringRef ConstStr) { in Verify()
/minix3/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/
H A DExternalFunctions.cpp52 typedef GenericValue (*ExFunc)(FunctionType *,
95 FunctionType *FT = F->getFunctionType(); in lookupFunction()
186 FunctionType *FTy = F->getFunctionType(); in ffiInvoke()
303 GenericValue lle_X_atexit(FunctionType *FT, in lle_X_atexit()
314 GenericValue lle_X_exit(FunctionType *FT, in lle_X_exit()
322 GenericValue lle_X_abort(FunctionType *FT, in lle_X_abort()
333 GenericValue lle_X_sprintf(FunctionType *FT, in lle_X_sprintf()
416 GenericValue lle_X_printf(FunctionType *FT, in lle_X_printf()
429 GenericValue lle_X_sscanf(FunctionType *FT, in lle_X_sscanf()
445 GenericValue lle_X_scanf(FunctionType *FT, in lle_X_scanf()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/
H A 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()
/minix3/external/bsd/llvm/dist/clang/test/Sema/
H A Dinvalid-decl.c24 typedef int (FunctionType)(int *value); typedef
27 FunctionType fun; // expected-error {{field 'fun' declared as a function}}
/minix3/external/bsd/llvm/dist/llvm/examples/ModuleMaker/
H A DModuleMaker.cpp33 FunctionType *FT = in main()
34 FunctionType::get(Type::getInt32Ty(Context), /*not vararg*/false); in main()
/minix3/external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/
H A 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()
/minix3/external/bsd/llvm/dist/llvm/unittests/Analysis/
H A DMixedTBAATest.cpp35 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), in TEST_F()

123456789