Searched refs:CmpInstr (Results 1 – 10 of 10) sorted by relevance
/external/llvm/lib/Target/AArch64/ |
D | AArch64InstrInfo.cpp | 828 MachineInstr *CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, in optimizeCompareInstr() argument 832 int Cmp_NZCV = CmpInstr->findRegisterDefOperandIdx(AArch64::NZCV, true); in optimizeCompareInstr() 834 if (CmpInstr->definesRegister(AArch64::WZR) || in optimizeCompareInstr() 835 CmpInstr->definesRegister(AArch64::XZR)) { in optimizeCompareInstr() 836 CmpInstr->eraseFromParent(); in optimizeCompareInstr() 839 unsigned Opc = CmpInstr->getOpcode(); in optimizeCompareInstr() 840 unsigned NewOpc = convertFlagSettingOpcode(CmpInstr); in optimizeCompareInstr() 844 CmpInstr->setDesc(MCID); in optimizeCompareInstr() 845 CmpInstr->RemoveOperand(Cmp_NZCV); in optimizeCompareInstr() 846 bool succeeded = UpdateOperandRegClass(CmpInstr); in optimizeCompareInstr() [all …]
|
D | AArch64InstrInfo.h | 162 bool optimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg,
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.cpp | 1504 bool PPCInstrInfo::optimizeCompareInstr(MachineInstr *CmpInstr, in optimizeCompareInstr() argument 1511 int OpC = CmpInstr->getOpcode(); in optimizeCompareInstr() 1512 unsigned CRReg = CmpInstr->getOperand(0).getReg(); in optimizeCompareInstr() 1585 MachineBasicBlock::iterator I = CmpInstr; in optimizeCompareInstr() 1588 for (MachineBasicBlock::iterator EL = CmpInstr->getParent()->end(); in optimizeCompareInstr() 1613 else if (MI->getParent() != CmpInstr->getParent() || Value != 0) { in optimizeCompareInstr() 1624 B = CmpInstr->getParent()->begin(); in optimizeCompareInstr() 1630 if (&*I != CmpInstr && ( in optimizeCompareInstr() 1732 CmpInstr->eraseFromParent(); in optimizeCompareInstr()
|
D | PPCInstrInfo.h | 255 bool optimizeCompareInstr(MachineInstr *CmpInstr,
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZInstrInfo.h | 156 bool optimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg,
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.cpp | 2389 optimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg, unsigned SrcReg2, in optimizeCompareInstr() argument 2403 if (UI->getParent() != CmpInstr->getParent()) continue; in optimizeCompareInstr() 2416 MachineBasicBlock::iterator I = CmpInstr, E = MI, in optimizeCompareInstr() 2417 B = CmpInstr->getParent()->begin(); in optimizeCompareInstr() 2430 else if (MI->getParent() != CmpInstr->getParent() || CmpValue != 0) { in optimizeCompareInstr() 2435 if (CmpInstr->getOpcode() == ARM::CMPri || in optimizeCompareInstr() 2436 CmpInstr->getOpcode() == ARM::t2CMPri) in optimizeCompareInstr() 2456 if (isRedundantFlagInstr(CmpInstr, SrcReg, SrcReg2, CmpValue, &*I)) { in optimizeCompareInstr() 2521 I = CmpInstr; in optimizeCompareInstr() 2522 E = CmpInstr->getParent()->end(); in optimizeCompareInstr() [all …]
|
D | ARMBaseInstrInfo.h | 263 bool optimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg,
|
/external/llvm/lib/Target/X86/ |
D | X86InstrInfo.h | 512 bool optimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg,
|
D | X86InstrInfo.cpp | 4920 optimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg, unsigned SrcReg2, in optimizeCompareInstr() argument 4925 switch (CmpInstr->getOpcode()) { in optimizeCompareInstr() 4942 if (!MRI->use_nodbg_empty(CmpInstr->getOperand(0).getReg())) in optimizeCompareInstr() 4945 switch (CmpInstr->getOpcode()) { in optimizeCompareInstr() 4963 CmpInstr->setDesc(get(NewOpcode)); in optimizeCompareInstr() 4964 CmpInstr->RemoveOperand(0); in optimizeCompareInstr() 4977 MachineBasicBlock::iterator I = CmpInstr, Def = MI; in optimizeCompareInstr() 4982 if (IsCmpZero && MI->getParent() != CmpInstr->getParent()) in optimizeCompareInstr() 5023 RE = CmpInstr->getParent() == MI->getParent() ? in optimizeCompareInstr() 5025 CmpInstr->getParent()->rend(); in optimizeCompareInstr() [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetInstrInfo.h | 1104 virtual bool optimizeCompareInstr(MachineInstr *CmpInstr, in optimizeCompareInstr() argument
|