Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Lanai/
DLanaiInstrInfo.h95 unsigned &SrcReg2, int &CmpMask,
102 unsigned SrcReg2, int CmpMask, int CmpValue,
DLanaiInstrInfo.cpp180 unsigned &SrcReg2, int &CmpMask, in analyzeCompare() argument
189 CmpMask = ~0; in analyzeCompare()
195 CmpMask = ~0; in analyzeCompare()
286 MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, in optimizeCompareInstr() argument
/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.h166 unsigned &SrcReg2, int &CmpMask,
171 unsigned SrcReg2, int CmpMask, int CmpValue,
DAArch64InstrInfo.cpp693 unsigned &SrcReg2, int &CmpMask, in analyzeCompare() argument
713 CmpMask = ~0; in analyzeCompare()
722 CmpMask = ~0; in analyzeCompare()
732 CmpMask = ~0; in analyzeCompare()
883 MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, in optimizeCompareInstr() argument
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseInstrInfo.h191 int &CmpMask, int &CmpValue) const;
196 int CmpMask, int CmpValue,
DARMBaseInstrInfo.cpp1679 AnalyzeCompare(const MachineInstr *MI, unsigned &SrcReg, int &CmpMask, in AnalyzeCompare() argument
1686 CmpMask = ~0; in AnalyzeCompare()
1692 CmpMask = MI->getOperand(1).getImm(); in AnalyzeCompare()
1705 int CmpMask, bool CommonUse) { in isSuitableForMask() argument
1709 if (CmpMask != MI->getOperand(2).getImm()) in isSuitableForMask()
1722 CmpMask, true); in isSuitableForMask()
1732 OptimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg, int CmpMask, in OptimizeCompareInstr() argument
1745 if (CmpMask != ~0) { in OptimizeCompareInstr()
1746 if (!isSuitableForMask(MI, SrcReg, CmpMask, false)) { in OptimizeCompareInstr()
1752 if (!isSuitableForMask(PotentialAND, SrcReg, CmpMask, true)) in OptimizeCompareInstr()
/external/llvm/lib/Target/X86/
DX86InstrInfo.h504 unsigned &SrcReg2, int &CmpMask,
511 unsigned SrcReg2, int CmpMask, int CmpValue,
DX86InstrInfo.cpp4828 unsigned &SrcReg2, int &CmpMask, in analyzeCompare() argument
4841 CmpMask = ~0; in analyzeCompare()
4851 CmpMask = ~0; in analyzeCompare()
4860 CmpMask = ~0; in analyzeCompare()
4872 CmpMask = ~0; in analyzeCompare()
4881 CmpMask = ~0; in analyzeCompare()
4893 CmpMask = ~0; in analyzeCompare()
5045 unsigned SrcReg2, int CmpMask, in optimizeCompareInstr() argument
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h254 unsigned &SrcReg2, int &CmpMask,
262 unsigned SrcReg2, int CmpMask, int CmpValue,
DARMBaseInstrInfo.cpp2288 unsigned &SrcReg2, int &CmpMask, in analyzeCompare() argument
2296 CmpMask = ~0; in analyzeCompare()
2303 CmpMask = ~0; in analyzeCompare()
2310 CmpMask = MI.getOperand(1).getImm(); in analyzeCompare()
2323 int CmpMask, bool CommonUse) { in isSuitableForMask() argument
2327 if (CmpMask != MI->getOperand(2).getImm()) in isSuitableForMask()
2392 MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, in optimizeCompareInstr() argument
2399 if (CmpMask != ~0) { in optimizeCompareInstr()
2400 if (!isSuitableForMask(MI, SrcReg, CmpMask, false) || isPredicated(*MI)) { in optimizeCompareInstr()
2408 if (!isSuitableForMask(PotentialAND, SrcReg, CmpMask, true) || 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.cpp452 int CmpImm = 0, CmpMask = 0; in findInductionRegister() local
454 TII->analyzeCompare(*PredI, CmpReg1, CmpReg2, CmpMask, CmpImm); in findInductionRegister()
1421 int CmpMask = 0, CmpValue = 0; in loopCountMayWrapOrUnderFlow() local
1423 if (!TII->analyzeCompare(*MI, CmpReg1, CmpReg2, CmpMask, CmpValue)) in loopCountMayWrapOrUnderFlow()