Home
last modified time | relevance | path

Searched refs:ImmIdx (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp427 unsigned ImmIdx = 0; in getFrameIndexInstrOffset() local
445 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()
DThumbRegisterInfo.cpp378 unsigned ImmIdx = FrameRegIdx + 1; in rewriteFrameIndex() local
379 int InstrOffs = MI.getOperand(ImmIdx).getImm(); in rewriteFrameIndex()
387 MachineOperand &ImmOp = MI.getOperand(ImmIdx); in rewriteFrameIndex()
DARMBaseInstrInfo.cpp2189 unsigned ImmIdx = 0; in rewriteARMFrameIndex() local
2195 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 …]
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp112 unsigned ImmIdx = ~0U; in getIntImmCost() local
138 ImmIdx = 1; in getIntImmCost()
142 ImmIdx = 1; in getIntImmCost()
158 if (Idx == ImmIdx && Imm.getBitWidth() <= 64) { in getIntImmCost()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp74 unsigned ImmIdx = ~0U; in getIntImmCost() local
84 ImmIdx = 0; in getIntImmCost()
97 ImmIdx = 1; in getIntImmCost()
120 if (Idx == ImmIdx) { in getIntImmCost()
DAArch64InstrInfo.cpp2126 unsigned ImmIdx = 2; in isAArch64FrameOffsetLegal() local
2258 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() local
2364 Offset += MI.getOperand(ImmIdx).getImm(); in rewriteAArch64FrameIndex()
2385 MI.getOperand(ImmIdx).ChangeToImmediate(NewOffset); in rewriteAArch64FrameIndex()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp1188 unsigned ImmIdx = ~0U; in getIntImmCost() local
1200 ImmIdx = 0; in getIntImmCost()
1213 ImmIdx = 1; in getIntImmCost()
1231 ImmIdx = 1; in getIntImmCost()
1254 if (Idx == ImmIdx) { in getIntImmCost()
/external/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp2285 int ImmIdx = TII->getOperandIdx(Opcode, AMDGPU::OpName::literal); in PostISelFolding() local
2288 ImmIdx--; in PostISelFolding()
2291 SDValue &Imm = Ops[ImmIdx]; in PostISelFolding()