Home
last modified time | relevance | path

Searched refs:ZExtInst (Results 1 – 25 of 56) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp922 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 DInstCombineCasts.cpp970 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 DInstCombineMulDivRem.cpp823 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 DInstCombineInternal.h129 Instruction *visitZExt(ZExtInst &CI);
250 Instruction *transformZExtICmp(ICmpInst *ICI, ZExtInst &CI,
H A DInstCombineAndOrXor.cpp1589 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 DLowerExpectIntrinsic.cpp139 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(V)) { in handlePhiDef()
H A DNaryReassociate.cpp361 } else if (ZExtInst *ZExt = dyn_cast<ZExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex()
H A DLoopFlatten.cpp185 if ((!isa<ZExtInst>(TripCountInst) && !isa<SExtInst>(TripCountInst)) || in findLoopComponents()
349 (isa<SExtInst>(InnerTripCount) || isa<ZExtInst>(InnerTripCount))) in checkIVUsers()
H A DSeparateConstOffsetFromGEP.cpp629 } else if (isa<ZExtInst>(V)) { in find()
691 (isa<SExtInst>(Cast) || isa<ZExtInst>(Cast) || isa<TruncInst>(Cast)) && in distributeExtsAndCloneChain()
H A DSCCP.cpp173 auto *ZExt = new ZExtInst(ExtOp, Inst.getType(), "", &Inst); in simplifyInstsInBlock()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp263 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 DCodeGenPrepare.cpp2195 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 DAMDGPULowerKernelAttributes.cpp167 auto *ZextGroupSize = dyn_cast<ZExtInst>(U); in processUse()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h138 void visitZExtInst(ZExtInst &I);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp117 return new ZExtInst(V, IntTy, "", InstPt); in translate()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp253 bool IsExtInst = (isa<ZExtInst>(I) || isa<SExtInst>(I)); in getBestTruncatedType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp280 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 DInstVisitor.h178 RetTy visitZExtInst(ZExtInst &I) { DELEGATE(CastInst);} in visitZExtInst()
H A DInstruction.def185 HANDLE_CAST_INST(39, ZExt , ZExtInst ) // Zero extend integers
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp299 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 DX86PartialReduction.cpp197 if (auto *ZExt = dyn_cast<ZExtInst>(Op)) in trySADReplacement()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DInstructions.cpp2972 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 DSystemZTargetTransformInfo.cpp994 else if (isa<ZExtInst>(UserI)) in isFoldableLoad()
1094 isa<ZExtInst>(OtherOp))) in getMemoryOpCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp514 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 DSimplifyIndVar.cpp577 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()

123