Searched refs:NewCst (Results 1 – 4 of 4) sorted by relevance
/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 | 1402 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/ |
D | SimplifyCFG.cpp | 3092 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/ |
D | X86ISelDAGToDAG.cpp | 2393 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()
|