Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/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.CreateICmpSLT(X, Y), Ty); in visitLShr()
H A DInstCombineCasts.cpp938 Instruction *InstCombinerImpl::transformZExtICmp(ICmpInst *Cmp, ZExtInst &Zext, in transformZExtICmp()
1180 Instruction *InstCombinerImpl::visitZExt(ZExtInst &CI) { in visitZExt()
1250 return new ZExtInst(And, CI.getType()); in visitZExt()
1289 if (auto *LZExt = dyn_cast<ZExtInst>(LCast)) in visitZExt()
1291 if (auto *RZExt = dyn_cast<ZExtInst>(RCast)) in visitZExt()
1908 return new ZExtInst(X, DestType); in foldItoFPtoI()
2635 if (isa<TruncInst>(Src) || isa<ZExtInst>(Src)) { in visitBitCast()
H A DInstCombineMulDivRem.cpp817 return new ZExtInst(Builder.CreateICmpEQ(Op1, Op0), Ty); in commonIDivTransforms()
978 return new ZExtInst(NarrowOp, Ty); in narrowUDivURem()
995 return new ZExtInst(NarrowOp, Ty); in narrowUDivURem()
1118 return new ZExtInst(Builder.CreateICmpEQ(Op0, Op1), Ty); in visitSDiv()
H A DInstCombineInternal.h129 Instruction *visitZExt(ZExtInst &CI);
248 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()
H A DInstCombinePHI.cpp766 if (auto *Zext = dyn_cast<ZExtInst>(V)) { in foldPHIArgZextsIntoPHI()
780 if (auto *Zext = dyn_cast<ZExtInst>(V)) { in foldPHIArgZextsIntoPHI()
/netbsd-src/external/apache2/llvm/dist/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 DSeparateConstOffsetFromGEP.cpp629 } else if (isa<ZExtInst>(V)) { in find()
691 (isa<SExtInst>(Cast) || isa<ZExtInst>(Cast) || isa<TruncInst>(Cast)) && in distributeExtsAndCloneChain()
H A DSCCP.cpp176 auto *ZExt = new ZExtInst(ExtOp, Inst.getType(), "", &Inst); in simplifyInstsInBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTypePromotion.cpp266 if (auto *ZExt = dyn_cast<ZExtInst>(V)) in isSink()
618 if (!isa<ZExtInst>(V)) in Cleanup()
621 auto ZExt = cast<ZExtInst>(V); in Cleanup()
H A DCodeGenPrepare.cpp2191 ZExtInst *ExtVal = dyn_cast<ZExtInst>(CI->getArgOperand(0)); in optimizeCallInst()
4162 if (isa<ZExtInst>(Inst)) in canGetThrough()
4243 else if ((IsSExt && isa<SExtInst>(Opnd)) || (!IsSExt && isa<ZExtInst>(Opnd))) in canGetThrough()
4256 assert((isa<SExtInst>(Ext) || isa<ZExtInst>(Ext)) && in getAction()
4276 isa<ZExtInst>(ExtOpnd)) in getAction()
4296 if (isa<ZExtInst>(SExtOpnd)) { in promoteOperandForTruncAndAnyExt()
5645 if ((IsSExt && !isa<SExtInst>(UI)) || (!IsSExt && !isa<ZExtInst>(UI))) in hasSameExtUse()
7786 if (isa<ZExtInst>(I) || isa<SExtInst>(I)) { in optimizeInst()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerKernelAttributes.cpp167 auto *ZextGroupSize = dyn_cast<ZExtInst>(U); in processUse()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h138 void visitZExtInst(ZExtInst &I);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp117 return new ZExtInst(V, IntTy, "", InstPt); in translate()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp244 ZExtInst *ZextOffs = dyn_cast<ZExtInst>(Offsets); in checkGEP()
464 } else if (!isa<ZExtInst>(Extend)) { in tryCreateMaskedGatherOffset()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp253 bool IsExtInst = (isa<ZExtInst>(I) || isa<SExtInst>(I)); in getBestTruncatedType()
/netbsd-src/external/apache2/llvm/dist/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()
4436 bool IsZExt = isa<ZExtInst>(I); in optimizeIntExtLoad()
4474 assert((isa<ZExtInst>(I) || isa<SExtInst>(I)) && in selectIntExt()
4493 bool IsZExt = isa<ZExtInst>(I); in selectIntExt()
4580 if (const auto *ZExt = dyn_cast<ZExtInst>(Src0)) { in selectMul()
[all …]
/netbsd-src/external/apache2/llvm/dist/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
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DInstructions.cpp2952 case ZExt: return new ZExtInst (S, Ty, Name, InsertBefore); in Create()
2974 case ZExt: return new ZExtInst (S, Ty, Name, InsertAtEnd); in Create()
3442 ZExtInst::ZExtInst( in ZExtInst() function in ZExtInst
3448 ZExtInst::ZExtInst( in ZExtInst() function in ZExtInst
4400 ZExtInst *ZExtInst::cloneImpl() const { in cloneImpl()
4401 return new ZExtInst(getOperand(0), getType()); in cloneImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp197 if (auto *ZExt = dyn_cast<ZExtInst>(Op)) in trySADReplacement()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp994 else if (isa<ZExtInst>(UserI)) in isFoldableLoad()
1094 isa<ZExtInst>(OtherOp))) in getMemoryOpCost()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DVectorUtils.cpp504 if (TTI && (isa<ZExtInst>(&I) || isa<SExtInst>(&I)) && in computeMinimumValueSizes()
550 if (isa<SExtInst>(I) || isa<ZExtInst>(I) || isa<LoadInst>(I) || in computeMinimumValueSizes()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp613 Ext = new ZExtInst(Op1, IVTy, "zext", ICI); in eliminateTrunc()
1583 User = dyn_cast<ZExtInst>(User); in widenWithVariantUse()
1740 (isa<ZExtInst>(DU.NarrowUse) && canWidenByZExt())) { in widenIVUse()

123