Searched defs:CmpValue (Results 1 - 7 of 7) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DPeepholeOptimizer.cpp338 int CmpMask, CmpValue; local
339 if (!TII->AnalyzeCompare(MI, SrcReg, CmpMask, CmpValue) ||
344 if (TII->OptimizeCompareInstr(MI, SrcReg, CmpMask, CmpValue, MRI)) {
/external/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.cpp181 int &CmpValue) const {
190 CmpValue = MI.getOperand(1).getImm();
196 CmpValue = 0;
287 int CmpValue, const MachineRegisterInfo *MRI) const {
304 // * For SFSUB_F_RI(r1, CmpValue), we are looking for SUB(r1, CmpValue).
309 else if (MI->getParent() != CmpInstr.getParent() || CmpValue != 0) {
311 // BB as the comparison. Don't return if SFSUB_F_RI and CmpValue != 0 as Sub
332 if (isRedundantFlagInstr(&CmpInstr, SrcReg, SrcReg2, CmpValue, &*I)) {
285 optimizeCompareInstr( MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, int CmpValue, const MachineRegisterInfo *MRI) const argument
/external/llvm/lib/CodeGen/
H A DPeepholeOptimizer.cpp566 int CmpMask, CmpValue; local
567 if (!TII->analyzeCompare(*MI, SrcReg, SrcReg2, CmpMask, CmpValue) ||
573 if (TII->optimizeCompareInstr(*MI, SrcReg, SrcReg2, CmpMask, CmpValue, MRI)) {
/external/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp1421 int CmpMask = 0, CmpValue = 0; local
1423 if (!TII->analyzeCompare(*MI, CmpReg1, CmpReg2, CmpMask, CmpValue))
/external/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp690 /// in SrcReg and SrcReg2, and the value it compares against in CmpValue.
694 int &CmpValue) const {
714 CmpValue = 0;
723 // FIXME: In order to convert CmpValue to 0 or 1
724 CmpValue = MI.getOperand(2).getImm() != 0;
734 // while the type of CmpValue is int. When converting uint64_t to int,
737 // CmpValue is only used to compare with zero in OptimizeCompareInstr
738 CmpValue = AArch64_AM::decodeLogicalImmediate(
884 int CmpValue, const MachineRegisterInfo *MRI) const {
910 // FIXME:CmpValue ha
882 optimizeCompareInstr( MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, int CmpValue, const MachineRegisterInfo *MRI) const argument
[all...]
/external/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp2285 /// compares against in CmpValue. Return true if the comparison instruction
2289 int &CmpValue) const {
2297 CmpValue = MI.getOperand(1).getImm();
2304 CmpValue = 0;
2311 CmpValue = 0;
2393 int CmpValue, const MachineRegisterInfo *MRI) const {
2428 // For CMPri(r1, CmpValue), we are looking for SUBri(r1, CmpValue).
2433 else if (MI->getParent() != CmpInstr.getParent() || CmpValue != 0) {
2436 // For CMPri w/ CmpValue !
2391 optimizeCompareInstr( MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, int CmpValue, const MachineRegisterInfo *MRI) const argument
[all...]
/external/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp4829 int &CmpValue) const {
4842 CmpValue = MI.getOperand(1).getImm();
4852 CmpValue = 0;
4861 CmpValue = 0;
4873 CmpValue = MI.getOperand(2).getImm();
4882 CmpValue = 0;
4894 CmpValue = 0;
5046 int CmpValue,
5106 bool IsCmpZero = (SrcReg2 == 0 && CmpValue == 0);
5157 isRedundantFlagInstr(CmpInstr, SrcReg, SrcReg2, CmpValue, Inst
5044 optimizeCompareInstr(MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, int CmpValue, const MachineRegisterInfo *MRI) const argument
[all...]

Completed in 195 milliseconds