Home
last modified time | relevance | path

Searched refs:CmpValue (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/Target/Lanai/
DLanaiInstrInfo.h96 int &CmpValue) const override;
102 unsigned SrcReg2, int CmpMask, int CmpValue,
DLanaiInstrInfo.cpp181 int &CmpValue) const { in analyzeCompare()
190 CmpValue = MI.getOperand(1).getImm(); in analyzeCompare()
196 CmpValue = 0; in analyzeCompare()
287 int CmpValue, const MachineRegisterInfo *MRI) const { in optimizeCompareInstr() argument
309 else if (MI->getParent() != CmpInstr.getParent() || CmpValue != 0) { in optimizeCompareInstr()
332 if (isRedundantFlagInstr(&CmpInstr, SrcReg, SrcReg2, CmpValue, &*I)) { in optimizeCompareInstr()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DPeepholeOptimizer.cpp338 int CmpMask, CmpValue; in OptimizeCmpInstr() local
339 if (!TII->AnalyzeCompare(MI, SrcReg, CmpMask, CmpValue) || in OptimizeCmpInstr()
344 if (TII->OptimizeCompareInstr(MI, SrcReg, CmpMask, CmpValue, MRI)) { in OptimizeCmpInstr()
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.h167 int &CmpValue) const override;
171 unsigned SrcReg2, int CmpMask, int CmpValue,
DAArch64InstrInfo.cpp694 int &CmpValue) const { in analyzeCompare()
714 CmpValue = 0; in analyzeCompare()
724 CmpValue = MI.getOperand(2).getImm() != 0; in analyzeCompare()
738 CmpValue = AArch64_AM::decodeLogicalImmediate( in analyzeCompare()
884 int CmpValue, const MachineRegisterInfo *MRI) const { in optimizeCompareInstr() argument
912 assert((CmpValue == 0 || CmpValue == 1) && "CmpValue must be 0 or 1!"); in optimizeCompareInstr()
913 if (CmpValue != 0 || SrcReg2 != 0) in optimizeCompareInstr()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseInstrInfo.h191 int &CmpMask, int &CmpValue) const;
196 int CmpMask, int CmpValue,
DARMBaseInstrInfo.cpp1680 int &CmpValue) const { in AnalyzeCompare()
1687 CmpValue = MI->getOperand(1).getImm(); in AnalyzeCompare()
1693 CmpValue = 0; in AnalyzeCompare()
1733 int CmpValue, const MachineRegisterInfo *MRI) const { in OptimizeCompareInstr() argument
1734 if (CmpValue != 0) in OptimizeCompareInstr()
/external/llvm/lib/Target/X86/
DX86InstrInfo.h505 int &CmpValue) const override;
511 unsigned SrcReg2, int CmpMask, int CmpValue,
DX86InstrInfo.cpp4829 int &CmpValue) const { in analyzeCompare()
4842 CmpValue = MI.getOperand(1).getImm(); in analyzeCompare()
4852 CmpValue = 0; in analyzeCompare()
4861 CmpValue = 0; in analyzeCompare()
4873 CmpValue = MI.getOperand(2).getImm(); in analyzeCompare()
4882 CmpValue = 0; in analyzeCompare()
4894 CmpValue = 0; in analyzeCompare()
5046 int CmpValue, in optimizeCompareInstr() argument
5106 bool IsCmpZero = (SrcReg2 == 0 && CmpValue == 0); in optimizeCompareInstr()
5157 isRedundantFlagInstr(CmpInstr, SrcReg, SrcReg2, CmpValue, Instr)) { in optimizeCompareInstr()
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h255 int &CmpValue) const override;
262 unsigned SrcReg2, int CmpMask, int CmpValue,
DARMBaseInstrInfo.cpp2289 int &CmpValue) const { in analyzeCompare()
2297 CmpValue = MI.getOperand(1).getImm(); in analyzeCompare()
2304 CmpValue = 0; in analyzeCompare()
2311 CmpValue = 0; in analyzeCompare()
2393 int CmpValue, const MachineRegisterInfo *MRI) const { in optimizeCompareInstr() argument
2433 else if (MI->getParent() != CmpInstr.getParent() || CmpValue != 0) { in optimizeCompareInstr()
2459 if (isRedundantFlagInstr(&CmpInstr, SrcReg, SrcReg2, CmpValue, &*I)) { in optimizeCompareInstr()
/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp566 int CmpMask, CmpValue; in optimizeCmpInstr() local
567 if (!TII->analyzeCompare(*MI, SrcReg, SrcReg2, CmpMask, CmpValue) || in optimizeCmpInstr()
573 if (TII->optimizeCompareInstr(*MI, SrcReg, SrcReg2, CmpMask, CmpValue, MRI)) { in optimizeCmpInstr()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp1421 int CmpMask = 0, CmpValue = 0; in loopCountMayWrapOrUnderFlow() local
1423 if (!TII->analyzeCompare(*MI, CmpReg1, CmpReg2, CmpMask, CmpValue)) in loopCountMayWrapOrUnderFlow()