/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 2685 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/ |
D | InstCombineCompares.cpp | 4562 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/ |
D | InstCombineCompares.cpp | 4639 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/ |
D | X86ISelDAGToDAG.cpp | 1252 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/ |
D | X86ISelDAGToDAG.cpp | 2051 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/ |
D | X86ISelDAGToDAG.cpp | 2231 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/ |
D | AMDGPULegalizerInfo.cpp | 1602 auto MulVal = B.buildFMul(Ty, SrcReg, OneOver2Pi, Flags); in legalizeSinCos() local 1604 .addUse(MulVal.getReg(0)) in legalizeSinCos()
|
D | SIISelLowering.cpp | 7984 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/ |
D | NVPTXISelLowering.cpp | 4672 APInt MulVal = APInt(BitWidth, 1) << ShiftAmt; in TryMULWIDECombine() local 4673 RHS = DCI.DAG.getConstant(MulVal, DL, MulType); in TryMULWIDECombine()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 4203 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/ |
D | NVPTXISelLowering.cpp | 4652 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/ |
D | AMDGPULegalizerInfo.cpp | 2175 auto MulVal = B.buildFMul(Ty, SrcReg, OneOver2Pi, Flags); in legalizeSinCos() local 2177 .addUse(MulVal.getReg(0)) in legalizeSinCos()
|
D | SIISelLowering.cpp | 8676 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()
|