Searched refs:getTrunc (Results 1 – 16 of 16) sorted by relevance
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 184 Constant *P3 = ConstantExpr::getTrunc(P0, Int1Ty); in TEST()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 336 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()
|
D | Constants.cpp | 1577 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
|
D | Core.cpp | 1170 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal), in LLVMConstTrunc()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 220 Constant *CE = ConstantExpr::getTrunc(Elt, DstIntTy); in FoldBitCast() 226 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); in FoldBitCast()
|
D | InstructionSimplify.cpp | 2401 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in SimplifyICmpInst() 2460 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in SimplifyICmpInst()
|
D | ScalarEvolution.cpp | 1090 cast<ConstantInt>(ConstantExpr::getTrunc(SC->getValue(), Ty))); in getTruncateExpr() 5659 return ConstantExpr::getTrunc(CastOp, ST->getType()); in BuildConstantFromSCEV()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 500 ConstantExpr::getTrunc(Cst, CI.getType())); in visitTrunc() 1604 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in CollectInsertionElements()
|
D | InstCombineCompares.cpp | 1266 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()
|
D | InstCombineMulDivRem.cpp | 916 return ConstantExpr::getTrunc(C, Ty); in dyn_castZExtVal()
|
D | InstCombineAddSub.cpp | 1245 ConstantExpr::getTrunc(RHSC, LHSConv->getOperand(0)->getType()); in visitAdd()
|
D | InstCombineAndOrXor.cpp | 1316 Constant *C3 = ConstantExpr::getTrunc(YC, I.getType()); in visitAnd()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 885 static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false);
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 1138 return llvm::ConstantExpr::getTrunc(C, DestTy); in EmitConstantValue()
|
D | MicrosoftCXXABI.cpp | 433 return llvm::ConstantExpr::getTrunc(Diff, CGM.IntTy); in getImageRelativeConstant()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm.mli | 1105 See the method [llvm::ConstantExpr::getTrunc]. *)
|