Home
last modified time | relevance | path

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

/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp455 unsigned ImmIdx = 0; in getFrameIndexInstrOffset() local
473 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()
DThumbRegisterInfo.cpp376 unsigned ImmIdx = FrameRegIdx + 1; in rewriteFrameIndex() local
377 int InstrOffs = MI.getOperand(ImmIdx).getImm(); in rewriteFrameIndex()
385 MachineOperand &ImmOp = MI.getOperand(ImmIdx); in rewriteFrameIndex()
DARMBaseInstrInfo.cpp2192 unsigned ImmIdx = 0; in rewriteARMFrameIndex() local
2198 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 …]
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp119 unsigned ImmIdx = ~0U; in getIntImmCost() local
145 ImmIdx = 1; in getIntImmCost()
149 ImmIdx = 1; in getIntImmCost()
165 if (Idx == ImmIdx && Imm.getBitWidth() <= 64) { in getIntImmCost()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseRegisterInfo.cpp897 unsigned ImmIdx = 0; in getFrameIndexInstrOffset() local
915 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()
DARMBaseInstrInfo.cpp1586 unsigned ImmIdx = 0; in rewriteARMFrameIndex() local
1592 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 …]
DThumb1RegisterInfo.cpp484 unsigned ImmIdx = FrameRegIdx + 1; in rewriteFrameIndex() local
485 int InstrOffs = MI.getOperand(ImmIdx).getImm(); in rewriteFrameIndex()
493 MachineOperand &ImmOp = MI.getOperand(ImmIdx); in rewriteFrameIndex()
/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.cpp2488 unsigned ImmIdx = 2; in isAArch64FrameOffsetLegal() local
2620 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() local
2726 Offset += MI.getOperand(ImmIdx).getImm(); in rewriteAArch64FrameIndex()
2747 MI.getOperand(ImmIdx).ChangeToImmediate(NewOffset); in rewriteAArch64FrameIndex()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp1322 unsigned ImmIdx = ~0U; in getIntImmCost() local
1334 ImmIdx = 0; in getIntImmCost()
1347 ImmIdx = 1; in getIntImmCost()
1365 ImmIdx = 1; in getIntImmCost()
1388 if (Idx == ImmIdx) { in getIntImmCost()
/external/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp2405 int ImmIdx = TII->getOperandIdx(Opcode, AMDGPU::OpName::literal); in PostISelFolding() local
2408 ImmIdx--; in PostISelFolding()
2411 SDValue &Imm = Ops[ImmIdx]; in PostISelFolding()