HomeSort by: relevance | last modified time | path
    Searched defs:Zext (Results 1 - 8 of 8) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/
AggressiveInstCombine.cpp 292 Value *Zext = Builder.CreateZExt(Cmp, I.getType());
293 I.replaceAllUsesWith(Zext);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
CorrelatedValuePropagation.cpp 68 STATISTIC(NumSExt, "Number of sext converted to zext");
758 auto *Zext = B.CreateZExt(BO, Instr->getType(), Instr->getName() + ".zext");
763 Instr->replaceAllUsesWith(Zext);
921 auto *ZExt =
923 ZExt->setDebugLoc(SDI->getDebugLoc());
924 SDI->replaceAllUsesWith(ZExt);
  /src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
llvm.ml 115 | Zext
215 | ZExt
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineCalls.cpp 452 // cttz(sext(x)) -> cttz(zext(x))
454 auto *Zext = IC.Builder.CreateZExt(X, II.getType());
456 IC.Builder.CreateBinaryIntrinsic(Intrinsic::cttz, Zext, Op1);
460 // Zext doesn't change the number of trailing zeros, so narrow:
461 // cttz(zext(x)) -> zext(cttz(x)) if the 'ZeroIsUndef' parameter is 'true'.
559 // Zext doesn't change the number of set bits, so narrow:
560 // ctpop (zext X) --> zext (ctpop X)
563 return CastInst::Create(Instruction::ZExt, NarrowPop, Ty)
    [all...]
InstCombineCompares.cpp 1291 Value *ZExt = Builder.CreateZExt(Add, OrigAdd->getType());
1295 IC.replaceInstUsesWith(*OrigAdd, ZExt);
1542 APInt NewRHS = C.zext(SrcBits);
1778 Constant *ZextC1 = ConstantInt::get(WideType, C1.zext(WideScalarBits));
1779 Constant *ZextC2 = ConstantInt::get(WideType, C2->zext(WideScalarBits));
3564 // and+icmp, and [zext+]shift instrs will be constant-folded. If they are not,
4308 // Transform (zext A) == (B & (1<<X)-1) --> A == (trunc B)
4309 // and (B & (1<<X)-1) == (zext A) --> A == (trunc B)
4368 APInt CmpV = Cst1->getValue().zext(ASize);
4424 // and the other is a zext), then we can't handle this
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86ISelDAGToDAG.cpp 2424 // zext (shl nuw i8 %x, C) to i32 --> shl (zext i8 %x to i32), (zext C)
2427 SDValue Zext = CurDAG->getNode(ISD::ZERO_EXTEND, DL, VT, Shl.getOperand(0));
2428 SDValue NewShl = CurDAG->getNode(ISD::SHL, DL, VT, Zext, Shl.getOperand(1));
2432 AM.IndexReg = Zext;
2434 insertDAGNode(*CurDAG, N, Zext);
3607 // We could zext to i16 in some form, but we intentionally don't do that.
3975 // AND32ri is the same as AND64ri32 with zext imm.
4007 // Find the smallest zext this could possibly be
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
LegalizerHelper.cpp 510 if (CallerAttrs.hasAttribute(AttributeList::ReturnIndex, Attribute::ZExt) ||
915 bool ZExt = MI.getOpcode() == TargetOpcode::G_ZEXTLOAD;
932 if (ZExt)
1931 // First ZEXT the input.
2163 : SrcVal.zext(WideTy.getSizeInBits());
2277 // TODO: Probably should be zext
2299 // TODO: Probably should be zext
6025 auto Zext = MIRBuilder.buildZExt(Src0Ty, Src1);
6026 auto Shift = MIRBuilder.buildShl(Src0Ty, Zext, ShiftAmt);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
DAGCombiner.cpp 1415 // fold (aext (zext x)) -> (zext x)
2172 // Match a constant operand and a zext operand for the math instruction:
2182 // Match the zext operand as a setcc of a boolean.
2197 // add (zext i1 (seteq (X & 1), 0)), C --> sub C+1, (zext (X & 1))
2198 // sub C, (zext i1 (seteq (X & 1), 0)) --> add C-1, (zext (X & 1))
2306 // add (sext i1 X), 1 -> zext (not i1 X)
2308 // add (zext i1 X), -1 -> sext (not i1 X
    [all...]

Completed in 65 milliseconds