Searched refs:ImmIdx (Results 1 – 8 of 8) sorted by relevance
427 unsigned ImmIdx = 0; in getFrameIndexInstrOffset() local445 ImmIdx = Idx+2; in getFrameIndexInstrOffset()446 InstrOffs = ARM_AM::getAM2Offset(MI->getOperand(ImmIdx).getImm()); in getFrameIndexInstrOffset()447 if (ARM_AM::getAM2Op(MI->getOperand(ImmIdx).getImm()) == ARM_AM::sub) in getFrameIndexInstrOffset()452 ImmIdx = Idx+2; in getFrameIndexInstrOffset()453 InstrOffs = ARM_AM::getAM3Offset(MI->getOperand(ImmIdx).getImm()); in getFrameIndexInstrOffset()454 if (ARM_AM::getAM3Op(MI->getOperand(ImmIdx).getImm()) == ARM_AM::sub) in getFrameIndexInstrOffset()459 ImmIdx = Idx+1; in getFrameIndexInstrOffset()460 InstrOffs = MI->getOperand(ImmIdx).getImm(); in getFrameIndexInstrOffset()
378 unsigned ImmIdx = FrameRegIdx + 1; in rewriteFrameIndex() local379 int InstrOffs = MI.getOperand(ImmIdx).getImm(); in rewriteFrameIndex()387 MachineOperand &ImmOp = MI.getOperand(ImmIdx); in rewriteFrameIndex()
2189 unsigned ImmIdx = 0; in rewriteARMFrameIndex() local2195 ImmIdx = FrameRegIdx + 1; in rewriteARMFrameIndex()2196 InstrOffs = MI.getOperand(ImmIdx).getImm(); in rewriteARMFrameIndex()2201 ImmIdx = FrameRegIdx+2; in rewriteARMFrameIndex()2202 InstrOffs = ARM_AM::getAM2Offset(MI.getOperand(ImmIdx).getImm()); in rewriteARMFrameIndex()2203 if (ARM_AM::getAM2Op(MI.getOperand(ImmIdx).getImm()) == ARM_AM::sub) in rewriteARMFrameIndex()2209 ImmIdx = FrameRegIdx+2; in rewriteARMFrameIndex()2210 InstrOffs = ARM_AM::getAM3Offset(MI.getOperand(ImmIdx).getImm()); in rewriteARMFrameIndex()2211 if (ARM_AM::getAM3Op(MI.getOperand(ImmIdx).getImm()) == ARM_AM::sub) in rewriteARMFrameIndex()2221 ImmIdx = FrameRegIdx+1; in rewriteARMFrameIndex()[all …]
112 unsigned ImmIdx = ~0U; in getIntImmCost() local138 ImmIdx = 1; in getIntImmCost()142 ImmIdx = 1; in getIntImmCost()158 if (Idx == ImmIdx && Imm.getBitWidth() <= 64) { in getIntImmCost()
74 unsigned ImmIdx = ~0U; in getIntImmCost() local84 ImmIdx = 0; in getIntImmCost()97 ImmIdx = 1; in getIntImmCost()120 if (Idx == ImmIdx) { in getIntImmCost()
2126 unsigned ImmIdx = 2; in isAArch64FrameOffsetLegal() local2258 ImmIdx = 3; in isAArch64FrameOffsetLegal()2266 ImmIdx = 3; in isAArch64FrameOffsetLegal()2278 ImmIdx = 3; in isAArch64FrameOffsetLegal()2310 Offset += MI.getOperand(ImmIdx).getImm() * Scale; in isAArch64FrameOffsetLegal()2361 unsigned ImmIdx = FrameRegIdx + 1; in rewriteAArch64FrameIndex() local2364 Offset += MI.getOperand(ImmIdx).getImm(); in rewriteAArch64FrameIndex()2385 MI.getOperand(ImmIdx).ChangeToImmediate(NewOffset); in rewriteAArch64FrameIndex()
1188 unsigned ImmIdx = ~0U; in getIntImmCost() local1200 ImmIdx = 0; in getIntImmCost()1213 ImmIdx = 1; in getIntImmCost()1231 ImmIdx = 1; in getIntImmCost()1254 if (Idx == ImmIdx) { in getIntImmCost()
2285 int ImmIdx = TII->getOperandIdx(Opcode, AMDGPU::OpName::literal); in PostISelFolding() local2288 ImmIdx--; in PostISelFolding()2291 SDValue &Imm = Ops[ImmIdx]; in PostISelFolding()