Home | History | Annotate | Download | only in Writer

Lines Matching refs:Function

39     EnumerateAttributes(cast<Function>(I)->getAttributes());
68 // Enumerate types used by function bodies and argument lists.
71 for (Function::const_arg_iterator I = F->arg_begin(), E = F->arg_end();
75 for (Function::const_iterator BB = F->begin(), E = F->end(); BB != E; ++BB)
81 // These will get enumerated during function-incorporation.
189 /// EnumerateMDNodeOperands - Enumerate all non-function-local values
211 // In the module-level pass, skip function-local nodes themselves, but
228 // Enumerate all non-function-local operands.
233 /// EnumerateFunctionLocalMetadataa - Incorporate function-local metadata
237 "EnumerateFunctionLocalMetadata called on non-function-local mdnode!");
252 // To incoroporate function-local information visit all function-local
253 // MDNodes and all function-local values they reference.
263 // Also, collect all function-local MDNodes for easy access.
397 void ValueEnumerator::incorporateFunction(const Function &F) {
402 // Adding function arguments to the value table.
403 for (Function::const_arg_iterator I = F.arg_begin(), E = F.arg_end();
409 // Add all function-level constants to the value table.
410 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
425 // Add the function's parameter attributes so they are available for use in
426 // the function's instruction.
433 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
456 // Add all of the function-local metadata.
476 static void IncorporateFunctionInfoGlobalBBIDs(const Function *F,
479 for (Function::const_iterator BB = F->begin(), E = F->end(); BB != E; ++BB)
483 /// getGlobalBasicBlockID - This returns the function-specific ID for the