Searched refs:CmpValue (Results 1 - 11 of 11) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CondBrFolding.cpp95 int CmpValue; member in struct:__anon2487::TargetMBBInfo
123 int &CmpValue);
141 int CmpValue = MBBInfo->CmpValue; local
155 int PredCmpValue = PredMBBInfo->CmpValue;
156 bool ValueCmpTrue = ((CmpValue < PredCmpValue && CC == X86::COND_L) ||
157 (CmpValue > PredCmpValue && CC == X86::COND_G) ||
158 (CmpValue == PredCmpValue && CC == X86::COND_E));
167 if ((CmpValue == PredCmpValue) ||
168 (CmpValue
[all...]
H A DX86InstrInfo.h470 /// compares against in CmpValue. Return true if the comparison instruction
474 int &CmpValue) const override;
480 unsigned SrcReg2, int CmpMask, int CmpValue,
H A DX86InstrInfo.cpp3275 int &CmpValue) const {
3289 CmpValue = MI.getOperand(1).getImm();
3291 CmpMask = CmpValue = 0;
3302 CmpValue = 0;
3311 CmpValue = 0;
3324 CmpValue = MI.getOperand(2).getImm();
3326 CmpMask = CmpValue = 0;
3336 CmpValue = 0;
3348 CmpValue = 0;
3552 int CmpValue,
3550 optimizeCompareInstr(MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, int CmpValue, const MachineRegisterInfo *MRI) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.h96 // in CmpValue. Return true if the comparison instruction can be analyzed.
99 int &CmpValue) const override;
105 unsigned SrcReg2, int CmpMask, int CmpValue,
H A DLanaiInstrInfo.cpp179 int &CmpValue) const {
188 CmpValue = MI.getOperand(1).getImm();
194 CmpValue = 0;
285 int CmpValue, const MachineRegisterInfo *MRI) const {
302 // * For SFSUB_F_RI(r1, CmpValue), we are looking for SUB(r1, CmpValue).
307 else if (MI->getParent() != CmpInstr.getParent() || CmpValue != 0) {
309 // BB as the comparison. Don't return if SFSUB_F_RI and CmpValue != 0 as Sub
330 if (isRedundantFlagInstr(&CmpInstr, SrcReg, SrcReg2, CmpValue, &*I)) {
283 optimizeCompareInstr( MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int , int CmpValue, const MachineRegisterInfo *MRI) const argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.h206 /// in SrcReg and SrcReg2, and the value it compares against in CmpValue.
210 int &CmpValue) const override;
214 unsigned SrcReg2, int CmpMask, int CmpValue,
H A DAArch64InstrInfo.cpp985 /// in SrcReg and SrcReg2, and the value it compares against in CmpValue.
989 int &CmpValue) const {
1015 CmpValue = 0;
1024 // FIXME: In order to convert CmpValue to 0 or 1
1025 CmpValue = MI.getOperand(2).getImm() != 0;
1035 // while the type of CmpValue is int. When converting uint64_t to int,
1038 // CmpValue is only used to compare with zero in OptimizeCompareInstr
1039 CmpValue = AArch64_AM::decodeLogicalImmediate(
1184 int CmpValue, const MachineRegisterInfo *MRI) const {
1210 // FIXME:CmpValue ha
1182 optimizeCompareInstr( MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, int CmpValue, const MachineRegisterInfo *MRI) const argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.h287 /// compares against in CmpValue. Return true if the comparison instruction
291 int &CmpValue) const override;
298 unsigned SrcReg2, int CmpMask, int CmpValue,
H A DARMBaseInstrInfo.cpp2672 /// compares against in CmpValue. Return true if the comparison instruction
2676 int &CmpValue) const {
2685 CmpValue = MI.getOperand(1).getImm();
2693 CmpValue = 0;
2700 CmpValue = 0;
2883 int CmpValue, const MachineRegisterInfo *MRI) const {
2919 // For CMPri(r1, CmpValue), we are looking for SUBri(r1, CmpValue).
2924 else if (MI->getParent() != CmpInstr.getParent() || CmpValue != 0) {
2927 // For CMPri w/ CmpValue !
2881 optimizeCompareInstr( MachineInstr &CmpInstr, unsigned SrcReg, unsigned SrcReg2, int CmpMask, int CmpValue, const MachineRegisterInfo *MRI) const argument
3170 int CmpMask, CmpValue; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DPeepholeOptimizer.cpp611 int CmpMask, CmpValue; local
612 if (!TII->analyzeCompare(MI, SrcReg, SrcReg2, CmpMask, CmpValue) ||
618 if (TII->optimizeCompareInstr(MI, SrcReg, SrcReg2, CmpMask, CmpValue, MRI)) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp1459 int CmpMask = 0, CmpValue = 0; local
1461 if (!TII->analyzeCompare(*MI, CmpReg1, CmpReg2, CmpMask, CmpValue))

Completed in 384 milliseconds