Home
last modified time | relevance | path

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

12345678910>>...18

/external/swiftshader/third_party/LLVM/include/llvm/Support/
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 …]
/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.h99 class FunctionType : public Type {
100 FunctionType(const FunctionType &) = delete;
101 const FunctionType &operator=(const FunctionType &) = delete;
102 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
106 static FunctionType *get(Type *Result,
110 static FunctionType *get(Type *Result, bool isVarArg);
140 static_assert(AlignOf<FunctionType>::Alignment >= AlignOf<Type *>::Alignment,
144 return cast<FunctionType>(this)->isVarArg(); in isFunctionVarArg()
148 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
152 return cast<FunctionType>(this)->getNumParams(); in getFunctionNumParams()
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/protobuf/src/google/protobuf/stubs/
Dcallback.h121 typedef void (*FunctionType)(); typedef
123 FunctionClosure0(FunctionType function, bool self_deleting) in FunctionClosure0()
134 FunctionType function_;
162 typedef void (*FunctionType)(Arg1 arg1); typedef
164 FunctionClosure1(FunctionType function, bool self_deleting, in FunctionClosure1()
177 FunctionType function_;
209 typedef void (*FunctionType)(Arg1 arg1, Arg2 arg2); typedef
211 FunctionClosure2(FunctionType function, bool self_deleting, in FunctionClosure2()
224 FunctionType function_;
258 typedef R (*FunctionType)(); typedef
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DDerivedTypes.h102 class FunctionType : public Type {
103 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
106 FunctionType(const FunctionType &) = delete;
107 FunctionType &operator=(const FunctionType &) = delete;
110 static FunctionType *get(Type *Result,
114 static FunctionType *get(Type *Result, bool isVarArg);
144 static_assert(alignof(FunctionType) >= alignof(Type *),
148 return cast<FunctionType>(this)->isVarArg(); in isFunctionVarArg()
152 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
156 return cast<FunctionType>(this)->getNumParams(); in getFunctionNumParams()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp169 if (isa<FunctionType>(GA.getValueType())) 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.cpp683 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs()
695 FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs()
700 FTy = FunctionType::get(Builder.getVoidTy(), Params, false); in emitProfileArcs()
771 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getStartFileFunc()
782 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getIncrementIndirectCounterFunc()
794 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitFunctionFunc()
803 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitArcsFunc()
808 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getSummaryInfoFunc()
813 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getEndFileFunc()
832 FunctionType *WriteoutFTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in insertCounterWriteout()
[all …]
/external/swiftshader/third_party/LLVM/unittests/Support/
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 …]
/external/llvm/unittests/IR/
DTypeBuilderTest.cpp151 EXPECT_EQ(FunctionType::get(Type::getVoidTy(Context), params, false), in TEST()
153 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(Context), params, true), in TEST()
156 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(Context), params, false), in TEST()
158 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(Context), params, true), in TEST()
161 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(Context), params, false), in TEST()
163 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(Context), params, true), in TEST()
167 FunctionType::get(Type::getInt8Ty(Context), params, false), in TEST()
170 FunctionType::get(Type::getInt8Ty(Context), params, true), in TEST()
173 EXPECT_EQ(FunctionType::get(Type::getInt8Ty(Context), params, false), in TEST()
177 FunctionType::get(Type::getInt8Ty(Context), params, true), in TEST()
[all …]
DVerifierTest.cpp29 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false); in TEST()
52 FunctionType *FTy = FunctionType::get(Type::getInt32Ty(C), /*isVarArg=*/false); in TEST()
70 FunctionType *FTy = FunctionType::get(Type::getInt32Ty(C), /*isVarArg=*/false); in TEST()
166 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false); in TEST()
DFunctionTest.cpp20 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST()
42 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), ArgTypes, false); in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/
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
/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/test/tools/llvm-readobj/
Dcodeview-merging.test27 OBJ1-NEXT: FunctionType: int (B*) (0x100C)
33 OBJ1-NEXT: FunctionType: int (A*) (0x1003)
41 OBJ2-NEXT: FunctionType: int (A*) (0x100C)
48 OBJ2-NEXT: FunctionType: int (B*) (0x1003)
56 CHECK-NEXT: FunctionType: int (B*) (0x100C)
62 CHECK-NEXT: FunctionType: int (A*) (0x1003)
/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/Transforms/Utils/
DSanitizerStats.cpp58 FunctionType *StatReportTy = in create()
59 FunctionType::get(B.getVoidTy(), Int8PtrTy, false); in create()
95 auto F = Function::Create(FunctionType::get(VoidTy, false), in finish()
100 FunctionType *StatInitTy = FunctionType::get(VoidTy, Int8PtrTy, false); in finish()
DModuleUtils.cpp26 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray()
110 FunctionType::get(Type::getVoidTy(M.getContext()), false), in createSanitizerCtorAndInitFunctions()
116 InitName, FunctionType::get(IRB.getVoidTy(), InitArgTypes, false), in createSanitizerCtorAndInitFunctions()
123 VersionCheckName, FunctionType::get(IRB.getVoidTy(), {}, false), in createSanitizerCtorAndInitFunctions()
/external/clang/lib/CodeGen/
DCodeGenTypes.h25 class FunctionType; variable
200 llvm::FunctionType *GetFunctionType(const CGFunctionInfo &Info);
202 llvm::FunctionType *GetFunctionType(GlobalDecl GD);
207 bool isFuncTypeConvertible(const FunctionType *FT);
263 const FunctionType *Ty,
297 const FunctionType *type);
328 FunctionType::ExtInfo info,
DCGOpenMPRuntime.cpp1050 Kmpc_MicroTy = llvm::FunctionType::get(CGM.VoidTy, MicroParams, true); in getKmpc_MicroPointerTy()
1064 llvm::FunctionType *FnTy = in createRuntimeFunction()
1065 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ true); in createRuntimeFunction()
1072 llvm::FunctionType *FnTy = in createRuntimeFunction()
1073 llvm::FunctionType::get(CGM.Int32Ty, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
1083 llvm::FunctionType *FnTy = in createRuntimeFunction()
1084 llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
1094 llvm::FunctionType *FnTy = in createRuntimeFunction()
1095 llvm::FunctionType::get(CGM.VoidTy, TypeParams, /*isVarArg*/ false); in createRuntimeFunction()
1105 llvm::FunctionType *FnTy = in createRuntimeFunction()
[all …]
DCGCUDANV.cpp102 return CGM.CreateRuntimeFunction(llvm::FunctionType::get(IntTy, in getSetupArgumentFn()
110 llvm::FunctionType::get(IntTy, CharPtrTy, false), "cudaLaunch"); in getLaunchFn()
183 llvm::FunctionType::get(VoidTy, VoidPtrPtrTy, false), in makeRegisterGlobalsFn()
196 llvm::FunctionType::get(IntTy, RegisterFuncParams, false), in makeRegisterGlobalsFn()
220 llvm::FunctionType::get(IntTy, RegisterVarParams, false), in makeRegisterGlobalsFn()
263 llvm::FunctionType::get(VoidPtrPtrTy, VoidPtrTy, false), in makeModuleCtorFunction()
270 llvm::FunctionType::get(VoidTy, VoidPtrTy, false), in makeModuleCtorFunction()
344 llvm::FunctionType::get(VoidTy, VoidPtrPtrTy, false), in makeModuleDtorFunction()
348 llvm::FunctionType::get(VoidTy, VoidPtrTy, false), in makeModuleDtorFunction()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp51 typedef GenericValue (*ExFunc)(FunctionType *,
94 FunctionType *FT = F->getFunctionType(); in lookupFunction()
184 FunctionType *FTy = F->getFunctionType(); in ffiInvoke()
307 GenericValue lle_X_atexit(FunctionType *FT, in lle_X_atexit()
317 GenericValue lle_X_exit(FunctionType *FT, in lle_X_exit()
324 GenericValue lle_X_abort(FunctionType *FT, in lle_X_abort()
334 GenericValue lle_X_sprintf(FunctionType *FT, in lle_X_sprintf()
416 GenericValue lle_X_printf(FunctionType *FT, in lle_X_printf()
428 GenericValue lle_X_sscanf(FunctionType *FT, in lle_X_sscanf()
443 GenericValue lle_X_scanf(FunctionType *FT, in lle_X_scanf()
[all …]
/external/python/cpython2/Lib/test/
Dtest_pyclbr.py7 from types import ClassType, FunctionType, MethodType, BuiltinFunctionType
71 if isinstance(obj, FunctionType):
82 if not isinstance(classdict[name], FunctionType):
97 self.assertIsInstance(py_item, (FunctionType, BuiltinFunctionType))
142 if isinstance(item, FunctionType):
147 if isinstance(item, (ClassType, FunctionType)):
/external/llvm/unittests/Transforms/Utils/
DValueMapperTest.cpp175 FunctionType *FTy = in TEST()
176 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST()
234 FunctionType *FTy = in TEST()
235 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST()
269 FunctionType *FTy = in TEST()
270 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST()
288 FunctionType *FTy = in TEST()
289 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST()
331 FunctionType *FTy = FunctionType::get(Type::getVoidTy(Context), Int8, false); in TEST()
/external/python/cpython3/Lib/test/
Dtest_pyclbr.py6 from types import FunctionType, MethodType, BuiltinFunctionType
71 elif not isinstance(obj, FunctionType):
86 self.assertIsInstance(py_item, (FunctionType, BuiltinFunctionType))
131 if isinstance(item, FunctionType):
136 if isinstance(item, (type, FunctionType)):

12345678910>>...18