Home
last modified time | relevance | path

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

12345678910>>...27

/external/libcxx/benchmarks/
Dfunction.bench.cpp21 enum class FunctionType { enum
32 struct AllFunctionTypes : EnumValuesAsTuple<AllFunctionTypes, FunctionType, 8> {
85 inline Function MakeFunction(FunctionType type, bool opaque = false) { in MakeFunction()
87 case FunctionType::Null: in MakeFunction()
89 case FunctionType::FunctionPointer: in MakeFunction()
91 case FunctionType::MemberFunctionPointer: in MakeFunction()
93 case FunctionType::MemberPointer: in MakeFunction()
95 case FunctionType::SmallTrivialFunctor: in MakeFunction()
97 case FunctionType::SmallNonTrivialFunctor: in MakeFunction()
99 case FunctionType::LargeTrivialFunctor: in MakeFunction()
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_api_info.cc30 function_type_ = FunctionApiInfo::FunctionType::INFERENCE; in Init()
39 function_type_ = FunctionApiInfo::FunctionType::BACKWARD; in Init()
43 function_type_ = FunctionApiInfo::FunctionType::FORWARD; in Init()
73 const FunctionApiInfo::FunctionType FunctionApiInfo::function_type() const { in function_type()
125 const FunctionApiInfo::FunctionType function_type) { in ValidateSignature()
129 (function_type == FunctionApiInfo::FunctionType::INFERENCE || in ValidateSignature()
130 function_type == FunctionApiInfo::FunctionType::FORWARD); in ValidateSignature()
132 (function_type == FunctionApiInfo::FunctionType::INFERENCE || in ValidateSignature()
133 function_type == FunctionApiInfo::FunctionType::BACKWARD); in ValidateSignature()
148 const FunctionApiInfo::FunctionType function_type) { in ValidateSignatures()
[all …]
/external/swiftshader/third_party/llvm-7.0/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.h103 class FunctionType : public Type {
104 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
107 FunctionType(const FunctionType &) = delete;
108 FunctionType &operator=(const FunctionType &) = delete;
111 static FunctionType *get(Type *Result,
115 static FunctionType *get(Type *Result, bool isVarArg);
146 static_assert(alignof(FunctionType) >= alignof(Type *),
150 return cast<FunctionType>(this)->isVarArg(); in isFunctionVarArg()
154 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType()
158 return cast<FunctionType>(this)->getNumParams(); in getFunctionNumParams()
/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()
/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-7.0/llvm/unittests/IR/
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()
141 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false); in TEST()
178 "f", FunctionType::get(Type::getVoidTy(C), false))); in TEST()
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 …]
/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp200 if (isa<FunctionType>(GA.getValueType())) in isIn()
218 TransformedFunction(FunctionType* OriginalType, in TransformedFunction()
219 FunctionType* TransformedType, in TransformedFunction()
234 FunctionType *OriginalType;
237 FunctionType *TransformedType;
339 FunctionType *DFSanUnionFnTy;
340 FunctionType *DFSanUnionLoadFnTy;
341 FunctionType *DFSanUnimplementedFnTy;
342 FunctionType *DFSanSetLabelFnTy;
343 FunctionType *DFSanNonzeroLabelFnTy;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFixFunctionBitcasts.cpp108 static Function *CreateWrapper(Function *F, FunctionType *Ty) { in CreateWrapper()
119 FunctionType::param_iterator PI = F->getFunctionType()->param_begin(); in CreateWrapper()
120 FunctionType::param_iterator PE = F->getFunctionType()->param_end(); in CreateWrapper()
173 FunctionType *MainTy = FunctionType::get(Type::getInt32Ty(C), MainArgTys, in runOnModule()
189 DenseMap<std::pair<Function *, FunctionType *>, Function *> Wrappers; in runOnModule()
195 FunctionType *Ty = dyn_cast<FunctionType>(PTy->getElementType()); in runOnModule()
DWebAssemblyAddMissingPrototypes.cpp89 FunctionType *NewType = nullptr; in runOnModule()
94 FunctionType *DestType = in runOnModule()
95 cast<FunctionType>(BC->getDestTy()->getPointerElementType()); in runOnModule()
115 FunctionType *DestType = in runOnModule()
116 cast<FunctionType>(BC->getDestTy()->getPointerElementType()); in runOnModule()
/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()
/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
DARCRuntimeEntryPoints.h142 FunctionType *Fty = FunctionType::get(Type::getVoidTy(C), Params, in getVoidRetI8XEntryPoint()
155 FunctionType *Fty = FunctionType::get(I8X, Params, /*isVarArg=*/false);
178 FunctionType *Fty = FunctionType::get(Type::getVoidTy(C), Params, in getI8XRetI8XXI8XEntryPoint()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/
DExternalFunctions.cpp63 typedef GenericValue (*ExFunc)(FunctionType *, ArrayRef<GenericValue>);
105 FunctionType *FT = F->getFunctionType(); in lookupFunction()
194 FunctionType *FTy = F->getFunctionType(); in ffiInvoke()
309 static GenericValue lle_X_atexit(FunctionType *FT, in lle_X_atexit()
319 static GenericValue lle_X_exit(FunctionType *FT, ArrayRef<GenericValue> Args) { in lle_X_exit()
325 static GenericValue lle_X_abort(FunctionType *FT, ArrayRef<GenericValue> Args) { in lle_X_abort()
334 static GenericValue lle_X_sprintf(FunctionType *FT, in lle_X_sprintf()
416 static GenericValue lle_X_printf(FunctionType *FT, in lle_X_printf()
428 static GenericValue lle_X_sscanf(FunctionType *FT, in lle_X_sscanf()
443 static GenericValue lle_X_scanf(FunctionType *FT, ArrayRef<GenericValue> args) { in lle_X_scanf()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DSparsePropagation.cpp258 Function *F = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F()
260 Function *G = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F()
294 Function *F = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F()
296 Function *G = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F()
335 Function *F = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F()
337 Function *G = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F()
377 Function::Create(FunctionType::get(Builder.getInt64Ty(), in TEST_F()
417 Function::Create(FunctionType::get(Builder.getInt64Ty(), in TEST_F()
460 Function *F = Function::Create(FunctionType::get(Builder.getVoidTy(), false), in TEST_F()
463 FunctionType::get(Builder.getVoidTy(), in TEST_F()
[all …]

12345678910>>...27