Home | History | Annotate | Download | only in IR

Lines Matching refs:Function

60     const Function *M = I->getParent() ? I->getParent()->getParent() : 0;
335 /// TheFunction - The function for which we are holding slot numbers.
336 const Function* TheFunction;
343 /// fMap - The slot map for the function level data.
357 /// Construct from a function, starting out in incorp state.
358 explicit SlotTracker(const Function *F);
367 /// If you'd like to deal with a function instead of just a module, use
369 void incorporateFunction(const Function *F) {
375 /// most recently incorporated function from the SlotTracker. This
393 /// This function does the actual initialization.
411 /// and function declarations, but not the contents of those functions.
441 if (const Function *Func = dyn_cast<Function>(V))
448 return new SlotTracker((Function *)0);
467 // Function level constructor. Causes the contents of the Module and the one
468 // function provided to be added to the slot table.
469 SlotTracker::SlotTracker(const Function *F)
511 // Add all the function attributes to the table.
521 // Process the arguments, basic blocks, and instructions of a function.
526 // Add all the function arguments with no names.
527 for(Function::const_arg_iterator AI = TheFunction->arg_begin(),
537 for (Function::const_iterator BB = TheFunction->begin(),
548 // llvm.foo function here, because the target may not be linked into the
551 if (Function *F = CI->getCalledFunction())
581 /// Clean up after incorporating a function. This is the only way to get out of
582 /// the function incorporation state that affects get*Slot/Create*Slot. Function
586 fMap.clear(); // Simply discard the function level map
613 /// getLocalSlot - Get the slot number for a value that is local to a function.
644 // G = Global, F = Function, A = Alias, o = other
646 (isa<Function>(V) ? 'F' :
657 // G = Global, F = Function, o = other
666 // Don't insert if N is a function-local metadata, these are always printed
1175 // from a different function. Translate it, as this can happen when using
1261 void printFunction(const Function *F);
1597 /// printFunction - Print all aspects of a function.
1599 void AssemblyWriter::printFunction(const Function *F) {
1637 for (Function::const_arg_iterator I = F->arg_begin(), E = F->arg_end();
1645 // Otherwise, print the types from the function type.
1681 // Output all of the function's basic blocks.
1682 for (Function::const_iterator I = F->begin(), E = F->end(); I != E; ++I)
1692 /// the function. Simply print it out
1770 // This member is called for each Instruction in a function..
1919 // only do this if the first argument is a pointer to a nonvararg function,
1920 // and if the return type is not a pointer to a function.
1958 // only do this if the first argument is a pointer to a nonvararg function,
1959 // and if the return type is not a pointer to a function.
2184 const Function *F = I->getParent() ? I->getParent()->getParent() : 0;
2197 else if (const Function *F = dyn_cast<Function>(GV))
2202 const Function *F = N->getFunction();
2215 // Otherwise we don't know what it is. Call the virtual function to