Searched refs:getTrunc (Results 1 – 15 of 15) sorted by relevance
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 182 Constant *P3 = ConstantExpr::getTrunc(P0, Int1Ty); in TEST()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 321 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()
|
D | Constants.cpp | 1447 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
|
D | Core.cpp | 937 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal), in LLVMConstTrunc()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1135 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()
|
D | InstCombineCasts.cpp | 502 ConstantExpr::getTrunc(Cst, CI.getType())); in visitTrunc() 1528 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in CollectInsertionElements()
|
D | InstCombineMulDivRem.cpp | 672 return ConstantExpr::getTrunc(C, Ty); in dyn_castZExtVal()
|
D | InstCombineAddSub.cpp | 1096 ConstantExpr::getTrunc(RHSC, LHSConv->getOperand(0)->getType()); in visitAdd()
|
D | InstCombineAndOrXor.cpp | 1115 Constant *C3 = ConstantExpr::getTrunc(YC, I.getType()); in visitAnd()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 854 static Constant *getTrunc (Constant *C, Type *Ty);
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 1120 return llvm::ConstantExpr::getTrunc(C, DestTy); in EmitConstantValue()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 211 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); in FoldBitCast()
|
D | InstructionSimplify.cpp | 2061 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in SimplifyICmpInst() 2120 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in SimplifyICmpInst()
|
D | ScalarEvolution.cpp | 837 cast<ConstantInt>(ConstantExpr::getTrunc(SC->getValue(), Ty))); in getTruncateExpr() 5033 return ConstantExpr::getTrunc(CastOp, ST->getType()); in BuildConstantFromSCEV()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm.mli | 967 See the method [llvm::ConstantExpr::getTrunc]. *)
|