Home
last modified time | relevance | path

Searched refs:getConstantVRegVal (Results 1 – 18 of 18) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp207 Optional<int64_t> llvm::getConstantVRegVal(unsigned VReg, in getConstantVRegVal() function in llvm
341 auto MaybeOp1Cst = getConstantVRegVal(Op1, MRI); in ConstantFoldBinOp()
342 auto MaybeOp2Cst = getConstantVRegVal(Op2, MRI); in ConstantFoldBinOp()
417 auto MaybeOp1Cst = getConstantVRegVal(Op1, MRI); in ConstantFoldExtOp()
DGISelKnownBits.cpp143 auto CstVal = getConstantVRegVal(R, MRI); in computeKnownBitsImpl()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp258 Optional<int64_t> llvm::getConstantVRegVal(Register VReg, in getConstantVRegVal() function in llvm
408 auto MaybeOp2Cst = getConstantVRegVal(Op2, MRI); in ConstantFoldBinOp()
412 auto MaybeOp1Cst = getConstantVRegVal(Op1, MRI); in ConstantFoldBinOp()
536 auto MaybeOp1Cst = getConstantVRegVal(Op1, MRI); in ConstantFoldExtOp()
DGISelKnownBits.cpp217 auto CstVal = getConstantVRegVal(R, MRI); in computeKnownBitsImpl()
DCombinerHelper.cpp2203 if (auto RHSCst = getConstantVRegVal(RHS, MRI)) { in matchCombineConstPtrAddToI2P()
3115 auto ConstVal = getConstantVRegVal(MI.getOperand(1).getReg(), MRI); in matchPtrAddZero()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DUtils.h113 Optional<int64_t> getConstantVRegVal(unsigned VReg,
DMIPatternMatch.h47 if (auto MaybeCst = getConstantVRegVal(Reg, MRI)) { in match()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DUtils.h126 Optional<int64_t> getConstantVRegVal(Register VReg,
DMIPatternMatch.h46 if (auto MaybeCst = getConstantVRegVal(Reg, MRI)) { in match()
/external/llvm-project/llvm/lib/Target/X86/
DX86InstructionSelector.cpp482 if (auto COff = getConstantVRegVal(I.getOperand(2).getReg(), MRI)) { in X86SelectAddress()
1068 } else if (auto val = getConstantVRegVal(CarryInReg, MRI)) { in selectUadde()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstructionSelector.cpp481 if (auto COff = getConstantVRegVal(I.getOperand(2).getReg(), MRI)) { in X86SelectAddress()
1113 } else if (auto val = getConstantVRegVal(CarryInReg, MRI)) { in selectUadde()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstructionSelector.cpp1301 auto VRegAndVal = getConstantVRegVal(MO.getReg(), MRI); in earlySelectSHL()
1865 if (auto COff = getConstantVRegVal(PtrMI->getOperand(2).getReg(), MRI)) { in select()
1886 if (auto CVal = getConstantVRegVal(ValReg, MRI)) { in select()
4859 Optional<int64_t> CstVal = getConstantVRegVal(MI.getOperand(0).getReg(), MRI); in renderTruncImm()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp1537 Optional<int64_t> IdxVal = getConstantVRegVal(MI.getOperand(2).getReg(), MRI); in legalizeExtractVectorElt()
1566 Optional<int64_t> IdxVal = getConstantVRegVal(MI.getOperand(3).getReg(), MRI); in legalizeInsertVectorElt()
DAMDGPUInstructionSelector.cpp2062 getConstantVRegVal(OpDef->getOperand(2).getReg(), *MRI); in selectFlatOffsetImpl()
2276 Optional<int64_t> CstVal = getConstantVRegVal(MI.getOperand(0).getReg(), *MRI); in renderTruncImm32()
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64InstructionSelector.cpp1999 auto VRegAndVal = getConstantVRegVal(MO.getReg(), MRI); in earlySelectSHL()
2738 Optional<int64_t> MaskVal = getConstantVRegVal(MaskReg, MRI); in select()
5824 Optional<int64_t> CstVal = getConstantVRegVal(MI.getOperand(0).getReg(), MRI); in renderTruncImm()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.cpp3433 getConstantVRegVal(OpDef->getOperand(2).getReg(), *MRI); in selectFlatOffsetImpl()
4189 Optional<int64_t> OffsetVal = getConstantVRegVal(Reg, MRI); in getConstantZext32Val()
DAMDGPURegisterBankInfo.cpp1334 if (Optional<int64_t> Imm = getConstantVRegVal(CombinedOffset, *MRI)) { in setBufferOffsets()
DAMDGPULegalizerInfo.cpp2646 auto ConstVal = getConstantVRegVal(MI.getOperand(2).getReg(), MRI); in isNot()