Home
last modified time | relevance | path

Searched refs:NewCst (Results 1 – 4 of 4) 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.cpp1402 Constant *NewCst; in visitICmpInstWithInstAndIntCst() local
1404 NewCst = ConstantExpr::getLShr(RHS, ShAmt); in visitICmpInstWithInstAndIntCst()
1406 NewCst = ConstantExpr::getShl(RHS, ShAmt); in visitICmpInstWithInstAndIntCst()
1410 if (ConstantExpr::get(ShiftOpcode, NewCst, ShAmt) != RHS) { in visitICmpInstWithInstAndIntCst()
1419 ICI.setOperand(1, NewCst); in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3092 Constant *NewCst = ConstantInt::getFalse(BB->getContext()); in TryToSimplifyUncondBranchWithICmpInIt() local
3095 std::swap(DefaultCst, NewCst); in TryToSimplifyUncondBranchWithICmpInIt()
3127 PHIUse->addIncoming(NewCst, NewBB); in TryToSimplifyUncondBranchWithICmpInIt()
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp2393 SDValue NewCst = CurDAG->getTargetConstant(Val >> ShlVal, dl, CstVT); in Select() local
2394 SDNode *New = CurDAG->getMachineNode(Op, dl, NVT, N0->getOperand(0),NewCst); in Select()