Home
last modified time | relevance | path

Searched refs:getConstantVRegValWithLookThrough (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DInstructionSelector.cpp52 if (auto VRegVal = getConstantVRegValWithLookThrough(MO.getReg(), MRI)) in isOperandImmEqual()
DUtils.cpp210 getConstantVRegValWithLookThrough(VReg, MRI, /*LookThroughInstrs*/ false); in getConstantVRegVal()
218 Optional<ValueAndVReg> llvm::getConstantVRegValWithLookThrough( in getConstantVRegValWithLookThrough() function in llvm
DCombinerHelper.cpp938 auto ValVRegAndVal = getConstantVRegValWithLookThrough(Val, MRI); in getMemsetValue()
987 auto ValVRegAndVal = getConstantVRegValWithLookThrough(Val, MRI); in optimizeMemset()
1320 auto LenVRegAndVal = getConstantVRegValWithLookThrough(Len, MRI); in tryCombineMemCpyFamily()
1355 auto MaybeImmVal = getConstantVRegValWithLookThrough(Imm1, MRI); in matchPtrAddImmedChain()
1365 auto MaybeImm2Val = getConstantVRegValWithLookThrough(Imm2, MRI); in matchPtrAddImmedChain()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DInstructionSelector.cpp52 if (auto VRegVal = getConstantVRegValWithLookThrough(MO.getReg(), MRI)) in isOperandImmEqual()
DCombinerHelper.cpp1030 auto ValVRegAndVal = getConstantVRegValWithLookThrough(Val, MRI); in getMemsetValue()
1084 auto ValVRegAndVal = getConstantVRegValWithLookThrough(Val, MRI); in optimizeMemset()
1411 auto LenVRegAndVal = getConstantVRegValWithLookThrough(Len, MRI); in tryCombineMemCpyFamily()
1509 auto MaybeImmVal = getConstantVRegValWithLookThrough(Imm1, MRI); in matchPtrAddImmedChain()
1519 auto MaybeImm2Val = getConstantVRegValWithLookThrough(Imm2, MRI); in matchPtrAddImmedChain()
1559 auto MaybeImmVal = getConstantVRegValWithLookThrough(Imm1, MRI); in matchShiftImmedChain()
1569 auto MaybeImm2Val = getConstantVRegValWithLookThrough(Imm2, MRI); in matchShiftImmedChain()
1653 auto MaybeImmVal = getConstantVRegValWithLookThrough(C1, MRI); in matchShiftOfShiftedLogic()
1667 getConstantVRegValWithLookThrough(MI->getOperand(2).getReg(), MRI); in matchShiftOfShiftedLogic()
1740 getConstantVRegValWithLookThrough(MI.getOperand(2).getReg(), MRI); in matchCombineMulToShl()
[all …]
DUtils.cpp261 getConstantVRegValWithLookThrough(VReg, MRI, /*LookThroughInstrs*/ false); in getConstantVRegVal()
269 Optional<ValueAndVReg> llvm::getConstantVRegValWithLookThrough( in getConstantVRegValWithLookThrough() function in llvm
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DUtils.h129 getConstantVRegValWithLookThrough(unsigned VReg, const MachineRegisterInfo &MRI,
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64PostLegalizerCombiner.cpp55 auto Cst = getConstantVRegValWithLookThrough(Src2, MRI); in matchExtractVecEltPairwiseAdd()
129 auto Const = getConstantVRegValWithLookThrough(RHS, MRI); in matchAArch64MulConstCombine()
DAArch64InstructionSelector.cpp574 getConstantVRegValWithLookThrough(Root.getReg(), MRI, true); in getImmedFromMO()
1105 auto TrueCst = getConstantVRegValWithLookThrough(True, MRI); in emitSelect()
1106 auto FalseCst = getConstantVRegValWithLookThrough(False, MRI); in emitSelect()
1298 auto VRegAndVal = getConstantVRegValWithLookThrough(ConstantReg, MRI); in getTestBitReg()
1304 VRegAndVal = getConstantVRegValWithLookThrough(ConstantReg, MRI); in getTestBitReg()
1315 getConstantVRegValWithLookThrough(MI->getOperand(2).getReg(), MRI); in getTestBitReg()
1443 auto MaybeBit = getConstantVRegValWithLookThrough( in tryOptAndIntoCompareBranch()
1516 auto VRegAndVal = getConstantVRegValWithLookThrough(RHS, MRI); in tryOptCompareBranchFedByICmp()
1551 VRegAndVal = getConstantVRegValWithLookThrough(RHS, MRI); in tryOptCompareBranchFedByICmp()
1652 auto VRegAndVal = getConstantVRegValWithLookThrough(OpMI->getOperand(Idx).getReg(), MRI); in getVectorShiftImm()
[all …]
DAArch64PostLegalizerLowering.cpp438 auto ValAndVReg = getConstantVRegValWithLookThrough(RHS, MRI); in tryAdjustICmpImmAndPred()
DAArch64LegalizerInfo.cpp836 auto VRegAndVal = getConstantVRegValWithLookThrough(AmtReg, MRI); in legalizeShlAshrLshr()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DUtils.h142 getConstantVRegValWithLookThrough(Register VReg, const MachineRegisterInfo &MRI,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstructionSelector.cpp993 auto VRegAndVal = getConstantVRegValWithLookThrough(RHS, MRI); in selectCompareBranch()
997 VRegAndVal = getConstantVRegValWithLookThrough(RHS, MRI); in selectCompareBranch()
1050 auto VRegAndVal = getConstantVRegValWithLookThrough(OpMI->getOperand(Idx).getReg(), MRI); in getVectorShiftImm()
2983 auto VRegAndVal = getConstantVRegValWithLookThrough(LaneIdxOp.getReg(), MRI); in selectExtractElt()
3303 auto ValAndVReg = getConstantVRegValWithLookThrough(RHS, MRI); in emitTST()
3603 getConstantVRegValWithLookThrough(DefMI->getOperand(1).getReg(), MRI); in tryFoldIntegerCompare()
3652 auto ValAndVReg = getConstantVRegValWithLookThrough(RHS.getReg(), MRI); in tryFoldIntegerCompare()
3914 auto VRegAndVal = getConstantVRegValWithLookThrough(IdxReg, MRI); in selectInsertElt()
4148 getConstantVRegValWithLookThrough(Root.getReg(), MRI, true); in getImmedFromMO()
4318 auto ValAndVReg = getConstantVRegValWithLookThrough(ConstantReg, MRI); in selectExtendedSHL()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.cpp610 auto ConstSrc1 = getConstantVRegValWithLookThrough(Src1, *MRI, true, true); in selectG_BUILD_VECTOR_TRUNC()
612 auto ConstSrc0 = getConstantVRegValWithLookThrough(Src0, *MRI, true, true); in selectG_BUILD_VECTOR_TRUNC()
818 getConstantVRegValWithLookThrough(LaneSelect, *MRI, true, true); in selectWritelane()
827 getConstantVRegValWithLookThrough(Val, *MRI, true, true); in selectWritelane()
1101 getConstantVRegValWithLookThrough(I.getOperand(2).getReg(), *MRI, true); in selectBallot()
3858 = getConstantVRegValWithLookThrough(RHS.getReg(), MRI, true); in getPtrBaseWithConstantOffset()
DAMDGPULegalizerInfo.cpp2090 Optional<ValueAndVReg> IdxVal = getConstantVRegValWithLookThrough( in legalizeExtractVectorElt()
2121 Optional<ValueAndVReg> IdxVal = getConstantVRegValWithLookThrough( in legalizeInsertVectorElt()