Home | History | Annotate | Download | only in Scalar

Lines Matching refs:Cast

211           DT->dominates(cast<Instruction>(Def), InsertPt)) &&
270 Instruction *U1 = cast<Instruction>(*IncrUse++);
272 Instruction *U2 = cast<Instruction>(*IncrUse++);
284 BranchInst *TheBr = cast<BranchInst>(Compare->use_back());
426 // int->fp cast.
527 Instruction *Inst = cast<Instruction>(InVal);
549 Instruction *UseInstr = cast<Instruction>(*IB);
563 unsigned PhiOpc = cast<Instruction>(*PB)->getOpcode();
607 PHINode *NewPN = cast<PHINode>(PN->clone());
649 virtual void visitCast(CastInst *Cast);
656 void WideIVVisitor::visitCast(CastInst *Cast) {
657 bool IsSigned = Cast->getOpcode() == Instruction::SExt;
658 if (!IsSigned && Cast->getOpcode() != Instruction::ZExt)
661 Type *Ty = Cast->getType();
813 BinaryOperator *NarrowBO = cast<BinaryOperator>(DU.NarrowUse);
844 cast<OverflowingBinaryOperator>(DU.NarrowUse);
909 // The cast isn't as wide as the IV, so insert a Trunc.
991 Instruction *NarrowUse = cast<Instruction>(*UI);
1042 WidePhi = cast<PHINode>(Rewriter.expandCodeFor(AddRec, WideType, InsertPt));
1050 cast<Instruction>(WidePhi->getIncomingValueForBlock(LatchBlock));
1099 LoopPhis.push_back(cast<PHINode>(I));
1392 cast<BranchInst>(L->getExitingBlock()->getTerminator())->getCondition();
1401 PHINode *Phi = cast<PHINode>(I);
1488 BranchInst *BI = cast<BranchInst>(L->getExitingBlock()->getTerminator());
1496 cast<PointerType>(GEPBase->getType())->getElementType())->isOne()
1530 BranchInst *BI = cast<BranchInst>(L->getExitingBlock()->getTerminator());
1576 && "genLoopLimit missed a cast");
1579 BranchInst *BI = cast<BranchInst>(L->getExitingBlock()->getTerminator());
1600 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar));
1605 const APInt &Start = cast<SCEVConstant>(ARStart)->getValue()->getValue();
1606 APInt Count = cast<SCEVConstant>(IVCount)->getValue()->getValue();
1616 if (cast<SCEVConstant>(ARStep)->getValue()->isNegative())
1695 BasicBlock *UseBB = cast<Instruction>(U)->getParent();