Home
last modified time | relevance | path

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

123456

/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/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/native/cmds/lshal/
DTimeout.h80 template<class Function, class I, class... Args>
81 typename std::result_of<Function(I *, Args...)>::type
82 timeoutIPC(const sp<I> &interfaceObject, Function &&func, Args &&... args) { in timeoutIPC()
84 typename std::result_of<Function(I *, Args...)>::type ret{Status::ok()}; in timeoutIPC()
85 auto boundFunc = std::bind(std::forward<Function>(func), in timeoutIPC()
/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/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/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.cpp320 Function::Function(const string& name) : Definition(name) { in Function() function in Function
324 Function::~Function() { in ~Function()
330 bool Function::someParametersAreDocumented() const { in someParametersAreDocumented()
339 void Function::addParameter(ParameterEntry* entry, Scanner* scanner) { in addParameter()
354 void Function::addReturn(ParameterEntry* entry, Scanner* scanner) { in addReturn()
498 void FunctionSpecification::createPermutations(Function* function, Scanner* scanner) { in createPermutations()
621 Function* function = systemSpecification.findOrCreateFunction(name, &created); in scanFunctionSpecification()
706 FunctionPermutation::FunctionPermutation(Function* func, FunctionSpecification* spec, in FunctionPermutation()
797 Function* function = spec->getFunction(); in addFunctionSpecification()
798 mDocumentedFunctions.insert(pair<string, Function*>(function->getName(), function)); in addFunctionSpecification()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverWrapperActivity.java26 import java.util.function.Function;
79 public Function<PackageManager, PackageManager> createPackageManager;
80 public Function<TargetInfo, Boolean> onSafelyStartCallback;
DChooserWrapperActivity.java23 import java.util.function.Function;
84 public Function<PackageManager, PackageManager> createPackageManager;
85 public Function<TargetInfo, Boolean> onSafelyStartCallback;
/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/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/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/base/tools/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java34 import java.util.function.Function;
43 private final Function<String, Map<String, Integer>> mFrameworkEnumValueSupplier;
44 private final Function<String, Map<String, Integer>> mProjectEnumValueSupplier;
49 @NonNull Function<String, Map<String, Integer>> frameworkEnumValueSupplier, in BridgeXmlPullAttributes()
50 @NonNull Function<String, Map<String, Integer>> projectEnumValueSupplier) { in BridgeXmlPullAttributes()
/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"}}
729 {{AssertType $ "Function"}}
767 {{AssertType $ "Function"}}
831 {{AssertType $ "Function"}}
[all …]
/frameworks/compile/libbcc/bcinfo/include/bcinfo/
DMetadataExtractor.h26 class Function; variable
129 uint32_t calculateNumInputs(const llvm::Function *Function,
/frameworks/compile/slang/BitWriter_2_9_func/
DValueEnumerator.cpp45 EnumerateAttributes(cast<Function>(I)->getAttributes()); in ValueEnumerator()
81 for (const Function &F : M) { in ValueEnumerator()
456 void ValueEnumerator::incorporateFunction(const Function &F) { in incorporateFunction()
462 for (Function::const_arg_iterator I = F.arg_begin(), E = F.arg_end(); in incorporateFunction()
469 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) { in incorporateFunction()
492 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) { in incorporateFunction()
527 static void IncorporateFunctionInfoGlobalBBIDs(const Function *F, in IncorporateFunctionInfoGlobalBBIDs()
530 for (Function::const_iterator BB = F->begin(), E = F->end(); BB != E; ++BB) in IncorporateFunctionInfoGlobalBBIDs()
/frameworks/compile/slang/BitWriter_3_2/
DValueEnumerator.cpp45 EnumerateAttributes(cast<Function>(I)->getAttributes()); in ValueEnumerator()
81 for (const Function &F : M) { in ValueEnumerator()
456 void ValueEnumerator::incorporateFunction(const Function &F) { in incorporateFunction()
462 for (Function::const_arg_iterator I = F.arg_begin(), E = F.arg_end(); in incorporateFunction()
469 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) { in incorporateFunction()
492 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) { in incorporateFunction()
527 static void IncorporateFunctionInfoGlobalBBIDs(const Function *F, in IncorporateFunctionInfoGlobalBBIDs()
530 for (Function::const_iterator BB = F->begin(), E = F->end(); BB != E; ++BB) in IncorporateFunctionInfoGlobalBBIDs()
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.cpp45 EnumerateAttributes(cast<Function>(I)->getAttributes()); in ValueEnumerator()
81 for (const Function &F : M) { in ValueEnumerator()
456 void ValueEnumerator::incorporateFunction(const Function &F) { in incorporateFunction()
462 for (Function::const_arg_iterator I = F.arg_begin(), E = F.arg_end(); in incorporateFunction()
469 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) { in incorporateFunction()
492 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) { in incorporateFunction()
527 static void IncorporateFunctionInfoGlobalBBIDs(const Function *F, in IncorporateFunctionInfoGlobalBBIDs()
530 for (Function::const_iterator BB = F->begin(), E = F->end(); BB != E; ++BB) in IncorporateFunctionInfoGlobalBBIDs()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DMessagingLinearLayoutTest.java25 import android.support.test.espresso.core.deps.guava.base.Function;
165 private final Function<Integer, Integer> mLinesForIndent;
169 Function<Integer, Integer> linesForIndent) { in FakeImageFloatingTextView()
232 private FakeImageFloatingTextView fakeChild(Function<Integer,Integer> linesForIndent) { in fakeChild()

123456