Home
last modified time | relevance | path

Searched refs:FrameRegIdx (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DThumb2InstrInfo.cpp385 bool llvm::rewriteT2FrameIndex(MachineInstr &MI, unsigned FrameRegIdx, in rewriteT2FrameIndex() argument
398 Offset += MI.getOperand(FrameRegIdx+1).getImm(); in rewriteT2FrameIndex()
404 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteT2FrameIndex()
406 do MI.RemoveOperand(FrameRegIdx+1); in rewriteT2FrameIndex()
407 while (MI.getNumOperands() > FrameRegIdx+1); in rewriteT2FrameIndex()
425 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteT2FrameIndex()
426 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset); in rewriteT2FrameIndex()
438 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteT2FrameIndex()
439 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset); in rewriteT2FrameIndex()
457 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(ThisImmVal); in rewriteT2FrameIndex()
[all …]
DThumb1RegisterInfo.cpp386 rewriteFrameIndex(MachineBasicBlock::iterator II, unsigned FrameRegIdx, in rewriteFrameIndex() argument
397 Offset += MI.getOperand(FrameRegIdx+1).getImm(); in rewriteFrameIndex()
416 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteFrameIndex()
418 MI.RemoveOperand(FrameRegIdx+1); in rewriteFrameIndex()
429 removeOperands(MI, FrameRegIdx); in rewriteFrameIndex()
434 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteFrameIndex()
435 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset / Scale); in rewriteFrameIndex()
458 removeOperands(MI, FrameRegIdx); in rewriteFrameIndex()
462 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteFrameIndex()
463 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Mask); in rewriteFrameIndex()
[all …]
DThumb1RegisterInfo.h54 bool rewriteFrameIndex(MachineBasicBlock::iterator II, unsigned FrameRegIdx,
DARMBaseInstrInfo.h374 bool rewriteARMFrameIndex(MachineInstr &MI, unsigned FrameRegIdx,
378 bool rewriteT2FrameIndex(MachineInstr &MI, unsigned FrameRegIdx,
DARMBaseInstrInfo.cpp1537 bool llvm::rewriteARMFrameIndex(MachineInstr &MI, unsigned FrameRegIdx, in rewriteARMFrameIndex() argument
1550 Offset += MI.getOperand(FrameRegIdx+1).getImm(); in rewriteARMFrameIndex()
1554 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteARMFrameIndex()
1555 MI.RemoveOperand(FrameRegIdx+1); in rewriteARMFrameIndex()
1567 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteARMFrameIndex()
1568 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset); in rewriteARMFrameIndex()
1584 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(ThisImmVal); in rewriteARMFrameIndex()
1592 ImmIdx = FrameRegIdx + 1; in rewriteARMFrameIndex()
1598 ImmIdx = FrameRegIdx+2; in rewriteARMFrameIndex()
1606 ImmIdx = FrameRegIdx+2; in rewriteARMFrameIndex()
[all …]
/external/llvm/lib/Target/ARM/
DThumb2InstrInfo.cpp453 bool llvm::rewriteT2FrameIndex(MachineInstr &MI, unsigned FrameRegIdx, in rewriteT2FrameIndex() argument
466 Offset += MI.getOperand(FrameRegIdx+1).getImm(); in rewriteT2FrameIndex()
472 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteT2FrameIndex()
474 do MI.RemoveOperand(FrameRegIdx+1); in rewriteT2FrameIndex()
475 while (MI.getNumOperands() > FrameRegIdx+1); in rewriteT2FrameIndex()
493 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteT2FrameIndex()
494 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset); in rewriteT2FrameIndex()
506 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteT2FrameIndex()
507 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset); in rewriteT2FrameIndex()
525 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(ThisImmVal); in rewriteT2FrameIndex()
[all …]
DThumbRegisterInfo.h50 bool rewriteFrameIndex(MachineBasicBlock::iterator II, unsigned FrameRegIdx,
DThumbRegisterInfo.cpp351 unsigned FrameRegIdx, in rewriteFrameIndex() argument
365 Offset += MI.getOperand(FrameRegIdx+1).getImm(); in rewriteFrameIndex()
376 unsigned ImmIdx = FrameRegIdx + 1; in rewriteFrameIndex()
391 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteFrameIndex()
DARMBaseInstrInfo.h506 bool rewriteARMFrameIndex(MachineInstr &MI, unsigned FrameRegIdx,
510 bool rewriteT2FrameIndex(MachineInstr &MI, unsigned FrameRegIdx,
DARMBaseInstrInfo.cpp2143 bool llvm::rewriteARMFrameIndex(MachineInstr &MI, unsigned FrameRegIdx, in rewriteARMFrameIndex() argument
2156 Offset += MI.getOperand(FrameRegIdx+1).getImm(); in rewriteARMFrameIndex()
2160 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteARMFrameIndex()
2161 MI.RemoveOperand(FrameRegIdx+1); in rewriteARMFrameIndex()
2173 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteARMFrameIndex()
2174 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(Offset); in rewriteARMFrameIndex()
2190 MI.getOperand(FrameRegIdx+1).ChangeToImmediate(ThisImmVal); in rewriteARMFrameIndex()
2198 ImmIdx = FrameRegIdx + 1; in rewriteARMFrameIndex()
2204 ImmIdx = FrameRegIdx+2; in rewriteARMFrameIndex()
2212 ImmIdx = FrameRegIdx+2; in rewriteARMFrameIndex()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.h228 bool rewriteAArch64FrameIndex(MachineInstr &MI, unsigned FrameRegIdx,
DAArch64InstrInfo.cpp2719 bool llvm::rewriteAArch64FrameIndex(MachineInstr &MI, unsigned FrameRegIdx, in rewriteAArch64FrameIndex() argument
2723 unsigned ImmIdx = FrameRegIdx + 1; in rewriteAArch64FrameIndex()
2743 MI.getOperand(FrameRegIdx).ChangeToRegister(FrameReg, false); in rewriteAArch64FrameIndex()