Home
last modified time | relevance | path

Searched refs:buildICmp (Results 1 – 16 of 16) sorted by relevance

/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp1123 MIRBuilder.buildICmp(Pred, MI.getOperand(0), Or, Zero); in narrowScalar()
1125 MachineInstrBuilder CmpH = MIRBuilder.buildICmp(Pred, ResTy, LHSH, RHSH); in narrowScalar()
1127 MIRBuilder.buildICmp(CmpInst::Predicate::ICMP_EQ, ResTy, LHSH, RHSH); in narrowScalar()
1128 MachineInstrBuilder CmpLU = MIRBuilder.buildICmp( in narrowScalar()
1832 MIRBuilder.buildICmp(CmpInst::ICMP_NE, MI.getOperand(1), NewOp, AndOp); in widenScalar()
2906 MIRBuilder.buildICmp(CmpInst::ICMP_NE, Overflow, HiPart, Shifted); in lower()
2908 MIRBuilder.buildICmp(CmpInst::ICMP_NE, Overflow, HiPart, Zero); in lower()
2964 MIRBuilder.buildICmp(CmpInst::ICMP_EQ, SuccessRes, OldValRes, CmpVal); in lower()
2987 MIRBuilder.buildICmp(CmpInst::ICMP_ULT, CarryOut, Res, RHS); in lower()
3003 MIRBuilder.buildICmp(CmpInst::ICMP_ULT, CarryOut, Res, LHS); in lower()
[all …]
DIRTranslator.cpp334 MIRBuilder.buildICmp(Pred, Res, Op0, Op1); in translateCompare()
793 auto Cmp = MIB.buildICmp(CmpInst::ICMP_UGT, LLT::scalar(1), Sub, Cst); in emitJumpTableHeader()
842 MIB.buildICmp(CB.PredInfo.Pred, i1Ty, CondLHS, CondRHS).getReg(0); in emitSwitchCase()
855 MIB.buildICmp(CmpInst::ICMP_SLE, i1Ty, CmpOpReg, CondRHS).getReg(0); in emitSwitchCase()
860 Cond = MIB.buildICmp(CmpInst::ICMP_ULE, i1Ty, Sub, Diff).getReg(0); in emitSwitchCase()
1030 auto RangeCmp = MIB.buildICmp(CmpInst::Predicate::ICMP_UGT, LLT::scalar(1), in emitBitTestHeader()
1057 MIB.buildICmp(ICmpInst::ICMP_EQ, LLT::scalar(1), Reg, MaskTrailingZeros) in emitBitTestCase()
1063 Cmp = MIB.buildICmp(CmpInst::ICMP_NE, LLT::scalar(1), Reg, MaskTrailingOnes) in emitBitTestCase()
1074 Cmp = MIB.buildICmp(CmpInst::ICMP_NE, LLT::scalar(1), AndOp, CstZero) in emitBitTestCase()
DMachineIRBuilder.cpp727 MachineInstrBuilder MachineIRBuilder::buildICmp(CmpInst::Predicate Pred, in buildICmp() function in MachineIRBuilder
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp973 MIRBuilder.buildICmp(Pred, MI.getOperand(0).getReg(), Or, Zero); in narrowScalar()
975 MachineInstrBuilder CmpH = MIRBuilder.buildICmp(Pred, ResTy, LHSH, RHSH); in narrowScalar()
977 MIRBuilder.buildICmp(CmpInst::Predicate::ICMP_EQ, ResTy, LHSH, RHSH); in narrowScalar()
978 MachineInstrBuilder CmpLU = MIRBuilder.buildICmp( in narrowScalar()
1462 MIRBuilder.buildICmp(CmpInst::ICMP_NE, MI.getOperand(1).getReg(), NewOp, in widenScalar()
1998 MIRBuilder.buildICmp(CmpInst::ICMP_NE, Overflow, HiPart, Shifted); in lower()
2000 MIRBuilder.buildICmp(CmpInst::ICMP_NE, Overflow, HiPart, Zero); in lower()
2066 MIRBuilder.buildICmp(CmpInst::ICMP_EQ, SuccessRes, OldValRes, CmpVal); in lower()
2218 MIRBuilder.buildICmp(CmpInst::ICMP_ULT, CarryOut, Res, RHS); in lower()
2236 MIRBuilder.buildICmp(CmpInst::ICMP_ULT, CarryOut, Res, LHS); in lower()
[all …]
DIRTranslator.cpp347 MIRBuilder.buildICmp(Pred, Res, Op0, Op1); in translateCompare()
557 auto Cmp = MIB.buildICmp(CmpInst::ICMP_UGT, LLT::scalar(1), Sub, Cst); in emitJumpTableHeader()
592 Cond = MIB.buildICmp(CB.PredInfo.Pred, i1Ty, CondLHS, CondRHS).getReg(0); in emitSwitchCase()
604 MIB.buildICmp(CmpInst::ICMP_SLE, i1Ty, CmpOpReg, CondRHS).getReg(0); in emitSwitchCase()
609 Cond = MIB.buildICmp(CmpInst::ICMP_ULE, i1Ty, Sub, Diff).getReg(0); in emitSwitchCase()
DMachineIRBuilder.cpp698 MachineInstrBuilder MachineIRBuilder::buildICmp(CmpInst::Predicate Pred, in buildICmp() function in MachineIRBuilder
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp1825 B.buildICmp(CmpInst::ICMP_NE, LLT::scalar(1), Src, FlatNull.getReg(0)); in legalizeAddrSpaceCast()
1848 B.buildICmp(CmpInst::ICMP_NE, LLT::scalar(1), Src, SegmentNull.getReg(0)); in legalizeAddrSpaceCast()
1986 auto ExpLt0 = B.buildICmp(CmpInst::ICMP_SLT, S1, Exp, Zero32); in legalizeIntrinsicTrunc()
1987 auto ExpGt51 = B.buildICmp(CmpInst::ICMP_SGT, S1, Exp, FiftyOne); in legalizeIntrinsicTrunc()
2799 auto Cond = B.buildICmp(CmpInst::ICMP_UGE, S1, R, Y); in legalizeUDIV_UREM32Impl()
2805 Cond = B.buildICmp(CmpInst::ICMP_UGE, S1, R, Y); in legalizeUDIV_UREM32Impl()
2927 auto CmpHi = B.buildICmp(CmpInst::ICMP_UGE, S1, Sub1_Hi, DenomHi); in legalizeUDIV_UREM64Impl()
2930 auto CmpLo = B.buildICmp(CmpInst::ICMP_UGE, S1, Sub1_Lo, DenomLo); in legalizeUDIV_UREM64Impl()
2933 auto CmpEq = B.buildICmp(CmpInst::ICMP_EQ, S1, Sub1_Hi, DenomHi); in legalizeUDIV_UREM64Impl()
2950 B.buildSExt(S32, B.buildICmp(CmpInst::ICMP_UGE, S1, Sub2_Hi, DenomHi)); in legalizeUDIV_UREM64Impl()
[all …]
DAMDGPURegisterBankInfo.cpp1645 auto Cmp = B.buildICmp(Pred, CmpType, Src0, Src1); in buildExpandedScalarMinMax()
1992 auto Cmp = B.buildICmp(CmpInst::ICMP_EQ, CCTy, Idx, IC); in foldExtractEltToCmpSelect()
2077 auto Cmp = B.buildICmp(CmpInst::ICMP_EQ, CCTy, Idx, IC); in foldInsertEltToCmpSelect()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp1314 B.buildICmp(CmpInst::ICMP_NE, CmpRes, Src, FlatNull.getReg(0)); in legalizeAddrSpaceCast()
1337 B.buildICmp(CmpInst::ICMP_NE, CmpRes, Src, SegmentNull.getReg(0)); in legalizeAddrSpaceCast()
1466 auto ExpLt0 = B.buildICmp(CmpInst::ICMP_SLT, S1, Exp, Zero32); in legalizeIntrinsicTrunc()
1467 auto ExpGt51 = B.buildICmp(CmpInst::ICMP_SGT, S1, Exp, FiftyOne); in legalizeIntrinsicTrunc()
2184 auto CmpNum = B.buildICmp(ICmpInst::ICMP_EQ, S1, NumUnmerge.getReg(1), in legalizeFDIV64()
2186 auto CmpDen = B.buildICmp(ICmpInst::ICMP_EQ, S1, DenUnmerge.getReg(1), in legalizeFDIV64()
2287 B.buildICmp(ICmpInst::ICMP_EQ, MI.getOperand(0), Hi32, ApertureReg); in legalizeIsAddrSpace()
DAMDGPURegisterBankInfo.cpp1239 auto Cmp = B.buildICmp(Pred, CmpType, Src0, Src1); in lowerScalarMinMax()
/external/llvm-project/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp448 MIRBuilder.buildICmp(ResultPred, ProcessedResult, LibcallResult, Zero); in legalizeCustom()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp450 MIRBuilder.buildICmp(ResultPred, ProcessedResult, LibcallResult, Zero); in legalizeCustom()
/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/
DPatternMatchTest.cpp156 auto CmpEq = B.buildICmp(CmpInst::ICMP_EQ, s1, Copies[0], Copies[1]); in TEST_F()
DLegalizerHelperTest.cpp762 auto ICmp = B.buildICmp(CmpInst::ICMP_EQ, s1, Copies[0], Copies[1]); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h906 MachineInstrBuilder buildICmp(CmpInst::Predicate Pred, const DstOp &Res,
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h1048 MachineInstrBuilder buildICmp(CmpInst::Predicate Pred, const DstOp &Res,