/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 217 Constant *NewCst = nullptr; in visitMul() local 220 NewCst = ConstantInt::get(NewOp->getType(), IVal->logBase2()); in visitMul() 224 NewCst = getLogBase2Vector(CV); in visitMul() 226 if (NewCst) { in visitMul() 227 unsigned Width = NewCst->getType()->getPrimitiveSizeInBits(); in visitMul() 228 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); in visitMul() 234 if (match(NewCst, m_ConstantInt(V)) && V != Width - 1) in visitMul()
|
D | InstCombineCompares.cpp | 1727 Constant *NewCst; in visitICmpInstWithInstAndIntCst() local 1729 NewCst = ConstantExpr::getLShr(RHS, ShAmt); in visitICmpInstWithInstAndIntCst() 1731 NewCst = ConstantExpr::getShl(RHS, ShAmt); in visitICmpInstWithInstAndIntCst() 1735 if (ConstantExpr::get(ShiftOpcode, NewCst, ShAmt) != RHS) { in visitICmpInstWithInstAndIntCst() 1744 ICI.setOperand(1, NewCst); in visitICmpInstWithInstAndIntCst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 173 if (Constant *NewCst = getLogBase2(NewOp->getType(), C1)) { in visitMul() local 174 unsigned Width = NewCst->getType()->getPrimitiveSizeInBits(); in visitMul() 175 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); in visitMul() 181 if (match(NewCst, m_APInt(V)) && *V != Width - 1) in visitMul()
|
D | InstCombineCompares.cpp | 1556 APInt NewCst = IsShl ? C1.lshr(*C3) : C1.shl(*C3); in foldICmpAndShift() local 1557 APInt SameAsC1 = IsShl ? NewCst.shl(*C3) : NewCst.lshr(*C3); in foldICmpAndShift() 1568 Cmp.setOperand(1, ConstantInt::get(And->getType(), NewCst)); in foldICmpAndShift()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 123 Constant *NewCst = ConstantInt::get(Op0->getType(), Val.logBase2()); in visitMul() local 124 BinaryOperator *Shl = BinaryOperator::CreateShl(Op0, NewCst); in visitMul()
|
D | InstCombineCompares.cpp | 1146 Constant *NewCst; in visitICmpInstWithInstAndIntCst() local 1148 NewCst = ConstantExpr::getLShr(RHS, ShAmt); in visitICmpInstWithInstAndIntCst() 1150 NewCst = ConstantExpr::getShl(RHS, ShAmt); in visitICmpInstWithInstAndIntCst() 1155 NewCst, ShAmt) != RHS) { in visitICmpInstWithInstAndIntCst() 1166 ICI.setOperand(1, NewCst); in visitICmpInstWithInstAndIntCst()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 2006 Constant *NewCst = ConstantInt::getFalse(BB->getContext()); in TryToSimplifyUncondBranchWithICmpInIt() local 2009 std::swap(DefaultCst, NewCst); in TryToSimplifyUncondBranchWithICmpInIt() 2026 PHIUse->addIncoming(NewCst, NewBB); in TryToSimplifyUncondBranchWithICmpInIt()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 1828 SDValue NewCst = CurDAG->getTargetConstant(Val >> ShlVal, CstVT); in Select() local 1829 SDNode *New = CurDAG->getMachineNode(Op, dl, NVT, N0->getOperand(0),NewCst); in Select()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 2105 SDValue NewCst = CurDAG->getTargetConstant(Val >> ShlVal, dl, CstVT); in Select() local 2106 SDNode *New = CurDAG->getMachineNode(Op, dl, NVT, N0->getOperand(0),NewCst); in Select()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3209 Constant *NewCst = ConstantInt::getFalse(BB->getContext()); in TryToSimplifyUncondBranchWithICmpInIt() local 3212 std::swap(DefaultCst, NewCst); in TryToSimplifyUncondBranchWithICmpInIt() 3244 PHIUse->addIncoming(NewCst, NewBB); in TryToSimplifyUncondBranchWithICmpInIt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 3604 Constant *NewCst = ConstantInt::getFalse(BB->getContext()); in tryToSimplifyUncondBranchWithICmpInIt() local 3607 std::swap(DefaultCst, NewCst); in tryToSimplifyUncondBranchWithICmpInIt() 3637 PHIUse->addIncoming(NewCst, NewBB); in tryToSimplifyUncondBranchWithICmpInIt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 2891 SDValue NewCst = CurDAG->getTargetConstant(Val >> ShlVal, dl, CstVT); in Select() local 2892 SDNode *New = CurDAG->getMachineNode(Op, dl, NVT, N0->getOperand(0),NewCst); in Select()
|