Searched refs:getTrunc (Results 1 - 25 of 31) sorted by relevance

12

/external/llvm/lib/IR/
H A DConstantFold.cpp337 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(),
1976 Constant *CE1Inverse = ConstantExpr::getTrunc(CE1, CE1Op0->getType());
1979 Constant *C2Inverse = ConstantExpr::getTrunc(C2, CE1Op0->getType());
H A DConstants.cpp1468 return getTrunc(C, Ty, OnlyIfReduced);
1511 return getTrunc(C, Ty);
1564 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { function in class:ConstantExpr
H A DCore.cpp1273 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal),
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DConstants.cpp1240 case Instruction::Trunc: return getTrunc(C, Ty);
1271 return getTrunc(C, Ty);
1308 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty) { function in class:ConstantExpr
H A DConstantFold.cpp319 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(),
2126 Constant *CE1Inverse = ConstantExpr::getTrunc(CE1, CE1Op0->getType());
2129 Constant *C2Inverse = ConstantExpr::getTrunc(C2, CE1Op0->getType());
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp940 return ConstantExpr::getTrunc(C, Ty);
1166 ConstantExpr::getTrunc(cast<Constant>(Op1), Op0Src->getType());
H A DInstCombinePHI.cpp432 Constant *Trunc = ConstantExpr::getTrunc(C, NarrowType);
H A DInstCombineCasts.cpp572 ConstantExpr::getTrunc(Cst, DestTy));
1685 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy);
H A DInstCombineCompares.cpp1671 ConstantExpr::getTrunc(AndCst, Ty));
1674 ConstantExpr::getTrunc(RHS, Ty));
2063 Constant *NCI = ConstantExpr::getTrunc(
2444 Constant *Res1 = ConstantExpr::getTrunc(C, SrcTy);
H A DInstCombineAndOrXor.cpp1423 Constant *C3 = ConstantExpr::getTrunc(YC, I.getType());
1637 return ConstantExpr::getTrunc(AC, CmpInst::makeCmpResultType(Ty));
1645 AC = ConstantExpr::getTrunc(AC, CmpInst::makeCmpResultType(Ty));
H A DInstCombineAddSub.cpp1213 ConstantExpr::getTrunc(RHSC, LHSConv->getOperand(0)->getType());
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp495 ConstantExpr::getTrunc(Cst, CI.getType()));
1514 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy);
H A DInstCombineAddSub.cpp293 ConstantExpr::getTrunc(RHSC, LHSConv->getOperand(0)->getType());
H A DInstCombineMulDivRem.cpp430 return ConstantExpr::getTrunc(C, Ty);
H A DInstCombineCompares.cpp1108 ConstantExpr::getTrunc(AndCST, Ty));
1111 ConstantExpr::getTrunc(RHS, Ty));
1584 Constant *Res1 = ConstantExpr::getTrunc(CI, SrcTy);
H A DInstCombineAndOrXor.cpp1138 Constant *C3 = ConstantExpr::getTrunc(YC, I.getType());
/external/llvm/include/llvm/IR/
H A DConstants.h900 static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false);
/external/llvm/unittests/IR/
H A DConstantsTest.cpp210 Constant *P3 = ConstantExpr::getTrunc(P0, Int1Ty);
/external/swiftshader/third_party/LLVM/include/llvm/
H A DConstants.h651 static Constant *getTrunc (Constant *C, Type *Ty);
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp225 Constant *CE = ConstantExpr::getTrunc(Elt, DstIntTy);
231 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy));
H A DValueTracking.cpp3861 CastedTo = ConstantExpr::getTrunc(C, CI->getSrcTy());
3864 CastedTo = ConstantExpr::getTrunc(C, CI->getSrcTy(), true);
H A DInstructionSimplify.cpp2491 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy);
2550 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy);
/external/clang/lib/CodeGen/
H A DCGExprConstant.cpp1334 return llvm::ConstantExpr::getTrunc(C, DestTy);
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DConstantFolding.cpp171 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy));
H A DInstructionSimplify.cpp1652 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy);
1712 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy);

Completed in 7115 milliseconds

12