Home
last modified time | relevance | path

Searched refs:NarrowType (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp764 Type *NarrowType = nullptr; in foldPHIArgZextsIntoPHI() local
767 NarrowType = Zext->getSrcTy(); in foldPHIArgZextsIntoPHI()
771 if (!NarrowType) in foldPHIArgZextsIntoPHI()
782 if (Zext->getSrcTy() != NarrowType || !Zext->hasOneUser()) in foldPHIArgZextsIntoPHI()
788 Constant *Trunc = ConstantExpr::getTrunc(C, NarrowType); in foldPHIArgZextsIntoPHI()
811 PHINode *NewPhi = PHINode::Create(NarrowType, NumIncomingValues, in foldPHIArgZextsIntoPHI()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp10581 auto *NarrowType = LHS->getType(); in isImpliedCond() local
10583 auto BitWidth = getTypeSizeInBits(NarrowType); in isImpliedCond()
10588 const SCEV *TruncFoundLHS = getTruncateExpr(FoundLHS, NarrowType); in isImpliedCond()
10589 const SCEV *TruncFoundRHS = getTruncateExpr(FoundRHS, NarrowType); in isImpliedCond()