Home
last modified time | relevance | path

Searched refs:NewCst (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp217 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()
DInstCombineCompares.cpp1727 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/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp123 Constant *NewCst = ConstantInt::get(Op0->getType(), Val.logBase2()); in visitMul() local
124 BinaryOperator *Shl = BinaryOperator::CreateShl(Op0, NewCst); in visitMul()
DInstCombineCompares.cpp1146 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/
DSimplifyCFG.cpp2006 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/
DX86ISelDAGToDAG.cpp1828 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/
DX86ISelDAGToDAG.cpp2105 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/
DSimplifyCFG.cpp3209 Constant *NewCst = ConstantInt::getFalse(BB->getContext()); in TryToSimplifyUncondBranchWithICmpInIt() local
3212 std::swap(DefaultCst, NewCst); in TryToSimplifyUncondBranchWithICmpInIt()
3244 PHIUse->addIncoming(NewCst, NewBB); in TryToSimplifyUncondBranchWithICmpInIt()