Home
last modified time | relevance | path

Searched refs:getSigned (Results 1 – 6 of 6) sorted by relevance

/external/llvm/unittests/VMCore/
DConstantsTest.cpp23 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/
DConstants.h81 static ConstantInt *getSigned(IntegerType *Ty, int64_t V);
82 static Constant *getSigned(Type *Ty, int64_t V);
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp681 Constant *RHS = ConstantInt::getSigned(Op0->getType(), isCtPop ? -1:0); in visitLShr()
DInstCombineAndOrXor.cpp2045 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/
DConstants.cpp423 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/
DLoopStrengthReduce.cpp3538 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()