Searched refs:getSExt (Results 1 – 15 of 15) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | TypePromotion.cpp | 489 ? ConstantExpr::getSExt(Const, ExtTy) in PromoteTree()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Constants.cpp | 1958 return getSExt(C, Ty, OnlyIfReduced); in getCast() 1991 return getSExt(C, Ty); in getSExtOrBitCast() 2005 return getSExt(C, Ty); in getSExtOrTrunc() 2075 Constant *ConstantExpr::getSExt(Constant *C, Type *Ty, bool OnlyIfReduced) { in getSExt() function in ConstantExpr
|
| H A D | ConstantFold.cpp | 2256 PrevIdx = ConstantExpr::getSExt(PrevIdx, ExtendedTy); in ConstantFoldGetElementPtr() 2259 Div = ConstantExpr::getSExt(Div, ExtendedTy); in ConstantFoldGetElementPtr()
|
| H A D | Core.cpp | 1697 return wrap(ConstantExpr::getSExt(unwrap<Constant>(ConstantVal), in LLVMConstSExt()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Constants.h | 1033 static Constant *getSExt(Constant *C, Type *Ty, bool OnlyIfReduced = false);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 1038 Constant *SextRHS = ConstantExpr::getSExt(AdjustedRHS, SelTy); in adjustMinMax() 1416 ReplacementLow = ConstantExpr::getSExt(LowC, X->getType()); in canonicalizeClampLike() 1417 ReplacementHigh = ConstantExpr::getSExt(HighC, X->getType()); in canonicalizeClampLike()
|
| H A D | InstCombineAddSub.cpp | 834 Constant *WideC = ConstantExpr::getSExt(NarrowC, Ty); in foldNoWrapAdd()
|
| H A D | InstCombineCasts.cpp | 1588 Constant *WideCurrShAmt = ConstantExpr::getSExt(CA, DestTy); in visitSExt()
|
| H A D | InstCombineCalls.cpp | 1341 if (ConstantExpr::getSExt(NarrowC, II->getType()) == C) { in visitCallInst()
|
| H A D | InstCombineAndOrXor.cpp | 1398 Constant *SextTruncC = ConstantExpr::getSExt(TruncC, DestTy); in foldLogicCastConstant()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantsTest.cpp | 267 CHECK(ConstantExpr::getSExt(P0, Int64Ty), "sext i32 " P0STR " to i64"); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 735 II, ConstantExpr::getSExt(CCmp, II.getType())); in instCombineIntrinsic()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86FastISel.cpp | 3242 Val = ConstantExpr::getSExt(CI, Type::getInt32Ty(CI->getContext())); in fastLowerCall()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 1907 cast<ConstantInt>(ConstantExpr::getSExt(SC->getValue(), Ty))); in getSignExtendExpr() 9506 return ConstantExpr::getSExt(CastOp, SS->getType()); in BuildConstantFromSCEV()
|
| /llvm-project-15.0.7/llvm/bindings/ocaml/llvm/ |
| H A D | llvm.mli | 1193 See the method [llvm::ConstantExpr::getSExt]. *)
|