Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVCodeGenPrepare.cpp55 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 DInstCombineShifts.cpp907 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 DInstCombineInternal.h131 Instruction *visitZExt(ZExtInst &Zext);
252 Instruction *transformZExtICmp(ICmpInst *Cmp, ZExtInst &Zext);
H A DInstCombineMulDivRem.cpp1047 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 DInstCombineCasts.cpp1019 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 DInstCombineAndOrXor.cpp1503 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 DTypePromotion.cpp265 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 DHardwareLoops.cpp367 isa<ZExtInst>(Count) ? cast<ZExtInst>(Count)->getOperand(0) : nullptr; in CanGenerateTest()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopFlatten.cpp231 (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 DLowerExpectIntrinsic.cpp153 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(V)) { in handlePhiDef()
H A DNaryReassociate.cpp365 } else if (ZExtInst *ZExt = dyn_cast<ZExtInst>(IndexToSplit)) { in tryReassociateGEPAtIndex()
H A DSeparateConstOffsetFromGEP.cpp628 } 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 DTruncInstCombine.cpp279 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 DInterpreter.h138 void visitZExtInst(ZExtInst &I);
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp277 auto *ZextGroupSize = dyn_cast<ZExtInst>(U); in processUse()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp117 return new ZExtInst(V, IntTy, "", InstPt); in translate()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstVisitor.h177 RetTy visitZExtInst(ZExtInst &I) { DELEGATE(CastInst);} in visitZExtInst()
H A DInstruction.def185 HANDLE_CAST_INST(39, ZExt , ZExtInst ) // Zero extend integers
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp282 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 DAArch64FastISel.cpp299 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 DInstructions.cpp3360 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 DX86PartialReduction.cpp248 if (auto *ZExt = dyn_cast<ZExtInst>(Op)) in trySADReplacement()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp1043 else if (isa<ZExtInst>(UserI)) in isFoldableLoad()
1144 isa<ZExtInst>(OtherOp))) in getMemoryOpCost()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp550 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 DVectorUtils.cpp686 if (TTI && (isa<ZExtInst>(&I) || isa<SExtInst>(&I)) && in computeMinimumValueSizes()
731 if (isa<SExtInst>(I) || isa<ZExtInst>(I) || isa<LoadInst>(I) || in computeMinimumValueSizes()

123