reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Constants.h
  955   static Constant *getZExt(Constant *C, Type *Ty, bool OnlyIfReduced = false);

References

lib/Analysis/ConstantFolding.cpp
  223         Src = ConstantExpr::getZExt(Src, Elt->getType());
lib/Analysis/ScalarEvolution.cpp
 1648       cast<ConstantInt>(ConstantExpr::getZExt(SC->getValue(), Ty)));
 8066         return ConstantExpr::getZExt(CastOp, SZ->getType());
lib/Analysis/ValueTracking.cpp
 2734             Op1C = ConstantExpr::getZExt(Op1C, MulC->getType());
 2737             MulC = ConstantExpr::getZExt(MulC, Op1C->getType());
 2758             Op0C = ConstantExpr::getZExt(Op0C, MulC->getType());
 2761             MulC = ConstantExpr::getZExt(MulC, Op0C->getType());
lib/IR/Constants.cpp
 1574     return getZExt(C, Ty, OnlyIfReduced);
 1603   return getZExt(C, Ty);
lib/IR/Core.cpp
 1672   return wrap(ConstantExpr::getZExt(unwrap<Constant>(ConstantVal),
lib/Target/ARM/ARMCodeGenPrepare.cpp
  562         Constant *NewConst = ConstantExpr::getZExt(Const, ExtTy);
lib/Target/PowerPC/PPCBoolRetToInt.cpp
   97       return ConstantExpr::getZExt(C, IntTy);
lib/Target/X86/X86FastISel.cpp
 3262           Val = ConstantExpr::getZExt(CI, Type::getInt32Ty(CI->getContext()));
lib/Transforms/IPO/LowerTypeTests.cpp
  760       B.CreateLShr(PtrOffset, ConstantExpr::getZExt(TIL.AlignLog2, IntPtrTy));
  762       PtrOffset, ConstantExpr::getZExt(
lib/Transforms/InstCombine/InstCombineAddSub.cpp
  857     Constant *WideC = ConstantExpr::getZExt(NarrowC, Ty);
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1513     Constant *ZextTruncC = ConstantExpr::getZExt(TruncC, DestTy);
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1209     return BinaryOperator::CreateAnd(X, ConstantExpr::getZExt(C, CI.getType()));
 1216     Constant *ZC = ConstantExpr::getZExt(C, CI.getType());
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  939     if (ConstantExpr::getZExt(TruncC, Ty) != C)
lib/Transforms/InstCombine/InstCombinePHI.cpp
  690       if (ConstantExpr::getZExt(Trunc, C->getType()) != C)
lib/Transforms/InstCombine/InstCombineSelect.cpp
  945       Constant *ZextRHS = ConstantExpr::getZExt(AdjustedRHS, SelTy);
lib/Transforms/InstCombine/InstCombineShifts.cpp
  222     auto *ExtendedSumOfShAmts = ConstantExpr::getZExt(SumOfShAmts, ExtendedTy);
  247     auto *ExtendedNumHighBitsToClear = ConstantExpr::getZExt(
  645           ConstantExpr::getZExt(cast<Constant>(Op1), TrOp->getType());
lib/Transforms/Scalar/SROA.cpp
 2742             ConstantExpr::getZExt(Constant::getAllOnesValue(V->getType()),
tools/clang/lib/CodeGen/CGExprConstant.cpp
 1692     return llvm::ConstantExpr::getZExt(C, boolTy);
unittests/IR/ConstantsTest.cpp
  263   CHECK(ConstantExpr::getZExt(P0, Int64Ty), "zext i32 " P0STR " to i64");