Home
last modified time | relevance | path

Searched refs:CmpMask (Results 1 – 25 of 25) 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-7.0/llvm/lib/Target/Lanai/
DLanaiInstrInfo.h97 unsigned &SrcReg2, int &CmpMask,
104 unsigned SrcReg2, int CmpMask, int CmpValue,
DLanaiInstrInfo.cpp179 unsigned &SrcReg2, int &CmpMask, in analyzeCompare() argument
188 CmpMask = ~0; in analyzeCompare()
194 CmpMask = ~0; in analyzeCompare()
/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-7.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.h196 unsigned &SrcReg2, int &CmpMask,
201 unsigned SrcReg2, int CmpMask, int CmpValue,
DAArch64InstrInfo.cpp1114 unsigned &SrcReg2, int &CmpMask, in analyzeCompare() argument
1140 CmpMask = ~0; in analyzeCompare()
1149 CmpMask = ~0; in analyzeCompare()
1159 CmpMask = ~0; in analyzeCompare()
1309 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
DX86ISelLowering.cpp17734 SDValue CmpMask = getVectorMaskingNode(Cmp, Mask, in LowerINTRINSIC_WO_CHAIN() local
17739 DAG.getUNDEF(BitcastVT), CmpMask, in LowerINTRINSIC_WO_CHAIN()
17760 SDValue CmpMask = getScalarMaskingNode(Cmp, Mask, in LowerINTRINSIC_WO_CHAIN() local
17765 return DAG.getNode(ISD::ZERO_EXTEND, dl, MVT::i8, CmpMask); in LowerINTRINSIC_WO_CHAIN()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h285 unsigned &SrcReg2, int &CmpMask,
293 unsigned SrcReg2, int CmpMask, int CmpValue,
DARMBaseInstrInfo.cpp2517 unsigned &SrcReg2, int &CmpMask, in analyzeCompare() argument
2526 CmpMask = ~0; in analyzeCompare()
2533 CmpMask = ~0; in analyzeCompare()
2540 CmpMask = MI.getOperand(1).getImm(); in analyzeCompare()
2553 int CmpMask, bool CommonUse) { in isSuitableForMask() argument
2557 if (CmpMask != MI->getOperand(2).getImm()) in isSuitableForMask()
2701 MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, in optimizeCompareInstr() argument
2708 if (CmpMask != ~0) { in optimizeCompareInstr()
2709 if (!isSuitableForMask(MI, SrcReg, CmpMask, false) || isPredicated(*MI)) { in optimizeCompareInstr()
2717 if (!isSuitableForMask(PotentialAND, SrcReg, CmpMask, true) || in optimizeCompareInstr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstrInfo.h519 unsigned &SrcReg2, int &CmpMask,
526 unsigned SrcReg2, int CmpMask, int CmpValue,
DX86InstrInfo.cpp3368 unsigned &SrcReg2, int &CmpMask, in analyzeCompare() argument
3382 CmpMask = ~0; in analyzeCompare()
3385 CmpMask = CmpValue = 0; in analyzeCompare()
3395 CmpMask = 0; in analyzeCompare()
3404 CmpMask = 0; in analyzeCompare()
3417 CmpMask = ~0; in analyzeCompare()
3420 CmpMask = CmpValue = 0; in analyzeCompare()
3429 CmpMask = 0; in analyzeCompare()
3441 CmpMask = ~0; in analyzeCompare()
3621 unsigned SrcReg2, int CmpMask, in optimizeCompareInstr() argument
[all …]
DX86ISelLowering.cpp20831 SDValue CmpMask = getVectorMaskingNode(Cmp, Mask, SDValue(), in LowerINTRINSIC_WO_CHAIN() local
20837 CmpMask, DAG.getIntPtrConstant(0, dl)); in LowerINTRINSIC_WO_CHAIN()
20878 SDValue CmpMask = getScalarMaskingNode(Cmp, Mask, SDValue(), in LowerINTRINSIC_WO_CHAIN() local
20884 CmpMask, DAG.getIntPtrConstant(0, dl)); in LowerINTRINSIC_WO_CHAIN()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp471 int CmpImm = 0, CmpMask = 0; in findInductionRegister() local
473 TII->analyzeCompare(*PredI, CmpReg1, CmpReg2, CmpMask, CmpImm); in findInductionRegister()
1461 int CmpMask = 0, CmpValue = 0; in loopCountMayWrapOrUnderFlow() local
1463 if (!TII->analyzeCompare(*MI, CmpReg1, CmpReg2, CmpMask, CmpValue)) in loopCountMayWrapOrUnderFlow()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp611 int CmpMask, CmpValue; in optimizeCmpInstr() local
612 if (!TII->analyzeCompare(MI, SrcReg, SrcReg2, CmpMask, CmpValue) || in optimizeCmpInstr()
618 if (TII->optimizeCompareInstr(MI, SrcReg, SrcReg2, CmpMask, CmpValue, MRI)) { in optimizeCmpInstr()