forked from OSchip/llvm-project
aff45e4b23
Summary: This patch renames functions that takes or returns alignment as log2, this patch will help with the transition to llvm::Align. The renaming makes it explicit that we deal with log(alignment) instead of a power of two alignment. A few renames uncovered dubious assignments: - `MirParser`/`MirPrinter` was expecting powers of two but `MachineFunction` and `MachineBasicBlock` were using deal with log2(align). This patch fixes it and updates the documentation. - `MachineBlockPlacement` exposes two flags (`align-all-blocks` and `align-all-nofallthru-blocks`) supposedly interpreted as power of two alignments, internally these values are interpreted as log2(align). This patch updates the documentation, - `MachineFunctionexposes` exposes `align-all-functions` also interpreted as power of two alignment, internally this value is interpreted as log2(align). This patch updates the documentation, Reviewers: lattner, thegameg, courbet Subscribers: dschuff, arsenm, jyknight, dylanmckay, sdardis, nemanjai, jvesely, nhaehnle, javed.absar, hiraditya, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, dexonsmith, PkmX, jocewei, jsji, Jim, s.egerton, llvm-commits, courbet Tags: #llvm Differential Revision: https://reviews.llvm.org/D65945 llvm-svn: 371045 |
||
---|---|---|
.. | ||
Disassembler | ||
MCTargetDesc | ||
TargetInfo | ||
ARC.h | ||
ARC.td | ||
ARCAsmPrinter.cpp | ||
ARCBranchFinalize.cpp | ||
ARCCallingConv.td | ||
ARCExpandPseudos.cpp | ||
ARCFrameLowering.cpp | ||
ARCFrameLowering.h | ||
ARCISelDAGToDAG.cpp | ||
ARCISelLowering.cpp | ||
ARCISelLowering.h | ||
ARCInstrFormats.td | ||
ARCInstrInfo.cpp | ||
ARCInstrInfo.h | ||
ARCInstrInfo.td | ||
ARCMCInstLower.cpp | ||
ARCMCInstLower.h | ||
ARCMachineFunctionInfo.cpp | ||
ARCMachineFunctionInfo.h | ||
ARCOptAddrMode.cpp | ||
ARCRegisterInfo.cpp | ||
ARCRegisterInfo.h | ||
ARCRegisterInfo.td | ||
ARCSubtarget.cpp | ||
ARCSubtarget.h | ||
ARCTargetMachine.cpp | ||
ARCTargetMachine.h | ||
ARCTargetStreamer.h | ||
ARCTargetTransformInfo.h | ||
CMakeLists.txt | ||
LLVMBuild.txt |