/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMBaseRegisterInfo.cpp | 536 unsigned ImmIdx = 0; in getFrameIndexInstrOffset() local 556 ImmIdx = Idx+2; in getFrameIndexInstrOffset() 557 InstrOffs = ARM_AM::getAM2Offset(MI->getOperand(ImmIdx).getImm()); in getFrameIndexInstrOffset() 558 if (ARM_AM::getAM2Op(MI->getOperand(ImmIdx).getImm()) == ARM_AM::sub) in getFrameIndexInstrOffset() 562 ImmIdx = Idx+2; in getFrameIndexInstrOffset() 563 InstrOffs = ARM_AM::getAM3Offset(MI->getOperand(ImmIdx).getImm()); in getFrameIndexInstrOffset() 564 if (ARM_AM::getAM3Op(MI->getOperand(ImmIdx).getImm()) == ARM_AM::sub) in getFrameIndexInstrOffset() 568 ImmIdx = Idx+1; in getFrameIndexInstrOffset() 569 InstrOffs = MI->getOperand(ImmIdx).getImm(); in getFrameIndexInstrOffset()
|
H A D | ThumbRegisterInfo.cpp | 451 unsigned ImmIdx = FrameRegIdx + 1; in resolveFrameIndex() 452 int InstrOffs = MI.getOperand(ImmIdx).getImm(); in resolveFrameIndex() 460 MachineOperand &ImmOp = MI.getOperand(ImmIdx); in resolveFrameIndex() 387 unsigned ImmIdx = FrameRegIdx + 1; rewriteFrameIndex() local
|
H A D | ARMBaseInstrInfo.cpp | 2680 unsigned ImmIdx = 0; in rewriteARMFrameIndex() local 2686 ImmIdx = FrameRegIdx + 1; in rewriteARMFrameIndex() 2687 InstrOffs = MI.getOperand(ImmIdx).getImm(); in rewriteARMFrameIndex() 2691 ImmIdx = FrameRegIdx+2; in rewriteARMFrameIndex() 2692 InstrOffs = ARM_AM::getAM2Offset(MI.getOperand(ImmIdx).getImm()); in rewriteARMFrameIndex() 2693 if (ARM_AM::getAM2Op(MI.getOperand(ImmIdx).getImm()) == ARM_AM::sub) in rewriteARMFrameIndex() 2698 ImmIdx = FrameRegIdx+2; in rewriteARMFrameIndex() 2699 InstrOffs = ARM_AM::getAM3Offset(MI.getOperand(ImmIdx).getImm()); in rewriteARMFrameIndex() 2700 if (ARM_AM::getAM3Op(MI.getOperand(ImmIdx).getImm()) == ARM_AM::sub) in rewriteARMFrameIndex() 2709 ImmIdx = FrameRegIdx+1; in rewriteARMFrameIndex() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.cpp | 243 unsigned ImmIdx = ~0U; in getIntImmCostInst() local 269 ImmIdx = 1; in getIntImmCostInst() 273 ImmIdx = 1; in getIntImmCostInst() 290 if (Idx == ImmIdx && Imm.getBitWidth() <= 64) { in getIntImmCostInst()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LegalizerInfo.h | 581 unsigned immIdx(unsigned ImmIdx) { in immIdx() argument 582 assert(ImmIdx <= (MCOI::OPERAND_LAST_GENERIC_IMM - in immIdx() 586 ImmIdxsCovered.set(ImmIdx); in immIdx() 588 return ImmIdx; in immIdx()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600ISelLowering.cpp | 2160 int ImmIdx = TII->getOperandIdx(Opcode, R600::OpName::literal); in PostISelFolding() local 2163 ImmIdx--; in PostISelFolding() 2166 SDValue &Imm = Ops[ImmIdx]; in PostISelFolding()
|
H A D | SIFoldOperands.cpp | 608 unsigned ImmIdx = Opc == AMDGPU::S_FMAAK_F32 ? 3 : 2; in tryAddToFoldList() local 609 MachineOperand &OpImm = MI->getOperand(ImmIdx); in tryAddToFoldList()
|
H A D | SIInstrInfo.cpp | 4912 int ImmIdx = AMDGPU::getNamedOperandIdx(Opcode, AMDGPU::OpName::imm); in verifyInstruction() local 4913 if (ImmIdx != -1) { in verifyInstruction() 4916 LiteralVal = &MI.getOperand(ImmIdx); in verifyInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64FrameLowering.cpp | 1233 unsigned ImmIdx = MBBI->getNumOperands() - 1; in InsertSEH() local 1234 int Imm = MBBI->getOperand(ImmIdx).getImm(); in InsertSEH() 1373 unsigned ImmIdx = MBBI->getNumOperands() - 1; in fixupSEHOpcode() local 1384 ImmOpnd = &MBBI->getOperand(ImmIdx); in fixupSEHOpcode()
|
H A D | AArch64TargetTransformInfo.cpp | 395 unsigned ImmIdx = ~0U; in getIntImmCostInst() local 405 ImmIdx = 0; in getIntImmCostInst() 418 ImmIdx = 1; in getIntImmCostInst() 441 if (Idx == ImmIdx) { in getIntImmCostInst()
|
H A D | AArch64InstrInfo.cpp | 5770 unsigned ImmIdx = FrameRegIdx + 1; in rewriteAArch64FrameIndex() local 5773 Offset += StackOffset::getFixed(MI.getOperand(ImmIdx).getImm()); in rewriteAArch64FrameIndex() 5794 MI.getOperand(ImmIdx).ChangeToImmediate(NewOffset); in rewriteAArch64FrameIndex()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 5663 unsigned ImmIdx = ~0U; in getIntImmCostInst() local 5675 ImmIdx = 0; in getIntImmCostInst() 5688 ImmIdx = 1; in getIntImmCostInst() 5696 ImmIdx = 1; in getIntImmCostInst() 5703 ImmIdx = 1; in getIntImmCostInst() 5716 ImmIdx = 1; in getIntImmCostInst() 5739 if (Idx == ImmIdx) { in getIntImmCostInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/ |
H A D | AMDGPUAsmParser.cpp | 3657 int16_t ImmIdx = in getSrcOperandIndices() local 3670 ImmIdx}; in getSrcOperandIndices() 3675 getNamedOperandIdx(Opcode, OpName::src2), ImmIdx}; in getSrcOperandIndices()
|