Searched refs:getSigned (Results 1 – 6 of 6) sorted by relevance
/external/llvm/unittests/VMCore/ |
D | ConstantsTest.cpp | 23 EXPECT_EQ(NegOne, ConstantInt::getSigned(Int1, -1)); in TEST() 103 EXPECT_EQ(100, ConstantInt::getSigned(Int8Ty, 100)->getSExtValue()); in TEST() 105 EXPECT_EQ(-50, ConstantInt::getSigned(Int8Ty, -50)->getSExtValue()); in TEST() 106 EXPECT_EQ(206U, ConstantInt::getSigned(Int8Ty, -50)->getZExtValue()); in TEST()
|
/external/llvm/include/llvm/ |
D | Constants.h | 81 static ConstantInt *getSigned(IntegerType *Ty, int64_t V); 82 static Constant *getSigned(Type *Ty, int64_t V);
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 681 Constant *RHS = ConstantInt::getSigned(Op0->getType(), isCtPop ? -1:0); in visitLShr()
|
D | InstCombineAndOrXor.cpp | 2045 return SelectInst::Create(A, ConstantInt::getSigned(I.getType(), -1), Op1); in visitOr() 2047 return SelectInst::Create(A, ConstantInt::getSigned(I.getType(), -1), Op0); in visitOr()
|
/external/llvm/lib/VMCore/ |
D | Constants.cpp | 423 ConstantInt* ConstantInt::getSigned(IntegerType* Ty, int64_t V) { in getSigned() function in ConstantInt 427 Constant *ConstantInt::getSigned(Type *Ty, int64_t V) { in getSigned() function in ConstantInt
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 3538 Ops.push_back(SE.getUnknown(ConstantInt::getSigned(IntTy, Offset))); in Expand() 3546 Ops.push_back(SE.getUnknown(ConstantInt::getSigned(IntTy, in Expand() 3580 Constant *C = ConstantInt::getSigned(SE.getEffectiveSCEVType(OpTy), in Expand()
|