mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
Fix 80-column issues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145783 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0cb2a45cce
commit
6ce2deacef
@ -181,7 +181,8 @@ class ARMFastISel : public FastISel {
|
|||||||
bool ARMEmitLoad(EVT VT, unsigned &ResultReg, Address &Addr, bool isZExt,
|
bool ARMEmitLoad(EVT VT, unsigned &ResultReg, Address &Addr, bool isZExt,
|
||||||
bool allocReg);
|
bool allocReg);
|
||||||
|
|
||||||
bool ARMEmitStore(EVT VT, unsigned SrcReg, Address &Addr, unsigned Alignment = 0);
|
bool ARMEmitStore(EVT VT, unsigned SrcReg, Address &Addr,
|
||||||
|
unsigned Alignment = 0);
|
||||||
bool ARMComputeAddress(const Value *Obj, Address &Addr);
|
bool ARMComputeAddress(const Value *Obj, Address &Addr);
|
||||||
void ARMSimplifyAddress(Address &Addr, EVT VT, bool useAM3);
|
void ARMSimplifyAddress(Address &Addr, EVT VT, bool useAM3);
|
||||||
bool ARMIsMemCpySmall(uint64_t Len);
|
bool ARMIsMemCpySmall(uint64_t Len);
|
||||||
@ -937,7 +938,8 @@ void ARMFastISel::AddLoadStoreOperands(EVT VT, Address &Addr,
|
|||||||
// Now add the rest of the operands.
|
// Now add the rest of the operands.
|
||||||
MIB.addFrameIndex(FI);
|
MIB.addFrameIndex(FI);
|
||||||
|
|
||||||
// ARM halfword load/stores and signed byte loads need an additional operand.
|
// ARM halfword load/stores and signed byte loads need an additional
|
||||||
|
// operand.
|
||||||
if (useAM3) {
|
if (useAM3) {
|
||||||
signed Imm = (Addr.Offset < 0) ? (0x100 | -Addr.Offset) : Addr.Offset;
|
signed Imm = (Addr.Offset < 0) ? (0x100 | -Addr.Offset) : Addr.Offset;
|
||||||
MIB.addReg(0);
|
MIB.addReg(0);
|
||||||
@ -950,7 +952,8 @@ void ARMFastISel::AddLoadStoreOperands(EVT VT, Address &Addr,
|
|||||||
// Now add the rest of the operands.
|
// Now add the rest of the operands.
|
||||||
MIB.addReg(Addr.Base.Reg);
|
MIB.addReg(Addr.Base.Reg);
|
||||||
|
|
||||||
// ARM halfword load/stores and signed byte loads need an additional operand.
|
// ARM halfword load/stores and signed byte loads need an additional
|
||||||
|
// operand.
|
||||||
if (useAM3) {
|
if (useAM3) {
|
||||||
signed Imm = (Addr.Offset < 0) ? (0x100 | -Addr.Offset) : Addr.Offset;
|
signed Imm = (Addr.Offset < 0) ? (0x100 | -Addr.Offset) : Addr.Offset;
|
||||||
MIB.addReg(0);
|
MIB.addReg(0);
|
||||||
@ -1053,7 +1056,8 @@ bool ARMFastISel::SelectLoad(const Instruction *I) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ARMFastISel::ARMEmitStore(EVT VT, unsigned SrcReg, Address &Addr, unsigned Alignment) {
|
bool ARMFastISel::ARMEmitStore(EVT VT, unsigned SrcReg, Address &Addr,
|
||||||
|
unsigned Alignment) {
|
||||||
unsigned StrOpc;
|
unsigned StrOpc;
|
||||||
bool useAM3 = false;
|
bool useAM3 = false;
|
||||||
switch (VT.getSimpleVT().SimpleTy) {
|
switch (VT.getSimpleVT().SimpleTy) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user