| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 616 return new ZExtInst(Builder.CreateShl(X, ShAmt), Ty); in visitShl() 723 return new ZExtInst(Cmp, Ty); in visitLShr() 769 return new ZExtInst(NewLShr, Ty); in visitLShr() 779 return new ZExtInst(X, Ty); in visitLShr() 784 return new ZExtInst(NewLShr, Ty); in visitLShr() 793 return new ZExtInst(AShr, Ty); in visitLShr()
|
| H A D | InstCombineCasts.cpp | 847 Instruction *InstCombiner::transformZExtICmp(ICmpInst *ICI, ZExtInst &CI, in transformZExtICmp() 1089 Instruction *InstCombiner::visitZExt(ZExtInst &CI) { in visitZExt() 1159 return new ZExtInst(And, CI.getType()); in visitZExt() 1195 if (auto *LZExt = dyn_cast<ZExtInst>(LCast)) in visitZExt() 1197 if (auto *RZExt = dyn_cast<ZExtInst>(RCast)) in visitZExt() 1711 return new ZExtInst(SrcI, FITy); in FoldItoFPtoI() 2329 if (isa<TruncInst>(Src) || isa<ZExtInst>(Src)) { in visitBitCast()
|
| H A D | InstCombineMulDivRem.cpp | 688 return new ZExtInst(Builder.CreateICmpEQ(Op1, Op0), Ty); in commonIDivTransforms() 843 return new ZExtInst(NarrowOp, Ty); in narrowUDivURem() 860 return new ZExtInst(NarrowOp, Ty); in narrowUDivURem() 1009 return new ZExtInst(Builder.CreateICmpEQ(Op0, Op1), I.getType()); in visitSDiv()
|
| H A D | InstCombineAndOrXor.cpp | 1324 return new ZExtInst(NewOp, DestTy); in foldLogicCastConstant() 1524 return new ZExtInst(Builder.CreateAnd(NewBO, X), Ty); in narrowMaskedBinOp() 1566 return new ZExtInst(IsZero, I.getType()); in visitAnd() 1637 if (isa<ZExtInst>(Op0LHS)) in visitAnd() 1643 return new ZExtInst(And, I.getType()); in visitAnd() 1770 if (Instruction *Ext = dyn_cast<ZExtInst>(Op0)) in matchBSwap() 1773 if (Instruction *Ext = dyn_cast<ZExtInst>(Op1)) in matchBSwap()
|
| H A D | InstCombineInternal.h | 381 Instruction *visitZExt(ZExtInst &CI); 489 Instruction *transformZExtICmp(ICmpInst *ICI, ZExtInst &CI,
|
| H A D | InstCombinePHI.cpp | 667 if (auto *Zext = dyn_cast<ZExtInst>(V)) { in FoldPHIArgZextsIntoPHI() 681 if (auto *Zext = dyn_cast<ZExtInst>(V)) { in FoldPHIArgZextsIntoPHI()
|
| H A D | InstCombineSelect.cpp | 520 return new ZExtInst(ICmpNeZero, SelType); in foldSelectICmpAndAnd() 1702 return new ZExtInst(CondVal, SelType); in visitSelectInst() 1711 return new ZExtInst(NotCond, SelType); in visitSelectInst()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 114 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(V)) { in handlePhiDef()
|
| H A D | NaryReassociate.cpp | 337 } else if (ZExtInst *ZExt = dyn_cast<ZExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex()
|
| H A D | IndVarSimplify.cpp | 1427 ZExtInst *User = dyn_cast<ZExtInst>(U.getUser()); in widenWithVariantLoadUse() 1483 ZExtInst *User = dyn_cast<ZExtInst>(U.getUser()); in widenWithVariantLoadUseCodegen() 1542 (isa<ZExtInst>(DU.NarrowUse) && canWidenByZExt())) { in widenIVUse()
|
| H A D | SeparateConstOffsetFromGEP.cpp | 597 } else if (isa<ZExtInst>(V)) { in find() 659 (isa<SExtInst>(Cast) || isa<ZExtInst>(Cast) || isa<TruncInst>(Cast)) && in distributeExtsAndCloneChain()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelAttributes.cpp | 177 auto *ZextGroupSize = dyn_cast<ZExtInst>(U); in processUse()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.h | 139 void visitZExtInst(ZExtInst &I);
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCBoolRetToInt.cpp | 116 return new ZExtInst(V, IntTy, "", InstPt); in translate()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 635 if (const auto* Cast = dyn_cast<ZExtInst>(Val)) { in minRequiredElementSize() 824 if (isa<SExtInst>(CI) || isa<ZExtInst>(CI) || isa<FPExtInst>(CI)) in getUserCost()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 242 bool IsExtInst = (isa<ZExtInst>(I) || isa<SExtInst>(I)); in getBestTruncatedType()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2579 case ZExt: return new ZExtInst (S, Ty, Name, InsertBefore); in Create() 2601 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd); in Create() 3140 ZExtInst::ZExtInst( in ZExtInst() function in ZExtInst 3146 ZExtInst::ZExtInst( in ZExtInst() function in ZExtInst 3877 ZExtInst *ZExtInst::cloneImpl() const { in cloneImpl() 3878 return new ZExtInst(getOperand(0), getType()); in cloneImpl()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMCodeGenPrepare.cpp | 264 if (auto *ZExt = dyn_cast<ZExtInst>(V)) in isSink() 706 if (NewInsts.count(Src) && isa<ZExtInst>(V) && isa<TruncInst>(Src)) { in Cleanup()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | InstVisitor.h | 180 RetTy visitZExtInst(ZExtInst &I) { DELEGATE(CastInst);} in visitZExtInst()
|
| H A D | Instruction.def | 185 HANDLE_CAST_INST(38, ZExt , ZExtInst ) // Zero extend integers
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64FastISel.cpp | 312 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in isIntExtFree() 316 bool IsZExt = isa<ZExtInst>(I); in isIntExtFree() 714 if (const auto *ZE = dyn_cast<ZExtInst>(I)) { in computeAddress() 798 if (const auto *ZE = dyn_cast<ZExtInst>(I)) { in computeAddress() 858 if (const auto *ZE = dyn_cast<ZExtInst>(U)) { in computeAddress() 1978 if (const auto *ZE = dyn_cast<ZExtInst>(I->use_begin()->getUser())) { in selectLoad() 4490 bool IsZExt = isa<ZExtInst>(I); in optimizeIntExtLoad() 4528 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in selectIntExt() 4548 bool IsZExt = isa<ZExtInst>(I); in selectIntExt() 4647 if (const auto *ZExt = dyn_cast<ZExtInst>(Src0)) { in selectMul() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 904 else if (isa<ZExtInst>(UserI)) in isFoldableLoad() 998 isa<ZExtInst>(OtherOp))) in getMemoryOpCost()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 350 if (TTI && (isa<ZExtInst>(&I) || isa<SExtInst>(&I)) && in computeMinimumValueSizes() 396 if (isa<SExtInst>(I) || isa<ZExtInst>(I) || isa<LoadInst>(I) || in computeMinimumValueSizes()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 1727 ZExtInst *ExtVal = dyn_cast<ZExtInst>(CI->getArgOperand(0)); in optimizeCallInst() 3569 if (isa<ZExtInst>(Inst)) in canGetThrough() 3652 else if ((IsSExt && isa<SExtInst>(Opnd)) || (!IsSExt && isa<ZExtInst>(Opnd))) in canGetThrough() 3665 assert((isa<SExtInst>(Ext) || isa<ZExtInst>(Ext)) && in getAction() 3685 isa<ZExtInst>(ExtOpnd)) in getAction() 3705 if (isa<ZExtInst>(SExtOpnd)) { in promoteOperandForTruncAndAnyExt() 4897 if ((IsSExt && !isa<SExtInst>(UI)) || (!IsSExt && !isa<ZExtInst>(UI))) in hasSameExtUse() 6687 if (isa<ZExtInst>(I) || isa<SExtInst>(I)) { in optimizeInst()
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFastISel.cpp | 951 const ZExtInst *ZExt = cast<ZExtInst>(I); in selectZExt()
|