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.
39 STATISTIC(NumNoAlias, "Number of function returns marked noalias");
57 // IsFunctionMallocLike - Does this function allocate new memory?
58 bool IsFunctionMallocLike(Function *F,
59 SmallPtrSet<Function*, 8> &) const;
77 "Deduce function attributes", false, false)
80 "Deduce function attributes", false, false)
87 SmallPtrSet<Function*, 8> SCCNodes;
98 Function *F = (*I)->getFunction();
120 // Scan the function body for instructions that may read or write memory.
201 Function *F = (*I)->getFunction();
232 // Check each function in turn, determining which pointer arguments are not
235 Function *F = (*I)->getFunction();
246 for (Function::arg_iterator A = F->arg_begin(), E = F->arg_end(); A!=E; ++A)
258 /// IsFunctionMallocLike - A function is malloc-like if it returns either null
260 bool FunctionAttrs::IsFunctionMallocLike(Function *F,
261 SmallPtrSet<Function*, 8> &SCCNodes) const {
263 for (Function::iterator I = F->begin(), E = F->end(); I != E; ++I)
325 SmallPtrSet<Function*, 8> SCCNodes;
332 // Check each function in turn, determining which functions return noalias
335 Function *F = (*I)->getFunction();
361 Function *F = (*I)->getFunction();