Searched refs:Zext (Results 1 - 11 of 11) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp674 if (auto *Zext = dyn_cast<ZExtInst>(V)) {
675 NarrowType = Zext->getSrcTy();
688 if (auto *Zext = dyn_cast<ZExtInst>(V)) {
690 if (Zext->getSrcTy() != NarrowType || !Zext->hasOneUse())
692 NewIncoming.push_back(Zext->getOperand(0));
H A DInstCombineCasts.cpp897 Instruction *InstCombiner::transformZExtICmp(ICmpInst *Cmp, ZExtInst &Zext, argument
915 if (In->getType() != Zext.getType())
916 In = Builder.CreateIntCast(In, Zext.getType(), false /*ZExt*/);
923 return replaceInstUsesWith(Zext, In);
938 KnownBits Known = computeKnownBits(Cmp->getOperand(0), 0, &Zext);
948 Constant *Res = ConstantInt::get(Zext.getType(), isNE);
949 return replaceInstUsesWith(Zext, Res);
966 if (Zext.getType() == In->getType())
967 return replaceInstUsesWith(Zext, In);
969 Value *IntCast = Builder.CreateIntCast(In, Zext
[all...]
H A DInstCombineCalls.cpp3414 bool Zext = (IID == Intrinsic::arm_neon_vmullu || local
3419 CV0 = ConstantExpr::getIntegerCast(CV0, NewVT, /*isSigned=*/!Zext);
3420 CV1 = ConstantExpr::getIntegerCast(CV1, NewVT, /*isSigned=*/!Zext);
3435 /*isSigned=*/!Zext);
H A DInstCombineCompares.cpp4748 Value *Zext = Builder.CreateZExt(ShortAnd, BO->getType()); local
4749 IC.replaceInstUsesWith(*BO, Zext);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp257 Value *Zext = Builder.CreateZExt(Cmp, I.getType()); local
258 I.replaceAllUsesWith(Zext);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp646 auto *Zext = B.CreateZExt(BO, Instr->getType(), Instr->getName() + ".zext"); local
651 Instr->replaceAllUsesWith(Zext);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp2336 SDValue Zext = CurDAG->getNode(ISD::ZERO_EXTEND, DL, VT, Shl.getOperand(0)); local
2337 SDValue NewShl = CurDAG->getNode(ISD::SHL, DL, VT, Zext, Shl.getOperand(1));
2341 AM.IndexReg = Zext;
2343 insertDAGNode(*CurDAG, N, Zext);
H A DX86ISelLowering.cpp[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp5325 SDValue Zext = DAG.getNode(ISD::ZERO_EXTEND, SDLoc(N), local
5329 CombineTo(N, Zext);
5334 CombineTo(N0.getNode(), Zext);
10230 SDValue Zext = DAG.getZExtOrTrunc(N0.getOperand(1).getOperand(0), DL, VT); local
10231 return DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), Zext);
10239 SDValue Zext = DAG.getZExtOrTrunc(N0.getOperand(0).getOperand(0), DL, VT); local
10240 return DAG.getNode(ISD::ADD, DL, VT, Zext, DAG.getAllOnesConstant(DL, VT));
18330 SDValue Zext = BV->getOperand(ZextElt); local
18331 if (Zext.getOpcode() != ISD::ZERO_EXTEND || !Zext
[all...]
H A DTargetLowering.cpp7294 SDValue Zext = Op.getOperand(0);
7297 Zext = DAG.getNode(ISD::ZERO_EXTEND, dl, VT, Op.getOperand(0));
7300 SDValue Clz = DAG.getNode(ISD::CTLZ, dl, VT, Zext);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp4856 auto Zext = MIRBuilder.buildZExt(Src0Ty, Src1); local
4857 auto Shift = MIRBuilder.buildShl(Src0Ty, Zext, ShiftAmt);

Completed in 595 milliseconds