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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp847 Instruction *InstCombiner::transformZExtICmp(ICmpInst *Cmp, ZExtInst &Zext, argument
865 if (In->getType() != Zext.getType())
866 In = Builder.CreateIntCast(In, Zext.getType(), false /*ZExt*/);
873 return replaceInstUsesWith(Zext, In);
888 KnownBits Known = computeKnownBits(Cmp->getOperand(0), 0, &Zext);
898 Constant *Res = ConstantInt::get(Zext.getType(), isNE);
899 return replaceInstUsesWith(Zext, Res);
916 if (Zext.getType() == In->getType())
917 return replaceInstUsesWith(Zext, In);
919 Value *IntCast = Builder.CreateIntCast(In, Zext
[all...]
H A DInstCombinePHI.cpp679 if (auto *Zext = dyn_cast<ZExtInst>(V)) {
680 NarrowType = Zext->getSrcTy();
693 if (auto *Zext = dyn_cast<ZExtInst>(V)) {
695 if (Zext->getSrcTy() != NarrowType || !Zext->hasOneUse())
697 NewIncoming.push_back(Zext->getOperand(0));
H A DInstCombineCompares.cpp4635 if (ZExtInst *Zext = dyn_cast<ZExtInst>(OtherVal))
4636 if (Zext->hasOneUse()) {
4637 Value *ZextArg = Zext->getOperand(0);
4744 Instruction *Zext = local
4746 IC.Worklist.Add(Zext);
4747 IC.replaceInstUsesWith(*BO, Zext);
H A DInstCombineAddSub.cpp1996 Value *Zext = Builder.CreateZExt(Y, I.getType()); local
1997 BinaryOperator *Add = BinaryOperator::CreateAdd(Op0, Zext);
H A DInstCombineCalls.cpp3362 bool Zext = (IID == Intrinsic::arm_neon_vmullu || local
3367 CV0 = ConstantExpr::getIntegerCast(CV0, NewVT, /*isSigned=*/!Zext);
3368 CV1 = ConstantExpr::getIntegerCast(CV1, NewVT, /*isSigned=*/!Zext);
3383 /*isSigned=*/!Zext);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp249 Value *Zext = Builder.CreateZExt(Cmp, I.getType()); local
250 I.replaceAllUsesWith(Zext);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp650 auto *Zext = B.CreateZExt(BO, Instr->getType(), Instr->getName() + ".zext"); local
655 Instr->replaceAllUsesWith(Zext);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp2222 SDValue Zext = CurDAG->getNode(ISD::ZERO_EXTEND, DL, VT, Shl.getOperand(0)); local
2223 SDValue NewShl = CurDAG->getNode(ISD::SHL, DL, VT, Zext, Shl.getOperand(1));
2227 AM.IndexReg = Zext;
2229 insertDAGNode(*CurDAG, N, Zext);
H A DX86ISelLowering.cpp[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp5229 SDValue Zext = DAG.getNode(ISD::ZERO_EXTEND, SDLoc(N), local
5233 CombineTo(N, Zext);
5238 CombineTo(N0.getNode(), Zext);
9826 SDValue Zext = DAG.getZExtOrTrunc(N0.getOperand(1).getOperand(0), DL, VT); local
9827 return DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), Zext);
9835 SDValue Zext = DAG.getZExtOrTrunc(N0.getOperand(0).getOperand(0), DL, VT); local
9836 return DAG.getNode(ISD::ADD, DL, VT, Zext, DAG.getAllOnesConstant(DL, VT));
17577 SDValue Zext = BV->getOperand(ZextElt); local
17578 if (Zext.getOpcode() != ISD::ZERO_EXTEND || !Zext
[all...]
H A DTargetLowering.cpp7081 SDValue Zext = Op.getOperand(0);
7084 Zext = DAG.getNode(ISD::ZERO_EXTEND, dl, VT, Op.getOperand(0));
7087 SDValue Clz = DAG.getNode(ISD::CTLZ, dl, VT, Zext);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp4070 auto Zext = MIRBuilder.buildZExt(Src0Ty, Src1); local
4071 auto Shift = MIRBuilder.buildShl(Src0Ty, Zext, ShiftAmt);

Completed in 450 milliseconds