Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DConstantsTest.cpp182 Constant *P3 = ConstantExpr::getTrunc(P0, Int1Ty); in TEST()
/external/llvm/lib/IR/
DConstantFold.cpp321 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(), in ExtractConstantBytes()
1856 Constant *CE1Inverse = ConstantExpr::getTrunc(CE1, CE1Op0->getType()); in ConstantFoldCompareInstruction()
1859 Constant *C2Inverse = ConstantExpr::getTrunc(C2, CE1Op0->getType()); in ConstantFoldCompareInstruction()
DConstants.cpp1447 case Instruction::Trunc: return getTrunc(C, Ty); in getCast()
1477 return getTrunc(C, Ty); in getTruncOrBitCast()
1515 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty) { in getTrunc() function in ConstantExpr
DCore.cpp937 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal), in LLVMConstTrunc()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1135 ConstantExpr::getTrunc(AndCST, Ty)); in visitICmpInstWithInstAndIntCst()
1138 ConstantExpr::getTrunc(RHS, Ty)); in visitICmpInstWithInstAndIntCst()
1345 Constant *NCI = ConstantExpr::getTrunc( in visitICmpInstWithInstAndIntCst()
1641 Constant *Res1 = ConstantExpr::getTrunc(CI, SrcTy); in visitICmpInstWithCastAndCast()
DInstCombineCasts.cpp502 ConstantExpr::getTrunc(Cst, CI.getType())); in visitTrunc()
1528 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in CollectInsertionElements()
DInstCombineMulDivRem.cpp672 return ConstantExpr::getTrunc(C, Ty); in dyn_castZExtVal()
DInstCombineAddSub.cpp1096 ConstantExpr::getTrunc(RHSC, LHSConv->getOperand(0)->getType()); in visitAdd()
DInstCombineAndOrXor.cpp1115 Constant *C3 = ConstantExpr::getTrunc(YC, I.getType()); in visitAnd()
/external/llvm/include/llvm/IR/
DConstants.h854 static Constant *getTrunc (Constant *C, Type *Ty);
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1120 return llvm::ConstantExpr::getTrunc(C, DestTy); in EmitConstantValue()
/external/llvm/lib/Analysis/
DConstantFolding.cpp211 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); in FoldBitCast()
DInstructionSimplify.cpp2061 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in SimplifyICmpInst()
2120 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in SimplifyICmpInst()
DScalarEvolution.cpp837 cast<ConstantInt>(ConstantExpr::getTrunc(SC->getValue(), Ty))); in getTruncateExpr()
5033 return ConstantExpr::getTrunc(CastOp, ST->getType()); in BuildConstantFromSCEV()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli967 See the method [llvm::ConstantExpr::getTrunc]. *)