Home | History | Annotate | Download | only in Writer

Lines Matching refs:Function

41     EnumerateAttributes(cast<Function>(I)->getAttributes());
70 // Enumerate types used by function bodies and argument lists.
73 for (Function::const_arg_iterator I = F->arg_begin(), E = F->arg_end();
77 for (Function::const_iterator BB = F->begin(), E = F->end(); BB != E; ++BB)
83 // These will get enumerated during function-incorporation.
228 /// EnumerateMDNodeOperands - Enumerate all non-function-local values
250 // In the module-level pass, skip function-local nodes themselves, but
267 // Enumerate all non-function-local operands.
272 /// EnumerateFunctionLocalMetadataa - Incorporate function-local metadata
276 "EnumerateFunctionLocalMetadata called on non-function-local mdnode!");
291 // To incoroporate function-local information visit all function-local
292 // MDNodes and all function-local values they reference.
302 // Also, collect all function-local MDNodes for easy access.
443 void ValueEnumerator::incorporateFunction(const Function &F) {
448 // Adding function arguments to the value table.
449 for (Function::const_arg_iterator I = F.arg_begin(), E = F.arg_end();
455 // Add all function-level constants to the value table.
456 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
471 // Add the function's parameter attributes so they are available for use in
472 // the function's instruction.
479 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
502 // Add all of the function-local metadata.
522 static void IncorporateFunctionInfoGlobalBBIDs(const Function *F,
525 for (Function::const_iterator BB = F->begin(), E = F->end(); BB != E; ++BB)
529 /// getGlobalBasicBlockID - This returns the function-specific ID for the