/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ScalarEvolutionTest.cpp | 308 auto *Mul1 = SE.getMulExpr(Ops1); in TEST_F() local 314 EXPECT_EQ(Mul0, Mul1) << "Expected " << *Mul0 << " == " << *Mul1; in TEST_F() 315 EXPECT_EQ(Mul1, Mul2) << "Expected " << *Mul1 << " == " << *Mul2; in TEST_F() 446 Instruction *Mul1 = BinaryOperator::CreateMul(Trunc, A2, "", EntryBB); in TEST_F() local 447 Instruction *Add1 = BinaryOperator::CreateAdd(Mul1, Trunc, "", EntryBB); in TEST_F() 448 Mul1 = BinaryOperator::CreateMul(Add1, Trunc, "", EntryBB); in TEST_F() 449 Instruction *Add2 = BinaryOperator::CreateAdd(Mul1, Add1, "", EntryBB); in TEST_F() 455 Mul1 = BinaryOperator::CreateMul(Add2, Add1, "", EntryBB); in TEST_F() 457 Add2 = BinaryOperator::CreateAdd(Mul1, Add1, "", EntryBB); in TEST_F() 462 EXPECT_NE(nullptr, SE.getSCEV(Mul1)); in TEST_F()
|
/external/swiftshader/third_party/LLVM/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 591 isADDADDMUL(SDValue Op, SDValue &Mul0, SDValue &Mul1, SDValue &Addend0, in isADDADDMUL() argument 616 Mul1 = OtherOp.getOperand(1); in isADDADDMUL() 626 Mul1 = AddOp.getOperand(0).getOperand(1); in isADDADDMUL() 636 Mul1 = AddOp.getOperand(1).getOperand(1); in isADDADDMUL() 1439 SDValue Mul0, Mul1, Addend0, Addend1; in PerformDAGCombine() local 1441 isADDADDMUL(SDValue(N, 0), Mul0, Mul1, Addend0, Addend1, true)) { in PerformDAGCombine() 1444 Mul1, Addend0, Addend1); in PerformDAGCombine() 1454 isADDADDMUL(SDValue(N, 0), Mul0, Mul1, Addend0, Addend1, false) && in PerformDAGCombine() 1456 DAG.MaskedValueIsZero(Mul1, HighMask) && in PerformDAGCombine() 1462 Mul1, DAG.getConstant(0, MVT::i32)); in PerformDAGCombine()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAG.cpp | 1933 WeightedLeaf Mul1, Mul2; in balanceSubTree() local 1982 if (!Mul1.Value.getNode()) { in balanceSubTree() 1983 Mul1 = WeightedLeaf(Child, Weight, InsertionOrder++); in balanceSubTree() 2045 if (CanFactorize && (willShiftRightEliminate(Mul1.Value, MaxPowerOf2) || in balanceSubTree() 2048 int Weight = Mul1.Weight + Mul2.Weight; in balanceSubTree() 2049 int Height = std::max(NodeHeights[Mul1.Value], NodeHeights[Mul2.Value]) + 1; in balanceSubTree() 2050 SDValue Mul1Factored = factorOutPowerOf2(Mul1.Value, MaxPowerOf2); in balanceSubTree() 2052 SDValue Sum = CurDAG->getNode(ISD::ADD, SDLoc(N), Mul1.Value.getValueType(), in balanceSubTree() 2055 Mul1.Value.getValueType()); in balanceSubTree() 2056 SDValue New = CurDAG->getNode(ISD::SHL, SDLoc(N), Mul1.Value.getValueType(), in balanceSubTree() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMParallelDSP.cpp | 339 const Instruction *Mul1 = PMul1->Root; in CreateParallelMACPairs() local 341 if (Mul0 == Mul1) in CreateParallelMACPairs() 346 dbgs() << "- "; Mul1->dump()); in CreateParallelMACPairs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 594 isADDADDMUL(SDValue Op, SDValue &Mul0, SDValue &Mul1, SDValue &Addend0, in isADDADDMUL() argument 619 Mul1 = OtherOp.getOperand(1); in isADDADDMUL() 629 Mul1 = AddOp.getOperand(0).getOperand(1); in isADDADDMUL() 639 Mul1 = AddOp.getOperand(1).getOperand(1); in isADDADDMUL() 1741 SDValue Mul0, Mul1, Addend0, Addend1; in PerformDAGCombine() local 1743 isADDADDMUL(SDValue(N, 0), Mul0, Mul1, Addend0, Addend1, true)) { in PerformDAGCombine() 1746 Mul1, Addend0, Addend1); in PerformDAGCombine() 1756 isADDADDMUL(SDValue(N, 0), Mul0, Mul1, Addend0, Addend1, false) && in PerformDAGCombine() 1758 DAG.MaskedValueIsZero(Mul1, HighMask) && in PerformDAGCombine() 1764 Mul1, DAG.getConstant(0, dl, MVT::i32)); in PerformDAGCombine()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 604 isADDADDMUL(SDValue Op, SDValue &Mul0, SDValue &Mul1, SDValue &Addend0, in isADDADDMUL() argument 629 Mul1 = OtherOp.getOperand(1); in isADDADDMUL() 639 Mul1 = AddOp.getOperand(0).getOperand(1); in isADDADDMUL() 649 Mul1 = AddOp.getOperand(1).getOperand(1); in isADDADDMUL() 1761 SDValue Mul0, Mul1, Addend0, Addend1; in PerformDAGCombine() local 1763 isADDADDMUL(SDValue(N, 0), Mul0, Mul1, Addend0, Addend1, true)) { in PerformDAGCombine() 1766 Mul1, Addend0, Addend1); in PerformDAGCombine() 1776 isADDADDMUL(SDValue(N, 0), Mul0, Mul1, Addend0, Addend1, false) && in PerformDAGCombine() 1778 DAG.MaskedValueIsZero(Mul1, HighMask) && in PerformDAGCombine() 1784 Mul1, DAG.getConstant(0, dl, MVT::i32)); in PerformDAGCombine()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ValueTracking.cpp | 1159 Value *Mul1 = NULL; in ComputeMultiple() local 1160 if (ComputeMultiple(Op1, Base, Mul1, LookThroughSExt, Depth+1)) { in ComputeMultiple() 1162 if (Constant *MulC = dyn_cast<Constant>(Mul1)) { in ComputeMultiple() 1175 if (ConstantInt *Mul1CI = dyn_cast<ConstantInt>(Mul1)) in ComputeMultiple()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 2265 Value *Mul1 = nullptr; in ComputeMultiple() local 2266 if (ComputeMultiple(Op1, Base, Mul1, LookThroughSExt, Depth+1)) { in ComputeMultiple() 2268 if (Constant *MulC = dyn_cast<Constant>(Mul1)) { in ComputeMultiple() 2281 if (ConstantInt *Mul1CI = dyn_cast<ConstantInt>(Mul1)) in ComputeMultiple()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 2549 Value *Mul1 = nullptr; in ComputeMultiple() local 2550 if (ComputeMultiple(Op1, Base, Mul1, LookThroughSExt, Depth+1)) { in ComputeMultiple() 2552 if (Constant *MulC = dyn_cast<Constant>(Mul1)) { in ComputeMultiple() 2565 if (ConstantInt *Mul1CI = dyn_cast<ConstantInt>(Mul1)) in ComputeMultiple()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 1600 SDValue Mul1 = DAG.getNode(ISD::FMUL, DL, MVT::f32, Rcp, in LowerUDIVREM64() local 1602 SDValue Mul2 = DAG.getNode(ISD::FMUL, DL, MVT::f32, Mul1, in LowerUDIVREM64() 1607 Mul1); in LowerUDIVREM64()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 19667 SDValue Mul1 = DAG.getBitcast(VT, DAG.getNode(Opcode, dl, MulVT, Op0, Op1)); in LowerMUL_LOHI() local 19676 Highs = DAG.getVectorShuffle(VT, dl, Mul1, Mul2, HighMask); in LowerMUL_LOHI() 19678 Lows = DAG.getVectorShuffle(VT, dl, Mul1, Mul2, LowMask); in LowerMUL_LOHI() 19681 Highs = DAG.getVectorShuffle(VT, dl, Mul1, Mul2, HighMask); in LowerMUL_LOHI() 19683 Lows = DAG.getVectorShuffle(VT, dl, Mul1, Mul2, LowMask); in LowerMUL_LOHI()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 22951 SDValue Mul1 = DAG.getBitcast(VT, DAG.getNode(Opcode, dl, MulVT, in LowerMUL_LOHI() local 22968 SDValue Highs = DAG.getVectorShuffle(VT, dl, Mul1, Mul2, HighMask); in LowerMUL_LOHI() 22969 SDValue Lows = DAG.getVectorShuffle(VT, dl, Mul1, Mul2, LowMask); in LowerMUL_LOHI() 33710 auto combineMulMulAddOrSub = [&](int Mul1, int Mul2, bool isAdd) { in combineMulSpecial() argument 33712 DAG.getConstant(Mul1, DL, VT)); in combineMulSpecial()
|