Home
last modified time | relevance | path

Searched refs:BasePos (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/llvm/lib/Target/ARC/
DARCOptAddrMode.cpp172 unsigned BasePos, OffPos; in isLoadStoreThatCanHandleDisplacement() local
173 if (!TII->getBaseAndOffsetPosition(MI, BasePos, OffPos)) in isLoadStoreThatCanHandleDisplacement()
191 unsigned BasePos, OffsetPos; in tryToCombine() local
194 if (!AII->getBaseAndOffsetPosition(Ldst, BasePos, OffsetPos)) { in tryToCombine()
199 MachineOperand &Base = Ldst.getOperand(BasePos); in tryToCombine()
278 unsigned BasePos, OffPos; in canJoinInstructions() local
280 if (!AII->getBaseAndOffsetPosition(*Ldst, BasePos, OffPos)) { in canJoinInstructions()
287 Register BaseReg = Ldst->getOperand(BasePos).getReg(); in canJoinInstructions()
368 unsigned BasePos, OffPos; in fixPastUses() local
373 BasePos = 1; in fixPastUses()
[all …]
DARCInstrInfo.cpp425 unsigned &BasePos, in getBaseAndOffsetPosition() argument
430 BasePos = 1; in getBaseAndOffsetPosition()
434 BasePos++; in getBaseAndOffsetPosition()
438 if (!MI.getOperand(BasePos).isReg() || !MI.getOperand(OffsetPos).isImm()) in getBaseAndOffsetPosition()
DARCInstrInfo.h91 unsigned &BasePos,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCOptAddrMode.cpp172 unsigned BasePos, OffPos; in isLoadStoreThatCanHandleDisplacement() local
173 if (!TII->getBaseAndOffsetPosition(MI, BasePos, OffPos)) in isLoadStoreThatCanHandleDisplacement()
191 unsigned BasePos, OffsetPos; in tryToCombine() local
194 if (!AII->getBaseAndOffsetPosition(Ldst, BasePos, OffsetPos)) { in tryToCombine()
199 MachineOperand &Base = Ldst.getOperand(BasePos); in tryToCombine()
278 unsigned BasePos, OffPos; in canJoinInstructions() local
280 if (!AII->getBaseAndOffsetPosition(*Ldst, BasePos, OffPos)) { in canJoinInstructions()
287 Register BaseReg = Ldst->getOperand(BasePos).getReg(); in canJoinInstructions()
368 unsigned BasePos, OffPos; in fixPastUses() local
373 BasePos = 1; in fixPastUses()
[all …]
DARCInstrInfo.cpp425 unsigned &BasePos, in getBaseAndOffsetPosition() argument
430 BasePos = 1; in getBaseAndOffsetPosition()
434 BasePos++; in getBaseAndOffsetPosition()
438 if (!MI.getOperand(BasePos).isReg() || !MI.getOperand(OffsetPos).isImm()) in getBaseAndOffsetPosition()
DARCInstrInfo.h91 unsigned &BasePos,
/external/llvm-project/llvm/lib/CodeGen/
DMachinePipeliner.cpp925 unsigned BasePos = 0, OffsetPos = 0, NewBase = 0; in changeDependences() local
927 if (!canUseLastOffsetValue(I.getInstr(), BasePos, OffsetPos, NewBase, in changeDependences()
932 Register OrigBase = I.getInstr()->getOperand(BasePos).getReg(); in changeDependences()
2191 unsigned &BasePos, in canUseLastOffsetValue() argument
2237 BasePos = BasePosLd; in canUseLastOffsetValue()
2253 unsigned BasePos, OffsetPos; in applyInstrChange() local
2254 if (!TII->getBaseAndOffsetPosition(*MI, BasePos, OffsetPos)) in applyInstrChange()
2256 Register BaseReg = MI->getOperand(BasePos).getReg(); in applyInstrChange()
2266 NewMI->getOperand(BasePos).setReg(RegAndOffset.first); in applyInstrChange()
2581 unsigned BasePos, OffsetPos; in orderDependence() local
[all …]
DModuloSchedule.cpp1010 unsigned BasePos, OffsetPos; in cloneAndChangeInstr() local
1011 if (!TII->getBaseAndOffsetPosition(*OldMI, BasePos, OffsetPos)) in cloneAndChangeInstr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachinePipeliner.cpp844 unsigned BasePos = 0, OffsetPos = 0, NewBase = 0; in changeDependences() local
846 if (!canUseLastOffsetValue(I.getInstr(), BasePos, OffsetPos, NewBase, in changeDependences()
851 Register OrigBase = I.getInstr()->getOperand(BasePos).getReg(); in changeDependences()
2095 unsigned &BasePos, in canUseLastOffsetValue() argument
2141 BasePos = BasePosLd; in canUseLastOffsetValue()
2157 unsigned BasePos, OffsetPos; in applyInstrChange() local
2158 if (!TII->getBaseAndOffsetPosition(*MI, BasePos, OffsetPos)) in applyInstrChange()
2160 Register BaseReg = MI->getOperand(BasePos).getReg(); in applyInstrChange()
2170 NewMI->getOperand(BasePos).setReg(RegAndOffset.first); in applyInstrChange()
2479 unsigned BasePos, OffsetPos; in orderDependence() local
[all …]
DModuloSchedule.cpp1006 unsigned BasePos, OffsetPos; in cloneAndChangeInstr() local
1007 if (!TII->getBaseAndOffsetPosition(*OldMI, BasePos, OffsetPos)) in cloneAndChangeInstr()
/external/llvm/lib/CodeGen/
DMachinePipeliner.cpp413 bool canUseLastOffsetValue(MachineInstr *MI, unsigned &BasePos,
1163 unsigned BasePos = 0, OffsetPos = 0, NewBase = 0; in changeDependences() local
1165 if (!canUseLastOffsetValue(I.getInstr(), BasePos, OffsetPos, NewBase, in changeDependences()
1170 unsigned OrigBase = I.getInstr()->getOperand(BasePos).getReg(); in changeDependences()
3110 unsigned BasePos, OffsetPos; in cloneAndChangeInstr() local
3111 if (!TII->getBaseAndOffsetPosition(OldMI, BasePos, OffsetPos)) in cloneAndChangeInstr()
3309 unsigned &BasePos, in canUseLastOffsetValue() argument
3350 BasePos = BasePosLd; in canUseLastOffsetValue()
3367 unsigned BasePos, OffsetPos; in applyInstrChange() local
3368 if (!TII->getBaseAndOffsetPosition(MI, BasePos, OffsetPos)) in applyInstrChange()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.cpp1931 unsigned BasePos = 0, OffsetPos = 0; in getIncrementValue() local
1932 if (!getBaseAndOffsetPosition(MI, BasePos, OffsetPos)) in getIncrementValue()
3168 unsigned BasePos = 0, OffsetPos = 0; in getBaseAndOffset() local
3169 if (!getBaseAndOffsetPosition(MI, BasePos, OffsetPos)) in getBaseAndOffset()
3183 const MachineOperand &BaseOp = MI.getOperand(BasePos); in getBaseAndOffset()
3191 unsigned &BasePos, unsigned &OffsetPos) const { in getBaseAndOffsetPosition() argument
3197 BasePos = 0; in getBaseAndOffsetPosition()
3200 BasePos = 0; in getBaseAndOffsetPosition()
3203 BasePos = 1; in getBaseAndOffsetPosition()
3209 BasePos++; in getBaseAndOffsetPosition()
[all …]
DHexagonInstrInfo.h295 bool getBaseAndOffsetPosition(const MachineInstr &MI, unsigned &BasePos,
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.cpp1959 unsigned BasePos = 0, OffsetPos = 0; in getIncrementValue() local
1960 if (!getBaseAndOffsetPosition(MI, BasePos, OffsetPos)) in getIncrementValue()
3202 unsigned BasePos = 0, OffsetPos = 0; in getBaseAndOffset() local
3203 if (!getBaseAndOffsetPosition(MI, BasePos, OffsetPos)) in getBaseAndOffset()
3217 const MachineOperand &BaseOp = MI.getOperand(BasePos); in getBaseAndOffset()
3225 unsigned &BasePos, unsigned &OffsetPos) const { in getBaseAndOffsetPosition() argument
3231 BasePos = 0; in getBaseAndOffsetPosition()
3234 BasePos = 0; in getBaseAndOffsetPosition()
3237 BasePos = 1; in getBaseAndOffsetPosition()
3243 BasePos++; in getBaseAndOffsetPosition()
[all …]
DHexagonInstrInfo.h296 bool getBaseAndOffsetPosition(const MachineInstr &MI, unsigned &BasePos,
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h274 bool getBaseAndOffsetPosition(const MachineInstr *MI, unsigned &BasePos,
DHexagonInstrInfo.cpp3183 unsigned &BasePos, unsigned &OffsetPos) const { in getBaseAndOffsetPosition() argument
3188 BasePos = 0; in getBaseAndOffsetPosition()
3191 BasePos = 0; in getBaseAndOffsetPosition()
3194 BasePos = 1; in getBaseAndOffsetPosition()
3200 BasePos++; in getBaseAndOffsetPosition()
3204 BasePos++; in getBaseAndOffsetPosition()
3208 if (!MI->getOperand(BasePos).isReg() || !MI->getOperand(OffsetPos).isImm()) in getBaseAndOffsetPosition()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachinePipeliner.h305 bool canUseLastOffsetValue(MachineInstr *MI, unsigned &BasePos,
DTargetInstrInfo.h1255 unsigned &BasePos, in getBaseAndOffsetPosition() argument
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachinePipeliner.h299 bool canUseLastOffsetValue(MachineInstr *MI, unsigned &BasePos,
DTargetInstrInfo.h1286 unsigned &BasePos, in getBaseAndOffsetPosition() argument
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h1031 unsigned &BasePos, in getBaseAndOffsetPosition() argument