/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUGlobalISelUtils.cpp | 36 if (mi_match(Def->getOperand(2).getReg(), MRI, m_ICst(Offset))) in getBaseWithConstantOffset() 40 if (mi_match(Def->getOperand(2).getReg(), MRI, m_Copy(m_ICst(Offset)))) in getBaseWithConstantOffset()
|
D | AMDGPUInstructionSelector.cpp | 802 if (mi_match(Reg, MRI, m_ICst(C)) && C == 0) in isZero() 806 return mi_match(Reg, MRI, m_Copy(m_ICst(C))) && C == 0; in isZero() 2102 if (mi_match(Root.getReg(), *MRI, m_ICst(Offset))) { in selectMUBUFScratchOffen() 2208 if (!mi_match(Root.getReg(), *MRI, m_ICst(Offset)) || in selectMUBUFScratchOffset() 2260 } else if (mi_match(Root.getReg(), *MRI, m_ICst(ConstAddr))) { in selectDS1Addr1Offset()
|
D | AMDGPURegisterBankInfo.cpp | 1285 if (mi_match(Reg, MRI, m_ICst(Const))) in getBaseWithConstantOffset() 1289 if (mi_match(Reg, MRI, m_GAdd(m_Reg(Base), m_ICst(Const)))) in getBaseWithConstantOffset() 1342 return mi_match(Reg, MRI, m_ICst(C)) && C == 0; in isZero()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUGlobalISelUtils.cpp | 36 if (mi_match(Def->getOperand(2).getReg(), MRI, m_ICst(Offset))) in getBaseWithConstantOffset() 40 if (mi_match(Def->getOperand(2).getReg(), MRI, m_Copy(m_ICst(Offset)))) in getBaseWithConstantOffset()
|
D | AMDGPUPostLegalizerCombiner.cpp | 211 bool IsShr = mi_match(SrcReg, MRI, m_GLShr(m_Reg(Src0), m_ICst(ShiftAmt))); in matchCvtF32UByteN() 212 if (IsShr || mi_match(SrcReg, MRI, m_GShl(m_Reg(Src0), m_ICst(ShiftAmt)))) { in matchCvtF32UByteN()
|
D | AMDGPUInstructionSelector.cpp | 3605 if (mi_match(Root.getReg(), *MRI, m_ICst(Offset)) && in selectMUBUFScratchOffen() 3726 if (!mi_match(Root.getReg(), *MRI, m_ICst(Offset)) || in selectMUBUFScratchOffset() 3771 } else if (mi_match(Root.getReg(), *MRI, m_ICst(ConstAddr))) { in selectDS1Addr1OffsetImpl() 3837 } else if (mi_match(Root.getReg(), *MRI, m_ICst(ConstAddr))) { in selectDSReadWrite2Impl()
|
D | AMDGPURegisterBankInfo.cpp | 1706 if (mi_match(Reg, MRI, m_ICst(Const))) in getBaseWithConstantOffset() 1710 if (mi_match(Reg, MRI, m_GAdd(m_Reg(Base), m_ICst(Const)))) in getBaseWithConstantOffset() 1763 return mi_match(Reg, MRI, m_ICst(C)) && C == 0; in isZero()
|
D | AMDGPULegalizerInfo.cpp | 4157 m_ICst(ConstantLod))) { in legalizeImageIntrinsic()
|
/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/ |
D | ConstantFoldingTest.cpp | 31 bool match = mi_match(MIBCAdd.getReg(0), *MRI, m_ICst(Cst)); in TEST_F() 38 match = mi_match(MIBCAdd1.getReg(0), *MRI, m_ICst(Cst)); in TEST_F() 50 match = mi_match(MIBCSub.getReg(0), *MRI, m_ICst(Cst)); in TEST_F() 58 match = mi_match(MIBCSext1.getReg(0), *MRI, m_ICst(Cst)); in TEST_F() 66 match = mi_match(MIBCSext2.getReg(0), *MRI, m_ICst(Cst)); in TEST_F()
|
D | PatternMatchTest.cpp | 39 bool match = mi_match(MIBCst.getReg(0), *MRI, m_ICst(Cst)); in TEST_F() 86 m_GMul(m_ICst(Cst), m_Reg(Src0))); in TEST_F() 94 m_GSub(m_ICst(Cst), m_Reg(Src0))); in TEST_F() 101 m_GFMul(m_ICst(Cst), m_Reg(Src0))); in TEST_F()
|
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
D | MIPatternMatch.h | 54 inline ConstantMatch m_ICst(int64_t &Cst) { return ConstantMatch(Cst); } in m_ICst() function 62 return mi_match(Reg, MRI, m_ICst(MatchedVal)) && MatchedVal == RequestedVal; in match()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | MIPatternMatch.h | 55 inline ConstantMatch m_ICst(int64_t &Cst) { return ConstantMatch(Cst); } in m_ICst() function
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | CombinerHelper.cpp | 2205 if (mi_match(LHS, MRI, m_GIntToPtr(m_ICst(Cst)))) { in matchCombineConstPtrAddToI2P() 2646 m_GInsertVecElt(m_MInstr(TmpInst), m_Reg(TmpReg), m_ICst(IntImm)))) { in matchCombineInsertVecElts() 2811 m_GAShr(m_GShl(m_Reg(Src), m_ICst(ShlCst)), m_ICst(AshrCst)))) in matchAshrShlToSextInreg() 3018 if (!mi_match(CstReg, MRI, m_ICst(Cst))) in matchNotCmp()
|
D | Utils.cpp | 703 if (!mi_match(Element, MRI, m_ICst(ElementValue))) in getBuildVectorConstantSplat()
|
D | LegalizerHelper.cpp | 3171 if (mi_match(IdxReg, *B.getMRI(), m_ICst(IdxVal))) in clampDynamicVectorIndex() 3672 if (mi_match(Idx, MRI, m_ICst(IdxVal))) { in fewerElementsVectorExtractInsertVectorElt() 5666 if (mi_match(Idx, MRI, m_ICst(IdxVal))) { in lowerExtractInsertVectorElt()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64InstructionSelector.cpp | 3698 if (!mi_match(InsMI->getOperand(3).getReg(), MRI, m_ICst(Index)) || Index) in tryOptVectorDup()
|