Home
last modified time | relevance | path

Searched refs:Function (Results 1 – 25 of 158) sorted by relevance

1234567

/frameworks/compile/libbcc/lib/
DRSX86CallConvPass.cpp44 bool IsRSFunctionOfInterest(llvm::Function &F) { in IsRSFunctionOfInterest()
60 bool IsDerefNeeded(llvm::Function *F, llvm::Argument &Arg) { in IsDerefNeeded()
94 bool FillArgsToDeref(llvm::Function *F, std::vector<unsigned> &ArgNums) { in FillArgsToDeref()
110 llvm::Function *RedefineFn(llvm::Function *OrigFn, in RedefineFn()
119 llvm::Function *NewFn = llvm::Function::Create(NewTy, in RedefineFn()
144 llvm::Function *NewFn, in ReplaceCallInsn()
181 std::vector<llvm::Function *> FunctionsToHandle; in runOnModule()
196 llvm::Function *NewFn = RedefineFn(OrigFn, ArgsToDeref); in runOnModule()
DRSKernelExpand.cpp96 typedef std::unordered_set<llvm::Function *> FunctionSet;
144 uint32_t getRootSignature(llvm::Function *Function) { in getRootSignature() argument
150 for (llvm::Function::arg_iterator B = Function->arg_begin(), in getRootSignature()
151 E = Function->arg_end(); in getRootSignature()
341 llvm::Function *createEmptyExpandedForEachKernel(llvm::StringRef OldName) { in createEmptyExpandedForEachKernel()
342 llvm::Function *ExpandedFunction = in createEmptyExpandedForEachKernel()
343 llvm::Function::Create(ExpandedForEachType, in createEmptyExpandedForEachKernel()
347 llvm::Function::arg_iterator AI = ExpandedFunction->arg_begin(); in createEmptyExpandedForEachKernel()
366 llvm::Function *createEmptyExpandedReduceAccumulator(llvm::StringRef OldName, in createEmptyExpandedReduceAccumulator()
374 llvm::Function *FnExpandedAccumulator = in createEmptyExpandedReduceAccumulator()
[all …]
DRSScriptGroupFusion.cpp30 using llvm::Function;
39 const Function* getInvokeFunction(const Source& source, const int slot, in getInvokeFunction()
44 Function* func = newModule->getFunction(functionName); in getInvokeFunction()
51 const Function*
73 const Function* function = mergedModule->getFunction(functionName); in getFunction()
144 const Function* firstF = getFunction(M, sources.front(), slots.front(), nullptr); in getFusedFuncType()
165 const Function* lastF = getFunction(M, sources.back(), slots.back(), nullptr); in getFusedFuncType()
192 Function* fusedKernel = in fuseKernels()
193 (Function*)(mergedModule->getOrInsertFunction(fusedName, fusedType)); in fuseKernels()
200 Function::arg_iterator argIter = fusedKernel->arg_begin(); in fuseKernels()
[all …]
/frameworks/native/cmds/lshal/
DTimeout.h80 template<class R, class P, class Function, class I, class... Args>
81 typename std::result_of<Function(I *, Args...)>::type
82 timeoutIPC(std::chrono::duration<R, P> wait, const sp<I> &interfaceObject, Function &&func, in timeoutIPC()
85 typename std::result_of<Function(I *, Args...)>::type ret{Status::ok()}; in timeoutIPC()
86 auto boundFunc = std::bind(std::forward<Function>(func), in timeoutIPC()
97 template<class Function, class I, class... Args>
98 typename std::result_of<Function(I *, Args...)>::type
99 timeoutIPC(const sp<I> &interfaceObject, Function &&func, Args &&... args) { in timeoutIPC()
/frameworks/rs/rsov/compiler/spirit/test_data/
Dgreyscale3.spt49 %_ptr_Function_v2int = OpTypePointer Function %v2int
57 %_ptr_Function_v4float = OpTypePointer Function %v4float
67 %_ptr_Function_uint = OpTypePointer Function %uint
79 %xy = OpVariable %_ptr_Function_v2int Function
80 %inputPixel = OpVariable %_ptr_Function_v4float Function
81 %res = OpVariable %_ptr_Function_v4float Function
82 %x = OpVariable %_ptr_Function_uint Function
83 %y = OpVariable %_ptr_Function_uint Function
Dgreyscale2.spt50 %_ptr_Function_v2int = OpTypePointer Function %v2int
58 %_ptr_Function_v4float = OpTypePointer Function %v4float
68 %_ptr_Function_uint = OpTypePointer Function %uint
82 %xy = OpVariable %_ptr_Function_v2int Function
83 %inputPixel = OpVariable %_ptr_Function_v4float Function
84 %res = OpVariable %_ptr_Function_v4float Function
85 %x = OpVariable %_ptr_Function_uint Function
86 %y = OpVariable %_ptr_Function_uint Function
Dgreyscale.spt60 %_ptr_Function_v2int = OpTypePointer Function %v2int
66 %_ptr_Function_v4float = OpTypePointer Function %v4float
71 %_ptr_Function_uint = OpTypePointer Function %uint
85 %xy = OpVariable %_ptr_Function_v2int Function
86 %inputPixel = OpVariable %_ptr_Function_v4float Function
87 %res = OpVariable %_ptr_Function_v4float Function
88 %x = OpVariable %_ptr_Function_uint Function
89 %y = OpVariable %_ptr_Function_uint Function
/frameworks/compile/libbcc/tests/libbcc/
Dtest_reduce_general_metadata.ll48 ; Function Attrs: nounwind
56 ; Function Attrs: nounwind
62 ; Function Attrs: nounwind
70 ; Function Attrs: nounwind
79 ; Function Attrs: nounwind
88 ; Function Attrs: nounwind
95 ; Function Attrs: nounwind
98 ; Function Attrs: nounwind
127 ; Function Attrs: nounwind
142 ; Function Attrs: nounwind
[all …]
Dtest_reduce_general_cleanup.ll51 ; Function Attrs: nounwind
59 ; Function Attrs: nounwind
68 ; Function Attrs: nounwind
77 ; Function Attrs: nounwind
93 ; Function Attrs: nounwind
122 ; Function Attrs: nounwind
137 ; Function Attrs: nounwind
151 ; Function Attrs: nounwind
157 ; Function Attrs: nounwind
170 ; Function Attrs: nounwind
[all …]
/frameworks/rs/rsov/compiler/tests/multi_function/
Dblend_mf.ll8 ; Function Attrs: norecurse nounwind readnone
16 ; Function calls to _Z14convert_uchar4Dv4_j should be translated into OpUConvert instructions
22 ; Function Attrs: nounwind readnone
34 ; Function Attrs: norecurse nounwind readnone
41 ; Function Attrs: nounwind readnone
44 ; Function Attrs: nounwind readnone
/frameworks/base/core/java/android/view/textclassifier/
DTextLinksParams.java32 import java.util.function.Function;
43 private static final Function<TextLink, TextLinkSpan> DEFAULT_SPAN_FACTORY =
48 private final Function<TextLink, TextLinkSpan> mSpanFactory;
53 Function<TextLink, TextLinkSpan> spanFactory) { in TextLinksParams()
159 private Function<TextLink, TextLinkSpan> mSpanFactory = DEFAULT_SPAN_FACTORY;
178 public Builder setSpanFactory(@Nullable Function<TextLink, TextLinkSpan> spanFactory) { in setSpanFactory()
DModelFileManager.java37 import java.util.function.Function;
100 private final Function<Integer, Integer> mVersionSupplier;
101 private final Function<Integer, String> mSupportedLocalesSupplier;
107 Function<Integer, Integer> versionSupplier, in ModelFileSupplierImpl()
108 Function<Integer, String> supportedLocalesSupplier) { in ModelFileSupplierImpl()
/frameworks/rs/script_api/
DSpecification.h31 class Function; variable
220 class Function : public Definition {
232 Function(const std::string& name);
233 ~Function();
338 Function* mFunction; // Not owned
403 void createPermutations(Function* function, Scanner* scanner);
406 FunctionSpecification(Function* function) : mFunction(function), mInternal(false), in FunctionSpecification()
410 Function* getFunction() const { return mFunction; } in getFunction()
483 FunctionPermutation(Function* function, FunctionSpecification* specification,
529 std::map<std::string, Function*> mDocumentedFunctions;
[all …]
DSpecification.cpp321 Function::Function(const string& name) : Definition(name) { in Function() function in Function
325 Function::~Function() { in ~Function()
331 bool Function::someParametersAreDocumented() const { in someParametersAreDocumented()
340 void Function::addParameter(ParameterEntry* entry, Scanner* scanner) { in addParameter()
355 void Function::addReturn(ParameterEntry* entry, Scanner* scanner) { in addReturn()
499 void FunctionSpecification::createPermutations(Function* function, Scanner* scanner) { in createPermutations()
622 Function* function = systemSpecification.findOrCreateFunction(name, &created); in scanFunctionSpecification()
707 FunctionPermutation::FunctionPermutation(Function* func, FunctionSpecification* spec, in FunctionPermutation()
798 Function* function = spec->getFunction(); in addFunctionSpecification()
799 mDocumentedFunctions.insert(pair<string, Function*>(function->getName(), function)); in addFunctionSpecification()
[all …]
/frameworks/base/services/net/java/android/net/shared/
DParcelableUtil.java24 import java.util.function.Function;
40 @NonNull Function<BaseType, ParcelableType> conv, in toParcelableArray()
56 @NonNull ParcelableType[] parceled, @NonNull Function<ParcelableType, BaseType> conv) { in fromParcelableArray()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverWrapperActivity.java24 import java.util.function.Function;
74 public Function<PackageManager, PackageManager> createPackageManager;
75 public Function<TargetInfo, Boolean> onSafelyStartCallback;
DChooserWrapperActivity.java35 import java.util.function.Function;
138 public Function<PackageManager, PackageManager> createPackageManager;
139 public Function<TargetInfo, Boolean> onSafelyStartCallback;
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/
DComparableUtils.java24 import java.util.function.Function;
44 final ToIntBiFunction<T, T> compareTo, final Function<T, String> name) { in assertAscendingOrdering()
62 final ToIntBiFunction<T, T> compareTo, final Function<T, String> name) {
87 final ToIntBiFunction<T, T> compareTo, final Function<T, String> name) {
/frameworks/rs/rsov/compiler/tests/image/
Dcontrast.ll21 ; Function Attrs: nounwind
33 ; Function Attrs: nounwind readnone
36 ; Function Attrs: nounwind readonly
56 ; Function Attrs: nounwind readnone
59 ; Function Attrs: nounwind readnone
62 ; Function Attrs: nounwind readnone
65 ; Function Attrs: noinline nounwind
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DJarUtil.java25 import java.util.function.Function;
43 @NotNull Map<String, byte[]> all, @NotNull Function<byte[], byte[]> transform) in createJar()
72 createJar(outStream, all, Function.identity()); in createJar()
/frameworks/compile/slang/StripUnkAttr/
Dstrip_unknown_attributes.h18 class Function; variable
34 bool stripUnknownAttributes(llvm::Function &F);
Dstrip_unknown_attributes.cpp23 bool stripUnknownAttributes(llvm::Function &F) { in stripUnknownAttributes()
25 for (llvm::Function::arg_iterator I = F.arg_begin(), E = F.arg_end(); in stripUnknownAttributes()
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledFunction.java19 import java.util.function.Function;
27 public interface PooledFunction<A, R> extends PooledLambda, Function<A, R> {
/frameworks/rs/rsov/compiler/tests/single_kernel/
Dmixed.ll10 ; Function Attrs: nounwind
21 ; Function Attrs: norecurse nounwind readnone
28 ; Function Attrs: norecurse nounwind readnone
35 ; Function Attrs: noinline nounwind
/frameworks/native/vulkan/libvulkan/
Dcode-generator.tmpl382 {{AssertType $ "Function"}}
413 {{AssertType $ "Function"}}
440 {{AssertType $ "Function"}}
457 {{AssertType $ "Function"}}
471 {{AssertType $ "Function"}}
514 {{AssertType $ "Function"}}
664 {{AssertType $ "Function"}}
731 {{AssertType $ "Function"}}
774 {{AssertType $ "Function"}}
838 {{AssertType $ "Function"}}
[all …]

1234567