Home
last modified time | relevance | path

Searched refs:getZExt (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp99 return ConstantExpr::getZExt(C, IntTy); in translate()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTypePromotion.cpp490 : ConstantExpr::getZExt(Const, ExtTy); in PromoteTree()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp248 auto *ExtendedSumOfShAmts = ConstantExpr::getZExt(SumOfShAmts, ExtendedTy); in dropRedundantMaskingOfLeftShiftInput()
281 auto *ExtendedNumHighBitsToClear = ConstantExpr::getZExt( in dropRedundantMaskingOfLeftShiftInput()
H A DInstCombinePHI.cpp821 if (ConstantExpr::getZExt(Trunc, C->getType()) != C) in foldPHIArgZextsIntoPHI()
H A DInstCombineCasts.cpp1333 return BinaryOperator::CreateAnd(X, ConstantExpr::getZExt(C, CI.getType())); in visitZExt()
1340 Constant *ZC = ConstantExpr::getZExt(C, CI.getType()); in visitZExt()
H A DInstCombineMulDivRem.cpp1014 if (ConstantExpr::getZExt(TruncC, Ty) != C) in narrowUDivURem()
H A DInstCombineAddSub.cpp841 Constant *WideC = ConstantExpr::getZExt(NarrowC, Ty); in foldNoWrapAdd()
H A DInstCombineSelect.cpp1052 Constant *ZextRHS = ConstantExpr::getZExt(AdjustedRHS, SelTy); in adjustMinMax()
H A DInstCombineCalls.cpp1318 if (ConstantExpr::getZExt(NarrowC, II->getType()) == C) { in visitCallInst()
H A DInstCombineAndOrXor.cpp1388 Constant *ZextTruncC = ConstantExpr::getZExt(TruncC, DestTy); in foldLogicCastConstant()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp746 B.CreateLShr(PtrOffset, ConstantExpr::getZExt(TIL.AlignLog2, IntPtrTy)); in lowerTypeTestCall()
748 PtrOffset, ConstantExpr::getZExt( in lowerTypeTestCall()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstants.h1034 static Constant *getZExt(Constant *C, Type *Ty, bool OnlyIfReduced = false);
/llvm-project-15.0.7/llvm/unittests/IR/
H A DConstantsTest.cpp268 CHECK(ConstantExpr::getZExt(P0, Int64Ty), "zext i32 " P0STR " to i64"); in TEST()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstants.cpp1956 return getZExt(C, Ty, OnlyIfReduced); in getCast()
1985 return getZExt(C, Ty); in getZExtOrBitCast()
2089 Constant *ConstantExpr::getZExt(Constant *C, Type *Ty, bool OnlyIfReduced) { in getZExt() function in ConstantExpr
H A DCore.cpp1702 return wrap(ConstantExpr::getZExt(unwrap<Constant>(ConstantVal), in LLVMConstZExt()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprConstant.cpp1738 return llvm::ConstantExpr::getZExt(C, boolTy); in emitForMemory()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DConstantFolding.cpp230 Src = ConstantExpr::getZExt(Src, Elt->getType()); in FoldBitCast()
H A DScalarEvolution.cpp1605 cast<ConstantInt>(ConstantExpr::getZExt(SC->getValue(), Ty))); in getZeroExtendExpr()
9512 return ConstantExpr::getZExt(CastOp, SZ->getType()); in BuildConstantFromSCEV()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86FastISel.cpp3244 Val = ConstantExpr::getZExt(CI, Type::getInt32Ty(CI->getContext())); in fastLowerCall()
/llvm-project-15.0.7/llvm/bindings/ocaml/llvm/
H A Dllvm.mli1198 See the method [llvm::ConstantExpr::getZExt]. *)