LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MachineFunctionInfo.cpp File Reference

#include "MachineFunctionInfo.h"
#include "llvm/Instructions.h"
#include "llvm/Function.h"
#include "llvm/Type.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetFrameInfo.h"

Include dependency graph for MachineFunctionInfo.cpp:

Go to the source code of this file.

Functions

static unsigned ComputeMaxOptionalArgsSize (const TargetMachine &target, const Function *F, unsigned &maxOptionalNumArgs)
unsigned SizeToAlignment (unsigned size, const TargetMachine &target)


Function Documentation

static unsigned ComputeMaxOptionalArgsSize const TargetMachine target,
const Function F,
unsigned &  maxOptionalNumArgs
[static]
 

Definition at line 24 of file MachineFunctionInfo.cpp.

References llvm::Function::begin(), E, llvm::Function::end(), and I.

Referenced by llvm::SparcV9FunctionInfo::CalculateArgSize().

unsigned SizeToAlignment unsigned  size,
const TargetMachine target
[inline]
 

Definition at line 60 of file MachineFunctionInfo.cpp.

References llvm::TargetData::getDoubleAlignment(), and llvm::TargetMachine::getTargetData().

Referenced by llvm::SparcV9FunctionInfo::computeOffsetforLocalVar(), ConstantToAlignment(), llvm::SparcV9FunctionInfo::pushTempValue(), and TypeToAlignment().