LLVM: lib/CodeGen/MachineFrameInfo.cpp File Reference (original) (raw)
#include "[llvm/CodeGen/MachineFrameInfo.h](MachineFrameInfo%5F8h%5Fsource.html)"#include "[llvm/ADT/BitVector.h](BitVector%5F8h%5Fsource.html)"#include "[llvm/CodeGen/MachineFunction.h](MachineFunction%5F8h%5Fsource.html)"#include "[llvm/CodeGen/MachineRegisterInfo.h](MachineRegisterInfo%5F8h%5Fsource.html)"#include "[llvm/CodeGen/TargetFrameLowering.h](TargetFrameLowering%5F8h%5Fsource.html)"#include "[llvm/CodeGen/TargetInstrInfo.h](TargetInstrInfo%5F8h%5Fsource.html)"#include "[llvm/CodeGen/TargetRegisterInfo.h](TargetRegisterInfo%5F8h%5Fsource.html)"#include "[llvm/CodeGen/TargetSubtargetInfo.h](TargetSubtargetInfo%5F8h%5Fsource.html)"#include "llvm/Config/llvm-config.h"#include "[llvm/Support/Debug.h](Support%5F2Debug%5F8h%5Fsource.html)"#include "[llvm/Support/raw_ostream.h](raw%5F%5Fostream%5F8h%5Fsource.html)"#include <cassert>
Go to the source code of this file.
| Macros | |
|---|---|
| #define | DEBUG_TYPE "codegen" |
| Functions | |
|---|---|
| static Align | clampStackAlignment (bool ShouldClamp, Align Alignment, Align StackAlignment) |
| Clamp the alignment if requested and emit a warning. |
Macro Definition Documentation
◆ DEBUG_TYPE
#define DEBUG_TYPE "codegen"
Definition at line 27 of file MachineFrameInfo.cpp.
Function Documentation
◆ clampStackAlignment()
| Align clampStackAlignment ( bool ShouldClamp, Align Alignment, Align StackAlignment ) | inlinestatic |
|---|
Clamp the alignment if requested and emit a warning.
Definition at line 40 of file MachineFrameInfo.cpp.
References llvm::dbgs(), llvm::dwarf_linker::DebugStr, and LLVM_DEBUG.
Referenced by llvm::MachineFrameInfo::CreateFixedObject(), llvm::MachineFrameInfo::CreateFixedSpillStackObject(), llvm::MachineFrameInfo::CreateSpillStackObject(), llvm::MachineFrameInfo::CreateStackObject(), and llvm::MachineFrameInfo::CreateVariableSizedObject().