Home
last modified time | relevance | path

Searched refs:MulVal (Results 1 – 7 of 7) 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-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp3853 static Instruction *processUMulZExtIdiom(ICmpInst &I, Value *MulVal, in processUMulZExtIdiom() argument
3857 if (!isa<IntegerType>(MulVal->getType())) in processUMulZExtIdiom()
3860 assert(I.getOperand(0) == MulVal || I.getOperand(1) == MulVal); in processUMulZExtIdiom()
3862 auto *MulInstr = dyn_cast<Instruction>(MulVal); in processUMulZExtIdiom()
3890 if (MulVal->hasNUsesOrMore(2)) in processUMulZExtIdiom()
3891 for (User *U : MulVal->users()) { in processUMulZExtIdiom()
3940 if (ValToMask != MulVal) in processUMulZExtIdiom()
4018 if (MulVal->hasNUsesOrMore(2)) { in processUMulZExtIdiom()
4020 for (auto UI = MulVal->user_begin(), UE = MulVal->user_end(); UI != UE;) { in processUMulZExtIdiom()
4059 if (I.getOperand(0) == MulVal) in processUMulZExtIdiom()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelDAGToDAG.cpp834 SDValue MulVal = N.getNode()->getOperand(0); in MatchAddressRecursively() local
840 if (MulVal.getNode()->getOpcode() == ISD::ADD && MulVal.hasOneUse() && in MatchAddressRecursively()
841 isa<ConstantSDNode>(MulVal.getNode()->getOperand(1))) { in MatchAddressRecursively()
842 Reg = MulVal.getNode()->getOperand(0); in MatchAddressRecursively()
844 cast<ConstantSDNode>(MulVal.getNode()->getOperand(1)); in MatchAddressRecursively()
/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-7.0/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp1470 SDValue MulVal = N.getOperand(0); in matchAddressRecursively() local
1476 if (MulVal.getNode()->getOpcode() == ISD::ADD && MulVal.hasOneUse() && in matchAddressRecursively()
1477 isa<ConstantSDNode>(MulVal.getOperand(1))) { in matchAddressRecursively()
1478 Reg = MulVal.getOperand(0); in matchAddressRecursively()
1480 cast<ConstantSDNode>(MulVal.getOperand(1)); in matchAddressRecursively()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp4348 APInt MulVal = APInt(BitWidth, 1) << ShiftAmt; in TryMULWIDECombine() local
4349 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()