Home
last modified time | relevance | path

Searched refs:MulVal (Results 1 – 13 of 13) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2685 static Instruction *ProcessUMulZExtIdiom(ICmpInst &I, Value *MulVal, in ProcessUMulZExtIdiom() argument
2689 if (!isa<IntegerType>(MulVal->getType())) in ProcessUMulZExtIdiom()
2692 assert(I.getOperand(0) == MulVal || I.getOperand(1) == MulVal); in ProcessUMulZExtIdiom()
2694 auto *MulInstr = dyn_cast<Instruction>(MulVal); in ProcessUMulZExtIdiom()
2722 if (MulVal->hasNUsesOrMore(2)) in ProcessUMulZExtIdiom()
2723 for (User *U : MulVal->users()) { in ProcessUMulZExtIdiom()
2767 if (ValToMask != MulVal) in ProcessUMulZExtIdiom()
2845 if (MulVal->hasNUsesOrMore(2)) { in ProcessUMulZExtIdiom()
2847 for (User *U : MulVal->users()) { in ProcessUMulZExtIdiom()
2885 if (I.getOperand(0) == MulVal) in ProcessUMulZExtIdiom()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp4562 static Instruction *processUMulZExtIdiom(ICmpInst &I, Value *MulVal, in processUMulZExtIdiom() argument
4566 if (!isa<IntegerType>(MulVal->getType())) in processUMulZExtIdiom()
4569 assert(I.getOperand(0) == MulVal || I.getOperand(1) == MulVal); in processUMulZExtIdiom()
4571 auto *MulInstr = dyn_cast<Instruction>(MulVal); in processUMulZExtIdiom()
4599 if (MulVal->hasNUsesOrMore(2)) in processUMulZExtIdiom()
4600 for (User *U : MulVal->users()) { in processUMulZExtIdiom()
4649 if (ValToMask != MulVal) in processUMulZExtIdiom()
4727 if (MulVal->hasNUsesOrMore(2)) { in processUMulZExtIdiom()
4729 for (auto UI = MulVal->user_begin(), UE = MulVal->user_end(); UI != UE;) { in processUMulZExtIdiom()
4768 if (I.getOperand(0) == MulVal) in processUMulZExtIdiom()
[all …]
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp4639 static Instruction *processUMulZExtIdiom(ICmpInst &I, Value *MulVal, in processUMulZExtIdiom() argument
4644 if (!isa<IntegerType>(MulVal->getType())) in processUMulZExtIdiom()
4647 assert(I.getOperand(0) == MulVal || I.getOperand(1) == MulVal); in processUMulZExtIdiom()
4649 auto *MulInstr = dyn_cast<Instruction>(MulVal); in processUMulZExtIdiom()
4677 if (MulVal->hasNUsesOrMore(2)) in processUMulZExtIdiom()
4678 for (User *U : MulVal->users()) { in processUMulZExtIdiom()
4716 if (ValToMask != MulVal) in processUMulZExtIdiom()
4794 if (MulVal->hasNUsesOrMore(2)) { in processUMulZExtIdiom()
4796 for (auto UI = MulVal->user_begin(), UE = MulVal->user_end(); UI != UE;) { in processUMulZExtIdiom()
4833 if (I.getOperand(0) == MulVal) in processUMulZExtIdiom()
[all …]
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp1252 SDValue MulVal = N.getNode()->getOperand(0); in matchAddressRecursively() local
1258 if (MulVal.getNode()->getOpcode() == ISD::ADD && MulVal.hasOneUse() && in matchAddressRecursively()
1259 isa<ConstantSDNode>(MulVal.getNode()->getOperand(1))) { in matchAddressRecursively()
1260 Reg = MulVal.getNode()->getOperand(0); in matchAddressRecursively()
1262 cast<ConstantSDNode>(MulVal.getNode()->getOperand(1)); in matchAddressRecursively()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp2051 SDValue MulVal = N.getOperand(0); in matchAddressRecursively() local
2057 if (MulVal.getNode()->getOpcode() == ISD::ADD && MulVal.hasOneUse() && in matchAddressRecursively()
2058 isa<ConstantSDNode>(MulVal.getOperand(1))) { in matchAddressRecursively()
2059 Reg = MulVal.getOperand(0); in matchAddressRecursively()
2061 cast<ConstantSDNode>(MulVal.getOperand(1)); in matchAddressRecursively()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp2231 SDValue MulVal = N.getOperand(0); in matchAddressRecursively() local
2237 if (MulVal.getNode()->getOpcode() == ISD::ADD && MulVal.hasOneUse() && in matchAddressRecursively()
2238 isa<ConstantSDNode>(MulVal.getOperand(1))) { in matchAddressRecursively()
2239 Reg = MulVal.getOperand(0); in matchAddressRecursively()
2241 cast<ConstantSDNode>(MulVal.getOperand(1)); in matchAddressRecursively()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp1602 auto MulVal = B.buildFMul(Ty, SrcReg, OneOver2Pi, Flags); in legalizeSinCos() local
1604 .addUse(MulVal.getReg(0)) in legalizeSinCos()
DSIISelLowering.cpp7984 SDValue MulVal = DAG.getNode(ISD::FMUL, DL, VT, Arg, OneOver2Pi); in LowerTrig() local
7985 TrigVal = DAG.getNode(AMDGPUISD::FRACT, DL, VT, MulVal); in LowerTrig()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp4672 APInt MulVal = APInt(BitWidth, 1) << ShiftAmt; in TryMULWIDECombine() local
4673 RHS = DCI.DAG.getConstant(MulVal, DL, MulType); in TryMULWIDECombine()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp4203 APInt MulVal = APInt(BitWidth, 1) << ShiftAmt; in TryMULWIDECombine() local
4204 RHS = DCI.DAG.getConstant(MulVal, DL, MulType); in TryMULWIDECombine()
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp4652 APInt MulVal = APInt(BitWidth, 1) << ShiftAmt; in TryMULWIDECombine() local
4653 RHS = DCI.DAG.getConstant(MulVal, DL, MulType); in TryMULWIDECombine()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp2175 auto MulVal = B.buildFMul(Ty, SrcReg, OneOver2Pi, Flags); in legalizeSinCos() local
2177 .addUse(MulVal.getReg(0)) in legalizeSinCos()
DSIISelLowering.cpp8676 SDValue MulVal = DAG.getNode(ISD::FMUL, DL, VT, Arg, OneOver2Pi, Flags); in LowerTrig() local
8677 TrigVal = DAG.getNode(AMDGPUISD::FRACT, DL, VT, MulVal, Flags); in LowerTrig()