Home
last modified time | relevance | path

Searched refs:MaybeOp1Cst (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp341 auto MaybeOp1Cst = getConstantVRegVal(Op1, MRI); in ConstantFoldBinOp() local
343 if (MaybeOp1Cst && MaybeOp2Cst) { in ConstantFoldBinOp()
345 APInt C1(Ty.getSizeInBits(), *MaybeOp1Cst, true); in ConstantFoldBinOp()
417 auto MaybeOp1Cst = getConstantVRegVal(Op1, MRI); in ConstantFoldExtOp() local
418 if (MaybeOp1Cst) { in ConstantFoldExtOp()
420 APInt C1(Ty.getSizeInBits(), *MaybeOp1Cst, true); in ConstantFoldExtOp()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp412 auto MaybeOp1Cst = getConstantVRegVal(Op1, MRI); in ConstantFoldBinOp() local
413 if (!MaybeOp1Cst) in ConstantFoldBinOp()
417 APInt C1(Ty.getSizeInBits(), *MaybeOp1Cst, true); in ConstantFoldBinOp()
536 auto MaybeOp1Cst = getConstantVRegVal(Op1, MRI); in ConstantFoldExtOp() local
537 if (MaybeOp1Cst) { in ConstantFoldExtOp()
539 APInt C1(Ty.getSizeInBits(), *MaybeOp1Cst, true); in ConstantFoldExtOp()