processModule();
}
-SlotCalculator::SlotCalculator(const Function *M ) {
- TheModule = M ? M->getParent() : 0;
-
- insertPrimitives();
-
- if (TheModule == 0) return; // Empty table...
-
- processModule(); // Process module level stuff
- incorporateFunction(M); // Start out in incorporated state
-}
-
// processModule - Process all of the module level function declarations and
// types that are available.
//
void operator=(const SlotCalculator &); // DO NOT IMPLEMENT
public:
SlotCalculator(const Module *M);
- // Start out in incorp state
- SlotCalculator(const Function *F);
/// getSlot - Return the slot number of the specified value in it's type
/// plane. This returns < 0 on error!