Home
last modified time | relevance | path

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

1234

/frameworks/compile/libbcc/lib/Renderscript/
DRSKernelExpand.cpp75 typedef std::unordered_set<llvm::Function *> FunctionSet;
121 uint32_t getRootSignature(llvm::Function *Function) { in getRootSignature() argument
127 for (llvm::Function::arg_iterator B = Function->arg_begin(), in getRootSignature()
128 E = Function->arg_end(); in getRootSignature()
318 llvm::Function *createEmptyExpandedForEachKernel(llvm::StringRef OldName) { in createEmptyExpandedForEachKernel()
319 llvm::Function *ExpandedFunction = in createEmptyExpandedForEachKernel()
320 llvm::Function::Create(ExpandedForEachType, in createEmptyExpandedForEachKernel()
324 llvm::Function::arg_iterator AI = ExpandedFunction->arg_begin(); in createEmptyExpandedForEachKernel()
343 llvm::Function *createEmptyExpandedReduceAccumulator(llvm::StringRef OldName, in createEmptyExpandedReduceAccumulator()
351 llvm::Function *FnExpandedAccumulator = in createEmptyExpandedReduceAccumulator()
[all …]
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()
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/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 …]
Dtbaa-through-alloca.ll23 ; Function Attrs: nounwind
45 ; Function Attrs: nounwind
/frameworks/rs/api/
DSpecification.h31 class Function; variable
220 class Function : public Definition {
232 Function(const std::string& name);
233 ~Function();
336 Function* mFunction; // Not owned
401 void createPermutations(Function* function, Scanner* scanner);
404 FunctionSpecification(Function* function) : mFunction(function), mInternal(false), in FunctionSpecification()
408 Function* getFunction() const { return mFunction; } in getFunction()
481 FunctionPermutation(Function* function, FunctionSpecification* specification,
527 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()
495 void FunctionSpecification::createPermutations(Function* function, Scanner* scanner) { in createPermutations()
618 Function* function = systemSpecification.findOrCreateFunction(name, &created); in scanFunctionSpecification()
703 FunctionPermutation::FunctionPermutation(Function* func, FunctionSpecification* spec, in FunctionPermutation()
794 Function* function = spec->getFunction(); in addFunctionSpecification()
795 mDocumentedFunctions.insert(pair<string, Function*>(function->getName(), function)); in addFunctionSpecification()
[all …]
DGenerateStubsWhiteList.cpp325 static bool addFunctionManglingToSet(const Function& function, in addFunctionManglingToSet()
350 static bool addManglingsForSpecification(const Function& function, in addManglingsForSpecification()
397 const Function* function = f.second; in generateWhiteListFile()
441 unsigned int* variableNumber, const Function& function, in generateTestCall()
507 const Function* function = f.second; in generateApiTesterFile()
DGenerateHeaderFiles.cpp202 Function* function = spec.getFunction(); in writeFunctionPermutation()
282 static void writeFunctionComment(GeneratedFile* file, const Function& function) { in writeFunctionComment()
365 set<Function*> documentedFunctions; in writeHeaderFile()
371 Function* function = spec->getFunction(); in writeHeaderFile()
/frameworks/native/vulkan/libvulkan/
Dcode-generator.tmpl378 {{AssertType $ "Function"}}
409 {{AssertType $ "Function"}}
434 {{AssertType $ "Function"}}
451 {{AssertType $ "Function"}}
465 {{AssertType $ "Function"}}
508 {{AssertType $ "Function"}}
658 {{AssertType $ "Function"}}
706 {{AssertType $ "Function"}}
744 {{AssertType $ "Function"}}
808 {{AssertType $ "Function"}}
[all …]
/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()
DValueEnumerator.h28 class Function; variable
174 void incorporateFunction(const llvm::Function &F);
/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()
DValueEnumerator.h28 class Function; variable
174 void incorporateFunction(const llvm::Function &F);
/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/
Dstrip_unknown_attributes.cpp25 bool StripUnknownAttributes::runOnFunction(llvm::Function &F) { in runOnFunction()
27 for (llvm::Function::arg_iterator I = F.arg_begin(), E = F.arg_end(); in runOnFunction()
Dstrip_unknown_attributes.h33 bool runOnFunction(llvm::Function &F);
/frameworks/compile/libbcc/include/bcinfo/
DMetadataExtractor.h26 class Function; variable
130 uint32_t calculateNumInputs(const llvm::Function *Function,
/frameworks/native/vulkan/api/templates/
Dvulkan_common.tmpl119 {{define "FunctionName"}}{{AssertType $ "Function"}}{{$.Name}}{{end}}
171 {{AssertType $ "Function"}}
184 {{AssertType $ "Function"}}
217 {{AssertType $ "Function"}}
/frameworks/compile/libbcc/bcinfo/
DMetadataExtractor.cpp380 uint32_t MetadataExtractor::calculateNumInputs(const llvm::Function *Function, in calculateNumInputs() argument
392 Function->getReturnType()->isVoidTy(); in calculateNumInputs()
394 return Function->arg_size() - OtherCount; in calculateNumInputs()
465 llvm::Function *Func = in populateForEachMetadata()
533 llvm::Function *Func = in populateReduceMetadata()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp56 if (Function* FuncStart = M->getFunction(name)) { in StripDebugInfoOfFunction()
73 if (Function *Declare = M->getFunction("llvm.dbg.declare")) { in CheckDebugInfoIntrinsics()
218 std::vector<Function*> FunctionsWithBodies;
222 typedef std::vector<std::pair<Function*, Function*> > UpgradedIntrinsicMap;
236 DenseMap<Function*, uint64_t> DeferredFunctionInfo;
241 DenseMap<Function*, std::vector<BlockAddrRefTy> > BlockAddrFwdRefs;
348 std::error_code ParseFunctionBody(Function *F);
409 std::vector<Function*>().swap(FunctionsWithBodies); in FreeState()
1927 Function *Fn = in ParseConstants()
1928 dyn_cast_or_null<Function>(ValueList.getConstantFwdRef(Record[1],FnTy)); in ParseConstants()
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp143 Function *EHException = M->getFunction("llvm.eh.exception"); in UpgradeExceptionHandling()
144 Function *EHSelector = M->getFunction("llvm.eh.selector"); in UpgradeExceptionHandling()
158 Function &F = *I; in UpgradeExceptionHandling()
160 for (Function::iterator in UpgradeExceptionHandling()
179 DenseMap<Function*, std::pair<Value*, Value*> > FnToLPadSlotMap; in UpgradeExceptionHandling()
186 Function *F = UnwindDest->getParent(); in UpgradeExceptionHandling()
269 Function *EHResume = M->getFunction("llvm.eh.resume"); in UpgradeExceptionHandling()
297 if (Function* FuncStart = M->getFunction(name)) { in StripDebugInfoOfFunction()
314 if (Function *Declare = M->getFunction("llvm.dbg.declare")) { in CheckDebugInfoIntrinsics()
460 std::vector<Function*> FunctionsWithBodies;
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DResolveInfo.h52 Function = 2, enumerator
245 static const uint32_t function_flag = Function << TYPE_OFFSET;
/frameworks/compile/mclinker/lib/LD/
DIdenticalCodeFolding.cpp104 if ((*sym)->hasFragRef() && ((*sym)->type() == ResolveInfo::Function)) { in foldIdenticalCode()
144 if (sym->hasFragRef() && (sym->type() == ResolveInfo::Function)) { in findCandidates()
250 if ((sym->type() == ResolveInfo::Function) && sym->hasFragRef()) { in initConstantContent()

1234