/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 333 ConstantExpr::getTrunc(Op1C, Op0Conv->getOperand(0)->getType()); in visitMul() 369 ConstantExpr::getTrunc(Op1C, Op0Conv->getOperand(0)->getType()); in visitMul() 915 Constant *TruncC = ConstantExpr::getTrunc(C, X->getType()); in narrowUDivURem() 1065 ConstantExpr::getTrunc(cast<Constant>(Op1), Op0Src->getType()); in visitSDiv()
|
D | InstCombineAndOrXor.cpp | 1192 Constant *TruncC = ConstantExpr::getTrunc(C, SrcTy); in foldLogicCastConstant() 1202 Constant *TruncC = ConstantExpr::getTrunc(C, SrcTy); in foldLogicCastConstant() 1394 Value *NewC = ConstantExpr::getTrunc(C, X->getType()); in narrowMaskedBinOp() 1507 auto *TruncC1 = ConstantExpr::getTrunc(C1, X->getType()); in visitAnd() 1514 auto *TruncC2 = ConstantExpr::getTrunc(AndRHS, X->getType()); in visitAnd() 1536 Constant *C3 = ConstantExpr::getTrunc(YC, I.getType()); in visitAnd() 1743 AC = ConstantExpr::getTrunc(AC, CmpInst::makeCmpResultType(Ty)); in getSelectCondition()
|
D | InstCombineCasts.cpp | 587 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp() 593 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp() 1912 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in collectInsertionElements()
|
D | InstCombineAddSub.cpp | 1295 ConstantExpr::getTrunc(RHSC, LHSConv->getOperand(0)->getType()); in visitAdd() 1331 ConstantExpr::getTrunc(RHSC, LHSConv->getOperand(0)->getType()); in visitAdd()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 211 Constant *P3 = ConstantExpr::getTrunc(P0, Int1Ty); in TEST()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Constants.h | 651 static Constant *getTrunc (Constant *C, Type *Ty);
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 210 Constant *P3 = ConstantExpr::getTrunc(P0, Int1Ty); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | ConstantFold.cpp | 337 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(), in ExtractConstantBytes() 2001 Constant *CE1Inverse = ConstantExpr::getTrunc(CE1, CE1Op0->getType()); in ConstantFoldCompareInstruction() 2004 Constant *C2Inverse = ConstantExpr::getTrunc(C2, CE1Op0->getType()); in ConstantFoldCompareInstruction()
|
D | Constants.cpp | 1518 return getTrunc(C, Ty, OnlyIfReduced); in getCast() 1561 return getTrunc(C, Ty); in getTruncOrBitCast() 1614 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc() function in ConstantExpr
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Constants.cpp | 1240 case Instruction::Trunc: return getTrunc(C, Ty); in getCast() 1271 return getTrunc(C, Ty); in getTruncOrBitCast() 1308 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty) { in getTrunc() function in ConstantExpr
|
D | ConstantFold.cpp | 319 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(), in ExtractConstantBytes() 2126 Constant *CE1Inverse = ConstantExpr::getTrunc(CE1, CE1Op0->getType()); in ConstantFoldCompareInstruction() 2129 Constant *C2Inverse = ConstantExpr::getTrunc(C2, CE1Op0->getType()); in ConstantFoldCompareInstruction()
|
/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 337 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(), in ExtractConstantBytes() 1976 Constant *CE1Inverse = ConstantExpr::getTrunc(CE1, CE1Op0->getType()); in ConstantFoldCompareInstruction() 1979 Constant *C2Inverse = ConstantExpr::getTrunc(C2, CE1Op0->getType()); in ConstantFoldCompareInstruction()
|
D | Constants.cpp | 1468 return getTrunc(C, Ty, OnlyIfReduced); in getCast() 1511 return getTrunc(C, Ty); in getTruncOrBitCast() 1564 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc() function in ConstantExpr
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 940 return ConstantExpr::getTrunc(C, Ty); in dyn_castZExtVal() 1166 ConstantExpr::getTrunc(cast<Constant>(Op1), Op0Src->getType()); in visitSDiv()
|
D | InstCombineCasts.cpp | 572 ConstantExpr::getTrunc(Cst, DestTy)); in visitTrunc() 1685 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in collectInsertionElements()
|
D | InstCombinePHI.cpp | 432 Constant *Trunc = ConstantExpr::getTrunc(C, NarrowType); in FoldPHIArgZextsIntoPHI()
|
D | InstCombineAndOrXor.cpp | 1423 Constant *C3 = ConstantExpr::getTrunc(YC, I.getType()); in visitAnd() 1637 return ConstantExpr::getTrunc(AC, CmpInst::makeCmpResultType(Ty)); in getSelectCondition() 1645 AC = ConstantExpr::getTrunc(AC, CmpInst::makeCmpResultType(Ty)); in getSelectCondition()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 293 ConstantExpr::getTrunc(RHSC, LHSConv->getOperand(0)->getType()); in visitAdd()
|
D | InstCombineMulDivRem.cpp | 430 return ConstantExpr::getTrunc(C, Ty); in dyn_castZExtVal()
|
D | InstCombineCasts.cpp | 495 ConstantExpr::getTrunc(Cst, CI.getType())); in visitTrunc() 1514 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in CollectInsertionElements()
|
D | InstCombineCompares.cpp | 1108 ConstantExpr::getTrunc(AndCST, Ty)); in visitICmpInstWithInstAndIntCst() 1111 ConstantExpr::getTrunc(RHS, Ty)); in visitICmpInstWithInstAndIntCst() 1584 Constant *Res1 = ConstantExpr::getTrunc(CI, SrcTy); in visitICmpInstWithCastAndCast()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 225 Constant *CE = ConstantExpr::getTrunc(Elt, DstIntTy); in FoldBitCast() 231 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); in FoldBitCast()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Constants.h | 950 static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false);
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 900 static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 268 Constant *CE = ConstantExpr::getTrunc(Elt, DstIntTy); in FoldBitCast() 274 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); in FoldBitCast()
|