Home
last modified time | relevance | path

Searched full:functiontype (Results 1 – 25 of 1124) sorted by relevance

12345678910>>...45

/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/llvm-project/libcxx/benchmarks/
Dfunction.bench.cpp20 enum class FunctionType { enum
31 struct AllFunctionTypes : EnumValuesAsTuple<AllFunctionTypes, FunctionType, 8> {
84 inline Function MakeFunction(FunctionType type, bool opaque = false) { in MakeFunction()
86 case FunctionType::Null: in MakeFunction()
88 case FunctionType::FunctionPointer: in MakeFunction()
90 case FunctionType::MemberFunctionPointer: in MakeFunction()
92 case FunctionType::MemberPointer: in MakeFunction()
94 case FunctionType::SmallTrivialFunctor: in MakeFunction()
96 case FunctionType::SmallNonTrivialFunctor: in MakeFunction()
98 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/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);
105 /// This static method is the primary way of constructing a FunctionType.
106 static FunctionType *get(Type *Result,
109 /// Create a FunctionType taking no parameters.
110 static FunctionType *get(Type *Result, bool isVarArg);
140 static_assert(AlignOf<FunctionType>::Alignment >= AlignOf<Type *>::Alignment,
141 "Alignment sufficient for objects appended to FunctionType");
[all …]
/external/protobuf/src/google/protobuf/stubs/
Dcallback.h124 typedef void (*FunctionType)(); typedef
126 FunctionClosure0(FunctionType function, bool self_deleting) in FunctionClosure0()
137 FunctionType function_;
165 typedef void (*FunctionType)(Arg1 arg1); typedef
167 FunctionClosure1(FunctionType function, bool self_deleting, in FunctionClosure1()
180 FunctionType function_;
212 typedef void (*FunctionType)(Arg1 arg1, Arg2 arg2); typedef
214 FunctionClosure2(FunctionType function, bool self_deleting, in FunctionClosure2()
227 FunctionType function_;
261 typedef R (*FunctionType)(); typedef
[all …]
/external/pdfium/testing/resources/pixel/
Dbug_842.in49 /FunctionType 3
57 /FunctionType 2
65 /FunctionType 2
73 /FunctionType 2
81 /FunctionType 2
89 /FunctionType 2
/external/llvm-project/polly/lib/CodeGen/
DLoopGeneratorsGOMP.cpp32 Type *Params[] = {PointerType::getUnqual(FunctionType::get( in createCallSpawnThreads()
40 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, false); in createCallSpawnThreads()
61 FunctionType *FT = in prepareSubFnDefinition()
62 FunctionType::get(Builder.getVoidTy(), {Builder.getInt8PtrTy()}, false); in prepareSubFnDefinition()
182 FunctionType *Ty = FunctionType::get(Builder.getInt8Ty(), Params, false); in createCallGetWorkItem()
202 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), false); in createCallJoinThreads()
218 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), false); in createCallCleanupThread()
DLoopGeneratorsKMP.cpp33 KMPCMicroTy = FunctionType::get(Builder.getVoidTy(), MicroParams, true); in createCallSpawnThreads()
45 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, true); in createCallSpawnThreads()
85 FunctionType *FT = FunctionType::get(Builder.getVoidTy(), Arguments, false); in prepareSubFnDefinition()
324 FunctionType *Ty = FunctionType::get(Builder.getInt32Ty(), Params, false); in createCallGlobalThreadNum()
345 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, false); in createCallPushNumThreads()
379 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, false); in createCallStaticInit()
409 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, false); in createCallStaticFini()
440 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, false); in createCallDispatchInit()
480 FunctionType *Ty = FunctionType::get(Builder.getInt32Ty(), Params, false); in createCallDispatchNext()
/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-project/llvm/unittests/IR/
DVerifierTest.cpp28 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false); in TEST()
51 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false); in TEST()
99 FunctionType *FTy = FunctionType::get(Type::getInt32Ty(C), /*isVarArg=*/false); in TEST()
117 FunctionType *FTy = FunctionType::get(Type::getInt32Ty(C), /*isVarArg=*/false); in TEST()
188 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false); in TEST()
224 auto *F = Function::Create(FunctionType::get(Type::getVoidTy(C), false), in TEST()
/external/swiftshader/src/Reactor/
DRoutine.hpp32 template<typename FunctionType>
39 using FunctionType = Return (*)(Arguments...); typedef in rr::RoutineT
48 function = reinterpret_cast<FunctionType>(const_cast<void *>(routine->getEntry(0))); in RoutineT()
63 const FunctionType getEntry() const in getEntry()
70 FunctionType function = nullptr;
/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/llvm-project/clang/lib/CodeGen/
DCGCUDANV.cpp68 llvm::FunctionType *getRegisterGlobalsFnTy() const;
69 llvm::FunctionType *getCallbackFnTy() const;
70 llvm::FunctionType *getRegisterLinkedBinaryFnTy() const;
103 llvm::Function *makeDummyFunction(llvm::FunctionType *FnTy) { in makeDummyFunction()
190 llvm::FunctionType::get(IntTy, Params, false), in getSetupArgumentFn()
198 llvm::FunctionType::get(IntTy, CharPtrTy, false), "hipLaunchByPtr"); in getLaunchFn()
202 llvm::FunctionType::get(IntTy, CharPtrTy, false), "cudaLaunch"); in getLaunchFn()
206 llvm::FunctionType *CGNVCUDARuntime::getRegisterGlobalsFnTy() const { in getRegisterGlobalsFnTy()
207 return llvm::FunctionType::get(VoidTy, VoidPtrPtrTy, false); in getRegisterGlobalsFnTy()
210 llvm::FunctionType *CGNVCUDARuntime::getCallbackFnTy() const { in getCallbackFnTy()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp201 if (isa<FunctionType>(GA.getValueType())) in isIn()
219 TransformedFunction(FunctionType* OriginalType, in TransformedFunction()
220 FunctionType* TransformedType, in TransformedFunction()
235 FunctionType *OriginalType;
238 FunctionType *TransformedType;
337 FunctionType *GetArgTLSTy;
338 FunctionType *GetRetvalTLSTy;
342 FunctionType *DFSanUnionFnTy;
343 FunctionType *DFSanUnionLoadFnTy;
344 FunctionType *DFSanUnimplementedFnTy;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDerivedTypes.h108 class FunctionType : public Type {
109 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
112 FunctionType(const FunctionType &) = delete;
113 FunctionType &operator=(const FunctionType &) = delete;
115 /// This static method is the primary way of constructing a FunctionType.
116 static FunctionType *get(Type *Result,
119 /// Create a FunctionType taking no parameters.
120 static FunctionType *get(Type *Result, bool isVarArg);
151 static_assert(alignof(FunctionType) >= alignof(Type *),
152 "Alignment sufficient for objects appended to FunctionType");
[all …]
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp240 if (isa<FunctionType>(GA.getValueType())) in isIn()
258 TransformedFunction(FunctionType* OriginalType, in TransformedFunction()
259 FunctionType* TransformedType, in TransformedFunction()
274 FunctionType *OriginalType;
277 FunctionType *TransformedType;
377 FunctionType *DFSanUnionFnTy;
378 FunctionType *DFSanUnionLoadFnTy;
379 FunctionType *DFSanUnimplementedFnTy;
380 FunctionType *DFSanSetLabelFnTy;
381 FunctionType *DFSanNonzeroLabelFnTy;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibFunc.h16 class FunctionType; variable
347 virtual FunctionType *getFunctionType(Module &M) const = 0;
364 explicit AMDGPULibFunc(StringRef FName, FunctionType *FT);
391 FunctionType *getFunctionType(Module &M) const { in getFunctionType()
416 FunctionType *getFunctionType(Module &M) const override;
436 FunctionType *FuncTy;
440 explicit AMDGPUUnmangledLibFunc(StringRef FName, FunctionType *FT) { in AMDGPUUnmangledLibFunc()
446 FunctionType *getFunctionType(Module &M) const override { return FuncTy; } in getFunctionType()
455 void setFunctionType(FunctionType *FT) { FuncTy = FT; } in setFunctionType()
/external/llvm-project/llvm/test/tools/llvm-readobj/COFF/
Dcodeview-merging.test36 OBJ1-NEXT: FunctionType: int (B*) (0x100C)
42 OBJ1-NEXT: FunctionType: int (A*) (0x1003)
50 OBJ2-NEXT: FunctionType: int (A*) (0x100C)
57 OBJ2-NEXT: FunctionType: int (B*) (0x1003)
103 CHECK-NEXT: FunctionType: int (B*)
109 CHECK-NEXT: FunctionType: int (A*)
/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;
109 /// This static method is the primary way of constructing a FunctionType.
110 static FunctionType *get(Type *Result,
113 /// Create a FunctionType taking no parameters.
114 static FunctionType *get(Type *Result, bool isVarArg);
144 static_assert(alignof(FunctionType) >= alignof(Type *),
145 "Alignment sufficient for objects appended to FunctionType");
[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/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULibFunc.h17 class FunctionType; variable
348 virtual FunctionType *getFunctionType(Module &M) const = 0;
365 explicit AMDGPULibFunc(StringRef FName, FunctionType *FT);
392 FunctionType *getFunctionType(Module &M) const { in getFunctionType()
417 FunctionType *getFunctionType(Module &M) const override;
437 FunctionType *FuncTy;
441 explicit AMDGPUUnmangledLibFunc(StringRef FName, FunctionType *FT) { in AMDGPUUnmangledLibFunc()
447 FunctionType *getFunctionType(Module &M) const override { return FuncTy; } in getFunctionType()
456 void setFunctionType(FunctionType *FT) { FuncTy = FT; } in setFunctionType()
/external/llvm-project/llvm/include/llvm/IR/
DDerivedTypes.h108 class FunctionType : public Type {
109 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
112 FunctionType(const FunctionType &) = delete;
113 FunctionType &operator=(const FunctionType &) = delete;
115 /// This static method is the primary way of constructing a FunctionType.
116 static FunctionType *get(Type *Result,
119 /// Create a FunctionType taking no parameters.
120 static FunctionType *get(Type *Result, bool isVarArg);
151 static_assert(alignof(FunctionType) >= alignof(Type *),
152 "Alignment sufficient for objects appended to FunctionType");
[all …]
/external/python/cpython2/Lib/
Dtypes.py43 FunctionType = type(_f) variable
44 LambdaType = type(lambda: None) # Same as FunctionType
81 GetSetDescriptorType = type(FunctionType.func_code)
82 MemberDescriptorType = type(FunctionType.func_globals)

12345678910>>...45