LLVM API Documentation
#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) |
| static unsigned ComputeMaxOptionalArgsSize | ( | const TargetMachine & | target, | |
| const Function * | F, | |||
| unsigned & | maxOptionalNumArgs | |||
| ) | [static] |
Definition at line 24 of file MachineFunctionInfo.cpp.
References BB, llvm::BasicBlock::begin(), E, llvm::BasicBlock::end(), F, 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(), llvm::TargetMachine::getTargetData(), sz, and target.
Referenced by llvm::SparcV9FunctionInfo::computeOffsetforLocalVar(), ConstantToAlignment(), llvm::SparcV9FunctionInfo::pushTempValue(), and TypeToAlignment().