Searched refs:ImmIdx (Results 1 – 11 of 11) sorted by relevance
455 unsigned ImmIdx = 0; in getFrameIndexInstrOffset() local473 ImmIdx = Idx+2; in getFrameIndexInstrOffset()474 InstrOffs = ARM_AM::getAM2Offset(MI->getOperand(ImmIdx).getImm()); in getFrameIndexInstrOffset()475 if (ARM_AM::getAM2Op(MI->getOperand(ImmIdx).getImm()) == ARM_AM::sub) in getFrameIndexInstrOffset()480 ImmIdx = Idx+2; in getFrameIndexInstrOffset()481 InstrOffs = ARM_AM::getAM3Offset(MI->getOperand(ImmIdx).getImm()); in getFrameIndexInstrOffset()482 if (ARM_AM::getAM3Op(MI->getOperand(ImmIdx).getImm()) == ARM_AM::sub) in getFrameIndexInstrOffset()487 ImmIdx = Idx+1; in getFrameIndexInstrOffset()488 InstrOffs = MI->getOperand(ImmIdx).getImm(); in getFrameIndexInstrOffset()
376 unsigned ImmIdx = FrameRegIdx + 1; in rewriteFrameIndex() local377 int InstrOffs = MI.getOperand(ImmIdx).getImm(); in rewriteFrameIndex()385 MachineOperand &ImmOp = MI.getOperand(ImmIdx); in rewriteFrameIndex()
2192 unsigned ImmIdx = 0; in rewriteARMFrameIndex() local2198 ImmIdx = FrameRegIdx + 1; in rewriteARMFrameIndex()2199 InstrOffs = MI.getOperand(ImmIdx).getImm(); in rewriteARMFrameIndex()2204 ImmIdx = FrameRegIdx+2; in rewriteARMFrameIndex()2205 InstrOffs = ARM_AM::getAM2Offset(MI.getOperand(ImmIdx).getImm()); in rewriteARMFrameIndex()2206 if (ARM_AM::getAM2Op(MI.getOperand(ImmIdx).getImm()) == ARM_AM::sub) in rewriteARMFrameIndex()2212 ImmIdx = FrameRegIdx+2; in rewriteARMFrameIndex()2213 InstrOffs = ARM_AM::getAM3Offset(MI.getOperand(ImmIdx).getImm()); in rewriteARMFrameIndex()2214 if (ARM_AM::getAM3Op(MI.getOperand(ImmIdx).getImm()) == ARM_AM::sub) in rewriteARMFrameIndex()2224 ImmIdx = FrameRegIdx+1; in rewriteARMFrameIndex()[all …]
119 unsigned ImmIdx = ~0U; in getIntImmCost() local145 ImmIdx = 1; in getIntImmCost()149 ImmIdx = 1; in getIntImmCost()165 if (Idx == ImmIdx && Imm.getBitWidth() <= 64) { in getIntImmCost()
897 unsigned ImmIdx = 0; in getFrameIndexInstrOffset() local915 ImmIdx = Idx+2; in getFrameIndexInstrOffset()916 InstrOffs = ARM_AM::getAM2Offset(MI->getOperand(ImmIdx).getImm()); in getFrameIndexInstrOffset()917 if (ARM_AM::getAM2Op(MI->getOperand(ImmIdx).getImm()) == ARM_AM::sub) in getFrameIndexInstrOffset()922 ImmIdx = Idx+2; in getFrameIndexInstrOffset()923 InstrOffs = ARM_AM::getAM3Offset(MI->getOperand(ImmIdx).getImm()); in getFrameIndexInstrOffset()924 if (ARM_AM::getAM3Op(MI->getOperand(ImmIdx).getImm()) == ARM_AM::sub) in getFrameIndexInstrOffset()929 ImmIdx = Idx+1; in getFrameIndexInstrOffset()930 InstrOffs = MI->getOperand(ImmIdx).getImm(); in getFrameIndexInstrOffset()
1586 unsigned ImmIdx = 0; in rewriteARMFrameIndex() local1592 ImmIdx = FrameRegIdx + 1; in rewriteARMFrameIndex()1593 InstrOffs = MI.getOperand(ImmIdx).getImm(); in rewriteARMFrameIndex()1598 ImmIdx = FrameRegIdx+2; in rewriteARMFrameIndex()1599 InstrOffs = ARM_AM::getAM2Offset(MI.getOperand(ImmIdx).getImm()); in rewriteARMFrameIndex()1600 if (ARM_AM::getAM2Op(MI.getOperand(ImmIdx).getImm()) == ARM_AM::sub) in rewriteARMFrameIndex()1606 ImmIdx = FrameRegIdx+2; in rewriteARMFrameIndex()1607 InstrOffs = ARM_AM::getAM3Offset(MI.getOperand(ImmIdx).getImm()); in rewriteARMFrameIndex()1608 if (ARM_AM::getAM3Op(MI.getOperand(ImmIdx).getImm()) == ARM_AM::sub) in rewriteARMFrameIndex()1618 ImmIdx = FrameRegIdx+1; in rewriteARMFrameIndex()[all …]
484 unsigned ImmIdx = FrameRegIdx + 1; in rewriteFrameIndex() local485 int InstrOffs = MI.getOperand(ImmIdx).getImm(); in rewriteFrameIndex()493 MachineOperand &ImmOp = MI.getOperand(ImmIdx); in rewriteFrameIndex()
74 unsigned ImmIdx = ~0U; in getIntImmCost() local84 ImmIdx = 0; in getIntImmCost()97 ImmIdx = 1; in getIntImmCost()120 if (Idx == ImmIdx) { in getIntImmCost()
2488 unsigned ImmIdx = 2; in isAArch64FrameOffsetLegal() local2620 ImmIdx = 3; in isAArch64FrameOffsetLegal()2628 ImmIdx = 3; in isAArch64FrameOffsetLegal()2640 ImmIdx = 3; in isAArch64FrameOffsetLegal()2672 Offset += MI.getOperand(ImmIdx).getImm() * Scale; in isAArch64FrameOffsetLegal()2723 unsigned ImmIdx = FrameRegIdx + 1; in rewriteAArch64FrameIndex() local2726 Offset += MI.getOperand(ImmIdx).getImm(); in rewriteAArch64FrameIndex()2747 MI.getOperand(ImmIdx).ChangeToImmediate(NewOffset); in rewriteAArch64FrameIndex()
1322 unsigned ImmIdx = ~0U; in getIntImmCost() local1334 ImmIdx = 0; in getIntImmCost()1347 ImmIdx = 1; in getIntImmCost()1365 ImmIdx = 1; in getIntImmCost()1388 if (Idx == ImmIdx) { in getIntImmCost()
2405 int ImmIdx = TII->getOperandIdx(Opcode, AMDGPU::OpName::literal); in PostISelFolding() local2408 ImmIdx--; in PostISelFolding()2411 SDValue &Imm = Ops[ImmIdx]; in PostISelFolding()