Home
last modified time | relevance | path

Searched refs:getSigned (Results 1 – 13 of 13) 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/unittests/Support/
DDataExtractorTest.cpp78 EXPECT_EQ(-128, DE.getSigned(&offset, 1)); in TEST()
81 EXPECT_EQ(-32624, DE.getSigned(&offset, 2)); in TEST()
84 EXPECT_EQ(-2137980929, DE.getSigned(&offset, 4)); in TEST()
87 EXPECT_EQ(-9182558167379214336LL, DE.getSigned(&offset, 8)); in TEST()
/external/llvm/lib/DebugInfo/
DDWARFFormValue.h65 int64_t getSigned() const { return Value.sval; } in getSigned() function
DDWARFFormValue.cpp344 case DW_FORM_sdata: OS << getSigned(); break; in dump()
DDWARFDebugInfoEntry.cpp444 return form_value.getSigned(); in getAttributeValueAsSigned()
/external/llvm/include/llvm/Support/
DDataExtractor.h108 int64_t getSigned(uint32_t *offset_ptr, uint32_t size) const;
/external/llvm/lib/Support/
DDataExtractor.cpp107 DataExtractor::getSigned(uint32_t *offset_ptr, uint32_t byte_size) const { in getSigned() function in DataExtractor
/external/llvm/include/llvm/
DConstants.h85 static ConstantInt *getSigned(IntegerType *Ty, int64_t V);
86 static Constant *getSigned(Type *Ty, int64_t V);
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp119 llvm::Value *Args[2] = { llvm::ConstantInt::getSigned(CGF.Int64Ty, Width), in EmitDeclInvariant()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp741 Constant *RHS = ConstantInt::getSigned(Op0->getType(), isCtPop ? -1:0); in visitLShr()
DInstCombineAndOrXor.cpp2023 return SelectInst::Create(A, ConstantInt::getSigned(I.getType(), -1), Op1); in visitOr()
2025 return SelectInst::Create(A, ConstantInt::getSigned(I.getType(), -1), Op0); in visitOr()
/external/llvm/lib/VMCore/
DConstants.cpp448 ConstantInt *ConstantInt::getSigned(IntegerType *Ty, int64_t V) { in getSigned() function in ConstantInt
452 Constant *ConstantInt::getSigned(Type *Ty, int64_t V) { in getSigned() function in ConstantInt
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp4377 Ops.push_back(SE.getUnknown(ConstantInt::getSigned(IntTy, Offset))); in Expand()
4385 Ops.push_back(SE.getUnknown(ConstantInt::getSigned(IntTy, in Expand()
4419 Constant *C = ConstantInt::getSigned(SE.getEffectiveSCEVType(OpTy), in Expand()