| /netbsd-src/external/apache2/llvm/dist/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.CreateICmpSLT(X, Y), Ty); in visitLShr()
|
| H A D | InstCombineCasts.cpp | 938 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 D | InstCombineMulDivRem.cpp | 817 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 D | InstCombineInternal.h | 129 Instruction *visitZExt(ZExtInst &CI); 248 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()
|
| H A D | InstCombinePHI.cpp | 766 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 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 | 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 | 176 auto *ZExt = new ZExtInst(ExtOp, Inst.getType(), "", &Inst); in simplifyInstsInBlock()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | TypePromotion.cpp | 266 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 D | CodeGenPrepare.cpp | 2191 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 D | AMDGPULowerKernelAttributes.cpp | 167 auto *ZextGroupSize = dyn_cast<ZExtInst>(U); in processUse()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | Interpreter.h | 138 void visitZExtInst(ZExtInst &I);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCBoolRetToInt.cpp | 117 return new ZExtInst(V, IntTy, "", InstPt); in translate()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 244 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 D | TruncInstCombine.cpp | 253 bool IsExtInst = (isa<ZExtInst>(I) || isa<SExtInst>(I)); in getBestTruncatedType()
|
| /netbsd-src/external/apache2/llvm/dist/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() 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 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
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2952 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 D | X86PartialReduction.cpp | 197 if (auto *ZExt = dyn_cast<ZExtInst>(Op)) in trySADReplacement()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 994 else if (isa<ZExtInst>(UserI)) in isFoldableLoad() 1094 isa<ZExtInst>(OtherOp))) in getMemoryOpCost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 504 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 D | SimplifyIndVar.cpp | 613 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()
|