Lines Matching refs:Function
13 // it marks function arguments (of pointer type) 'nocapture' if a call
14 // to the function does not create any copies of the pointer value that
16 // dereferenced, and not returned from the function or stored in a global.
40 STATISTIC(NumNoAlias, "Number of function returns marked noalias");
58 // IsFunctionMallocLike - Does this function allocate new memory?
59 bool IsFunctionMallocLike(Function *F,
60 SmallPtrSet<Function*, 8> &) const;
78 "Deduce function attributes", false, false)
81 "Deduce function attributes", false, false)
88 SmallPtrSet<Function*, 8> SCCNodes;
99 Function *F = (*I)->getFunction();
121 // Scan the function body for instructions that may read or write memory.
202 Function *F = (*I)->getFunction();
280 ArgumentUsesTracker(const SmallPtrSet<Function*, 8> &SCCNodes)
289 Function *F = CS.getCalledFunction();
292 Function::arg_iterator AI = F->arg_begin(), AE = F->arg_end();
312 const SmallPtrSet<Function*, 8> &SCCNodes;
347 SmallPtrSet<Function*, 8> SCCNodes;
352 Function *F = (*I)->getFunction();
362 // Check each function in turn, determining which pointer arguments are not
365 Function *F = (*I)->getFunction();
380 for (Function::arg_iterator A = F->arg_begin(), E = F->arg_end();
391 for (Function::arg_iterator A = F->arg_begin(), E = F->arg_end(); A!=E; ++A)
403 // then it must be calling into another function in our SCC. Save
486 /// IsFunctionMallocLike - A function is malloc-like if it returns either null
488 bool FunctionAttrs::IsFunctionMallocLike(Function *F,
489 SmallPtrSet<Function*, 8> &SCCNodes) const {
491 for (Function::iterator I = F->begin(), E = F->end(); I != E; ++I)
553 SmallPtrSet<Function*, 8> SCCNodes;
560 // Check each function in turn, determining which functions return noalias
563 Function *F = (*I)->getFunction();
589 Function *F = (*I)->getFunction();