| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 922 return new ZExtInst(Builder.CreateShl(X, ShAmt), Ty); in visitShl() 1066 return new ZExtInst(Cmp, Ty); in visitLShr() 1112 return new ZExtInst(NewLShr, Ty); in visitLShr() 1122 return new ZExtInst(X, Ty); in visitLShr() 1127 return new ZExtInst(NewLShr, Ty); in visitLShr() 1136 return new ZExtInst(AShr, Ty); in visitLShr() 1144 return new ZExtInst(Builder.CreateIsNotNull(X), Ty); in visitLShr() 1148 return new ZExtInst(Builder.CreateICmpSLT(X, Y), Ty); in visitLShr()
|
| H A D | InstCombineCasts.cpp | 970 Instruction *InstCombinerImpl::transformZExtICmp(ICmpInst *Cmp, ZExtInst &Zext, in transformZExtICmp() 1229 Instruction *InstCombinerImpl::visitZExt(ZExtInst &CI) { in visitZExt() 1299 return new ZExtInst(And, CI.getType()); in visitZExt() 1338 if (auto *LZExt = dyn_cast<ZExtInst>(LCast)) in visitZExt() 1340 if (auto *RZExt = dyn_cast<ZExtInst>(RCast)) in visitZExt() 1973 return new ZExtInst(X, DestType); in foldItoFPtoI() 2705 if (isa<TruncInst>(Src) || isa<ZExtInst>(Src)) { in visitBitCast()
|
| H A D | InstCombineMulDivRem.cpp | 823 return new ZExtInst(Builder.CreateICmpEQ(Op1, Op0), Ty); in commonIDivTransforms() 984 return new ZExtInst(NarrowOp, Ty); in narrowUDivURem() 1001 return new ZExtInst(NarrowOp, Ty); in narrowUDivURem() 1124 return new ZExtInst(Builder.CreateICmpEQ(Op0, Op1), Ty); in visitSDiv()
|
| H A D | InstCombineInternal.h | 129 Instruction *visitZExt(ZExtInst &CI); 250 Instruction *transformZExtICmp(ICmpInst *ICI, ZExtInst &CI,
|
| H A D | InstCombineAndOrXor.cpp | 1589 return new ZExtInst(NewOp, DestTy); in foldLogicCastConstant() 1778 return new ZExtInst(Builder.CreateAnd(NewBO, X), Ty); in narrowMaskedBinOp() 1821 return new ZExtInst(IsZero, Ty); in visitAnd() 1928 if (isa<ZExtInst>(Op0LHS)) in visitAnd() 1934 return new ZExtInst(And, Ty); in visitAnd() 2226 if (!isa<ZExtInst>(Op0)) in matchOrConcat()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 139 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(V)) { in handlePhiDef()
|
| H A D | NaryReassociate.cpp | 361 } else if (ZExtInst *ZExt = dyn_cast<ZExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex()
|
| H A D | LoopFlatten.cpp | 185 if ((!isa<ZExtInst>(TripCountInst) && !isa<SExtInst>(TripCountInst)) || in findLoopComponents() 349 (isa<SExtInst>(InnerTripCount) || isa<ZExtInst>(InnerTripCount))) in checkIVUsers()
|
| H A D | SeparateConstOffsetFromGEP.cpp | 629 } else if (isa<ZExtInst>(V)) { in find() 691 (isa<SExtInst>(Cast) || isa<ZExtInst>(Cast) || isa<TruncInst>(Cast)) && in distributeExtsAndCloneChain()
|
| H A D | SCCP.cpp | 173 auto *ZExt = new ZExtInst(ExtOp, Inst.getType(), "", &Inst); in simplifyInstsInBlock()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TypePromotion.cpp | 263 if (auto *ZExt = dyn_cast<ZExtInst>(V)) in isSink() 615 if (!isa<ZExtInst>(V)) in Cleanup() 618 auto ZExt = cast<ZExtInst>(V); in Cleanup()
|
| H A D | CodeGenPrepare.cpp | 2195 ZExtInst *ExtVal = dyn_cast<ZExtInst>(CI->getArgOperand(0)); in optimizeCallInst() 4166 if (isa<ZExtInst>(Inst)) in canGetThrough() 4247 else if ((IsSExt && isa<SExtInst>(Opnd)) || (!IsSExt && isa<ZExtInst>(Opnd))) in canGetThrough() 4260 assert((isa<SExtInst>(Ext) || isa<ZExtInst>(Ext)) && in getAction() 4280 isa<ZExtInst>(ExtOpnd)) in getAction() 4300 if (isa<ZExtInst>(SExtOpnd)) { in promoteOperandForTruncAndAnyExt() 5663 if ((IsSExt && !isa<SExtInst>(UI)) || (!IsSExt && !isa<ZExtInst>(UI))) in hasSameExtUse() 7816 if (isa<ZExtInst>(I) || isa<SExtInst>(I)) { in optimizeInst()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelAttributes.cpp | 167 auto *ZextGroupSize = dyn_cast<ZExtInst>(U); in processUse()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.h | 138 void visitZExtInst(ZExtInst &I);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCBoolRetToInt.cpp | 117 return new ZExtInst(V, IntTy, "", InstPt); in translate()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 253 bool IsExtInst = (isa<ZExtInst>(I) || isa<SExtInst>(I)); in getBestTruncatedType()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 280 ZExtInst *ZextOffs = dyn_cast<ZExtInst>(Offsets); in decomposeGEP() 505 } else if (isa<ZExtInst>(User) && in tryCreateMaskedGatherOffset()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | InstVisitor.h | 178 RetTy visitZExtInst(ZExtInst &I) { DELEGATE(CastInst);} in visitZExtInst()
|
| H A D | Instruction.def | 185 HANDLE_CAST_INST(39, ZExt , ZExtInst ) // Zero extend integers
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FastISel.cpp | 299 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in isIntExtFree() 303 bool IsZExt = isa<ZExtInst>(I); in isIntExtFree() 726 if (const auto *ZE = dyn_cast<ZExtInst>(I)) { in computeAddress() 808 if (const auto *ZE = dyn_cast<ZExtInst>(I)) { in computeAddress() 866 if (const auto *ZE = dyn_cast<ZExtInst>(U)) { in computeAddress() 1959 if (const auto *ZE = dyn_cast<ZExtInst>(I->use_begin()->getUser())) { in selectLoad() 4441 bool IsZExt = isa<ZExtInst>(I); in optimizeIntExtLoad() 4479 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in selectIntExt() 4498 bool IsZExt = isa<ZExtInst>(I); in selectIntExt() 4585 if (const auto *ZExt = dyn_cast<ZExtInst>(Src0)) { in selectMul() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86PartialReduction.cpp | 197 if (auto *ZExt = dyn_cast<ZExtInst>(Op)) in trySADReplacement()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2972 case ZExt: return new ZExtInst (S, Ty, Name, InsertBefore); in Create() 2994 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd); in Create() 3462 ZExtInst::ZExtInst( in ZExtInst() function in ZExtInst 3468 ZExtInst::ZExtInst( in ZExtInst() function in ZExtInst 4420 ZExtInst *ZExtInst::cloneImpl() const { in cloneImpl() 4421 return new ZExtInst(getOperand(0), getType()); in cloneImpl()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 994 else if (isa<ZExtInst>(UserI)) in isFoldableLoad() 1094 isa<ZExtInst>(OtherOp))) in getMemoryOpCost()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 514 if (TTI && (isa<ZExtInst>(&I) || isa<SExtInst>(&I)) && in computeMinimumValueSizes() 560 if (isa<SExtInst>(I) || isa<ZExtInst>(I) || isa<LoadInst>(I) || in computeMinimumValueSizes()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyIndVar.cpp | 577 Ext = new ZExtInst(Op1, IVTy, "zext", ICI); in eliminateTrunc() 1538 User = dyn_cast<ZExtInst>(User); in widenWithVariantUse() 1695 (isa<ZExtInst>(DU.NarrowUse) && canWidenByZExt())) { in widenIVUse()
|