Searched refs:CmpOperandTy (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelper.cpp | 7024 LLT CmpOperandTy = MRI.getType(R1); in tryFoldAndOrOrICmpsUsingRanges() local 7026 if (CmpOperandTy.isPointer()) in tryFoldAndOrOrICmpsUsingRanges() 7031 if (!isLegalOrBeforeLegalizer({TargetOpcode::G_AND, CmpOperandTy}) || in tryFoldAndOrOrICmpsUsingRanges() 7032 !isLegalOrBeforeLegalizer({TargetOpcode::G_ADD, CmpOperandTy}) || in tryFoldAndOrOrICmpsUsingRanges() 7033 !isConstantLegalOrBeforeLegalizer(CmpOperandTy)) in tryFoldAndOrOrICmpsUsingRanges() 7110 auto TildeLowerDiff = B.buildConstant(CmpOperandTy, ~LowerDiff); in tryFoldAndOrOrICmpsUsingRanges() 7111 auto And = B.buildAnd(CmpOperandTy, R1, TildeLowerDiff); // the mask. in tryFoldAndOrOrICmpsUsingRanges() 7112 auto OffsetC = B.buildConstant(CmpOperandTy, Offset); in tryFoldAndOrOrICmpsUsingRanges() 7113 auto Add = B.buildAdd(CmpOperandTy, And, OffsetC, Flags); in tryFoldAndOrOrICmpsUsingRanges() 7114 auto NewCon = B.buildConstant(CmpOperandTy, NewC); in tryFoldAndOrOrICmpsUsingRanges() [all …]
|