Home
last modified time | relevance | path

Searched refs:getTrunc (Results 1 – 16 of 16) sorted by relevance

/external/llvm/unittests/IR/
DConstantsTest.cpp184 Constant *P3 = ConstantExpr::getTrunc(P0, Int1Ty); in TEST()
/external/llvm/lib/IR/
DConstantFold.cpp336 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(), in ExtractConstantBytes()
1950 Constant *CE1Inverse = ConstantExpr::getTrunc(CE1, CE1Op0->getType()); in ConstantFoldCompareInstruction()
1953 Constant *C2Inverse = ConstantExpr::getTrunc(C2, CE1Op0->getType()); in ConstantFoldCompareInstruction()
DConstants.cpp1577 return getTrunc(C, Ty, OnlyIfReduced); in getCast()
1620 return getTrunc(C, Ty); in getTruncOrBitCast()
1674 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc() function in ConstantExpr
DCore.cpp1170 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal), in LLVMConstTrunc()
/external/llvm/lib/Analysis/
DConstantFolding.cpp220 Constant *CE = ConstantExpr::getTrunc(Elt, DstIntTy); in FoldBitCast()
226 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); in FoldBitCast()
DInstructionSimplify.cpp2401 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in SimplifyICmpInst()
2460 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in SimplifyICmpInst()
DScalarEvolution.cpp1090 cast<ConstantInt>(ConstantExpr::getTrunc(SC->getValue(), Ty))); in getTruncateExpr()
5659 return ConstantExpr::getTrunc(CastOp, ST->getType()); in BuildConstantFromSCEV()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp500 ConstantExpr::getTrunc(Cst, CI.getType())); in visitTrunc()
1604 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in CollectInsertionElements()
DInstCombineCompares.cpp1266 ConstantExpr::getTrunc(AndCst, Ty)); in visitICmpInstWithInstAndIntCst()
1269 ConstantExpr::getTrunc(RHS, Ty)); in visitICmpInstWithInstAndIntCst()
1632 Constant *NCI = ConstantExpr::getTrunc( in visitICmpInstWithInstAndIntCst()
1981 Constant *Res1 = ConstantExpr::getTrunc(CI, SrcTy); in visitICmpInstWithCastAndCast()
DInstCombineMulDivRem.cpp916 return ConstantExpr::getTrunc(C, Ty); in dyn_castZExtVal()
DInstCombineAddSub.cpp1245 ConstantExpr::getTrunc(RHSC, LHSConv->getOperand(0)->getType()); in visitAdd()
DInstCombineAndOrXor.cpp1316 Constant *C3 = ConstantExpr::getTrunc(YC, I.getType()); in visitAnd()
/external/llvm/include/llvm/IR/
DConstants.h885 static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false);
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1138 return llvm::ConstantExpr::getTrunc(C, DestTy); in EmitConstantValue()
DMicrosoftCXXABI.cpp433 return llvm::ConstantExpr::getTrunc(Diff, CGM.IntTy); in getImageRelativeConstant()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli1105 See the method [llvm::ConstantExpr::getTrunc]. *)