Searched refs:ImmIdx (Results 1 – 10 of 10) sorted by relevance
503 unsigned ImmIdx = 0; in getFrameIndexInstrOffset() local521 ImmIdx = Idx+2; in getFrameIndexInstrOffset()522 InstrOffs = ARM_AM::getAM2Offset(MI->getOperand(ImmIdx).getImm()); in getFrameIndexInstrOffset()523 if (ARM_AM::getAM2Op(MI->getOperand(ImmIdx).getImm()) == ARM_AM::sub) in getFrameIndexInstrOffset()527 ImmIdx = Idx+2; in getFrameIndexInstrOffset()528 InstrOffs = ARM_AM::getAM3Offset(MI->getOperand(ImmIdx).getImm()); in getFrameIndexInstrOffset()529 if (ARM_AM::getAM3Op(MI->getOperand(ImmIdx).getImm()) == ARM_AM::sub) in getFrameIndexInstrOffset()533 ImmIdx = Idx+1; in getFrameIndexInstrOffset()534 InstrOffs = MI->getOperand(ImmIdx).getImm(); in getFrameIndexInstrOffset()
385 unsigned ImmIdx = FrameRegIdx + 1; in rewriteFrameIndex() local386 int InstrOffs = MI.getOperand(ImmIdx).getImm(); in rewriteFrameIndex()394 MachineOperand &ImmOp = MI.getOperand(ImmIdx); in rewriteFrameIndex()
2566 unsigned ImmIdx = 0; in rewriteARMFrameIndex() local2572 ImmIdx = FrameRegIdx + 1; in rewriteARMFrameIndex()2573 InstrOffs = MI.getOperand(ImmIdx).getImm(); in rewriteARMFrameIndex()2577 ImmIdx = FrameRegIdx+2; in rewriteARMFrameIndex()2578 InstrOffs = ARM_AM::getAM2Offset(MI.getOperand(ImmIdx).getImm()); in rewriteARMFrameIndex()2579 if (ARM_AM::getAM2Op(MI.getOperand(ImmIdx).getImm()) == ARM_AM::sub) in rewriteARMFrameIndex()2584 ImmIdx = FrameRegIdx+2; in rewriteARMFrameIndex()2585 InstrOffs = ARM_AM::getAM3Offset(MI.getOperand(ImmIdx).getImm()); in rewriteARMFrameIndex()2586 if (ARM_AM::getAM3Op(MI.getOperand(ImmIdx).getImm()) == ARM_AM::sub) in rewriteARMFrameIndex()2595 ImmIdx = FrameRegIdx+1; in rewriteARMFrameIndex()[all …]
132 unsigned ImmIdx = ~0U; in getIntImmCostInst() local158 ImmIdx = 1; in getIntImmCostInst()162 ImmIdx = 1; in getIntImmCostInst()179 if (Idx == ImmIdx && Imm.getBitWidth() <= 64) { in getIntImmCostInst()
94 unsigned ImmIdx = ~0U; in getIntImmCostInst() local104 ImmIdx = 0; in getIntImmCostInst()117 ImmIdx = 1; in getIntImmCostInst()140 if (Idx == ImmIdx) { in getIntImmCostInst()
492 unsigned ImmIdx = MBBI->getNumOperands() - 1; in InsertSEH() local493 int Imm = MBBI->getOperand(ImmIdx).getImm(); in InsertSEH()608 unsigned ImmIdx = MBBI->getNumOperands() - 1; in fixupSEHOpcode() local617 ImmOpnd = &MBBI->getOperand(ImmIdx); in fixupSEHOpcode()
3524 unsigned ImmIdx = FrameRegIdx + 1; in rewriteAArch64FrameIndex() local3527 Offset += StackOffset(MI.getOperand(ImmIdx).getImm(), MVT::i8); in rewriteAArch64FrameIndex()3548 MI.getOperand(ImmIdx).ChangeToImmediate(NewOffset); in rewriteAArch64FrameIndex()
349 unsigned immIdx(unsigned ImmIdx) { in immIdx() argument350 assert(ImmIdx <= (MCOI::OPERAND_LAST_GENERIC_IMM - in immIdx()354 ImmIdxsCovered.set(ImmIdx); in immIdx()356 return ImmIdx; in immIdx()
3046 unsigned ImmIdx = ~0U; in getIntImmCostInst() local3058 ImmIdx = 0; in getIntImmCostInst()3071 ImmIdx = 1; in getIntImmCostInst()3079 ImmIdx = 1; in getIntImmCostInst()3086 ImmIdx = 1; in getIntImmCostInst()3099 ImmIdx = 1; in getIntImmCostInst()3122 if (Idx == ImmIdx) { in getIntImmCostInst()
2290 int ImmIdx = TII->getOperandIdx(Opcode, R600::OpName::literal); in PostISelFolding() local2293 ImmIdx--; in PostISelFolding()2296 SDValue &Imm = Ops[ImmIdx]; in PostISelFolding()