Home
last modified time | relevance | path

Searched refs:OnlyIfReduced (Results 1 – 2 of 2) sorted by relevance

/external/llvm/include/llvm/IR/
DConstants.h885 static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false);
886 static Constant *getSExt(Constant *C, Type *Ty, bool OnlyIfReduced = false);
887 static Constant *getZExt(Constant *C, Type *Ty, bool OnlyIfReduced = false);
889 bool OnlyIfReduced = false);
891 bool OnlyIfReduced = false);
892 static Constant *getUIToFP(Constant *C, Type *Ty, bool OnlyIfReduced = false);
893 static Constant *getSIToFP(Constant *C, Type *Ty, bool OnlyIfReduced = false);
894 static Constant *getFPToUI(Constant *C, Type *Ty, bool OnlyIfReduced = false);
895 static Constant *getFPToSI(Constant *C, Type *Ty, bool OnlyIfReduced = false);
897 bool OnlyIfReduced = false);
[all …]
/external/llvm/lib/IR/
DConstants.cpp1216 bool OnlyIfReduced) const { in getWithOperands()
1223 Type *OnlyIfReducedTy = OnlyIfReduced ? Ty : nullptr; in getWithOperands()
1238 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced); in getWithOperands()
1549 bool OnlyIfReduced = false) { in getFoldedCast() argument
1555 if (OnlyIfReduced) in getFoldedCast()
1567 bool OnlyIfReduced) { in getCast() argument
1577 return getTrunc(C, Ty, OnlyIfReduced); in getCast()
1579 return getZExt(C, Ty, OnlyIfReduced); in getCast()
1581 return getSExt(C, Ty, OnlyIfReduced); in getCast()
1583 return getFPTrunc(C, Ty, OnlyIfReduced); in getCast()
[all …]