| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVCodeGenPrepare.cpp | 55 bool visitZExtInst(ZExtInst &I); 61 bool RISCVCodeGenPrepare::visitZExtInst(ZExtInst &ZExt) { in visitZExtInst() 117 if (!LHS || (!isa<SExtInst>(LHS) && !isa<ZExtInst>(LHS))) in visitAnd()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 907 return new ZExtInst(Overflow, Ty); in foldLShrOverflowBit() 941 return new ZExtInst(Builder.CreateShl(X, ShAmtC), Ty); in visitShl() 1169 return new ZExtInst(Builder.CreateIsNotNeg(X, "isnotneg"), Ty); in visitLShr() 1184 return new ZExtInst(Cmp, Ty); in visitLShr() 1249 return new ZExtInst(NewLShr, Ty); in visitLShr() 1267 return new ZExtInst(NewLShr, Ty); in visitLShr() 1275 return new ZExtInst(AShr, Ty); in visitLShr() 1283 return new ZExtInst(Builder.CreateIsNotNull(X), Ty); in visitLShr() 1287 return new ZExtInst(Builder.CreateICmpSLT(X, Y), Ty); in visitLShr() 1367 return new ZExtInst(NewShift, Ty); in visitLShr() [all …]
|
| H A D | InstCombineInternal.h | 131 Instruction *visitZExt(ZExtInst &Zext); 252 Instruction *transformZExtICmp(ICmpInst *Cmp, ZExtInst &Zext);
|
| H A D | InstCombineMulDivRem.cpp | 1047 return new ZExtInst(Builder.CreateICmpEQ(Op1, Op0), Ty); in commonIDivTransforms() 1210 return new ZExtInst(NarrowOp, Ty); in narrowUDivURem() 1223 return new ZExtInst(Builder.CreateBinOp(Opcode, X, TruncC), Ty); in narrowUDivURem() 1234 return new ZExtInst(Builder.CreateBinOp(Opcode, TruncC, X), Ty); in narrowUDivURem() 1345 return new ZExtInst(Builder.CreateICmpEQ(Op0, Op1), Ty); in visitSDiv()
|
| H A D | InstCombineCasts.cpp | 1019 ZExtInst &Zext) { in transformZExtICmp() 1226 Instruction *InstCombinerImpl::visitZExt(ZExtInst &Zext) { in visitZExt() 1296 return new ZExtInst(And, DestTy); in visitZExt() 2002 return new ZExtInst(X, DestType); in foldItoFPtoI() 2778 if (isa<TruncInst>(Src) || isa<ZExtInst>(Src)) { in visitBitCast()
|
| H A D | InstCombineAndOrXor.cpp | 1503 return new ZExtInst(NewOp, DestTy); in foldLogicCastConstant() 1714 return new ZExtInst(Builder.CreateAnd(NewBO, X), Ty); in narrowMaskedBinOp() 1975 return new ZExtInst(IsZero, Ty); in visitAnd() 2079 Value *BinOp = isa<ZExtInst>(BO->getOperand(0)) in visitAnd() 2084 return new ZExtInst(And, Ty); in visitAnd() 2097 return new ZExtInst(NewBO, Ty); in visitAnd() 2107 return new ZExtInst(NewBO, Ty); in visitAnd() 2543 if (!isa<ZExtInst>(Op0)) in matchOrConcat()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | TypePromotion.cpp | 265 if (auto *ZExt = dyn_cast<ZExtInst>(V)) in isSink() 570 if (auto ZExt = dyn_cast<ZExtInst>(I)) in TruncateSinks() 590 if (!isa<ZExtInst>(V)) in Cleanup() 593 auto ZExt = cast<ZExtInst>(V); in Cleanup() 961 if (isa<ZExtInst>(&I) && isa<PHINode>(I.getOperand(0)) && in run()
|
| H A D | HardwareLoops.cpp | 367 isa<ZExtInst>(Count) ? cast<ZExtInst>(Count)->getOperand(0) : nullptr; in CanGenerateTest()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LoopFlatten.cpp | 231 (isa<SExtInst>(MatchedItCount) || isa<ZExtInst>(MatchedItCount))) { in matchLinearIVUser() 236 : dyn_cast<ZExtInst>(MatchedItCount)->getOperand(0); in matchLinearIVUser() 256 (isa<SExtInst>(InnerTripCount) || isa<ZExtInst>(InnerTripCount))) in checkInnerInductionPhiUsers() 368 if ((!isa<ZExtInst>(TripCountInst) && !isa<SExtInst>(TripCountInst)) || in verifyTripCount()
|
| H A D | LowerExpectIntrinsic.cpp | 153 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(V)) { in handlePhiDef()
|
| H A D | NaryReassociate.cpp | 365 } else if (ZExtInst *ZExt = dyn_cast<ZExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex()
|
| H A D | SeparateConstOffsetFromGEP.cpp | 628 } else if (isa<ZExtInst>(V)) { in find() 690 (isa<SExtInst>(Cast) || isa<ZExtInst>(Cast) || isa<TruncInst>(Cast)) && in distributeExtsAndCloneChain()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 279 bool IsExtInst = (isa<ZExtInst>(I) || isa<SExtInst>(I)); in getBestTruncatedType() 520 assert((isa<SExtInst>(I.first) || isa<ZExtInst>(I.first)) && in ReduceExpressionGraph()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.h | 138 void visitZExtInst(ZExtInst &I);
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerKernelAttributes.cpp | 277 auto *ZextGroupSize = dyn_cast<ZExtInst>(U); in processUse()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCBoolRetToInt.cpp | 117 return new ZExtInst(V, IntTy, "", InstPt); in translate()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | InstVisitor.h | 177 RetTy visitZExtInst(ZExtInst &I) { DELEGATE(CastInst);} in visitZExtInst()
|
| H A D | Instruction.def | 185 HANDLE_CAST_INST(39, ZExt , ZExtInst ) // Zero extend integers
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 282 ZExtInst *ZextOffs = dyn_cast<ZExtInst>(Offsets); in decomposeGEP() 520 } else if (isa<ZExtInst>(User) && in tryCreateMaskedGatherOffset()
|
| /openbsd-src/gnu/llvm/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() 750 if (const auto *ZE = dyn_cast<ZExtInst>(I)) { in computeAddress() 832 if (const auto *ZE = dyn_cast<ZExtInst>(I)) { in computeAddress() 890 if (const auto *ZE = dyn_cast<ZExtInst>(U)) { in computeAddress() 1983 if (const auto *ZE = dyn_cast<ZExtInst>(I->use_begin()->getUser())) { in selectLoad() 4480 bool IsZExt = isa<ZExtInst>(I); in optimizeIntExtLoad() 4518 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in selectIntExt() 4537 bool IsZExt = isa<ZExtInst>(I); in selectIntExt() 4624 if (const auto *ZExt = dyn_cast<ZExtInst>(Src0)) { in selectMul() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Instructions.cpp | 3360 case ZExt: return new ZExtInst (S, Ty, Name, InsertBefore); in Create() 3382 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd); in Create() 3850 ZExtInst::ZExtInst( in ZExtInst() function in ZExtInst 3856 ZExtInst::ZExtInst( in ZExtInst() function in ZExtInst 4864 ZExtInst *ZExtInst::cloneImpl() const { in cloneImpl() 4865 return new ZExtInst(getOperand(0), getType()); in cloneImpl()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86PartialReduction.cpp | 248 if (auto *ZExt = dyn_cast<ZExtInst>(Op)) in trySADReplacement()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 1043 else if (isa<ZExtInst>(UserI)) in isFoldableLoad() 1144 isa<ZExtInst>(OtherOp))) in getMemoryOpCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyIndVar.cpp | 550 Ext = new ZExtInst(Op1, IVTy, "zext", ICI); in eliminateTrunc() 1576 User = dyn_cast<ZExtInst>(User); in widenWithVariantUse() 1735 (isa<ZExtInst>(DU.NarrowUse) && canWidenByZExt())) { in widenIVUse()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 686 if (TTI && (isa<ZExtInst>(&I) || isa<SExtInst>(&I)) && in computeMinimumValueSizes() 731 if (isa<SExtInst>(I) || isa<ZExtInst>(I) || isa<LoadInst>(I) || in computeMinimumValueSizes()
|