Searched refs:NarrowType (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 408 Type *NarrowType = nullptr; in FoldPHIArgZextsIntoPHI() local 411 NarrowType = Zext->getSrcTy(); in FoldPHIArgZextsIntoPHI() 415 if (!NarrowType) in FoldPHIArgZextsIntoPHI() 426 if (Zext->getSrcTy() != NarrowType || !Zext->hasOneUse()) in FoldPHIArgZextsIntoPHI() 432 Constant *Trunc = ConstantExpr::getTrunc(C, NarrowType); in FoldPHIArgZextsIntoPHI() 455 PHINode *NewPhi = PHINode::Create(NarrowType, NumIncomingValues, in FoldPHIArgZextsIntoPHI()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 677 Type *NarrowType = nullptr; in FoldPHIArgZextsIntoPHI() local 680 NarrowType = Zext->getSrcTy(); in FoldPHIArgZextsIntoPHI() 684 if (!NarrowType) in FoldPHIArgZextsIntoPHI() 695 if (Zext->getSrcTy() != NarrowType || !Zext->hasOneUse()) in FoldPHIArgZextsIntoPHI() 701 Constant *Trunc = ConstantExpr::getTrunc(C, NarrowType); in FoldPHIArgZextsIntoPHI() 724 PHINode *NewPhi = PHINode::Create(NarrowType, NumIncomingValues, in FoldPHIArgZextsIntoPHI()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 758 Type *NarrowType = nullptr; in foldPHIArgZextsIntoPHI() local 761 NarrowType = Zext->getSrcTy(); in foldPHIArgZextsIntoPHI() 765 if (!NarrowType) in foldPHIArgZextsIntoPHI() 776 if (Zext->getSrcTy() != NarrowType || !Zext->hasOneUser()) in foldPHIArgZextsIntoPHI() 782 Constant *Trunc = ConstantExpr::getTrunc(C, NarrowType); in foldPHIArgZextsIntoPHI() 805 PHINode *NewPhi = PHINode::Create(NarrowType, NumIncomingValues, in foldPHIArgZextsIntoPHI()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 10130 auto *NarrowType = LHS->getType(); in isImpliedCond() local 10132 auto BitWidth = getTypeSizeInBits(NarrowType); in isImpliedCond() 10137 const SCEV *TruncFoundLHS = getTruncateExpr(FoundLHS, NarrowType); in isImpliedCond() 10138 const SCEV *TruncFoundRHS = getTruncateExpr(FoundRHS, NarrowType); in isImpliedCond()
|