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

Declarations

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

References

lib/Analysis/ScalarEvolution.cpp
 1954       cast<ConstantInt>(ConstantExpr::getSExt(SC->getValue(), Ty)));
 8060         return ConstantExpr::getSExt(CastOp, SS->getType());
lib/IR/ConstantFold.cpp
 2444       PrevIdx = ConstantExpr::getSExt(PrevIdx, ExtendedTy);
 2447       Div = ConstantExpr::getSExt(Div, ExtendedTy);
lib/IR/Constants.cpp
 1576     return getSExt(C, Ty, OnlyIfReduced);
 1609   return getSExt(C, Ty);
lib/IR/Core.cpp
 1667   return wrap(ConstantExpr::getSExt(unwrap<Constant>(ConstantVal),
lib/Target/X86/X86FastISel.cpp
 3260           Val = ConstantExpr::getSExt(CI, Type::getInt32Ty(CI->getContext()));
lib/Transforms/InstCombine/InstCombineAddSub.cpp
  850     Constant *WideC = ConstantExpr::getSExt(NarrowC, Ty);
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1523     Constant *SextTruncC = ConstantExpr::getSExt(TruncC, DestTy);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 3681               *II, ConstantExpr::getSExt(CCmp, II->getType()));
lib/Transforms/InstCombine/InstCombineSelect.cpp
  931     Constant *SextRHS = ConstantExpr::getSExt(AdjustedRHS, SelTy);
unittests/IR/ConstantsTest.cpp
  262   CHECK(ConstantExpr::getSExt(P0, Int64Ty), "sext i32 " P0STR " to i64");